1 2015-04-29 Florian Weimer <fweimer@redhat.com>
4 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6 * nss/tst-nss-getpwent.c: New file.
7 * nss/Makefile (tests): Add new test.
9 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
12 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13 based on padding. (CVE-2015-1781)
15 2014-06-03 Andreas Schwab <schwab@suse.de>
18 * resolv/res_send.c (send_dg): Reload file descriptor after
21 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
24 $(config-cflags-nofma).
26 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
30 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
31 size in bytes. Store needed elements in wpmax. Use needed size
32 in bytes for extend_alloca.
34 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
39 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
41 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
42 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
43 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
46 2014-11-19 Carlos O'Donell <carlos@redhat.com>
47 Florian Weimer <fweimer@redhat.com>
48 Joseph Myers <joseph@codesourcery.com>
49 Adam Conrad <adconrad@0c3.net>
50 Andreas Schwab <schwab@suse.de>
51 Brooks <bmoses@google.com>
54 * wordexp-test.c (__dso_handle): Add prototype.
55 (__register_atfork): Likewise.
56 (__app_register_atfork): New function.
57 (registered_forks): New global.
58 (register_fork): New function.
59 (test_case): Add 3 new tests for WRDE_CMDSUB.
60 (main): Call __app_register_atfork.
61 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
62 fork count is non-zero fail the test.
63 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
65 (parse_dollars): Remove check for WRDE_NOCMD.
66 (parse_dquote): Likewise.
68 2014-12-16 Florian Weimer <fweimer@redhat.com>
71 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
74 2014-12-15 Jeff Law <law@redhat.com>
77 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
78 on the heap. (CVE-2012-3406)
79 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
80 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
81 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
83 2014-06-21 Allan McRae <allan@archlinux.org>
85 * NEWS: Mention CVE-2014-4043.
87 2014-06-11 Florian Weimer <fweimer@redhat.com>
90 * posix/spawn_int.h (struct __spawn_action): Make the path string
91 non-const to support deallocation.
92 * posix/spawn_faction_addopen.c
93 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
94 * posix/spawn_faction_destroy.c
95 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
96 path in all spawn_do_open actions.
97 * posix/tst-spawn.c (do_test): Exercise the copy operation in
98 posix_spawn_file_actions_addopen.
100 2014-08-26 Florian Weimer <fweimer@redhat.com>
103 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
104 trans_compare, open_translit, __gconv_translit_find):
105 Remove module loading code.
107 2014-09-03 Florian Weimer <fweimer@redhat.com>
110 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
111 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
113 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
114 * iconvdata/ibm935.c (BODY): Likewise.
115 * iconvdata/ibm937.c (BODY): Likewise.
116 * iconvdata/ibm939.c (BODY): Likewise.
117 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
119 * iconvdata/Makefile (iconv-test.out): Pass module list to test
121 * iconvdata/run-iconv-test.sh: New test loop for checking for
124 2014-02-18 Brooks Moses <bmoses@google.com>
127 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
128 * Makerules: ...here, and adjust associated comments.
130 2014-02-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
132 * sysdeps/powerpc/powerpc64/power5/Implies: Remove inexistent
135 2014-02-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
137 * elf/get-dynamic-info.h (elf_get_dynamic_info): Fix remove of
140 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
142 * Versions.def (libm): Add GLIBC_2.3.
144 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
146 * nptl/shlib-versions: Change powerpc*le start to 2.17.
147 * shlib-versions: Likewise.
149 2014-02-04 Roland McGrath <roland@hack.frob.com>
150 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
152 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
153 (abilist-pattern): New variable, set to %-le.abilist.
155 * Makerules (abilist-pattern): New variable.
156 (vpath): Use $(abilist-pattern) in place of %.abilist.
157 (check-abi-% pattern rule): Likewise.
158 (check-abi, update-abi): Likewise.
160 2014-01-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
163 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
164 Adjust the vDSO correctly for internal calls.
165 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
167 2014-01-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
170 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
172 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
174 2014-01-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
178 (__fe_mask_env): Likewise.
179 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
180 libm_hidden_proto and add function prototype.
181 (__fe_mask_env): Add function prototype.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
183 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
185 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
187 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
189 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
192 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
193 (__GI___gettimeofday): Alias for a different internal symbol to avoid
194 local calls issues by not having a PLT stub required for IFUNC calls.
195 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
197 2013-11-16 Alan Modra <amodra@gmail.com>
199 * NEWS: Mention powerpc64le support and bugs fixed.
200 * README: Both big-endian and little-endian powerpc64 supported.
202 2013-11-16 Alan Modra <amodra@gmail.com>
204 * libc-abis: PowerPC64le has ifunc too.
206 2013-11-16 Alan Modra <amodra@gmail.com>
208 * sysdeps/unix/sysv/linux/powerpc/configure.in (arch_minimum_kernel):
210 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerate.
212 2013-11-16 Alan Modra <amodra@gmail.com>
215 * include/gmp.h (__mpn_extract_double, __mpn_extract_long_double):
217 * stdio-common/printf_fp.c: Likewise.
218 (__printf_fp): Use returned zero_bits.
219 * stdlib/dbl2mpn.c (__mpn_extract_double): Update funtion arguments.
220 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Don't perform
221 shifts for denormals here. Instead return leading zero bit count
222 and adjust return value of function.
223 * sysdeps/ieee754/dbl-64/dbl2mpn.c (__mpn_extract_long_double): Likewise.
224 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c (__mpn_extract_long_double):
226 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c (__mpn_extract_long_double):
228 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
229 Likewise. Return an extra 11 bits of precision.
231 2013-11-16 Alan Modra <amodra@gmail.com>
233 * Makerules (abilist): Define and use var in abilist rules.
234 * sysdeps/unix/sysv/linux/powerpc/Makefile (abilist): Define.
235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist,
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist,
237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist,
238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist,
239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist,
240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist,
241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist,
242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist,
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist,
244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist,
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist,
246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist,
247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
250 2013-11-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
254 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
256 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
257 "64" to "64-v1". Add "64-v2".
258 (abi-64-options): Rename to ...
259 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
260 (abi-64-condition): Rename to ...
261 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
262 (abi-64-ld-soname): Rename to ...
263 (abi-64-v1-ld-soname): ... this.
264 (abi-64-v2-options): Define.
265 (abi-64-v2-condition): Likewise.
266 (abi-64-v2-ld-soname): Likewise.
267 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
268 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
273 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
274 Alan Modra <amodra@gmail.com>
276 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
277 New versions for use with the ELFv2 ABI.
278 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
279 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
281 (struct La_ppc64v2_retval): Likewise.
282 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
283 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
284 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
285 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
286 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
287 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
288 Do not save or restore CR.
289 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
290 (_dl_profile_resolve): Do no save or restore CR. Support extended
291 return values for ELFv2 ABI. Fix location of FPR return registers.
292 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
293 updated values for _CALL_ELF == 2.
294 (La_regs, La_retval, int_retval): Likewise.
296 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
298 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
299 (FRAME_MIN_SIZE_PARM): Likewise.
300 (FRAME_BACKCHAIN): Likewise.
301 (FRAME_CR_SAVE): Likewise.
302 (FRAME_LR_SAVE): Likewise.
303 (FRAME_TOC_SAVE): Likewise.
304 (FRAME_PARM_SAVE): Likewise.
305 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
306 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
307 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
308 (call_mcount_parm_offset): New macro.
309 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
310 (PROF): Use symbolic stack frame offsets.
311 (TAIL_CALL_SYSCALL_ERROR): Likewise.
312 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
313 Redefine in terms of FRAME_MIN_SIZE.
314 (_dl_runtime_resolve): Use symbolic stack frame offsets.
315 (_dl_profile_resolve): Likewise. Update comment.
316 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
317 symbols stack frame offsets.
318 (__sigsetjmp): Likewise.
319 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
320 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
321 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
322 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
325 (FRAME_BACKCHAIN): Remove.
326 (FRAME_CR_SAVE): Likewise.
327 (FRAME_LR_SAVE): Likewise.
328 (FRAME_COMPILER_DW): Likewise.
329 (FRAME_LINKER_DW): Likewise.
330 (FRAME_TOC_SAVE): Likewise.
331 (FRAME_PARM_SAVE): Likewise.
332 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
333 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
334 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
336 (CHECK_SP): Use symbolic stack frame offsets.
337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
338 zone" instead of caller's parameter save area for temp storage.
339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
340 Likewise. Also, use symbolic stack frame offsets.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
342 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
343 our own stack frame instead of the caller's.
344 (__socket): Use symbolic stack frame offsets.
346 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
347 Alan Modra <amodra@gmail.com>
349 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
351 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
352 PPC64_LOCAL_ENTRY_OFFSET): Define.
353 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
355 (elf_machine_fixup_plt): Call it.
356 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
358 (elf_machine_rela): Update call to elf_machine_plt_conflict.
359 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
360 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
361 r2 before calling target.
363 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
364 Alan Modra <amodra@gmail.com>
366 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
367 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
368 versions of macros to support ELFv2 ABI.
369 (LOCALENTRY): New macro.
370 (ENTRY, EALIGN): Use it.
371 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
372 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
373 fall through into ENTRY entry point.
374 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
375 Only define if _CALL_ELF != 2.
377 (elf_machine_matches_host): Verify ABI version matches.
378 (RTLD_START): Use LOCALENTRY.
379 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
380 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
381 (PLT_ENTRY_WORDS): New macro.
382 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
383 (elf_machine_runtime_setup): Support ELFv2 ABI.
384 (elf_machine_fixup_plt): Likewise.
385 (elf_machine_plt_conflict): Likewise.
386 (resolve_ifunc): Likewise.
387 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
388 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
391 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
393 (makecontext): Support ELFv2 ABI.
394 * elf/elf.h (EF_PPC64_ABI): Define.
396 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
398 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
400 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
401 [ASSEMBLER] (ENTRY): ... but instead here ...
402 [ASSEMBLER] (EALIGN): ... and here.
403 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
404 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
405 [!ASSEMBLER] (ENTRY_2): Use it.
406 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
407 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
408 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
409 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
410 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
412 Use PPC64_LOAD_FUNCPTR.
414 2013-11-12 Alan Modra <amodra@gmail.com>
416 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
417 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
418 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
419 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
421 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
422 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
423 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
424 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
425 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
426 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
428 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
431 (__makecontext): Fix incorrect CFI when backtracing out of
432 context created via makecontext.
433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
434 (__setcontext): Fix incorrect CFI during switch to new context.
435 (__novec_setcontext): Likewise.
437 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
439 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
440 Add artificial ODP entry for vDSO symbol for PPC64.
441 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
442 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
444 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
446 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
447 Fix thread ID register.
449 2013-09-11 Will Newton <will.newton@linaro.org>
452 * malloc/malloc.c (__libc_memalign): Check the value of bytes
455 2013-09-11 Will Newton <will.newton@linaro.org>
458 * malloc/malloc.c (__libc_valloc): Check the value of bytes
461 2013-09-11 Will Newton <will.newton@linaro.org>
464 * malloc/malloc.c (__libc_memalign): Check the value of bytes
467 2013-09-11 Will Newton <will.newton@linaro.org>
470 * malloc/malloc.c (__libc_valloc): Check the value of bytes
473 2013-09-11 Will Newton <will.newton@linaro.org>
476 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
479 2013-09-23 Carlos O'Donell <carlos@redhat.com>
482 * elf/Makefile (tests): Add tst-ptrguard1.
483 (tests-static): Add tst-ptrguard1-static.
484 (tst-ptrguard1-ARGS): Define.
485 (tst-ptrguard1-static-ARGS): Define.
486 * elf/tst-ptrguard1.c: New file.
487 * elf/tst-ptrguard1-static.c: New file.
488 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
489 * sysdeps/i386/stackguard-macros.h: Likewise.
490 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
491 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
492 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
493 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
494 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
495 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
497 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
500 * string/tst-strcoll-overflow.c: New test case.
501 * string/Makefile (xtests): Add tst-strcoll-overflow.
502 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
503 cache if string sizes may cause integer overflow.
506 * string/strcoll_l.c (coll_seq): New members rule, idx,
507 save_idx and back_us.
508 (get_next_seq_nocache): New function.
509 (do_compare_nocache): New function.
510 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
513 * string/strcoll_l.c (coll_seq): New structure.
514 (get_next_seq_cached): New function.
515 (get_next_seq): New function.
516 (do_compare): New function.
517 (STRCOLL): Use GNU style definition. Simplify implementation
518 by using get_next_seq, get_next_seq_cached and do_compare.
520 2013-10-31 Andreas Schwab <schwab@suse.de>
523 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
524 followed by 'x' as part of digit sequence.
525 * stdio-common/tst-sscanf.c (double_tests2): New tests.
527 2013-10-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
529 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
530 to provide a boost for large inputs with word alignment.
531 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
532 implementation based on optimized PPC64 strcpy.
533 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
534 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
535 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
536 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
538 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
541 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
542 heap for large requests.
544 2013-10-10 Joseph Myers <joseph@codsourcery.com>
546 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
547 for NaNs before doing comparisons on argument.
548 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
551 2013-10-04 Alan Modra <amodra@gmail.com>
553 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
554 Use stdint types in rather than __attribute__((mode())).
555 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
557 2013-10-04 Alan Modra <amodra@gmail.com>
559 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
560 Correct handling of unaligned relocs for little-endian.
561 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
563 2013-10-04 Alan Modra <amodra@gmail.com>
565 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
566 * configure: Regenerate.
567 * nptl/shlib-versions: Powerpc*le starts at 2.18.
568 * shlib-versions: Likewise.
570 2013-10-04 Alan Modra <amodra@gmail.com>
572 * string/tester.c (test_memrchr): Increment reported test cycle.
574 2013-10-04 Alan Modra <amodra@gmail.com>
576 * string/test-memcpy.c (do_one_test): When reporting errors, print
577 string address and don't overrun end of string.
579 2013-10-04 Alan Modra <amodra@gmail.com>
581 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
582 insrdi. Make better use of reg selection to speed exit slightly.
583 Schedule entry path a little better. Remove useless "are we done"
584 checks on entry to main loop. Handle wrapping around zero address.
585 Correct main loop count. Handle single left-over word from main
586 loop inline rather than by using loop_small. Remove extra word
587 case in loop_small caused by wrong loop count. Add little-endian
589 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
590 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
592 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
593 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
594 support. Avoid rlwimi.
595 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
597 2013-10-04 Alan Modra <amodra@gmail.com>
599 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
601 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
602 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
603 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
604 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
605 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
606 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
608 2013-10-04 Alan Modra <amodra@gmail.com>
610 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
611 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
612 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
613 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
614 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
615 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
616 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
617 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
618 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
619 use of regs. Use power7 mtocrf. Tidy function tails.
621 2013-10-04 Alan Modra <amodra@gmail.com>
623 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
624 Formatting. Consistently use rXXX register defines or rN defines.
625 Use early exit labels that avoid restoring unused non-volatile regs.
626 Make cr field use more consistent with rWORDn compares. Rename
627 regs used as shift registers for unaligned loop, using rN defines
628 for short lifetime/multiple use regs.
629 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
630 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
631 addi 1,1,64 to pop stack frame. Simplify return value code.
632 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
634 2013-10-04 Alan Modra <amodra@gmail.com>
636 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
637 support. Correct typos, formatting. Optimize tail. Use insrdi
639 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
640 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
641 little-endian support. Correct typos.
642 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
644 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
645 in loop and entry code to keep "and." results.
646 (strchr): Add little-endian support. Comment. Move cntlzd
648 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
650 2013-10-04 Alan Modra <amodra@gmail.com>
652 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
653 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
654 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
655 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
657 2013-10-04 Alan Modra <amodra@gmail.com>
659 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
660 (rTMP): Define as r11.
661 (strcmp): Add little-endian support. Optimise tail.
662 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
663 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
664 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
665 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
666 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
667 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
668 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
670 2013-10-04 Alan Modra <amodra@gmail.com>
672 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
673 little-endian support. Remove unnecessary "are we done" tests.
674 Handle "s" wrapping around zero and extremely large "size".
675 Correct main loop count. Handle single left-over word from main
676 loop inline rather than by using small_loop. Correct comments.
677 Delete "zero" tail, use "end_max" instead.
678 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
680 2013-10-04 Alan Modra <amodra@gmail.com>
682 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
683 support. Don't branch over align.
684 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
685 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
686 support. Rearrange tmp reg use to suit. Comment.
687 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
689 2013-10-04 Alan Modra <amodra@gmail.com>
691 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
693 2013-10-04 Alan Modra <amodra@gmail.com>
695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
696 conditional form of branch and link when obtaining pc.
697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
699 2013-10-04 Alan Modra <amodra@gmail.com>
701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
706 2013-10-04 Alan Modra <amodra@gmail.com>
708 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
709 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
710 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
711 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
712 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
713 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
714 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
715 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
716 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
717 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
719 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
720 Alistair Popple <alistair@ozlabs.au.ibm.com>
721 Alan Modra <amodra@gmail.com>
724 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
725 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
726 _dl_hwcap access for little-endian.
727 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
728 destroy vmx regs when saving unaligned.
729 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
730 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
731 destroy vmx regs when saving unaligned.
733 2013-10-04 Alan Modra <amodra@gmail.com>
735 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
736 Don't use a union to pack hi/low value.
738 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
740 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
742 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
743 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
744 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
745 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
746 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
748 2013-10-04 Alan Modra <amodra@gmail.com>
750 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
751 constants to usual value for .cst8 section, and remove redundant
753 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
754 constant for 0x1p52. Load little-endian words of double from
755 correct stack offsets.
757 2013-10-04 Alan Modra <amodra@gmail.com>
759 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
760 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
761 words of double from correct stack offsets.
762 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
763 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
764 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
765 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
766 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
767 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
768 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
769 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
770 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
771 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
772 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
773 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
774 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
775 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
776 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
777 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
778 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
780 2013-10-04 Alan Modra <amodra@gmail.com>
782 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
783 64-bit int/double union.
784 (_FPU_SETCW): Likewise.
785 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
786 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
788 2013-10-04 Alan Modra <amodra@gmail.com>
790 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
791 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
793 2013-10-04 Alan Modra <amodra@gmail.com>
795 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
796 use vector int constants.
797 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
799 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
801 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
802 array with long long.
803 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
804 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
805 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
806 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
807 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
808 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
809 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
810 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
811 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
812 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
813 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
814 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
815 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
817 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
819 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
820 (__signbit): Likewise. Correct for little-endian.
821 (__signbitl): Call __signbit.
822 (lrint): Correct for little-endian.
823 (lrintf): Call lrint.
825 2013-10-04 Alan Modra <amodra@gmail.com>
827 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
828 union 32-bit int array member with 64-bit int array.
829 (t515, tm256): Double rather than long double.
830 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
832 2013-10-04 Alan Modra <amodra@gmail.com>
834 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
836 (IEEE854_LONG_DOUBLE_BIAS): Delete.
837 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
838 version of math_ldbl.h.
840 2013-10-04 Alan Modra <amodra@gmail.com>
842 [BZ #15734], [BZ #15735]
843 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
844 all uses of ieee875 long double macros and unions. Simplify test
845 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
846 ldbl_extract_mantissa value for ix,iy exponents. Properly
847 normalize after ldbl_extract_mantissa, and don't add hidden bit
848 already handled. Don't treat low word of ieee854 mantissa like
849 low word of IBM long double and mask off bit when testing for
851 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
852 all uses of ieee875 long double macros and unions. Simplify tests
853 for 0.0L and inf. Correct double adjustment of k. Delete dead code
854 adjusting ha,hb. Simplify code setting kld. Delete two600 and
855 two1022, instead use their values. Recognise that tests for large
856 "a" and small "b" are mutually exclusive. Rename vars. Comment.
857 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
858 Rewrite all uses of ieee875 long double macros and unions. Simplify
859 test for 0.0L and nan. Correct negation.
860 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
861 ieee875 long double macros and unions. Correct output for large
862 magnitude x. Correct absolute value calculation.
864 * math/libm-test.inc: Add tests for errors discovered in IBM long
865 double versions of fmodl, remainderl, erfl and erfcl.
867 2013-10-04 Alan Modra <amodra@gmail.com>
869 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
870 all uses of ieee854 long double macros and unions. Simplify tests
871 for long doubles that are fully specified by the high double.
872 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
874 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
875 Remove dead code too.
876 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
877 (__ieee754_ynl): Likewise.
878 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
879 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
880 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
881 Remove dead code too.
882 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
883 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
884 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
885 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
887 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
889 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
890 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
891 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
892 Comment on variable precision.
893 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
894 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
896 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
897 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
898 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
899 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
900 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
902 2013-10-04 Alan Modra <amodra@gmail.com>
904 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
905 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
906 all uses of ieee854 long double macros and unions.
907 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
908 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
909 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
910 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
911 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
912 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
914 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
915 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
916 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
917 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
918 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
919 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
920 Simplify sign and nan test too.
921 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
922 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
923 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
924 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
926 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
927 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
929 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
930 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
931 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
932 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
933 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
934 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
936 2013-10-04 Alan Modra <amodra@gmail.com>
938 * stdio-common/printf_size.c (__printf_size): Don't use
939 union ieee854_long_double in fpnum union.
940 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
941 signbit macro to retrieve sign from long double.
942 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
943 retrieve sign from long double.
944 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
945 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
946 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
947 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
948 * math/test-misc.c (main): Don't use union ieee854_long_double.
950 2013-10-04 Alan Modra <amodra@gmail.com>
953 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
954 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
955 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
956 calculation. Remove unnecessary test for denormal exponent.
957 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
958 Correct handling of denormals. Avoid undefined shift behaviour.
959 Correct normalisation of low mantissa when low double is denormal.
960 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
961 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
962 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
963 Correct normalisation of low mantissa. Test for overflow of high
964 mantissa and normalise.
965 (ldbl_nearbyint): Use more readable constant for two52.
966 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
967 (__mpn_construct_long_double): Fix test for overflow of high
968 mantissa and correct normalisation. Avoid undefined shift.
970 2013-10-04 Alan Modra <amodra@gmail.com>
972 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
973 (union ibm_extended_long_double): Define as an array of ieee754_double.
974 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
975 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
976 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
977 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
978 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
979 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
980 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
981 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
982 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
983 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
984 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
986 2013-09-09 Allan McRae <allan@archlinux.org>
989 * stdlib/isomac.c (get_null_defines): Fix memory leak.
992 * libio/memstream.c (open_memstream): Fix memory leak.
993 * libio/wmemstream.c (open_wmemstream): Likewise.
996 * nscd/netgroupcache.c: Fix nesting of ifdefs.
998 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1000 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1001 memory access for final bytes in some large inputs.
1002 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1004 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1006 * string/test-memrchr.c: New file.
1007 * string/test-memrchr-ifunc.c: New file.
1008 * string/Makefile: Add new memrchr testcase.
1010 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1013 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1014 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1015 * math/libm-test.inc (lgamma_test_data): Add more tests.
1016 * sysdeps/i386/fpu/libm-test-ulps: Update.
1017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1019 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1021 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1022 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1025 Add strcmp-sse2-unaligned
1026 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1028 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1030 * Versions.def (libc): Add GLIBC_2.19.
1032 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1034 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1035 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1037 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1040 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1041 intermediate calculations in recurrence.
1042 (__ieee754_ynf): Likewise.
1043 * math/libm-test.inc (jn_test_data): Do not allow spurious
1044 underflow exception. Add more tests.
1045 (yn_test_data): Add more tests.
1046 * sysdeps/i386/fpu/libm-test-ulps: Update.
1047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1049 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1051 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1053 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1054 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1055 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1057 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1058 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1059 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1061 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1062 (ibm_extended_long_double): Add ieee_nan member.
1063 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1064 (do_test): New function.
1066 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1068 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1069 functions, renamed from truncdfsf_test, trunctfsf_test,
1071 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1073 (do_test): Run all these.
1075 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1078 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1079 * math/s_cexpf.c (__cexpf): Likewise.
1080 * math/s_cexpl.c (__cexpl): Likewise.
1081 * math/libm-test.inc (cexp_test_data): Correct expected return
1082 value for NaN + i0. Add another test.
1084 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1087 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1088 is infinite, not alongside NaN test.
1089 * math/s_fdimf.c (__fdimf): Likewise.
1090 * math/s_fdiml.c (__fdiml): Likewise.
1091 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1094 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1097 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1098 trampoline stack frame information.
1099 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1100 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1101 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1102 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1103 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1104 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1105 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1106 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1108 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1109 interrupting a syscall and set with option SA_SIGINFO.
1111 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1114 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1115 argument is infinite.
1116 * math/s_cprojf.c (__cprojf): Likewise.
1117 * math/s_cprojl.c (__cprojl): Likewise.
1118 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1119 * math/libm-test.inc (cproj_test_data): Add more tests.
1121 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1123 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1124 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1125 size. Use __ffs to determine corresponding shift.
1127 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1129 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1131 2013-08-16 Florian Weimer <fweimer@redhat.com>
1135 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1137 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1139 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1140 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1141 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1143 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1144 GETDENTS_64BIT_ALIGNED.
1145 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1146 * manual/filesys.texi (Reading/Closing Directory): Document
1147 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1149 * manual/conf.texi (Limits for Files): Add portability note to
1151 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1153 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1156 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1157 (pthread_spin_lock): Branch out of spin loop to proper location.
1158 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1159 (pthread_spin_lock): Likewise.
1161 * nptl/tst-spin4.c: New test.
1162 * nptl/Makefile (tests): Add tst-spin4.
1164 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1167 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1168 membar to avoid block loads/stores to overlap previous stores.
1170 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1173 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1176 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
1179 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1182 2014-05-01 David S. Miller <davem@davemloft.net>
1185 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1186 multiple zero bytes exist at the end of a string.
1187 Reported by Aurelien Jarno <aurelien@aurel32.net>
1189 * string/test-strcmp.c (check): Add explicit test for situations where
1190 there are multiple zero bytes after the first.
1192 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1195 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1196 of __x86_64__ when disabling x87 inline functions.
1198 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1201 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1203 2014-01-04 Maxim Kuvyrkov <maxim@kugelworks.com>
1204 Ondřej Bílka <neleai@seznam.cz>
1207 * malloc/malloc.c (_int_free): Perform sanity check only if we
1210 2013-11-11 David S. Miller <davem@davemloft.net>
1213 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1214 symbol in the non-vis3 case in static builds.
1215 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1216 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1217 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1218 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1220 2013-11-06 David S. Miller <davem@davemloft.net>
1223 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1224 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1226 2013-09-06 David S. Miller <davem@davemloft.net>
1228 * po/zh_TW.po: Update Chinese (traditional) translation from
1229 translation project.
1231 2013-08-22 David S. Miller <davem@davemloft.net>
1233 * po/ca.po: Update Catalan translation from translation project.
1234 * po/uk.po: Add Ukrainian translations from translation project.
1236 2013-08-03 David S. Miller <davem@davemloft.net>
1238 * po/ko.po: Update Korean translation from translation project.
1240 2013-08-01 David S. Miller <davem@davemloft.net>
1242 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1243 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1246 2013-07-30 David S. Miller <davem@davemloft.net>
1248 * po/fr.po: Update French translation from translation project.
1250 2013-07-28 David S. Miller <davem@davemloft.net>
1252 * po/cs.po: Update Czech translation from translation project.
1254 * po/sv.po: Update Swedish translation from translation project.
1256 2013-07-27 David S. Miller <davem@davemloft.net>
1258 * po/eo.po: Update Esperanto translation from translation project.
1260 * po/vi.po: Update Vietnamese translation from translation project.
1262 * po/de.po: Update German translation from translation project.
1264 2013-07-26 David S. Miller <davem@davemloft.net>
1266 * po/bg.po: Update Bulgarian translation from translation project.
1268 * po/nl.po: Update Dutch translation from translation project.
1269 * po/pl.po: Update Polish translation from translation project.
1270 * po/ru.po: Update Russian translation from translation project.
1272 2013-07-24 David S. Miller <davem@davemloft.net>
1274 * po/libc.pot: Update.
1276 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1278 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1280 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1281 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1282 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1284 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1286 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1288 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1289 Andreas Schwab <schwab@suse.de>
1290 Roland McGrath <roland@hack.frob.com>
1291 Joseph Myers <joseph@codesourcery.com>
1292 Carlos O'Donell <carlos@redhat.com>
1295 * config.h.in: Define HAVE_PT_CHOWN.
1296 * config.make.in (build-pt-chown): New variable.
1297 * configure.in (--enable-pt_chown): New configure option.
1298 * configure: Regenerate.
1299 * login/Makefile: Include Makeconfig. Build pt_chown only if
1300 build-pt-chown is enabled.
1301 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1302 pt_chown to fix pty ownership.
1303 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1305 * manual/install.texi (Configuring and compiling): Mention
1306 --enable-pt_chown. Add @findex for grantpt.
1307 * INSTALL: Regenerate.
1309 2013-07-20 David S. Miller <davem@davemloft.net>
1311 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1312 difference between 32-bit and 64-bit.
1314 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1317 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1318 Avoid system header dependency with -ffreestanding.
1319 ($(objpfx)bits/syscall%d): Likewise.
1321 2013-07-13 David S. Miller <davem@davemloft.net>
1323 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1324 underflows from atanl/atan2l due to bug 15319.
1325 (casinh_test_data): Likewise.
1327 2013-07-07 David S. Miller <davem@davemloft.net>
1329 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1331 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1333 * sysdeps/i386/fpu/libm-test-ulps: Update.
1334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1336 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1338 * configure.in (--enable-lock-elision): Fix message text.
1339 * INSTALL: Regenerate.
1340 * configure: Regenerate.
1342 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1346 2013-07-03 Andreas Jaeger <aj@suse.de>
1348 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1350 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1351 (ptrace_peeksiginfo_args): Add.
1352 (__ptrace_peeksiginfo_flags): Add.
1353 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1355 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1357 2013-07-03 Allan McRae <allan@archlinux.org>
1359 * sysdeps/i386/fpu/libm-test-ulps: Update.
1361 2013-07-02 David S. Miller <davem@davemloft.net>
1363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1365 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1369 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1371 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1374 2013-07-02 Andi Kleen <ak@linux.intel.com>
1376 * config.h.in (ENABLE_LOCK_ELISION): Add.
1377 * configure.in (--enable-lock-elision): Add option.
1378 * manual/install.texi: Document --enable lock elision.
1379 * configure: Regenerate
1380 * INSTALL: Regenerate.
1382 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1384 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1385 SSE4.2 strcasecmp for libc.a.
1386 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1388 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1391 * soft-fp/op-common.h (_FP_FMA): New macro.
1392 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1393 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1394 (_FP_MUL_MEAT_1_imm): ... here.
1395 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1396 (_FP_MUL_MEAT_1_wide): ... here.
1397 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1398 (_FP_MUL_MEAT_1_hard): ... here.
1399 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1400 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1401 (_FP_MUL_MEAT_2_wide): ... here.
1402 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1403 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1404 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1405 (_FP_MUL_MEAT_2_gmp): ... here.
1406 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1407 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1408 (_FP_MUL_MEAT_4_wide): ... here.
1409 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1410 (_FP_MUL_MEAT_4_gmp): ... here.
1411 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1412 (_FP_WFRACBITS_DW_S): Likewise.
1413 (_FP_WFRACXBITS_DW_S): Likewise.
1414 (_FP_HIGHBIT_DW_S): Likewise.
1415 (FP_FMA_S): Likewise.
1416 (_FP_FRAC_HIGH_DW_S): Likewise.
1417 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1418 (_FP_WFRACBITS_DW_D): Likewise.
1419 (_FP_WFRACXBITS_DW_D): Likewise.
1420 (_FP_HIGHBIT_DW_D): Likewise.
1421 (FP_FMA_D): Likewise.
1422 (_FP_FRAC_HIGH_DW_D): Likewise.
1423 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1424 (_FP_WFRACBITS_DW_E): Likewise.
1425 (_FP_WFRACXBITS_DW_E): Likewise.
1426 (_FP_HIGHBIT_DW_E): Likewise.
1427 (FP_FMA_E): Likewise.
1428 (_FP_FRAC_HIGH_DW_E): Likewise.
1429 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1430 (_FP_WFRACBITS_DW_Q): Likewise.
1431 (_FP_WFRACXBITS_DW_Q): Likewise.
1432 (_FP_HIGHBIT_DW_Q): Likewise.
1433 (FP_FMA_Q): Likewise.
1434 (_FP_FRAC_HIGH_DW_Q): Likewise.
1435 * soft-fp/fmasf4.c: New file.
1436 * soft-fp/fmadf4.c: Likewise.
1437 * soft-fp/fmatf4.c: Likewise.
1439 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1442 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1444 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1446 (index_Slow_SSE4_2): Likewise.
1447 (index_Prefer_PMINUB_for_stringop): Likewise.
1448 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1449 bit_Slow_SSE4_2 is set.
1450 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1451 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1453 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1455 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1456 rtld_global._dl_hwcap2.
1457 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1459 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1460 POWER8 feature descriptions defined in _dl_hwcap2.
1461 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1462 string handling for POWER8 feature bits.
1463 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1464 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1465 _dl_powerpc_cap_flags.
1466 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1467 * sysdeps/powerpc/rtld-global-offsets.sym
1468 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1469 _dl_hwcap2 in the rtld_global_ro structure.
1471 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1473 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1474 hardware capabilities in support of AT_HWCAP2.
1475 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1476 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1478 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1479 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1480 explicitly the unknown a_type display mechanism is used.
1481 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1482 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1484 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1485 to macro prototype for AT_HWCAP2 support.
1486 * sysdeps/i386/dl-procinfo.h: Likewise.
1487 * sysdeps/s390/dl-procinfo.h: Likewise.
1488 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1489 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1490 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1491 return -1 for unknown a_type display fallback.
1492 * sysdeps/sparc/dl-procinfo.h: Likewise.
1493 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1494 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1496 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1498 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1499 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1501 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1504 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1505 mprotect making __stack_prot writable.
1507 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1508 Joseph Myers <joseph@codesourcery.com>
1510 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1511 as being properly aligned.
1513 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1515 * dlfcn/modstatic5.c: New file.
1516 * dlfcn/tststatic5.c: New file.
1517 * dlfcn/Makefile (tests): Add tststatic5.
1518 (tests-static): Likewise.
1519 (modules-names): Add modstatic5.
1520 (tststatic5-ENV): New variable.
1521 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1524 * elf/dl-support.c (_dl_main_map): New variable.
1525 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1526 (_dl_nns, _dl_load_adds): Set to 1.
1527 (_dl_initial_searchlist): Refer to _dl_main_map.
1528 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1529 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1530 call to _dl_get_origin.
1531 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1533 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1534 * dlfcn/modstatic3.c: New file.
1535 * dlfcn/tststatic3.c: New file.
1536 * dlfcn/tststatic4.c: New file.
1537 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1538 (tests-static): Likewise.
1539 (modules-names): Add modstatic3.
1540 (tststatic3-ENV, tststatic4-ENV): New variables.
1541 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1542 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1544 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1546 * configure.in (CC): Require GCC version 4.4 or later.
1547 * configure: Regenerated.
1548 * manual/install.texi (Tools for Compilation): Update GCC version
1550 * INSTALL: Regenerated.
1552 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1555 * string/test-memcmp.c (check2): New.
1556 (main): Call check2.
1558 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1560 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1563 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1565 (dl_open_worker) [!SHARED]: ... here.
1567 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1569 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1571 2013-06-25 Richard Henderson <rth@redhat.com>
1573 * locale/programs/locarchive.c: Include <libc-internal.h>
1575 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1577 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1578 trailing whitespace removed.
1580 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1583 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1584 * locale/programs/locarchive.c: Include libc-mmap.h.
1585 (prepare_address_space): Take two new outputs (the mmap base and len).
1586 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1588 (create_archive): Declare new mmap base and len values for
1589 prepare_address_space, and store the result in ah.
1590 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1591 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1592 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1593 Declare new mmap base and len values for
1594 prepare_address_space, and store the result in new_ah.
1595 (open_archive): Declare new mmap base and len values for
1596 prepare_address_space, and store the result in ah.
1597 (close_archive): If ah->mmap_base is not NULL, use that and
1598 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1599 * sysdeps/generic/libc-mmap.h: New file.
1601 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1603 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1604 (ALIGN_UP): Likewise.
1605 (PTR_ALIGN_DOWN): Likewise.
1606 (PTR_ALIGN_UP): Likewise.
1608 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1610 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1611 entry mapped to PPC_PLATFORM_POWER8.
1612 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1614 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1615 (_dl_string_platform): Add case for exporting platform position for
1617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1618 search path to sysdeps/powerpc/powerpc32/power8 directory.
1619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1620 search path to sysdeps/powerpc/powerpc64/power8 directory.
1621 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1623 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1626 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1628 * INSTALL: Regenerate.
1630 * nscd/connections.c (nscd_init): Fix comment.
1632 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1634 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1637 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1638 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1640 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1642 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1644 (DL_DST_REQ_STATIC): Remove macro.
1646 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1649 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1650 with a shift of 0 bits.
1652 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1654 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1657 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1660 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1662 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1664 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1665 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1666 accepts -fno-tree-loop-distribute-patterns.
1667 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1668 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1670 * string/memset.c (memset): Likewise.
1671 * string/test-memmove.c (simple_memmove): Disable loop transformation
1673 * string/test-memset.c (simple_memset): Likewise.
1674 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1675 * benchtests/bench-memset.c (simple_memset): Likewise.
1676 * configure: Regenerated.
1678 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1680 * math/test-misc.c (main): Ignore fesetround failure when failures
1681 of subsequent rounding tests would be ignored.
1684 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1685 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1686 * math/fegetenv.c (__fegetenv): Return 0.
1687 * math/fegetexcept.c (fegetexcept): Return 0.
1688 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1690 * math/feholdexcpt.c (feholdexcept): Return 0.
1691 * math/fesetenv.c (__fesetenv): Return 0.
1692 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1693 argument FE_TONEAREST.
1694 * math/feupdateenv.c (__feupdateenv): Return 0.
1695 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1697 2013-06-18 Roland McGrath <roland@hack.frob.com>
1699 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1700 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1701 ($(objpfx)rtld-%.os rules): Use them.
1703 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1705 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1708 2013-06-17 Roland McGrath <roland@hack.frob.com>
1710 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1711 length of target pattern, then descending length of dependency pattern.
1712 * configure.in (AWK): Require gawk 3.1.2 or newer.
1713 * manual/install.texi (Tools for Compilation): Say that we do.
1714 * configure: Regenerated.
1716 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1717 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1718 * scripts/sysd-rules.awk: ... this new script.
1719 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1720 than a glob-style pattern.
1722 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1724 * math/test-misc.c (main): Do not treat incorrectly rounded
1725 conversions as failure unless ROUNDING_TESTS passes.
1727 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1730 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1731 restore exception state around main square root computation, then
1732 check for inexactness explicitly.
1734 * math/libm-test.inc (fma_test_data): Add another test.
1736 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1738 * manual/threads.texi (Non-POSIX Extensions): New document
1739 node. Document pthread_getattr_default_np and
1740 pthread_setattr_default_np.
1742 * Versions.def (libpthread): Add GLIBC_2.18.
1743 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1752 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1763 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1766 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1768 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1769 H.J. Lu <hjl.tools@gmail.com>
1772 * sysdeps/x86_64/rtld-memset.c: Remove file.
1773 * sysdeps/x86_64/rtld-memset.S: New file.
1775 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1777 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1778 (test_in_one_mode): Take arguments for whether the rounding mode
1779 is supported for each floating-point type.
1780 (do_test): Pass new arguments to test_in_one_mode using
1783 2013-06-13 Roland McGrath <roland@hack.frob.com>
1785 * posix/tst-waitid.c (do_test): Distinguish different instances of
1786 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1787 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1788 before entering the kernel for waitpid.
1790 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1792 * NEWS: Fix note on clock function precision. Text by Roland
1795 2013-06-13 Roland McGrath <roland@hack.frob.com>
1797 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1798 it into place only when and if the sanity check passes.
1800 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1802 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1803 output for whether conversion result is exact. Take argument
1804 indicating whether type is IBM long double.
1805 (round_for_all): Change need_exact field to ibm_ld.
1806 * stdlib/tst-strtod-round.c (struct exactness): New type.
1807 (struct test): Change bool ld_ok field to struct exactness exact.
1808 (TEST): Update all definitions for change to field.
1809 (tests): Regenerate array contents.
1810 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1811 field value. Check for IBM long double here.
1812 (do_test): Update calls to test_in_one_mode.
1814 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1817 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1818 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1820 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1824 generated by the compiler on loop optimizations.
1825 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1826 general definitions.
1828 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1830 * math/bug-nextafter.c: Include <math-tests.h>.
1831 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1833 * math/bug-nexttoward.c: Include <math-tests.h>.
1834 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1836 * math/test-misc.c: Include <math-tests.h>.
1837 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1840 2013-06-12 Andreas Jaeger <aj@suse.de>
1842 * po/ia.po: Update Interlingua translation from translation
1845 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1847 * include/fenv.h: Include stdbool.h.
1848 (struct rm_ctx): New structure.
1849 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1851 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1852 (SET_RESTORE_ROUNDF): Likewise.
1853 (SET_RESTORE_ROUNDL): Likewise.
1854 (SET_RESTORE_ROUND_NOEX): Likewise.
1855 (SET_RESTORE_ROUND_NOEXF): Likewise.
1856 (SET_RESTORE_ROUND_NOEXL): Likewise.
1857 (SET_RESTORE_ROUND_53BIT): Likewise.
1858 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1859 (libc_feresetround_noexf_ctx): Likewise.
1860 (libc_feresetround_noexl_ctx): Likewise.
1861 (libc_feholdsetround_53bit_ctx): Likewise.
1862 (libc_feresetround_53bit_ctx): Likewise.
1863 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1864 (libc_feholdexcept_setround_sse_ctx): New function.
1865 (libc_fesetenv_sse_ctx): Likewise.
1866 (libc_feupdateenv_sse_ctx): Likewise.
1867 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1868 (libc_feholdexcept_setround_387_ctx): Likewise.
1869 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1870 (libc_feholdsetround_387_prec_ctx): Likewise.
1871 (libc_feholdsetround_387_ctx): Likewise.
1872 (libc_feholdsetround_387_53bit_ctx): Likewise.
1873 (libc_feholdsetround_sse_ctx): Likewise.
1874 (libc_feresetround_sse_ctx): Likewise.
1875 (libc_feresetround_387_ctx): Likewise.
1876 (libc_feupdateenv_387_ctx): Likewise.
1877 (libc_feholdexcept_setroundf_ctx): Define macro.
1878 (libc_fesetenvf_ctx): Likewise.
1879 (libc_feupdateenvf_ctx): Likewise.
1880 (libc_feholdsetroundf_ctx): Likewise.
1881 (libc_feresetroundf_ctx): Likewise.
1882 (libc_feholdexcept_setround_ctx): Likewise.
1883 (libc_fesetenv_ctx): Likewise.
1884 (libc_feupdateenv_ctx): Likewise.
1885 (libc_feholdsetround_ctx): Likewise.
1886 (libc_feresetround_ctx): Likewise.
1887 (libc_feholdexcept_setroundl_ctx): Likewise.
1888 (libc_feupdateenvl_ctx): Likewise.
1889 (libc_feholdsetroundl_ctx): Likewise.
1890 (libc_feresetroundl_ctx): Likewise.
1891 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1892 (libc_feresetround_53bit_ctx): Likewise.
1894 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1896 * locale/iso-639.def: Convert to UTF-8.
1898 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1900 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1901 (EXCEPTION_TESTS_double): Likewise.
1902 (EXCEPTION_TESTS_long_double): Likewise.
1903 (EXCEPTION_TESTS): Likewise.
1904 * math/libm-test.inc (test_exceptions): Only test exceptions if
1905 EXCEPTION_TESTS (FLOAT).
1907 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1909 * benchtests/Makefile (string-bench): Add strcpy_chk and
1911 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1912 * benchtests/bench-stpcpy_chk.c: New file.
1913 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1914 * benchtests/bench-strcpy_chk.c: New file.
1915 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1917 (do_test): Likewise.
1919 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1921 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1922 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1923 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1924 with tabs where appropriate.
1925 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1927 [PPC_PLATFORM_PPC440]: Likewise.
1928 [PPC_PLATFORM_PPC464]: Likewise.
1929 [PPC_PLATFORM_PPC476]: Likewise.
1930 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1931 ppc464, and ppc476 platform strings merging from ports/
1934 2013-06-11 Andreas Schwab <schwab@suse.de>
1937 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1938 (from_ucs4_idx): Regenerate.
1939 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1940 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1941 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1942 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1943 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1944 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1945 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1946 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1947 from FROM_LOOP and TO_LOOP specific macros.
1948 (BODY): Handle combining characters.
1949 * iconvdata/BIG5HKSCS.irreversible: Update.
1950 * iconvdata/BIG5HKSCS.precomposed: New file.
1951 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1953 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1955 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1957 * include/sys/time.h: Fix indentation and add copyright header.
1959 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1960 (do_test): Likewise.
1961 * string/test-memchr.c (do_one_test): Likewise.
1962 (do_test): Likewise.
1963 * string/test-memcmp.c (do_one_test): Likewise.
1964 (do_test): Likewise.
1965 * string/test-memcpy.c (do_one_test): Likewise.
1966 (do_test): Likewise.
1967 * string/test-memmem.c (do_one_test): Likewise.
1968 (do_test): Likewise.
1969 (do_random_tests): Likewise.
1970 * string/test-memmove.c (do_one_test): Likewise.
1971 (do_test): Likewise.
1972 * string/test-memset.c (do_one_test): Likewise.
1973 (do_test): Likewise.
1974 * string/test-rawmemchr.c (do_one_test): Likewise.
1975 (do_test): Likewise.
1976 * string/test-strcasecmp.c (do_one_test): Likewise.
1977 (do_test): Likewise.
1978 * string/test-strcasestr.c (do_one_test): Likewise.
1979 (do_test): Likewise.
1980 * string/test-strcat.c (do_one_test): Likewise.
1981 (do_test): Likewise.
1982 * string/test-strchr.c (do_one_test): Likewise.
1983 (do_test): Likewise.
1984 * string/test-strcmp.c (do_one_test): Likewise.
1985 (do_test): Likewise.
1986 * string/test-strcpy.c (do_one_test): Likewise.
1987 (do_test): Likewise.
1988 * string/test-string.h: Likewise.
1989 (test_init): Likewise.
1990 * string/test-strlen.c (do_one_test): Likewise.
1991 (do_test): Likewise.
1992 * string/test-strncasecmp.c (do_one_test): Likewise.
1993 (do_test): Likewise.
1994 * string/test-strncat.c (do_one_test): Likewise.
1995 (do_test): Likewise.
1996 * string/test-strncmp.c (do_one_test): Likewise.
1997 (do_test_limit): Likewise.
1998 (do_test): Likewise.
1999 * string/test-strncpy.c (do_one_test): Likewise.
2000 (do_test): Likewise.
2001 * string/test-strnlen.c (do_one_test): Likewise.
2002 (do_test): Likewise.
2003 * string/test-strpbrk.c (do_one_test): Likewise.
2004 (do_test): Likewise.
2005 * string/test-strrchr.c (do_one_test): Likewise.
2006 (do_test): Likewise.
2007 * string/test-strspn.c (do_one_test): Likewise.
2008 (do_test): Likewise.
2009 * string/test-strstr.c (do_one_test): Likewise.
2010 (do_test): Likewise.
2012 * benchtests/Makefile (string-bench): Add string benchmarks.
2013 * benchtests/bench-bcopy-ifunc.c: New file.
2014 * benchtests/bench-bcopy.c: New file.
2015 * benchtests/bench-bzero-ifunc.c: New file.
2016 * benchtests/bench-bzero.c: New file.
2017 * benchtests/bench-memccpy-ifunc.c: New file.
2018 * benchtests/bench-memccpy.c: New file.
2019 * benchtests/bench-memchr-ifunc.c: New file.
2020 * benchtests/bench-memchr.c: New file.
2021 * benchtests/bench-memcmp-ifunc.c: New file.
2022 * benchtests/bench-memcmp.c: New file.
2023 * benchtests/bench-memmem-ifunc.c: New file.
2024 * benchtests/bench-memmem.c: New file.
2025 * benchtests/bench-memmove-ifunc.c: New file.
2026 * benchtests/bench-memmove.c: New file.
2027 * benchtests/bench-mempcpy-ifunc.c: New file.
2028 * benchtests/bench-mempcpy.c: New file.
2029 * benchtests/bench-memset-ifunc.c: New file.
2030 * benchtests/bench-memset.c: New file.
2031 * benchtests/bench-rawmemchr-ifunc.c: New file.
2032 * benchtests/bench-rawmemchr.c: New file.
2033 * benchtests/bench-stpcpy-ifunc.c: New file.
2034 * benchtests/bench-stpcpy.c: New file.
2035 * benchtests/bench-stpncpy-ifunc.c: New file.
2036 * benchtests/bench-stpncpy.c: New file.
2037 * benchtests/bench-strcasecmp-ifunc.c: New file.
2038 * benchtests/bench-strcasecmp.c: New file.
2039 * benchtests/bench-strcasestr-ifunc.c: New file.
2040 * benchtests/bench-strcasestr.c: New file.
2041 * benchtests/bench-strcat-ifunc.c: New file.
2042 * benchtests/bench-strcat.c: New file.
2043 * benchtests/bench-strchr-ifunc.c: New file.
2044 * benchtests/bench-strchr.c: New file.
2045 * benchtests/bench-strchrnul-ifunc.c: New file.
2046 * benchtests/bench-strchrnul.c: New file.
2047 * benchtests/bench-strcmp-ifunc.c: New file.
2048 * benchtests/bench-strcmp.c: New file.
2049 * benchtests/bench-strcpy-ifunc.c: New file.
2050 * benchtests/bench-strcpy.c: New file.
2051 * benchtests/bench-strcspn-ifunc.c: New file.
2052 * benchtests/bench-strcspn.c: New file.
2053 * benchtests/bench-strlen-ifunc.c: New file.
2054 * benchtests/bench-strlen.c: New file.
2055 * benchtests/bench-strncasecmp-ifunc.c: New file.
2056 * benchtests/bench-strncasecmp.c: New file.
2057 * benchtests/bench-strncat-ifunc.c: New file.
2058 * benchtests/bench-strncat.c: New file.
2059 * benchtests/bench-strncmp-ifunc.c: New file.
2060 * benchtests/bench-strncmp.c: New file.
2061 * benchtests/bench-strncpy-ifunc.c: New file.
2062 * benchtests/bench-strncpy.c: New file.
2063 * benchtests/bench-strnlen-ifunc.c: New file.
2064 * benchtests/bench-strnlen.c: New file.
2065 * benchtests/bench-strpbrk-ifunc.c: New file.
2066 * benchtests/bench-strpbrk.c: New file.
2067 * benchtests/bench-strrchr-ifunc.c: New file.
2068 * benchtests/bench-strrchr.c: New file.
2069 * benchtests/bench-strspn-ifunc.c: New file.
2070 * benchtests/bench-strspn.c: New file.
2071 * benchtests/bench-strstr-ifunc.c: New file.
2072 * benchtests/bench-strstr.c: New file.
2074 * benchtests/Makefile: Disable parallel execution of targets.
2075 (string-bench): Add memcpy.
2076 (benchset): New variable to store a list of benchmark sets.
2077 (bench-func): Renamed from bench.
2078 (bench-set): New target.
2079 (bench): Depend on bench-func and bench-set.
2080 * benchtests/README: Add section on benchmark sets.
2081 * benchtests/bench-memcpy-ifunc.c: New file.
2082 * benchtests/bench-memcpy.c: New file.
2083 * benchtests/bench-string.h: New file.
2085 2013-06-11 Andreas Schwab <schwab@suse.de>
2088 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2089 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2090 values in the triple.
2091 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2092 terminator in the group key.
2094 2013-06-11 Andreas Jaeger <aj@suse.de>
2096 * po/zh_TW.po: Update Chinese (traditional) translation from
2097 translation project.
2099 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2101 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2102 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2103 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2104 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2105 (clock_getcpuclockid): Likewise.
2106 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2107 Add weak_alias and libc_hidden_def.
2108 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2109 * rt/clock_gettime.c (clock_gettime): Rename to
2110 __clock_gettime. Add weak_alias and libc_hidden_def.
2111 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2112 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2113 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2114 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2115 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2117 * rt/clock_settime.c (clock_settime): Rename to
2118 __clock_settime. Add weak_alias and libc_hidden_def.
2119 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2121 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2123 * mach/err_boot.sub: Remove trailing whitespace.
2124 * mach/err_ipc.sub: Likewise.
2125 * mach/err_mach.sub: Likewise.
2127 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2128 (ROUNDING_TESTS_double): Likewise.
2129 (ROUNDING_TESTS_long_double): Likewise.
2130 (ROUNDING_TESTS): Likewise.
2131 * math/libm-test.inc: Include <math-tests.h>.
2132 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2133 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2134 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2135 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2137 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2139 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2142 2013-06-08 Joseph Myers <joseph@codesourcery.com>
2144 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2145 otherwise empty TRANS lines.
2146 * sysdeps/gnu/errlist.c: Regenerated.
2148 * catgets/gencat.c (error_print): Use (void) in function
2150 * crypt/crypt_util.c (__init_des): Likewise.
2151 * crypt/speeds.c (Stop): Likewise.
2153 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2154 * inet/ruserpass.c (token): Likewise.
2155 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2156 * intl/localealias.c (extend_alias_table): Likewise.
2157 * intl/plural-exp.c (init_germanic_plural): Likewise.
2158 * libio/fcloseall.c (__fcloseall): Likewise.
2159 * libio/genops.c (_IO_flush_all): Likewise.
2160 (_IO_flush_all_linebuffered): Likewise.
2161 (_IO_cleanup): Likewise.
2162 (_IO_iter_begin): Likewise.
2163 (_IO_iter_end): Likewise.
2164 (_IO_list_lock): Likewise.
2165 (_IO_list_unlock): Likewise.
2166 (_IO_list_resetlock): Likewise.
2167 * libio/getchar.c (getchar): Likewise.
2168 * libio/getchar_u.c (getchar_unlocked): Likewise.
2169 * libio/getwchar.c (getwchar): Likewise.
2170 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2171 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2172 * login/getpt.c (__getpt): Likewise.
2173 * login/tst-utmp.c (main): Likewise.
2174 * malloc/hooks.c (__malloc_check_init): Likewise.
2175 * malloc/malloc.c (__malloc_stats): Likewise.
2176 * malloc/mtrace.c (tr_break): Likewise.
2178 (muntrace): Likewise.
2179 * misc/fstab.c (endfsent): Likewise.
2180 * misc/getclktck.c (__getclktck): Likewise.
2181 * misc/getdtsz.c (__getdtablesize): Likewise.
2182 * misc/gethostid.c (gethostid): Likewise.
2183 * misc/getpagesize.c (__getpagesize): Likewise.
2184 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2185 (__get_nprocs): Likewise.
2186 (__get_phys_pages): Likewise.
2187 (__get_avphys_pages): Likewise.
2188 * misc/getttyent.c (getttyent): Likewise.
2189 (setttyent): Likewise.
2190 (endttyent): Likewise.
2191 * misc/getusershell.c (getusershell): Likewise.
2192 (endusershell): Likewise.
2193 (setusershell): Likewise.
2194 (initshells): Likewise.
2195 * misc/hsearch.c (__hdestroy): Likewise.
2196 * misc/sync.c (sync): Likewise.
2197 * misc/syslog.c (closelog_internal): Likewise.
2198 (closelog): Likewise.
2199 * misc/ttyslot.c (ttyslot): Likewise.
2200 * misc/vhangup.c (vhangup): Likewise.
2201 * posix/fork.c (__fork): Likewise.
2202 * posix/getegid.c (__getegid): Likewise.
2203 * posix/geteuid.c (__geteuid): Likewise.
2204 * posix/getgid.c (__getgid): Likewise.
2205 * posix/getpid.c (__getpid): Likewise.
2206 * posix/getppid.c (__getppid): Likewise.
2207 * posix/getuid.c (__getuid): Likewise.
2208 * posix/pause.c (pause): Likewise.
2209 * posix/setpgrp.c (setpgrp): Likewise.
2210 * posix/setsid.c (__setsid): Likewise.
2211 * posix/test-vfork.c (noop): Likewise.
2212 * resolv/gethnamaddr.c (_endhtent): Likewise.
2213 (_gethtent): Likewise.
2214 (ht_endhostent): Likewise.
2215 (gethostent): Likewise.
2216 (dns_service): Likewise.
2217 * stdlib/drand48.c (drand48): Likewise.
2218 * stdlib/lrand48.c (lrand48): Likewise.
2219 * stdlib/mrand48.c (mrand48): Likewise.
2220 * stdlib/rand.c (rand): Likewise.
2221 * stdlib/random.c (__random): Likewise.
2222 * stdlib/setenv.c (clearenv): Likewise.
2223 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2224 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2225 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2226 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2227 (__get_nprocs): Likewise.
2228 (__get_phys_pages): Likewise.
2229 (__get_avphys_pages): Likewise.
2230 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2231 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2232 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2233 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2234 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2235 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2236 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2237 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2238 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2239 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2240 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2241 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2242 * sysdeps/posix/clock.c (clock): Likewise.
2243 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2244 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2245 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2246 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2247 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2248 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2249 (__get_nprocs_conf): Likewise.
2250 (__get_phys_pages): Likewise.
2251 (__get_avphys_pages): Likewise.
2252 * time/clock.c (clock): Likewise.
2253 * time/tzset.c (__tzname_max): Likewise.
2255 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2257 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2258 (__bswap_32): Do not use "register".
2259 * crypt/crypt.c (_ufc_doit_r): Likewise.
2260 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2261 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2262 * gmon/gmon.c (__monstartup): Likewise.
2263 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2264 * hurd/hurdmalloc.c (more_memory): Likewise.
2267 (realloc): Likewise.
2268 (malloc_fork_prepare): Likewise.
2269 (malloc_fork_parent): Likewise.
2270 (malloc_fork_child): Likewise.
2271 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2272 (_svcauth_des): Likewise.
2273 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2274 * inet/inet_net.c (inet_network): Likewise.
2275 * inet/inet_netof.c (inet_netof): Likewise.
2276 * inet/rcmd.c (__validuser2_sa): Likewise.
2277 * io/fts.c (fts_open): Likewise.
2278 (fts_load): Likewise.
2279 (fts_close): Likewise.
2280 (fts_read): Likewise.
2281 (fts_children): Likewise.
2282 (fts_build): Likewise.
2283 (fts_stat): Likewise.
2284 (fts_sort): Likewise.
2285 (fts_alloc): Likewise.
2286 (fts_lfree): Likewise.
2287 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2288 (_IO_file_xsgetn): Likewise.
2289 (_IO_file_xsgetn_mmap): Likewise.
2290 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2291 (_IO_cookie_write): Likewise.
2292 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2293 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2294 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2295 * malloc/obstack.c (_obstack_begin): Likewise.
2296 (_obstack_begin_1): Likewise.
2297 (_obstack_newchunk): Likewise.
2298 (_obstack_allocated_p): Likewise.
2299 (obstack_free): Likewise.
2300 (_obstack_memory_used): Likewise.
2301 * misc/getttyent.c (getttynam): Likewise.
2302 (getttyent): Likewise.
2305 * misc/getusershell.c (initshells): Likewise.
2306 * misc/syslog.c (__vsyslog_chk): Likewise.
2307 * misc/ttyslot.c (ttyslot): Likewise.
2308 * nis/nis_hash.c (__nis_hash): Likewise.
2309 * posix/fnmatch_loop.c (FCT): Likewise.
2310 * posix/getconf.c (print_all): Likewise.
2312 * posix/getopt.c (exchange): Likewise.
2313 * posix/glob.c (globfree): Likewise.
2314 (prefix_array): Likewise.
2315 (__glob_pattern_type): Likewise.
2316 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2317 (NS_GET32): Likewise.
2318 (NS_PUT16): Likewise.
2319 (NS_PUT32): Likewise.
2320 * resolv/gethnamaddr.c (getanswer): Likewise.
2321 (gethostbyname2): Likewise.
2322 (gethostbyaddr): Likewise.
2323 (_gethtent): Likewise.
2324 (_gethtbyname2): Likewise.
2325 (_gethtbyaddr): Likewise.
2326 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2327 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2328 * resolv/res_init.c (__res_vinit): Likewise.
2329 (net_mask): Likewise.
2330 * resolv/res_mkquery.c (outchar): Likewise.
2332 * stdio-common/printf_fp.c (outchar): Likewise.
2334 * stdio-common/printf_fphex.c (outchar): Likewise.
2336 * stdio-common/printf_size.c (outchar): Likewise.
2338 * stdio-common/test_rdwr.c (main): Likewise.
2339 * stdio-common/tfformat.c (matches): Likewise.
2340 * stdio-common/vfprintf.c (outchar): Likewise.
2341 (printf_unknown): Likewise.
2342 (buffered_vfprintf): Likewise.
2343 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2344 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2345 (ReadFile): Likewise.
2346 * stdlib/qsort.c (SWAP): Likewise.
2347 (_quicksort): Likewise.
2348 * stdlib/setenv.c (__add_to_environ): Likewise.
2349 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2350 * stdlib/strtol_l.c (__strtol_l): Likewise.
2351 * stdlib/tst-strtod.c (main): Likewise.
2352 * stdlib/tst-strtol.c (main): Likewise.
2353 * stdlib/tst-strtoll.c (main): Likewise.
2354 * string/bits/string2.h (__strcmp_cc): Likewise.
2355 (__strcmp_cg): Likewise.
2356 (__strcspn_c1): Likewise.
2357 (__strcspn_c2): Likewise.
2358 (__strcspn_c3): Likewise.
2359 (__strspn_c1): Likewise.
2360 (__strspn_c2): Likewise.
2361 (__strspn_c3): Likewise.
2362 (__strsep_1c): Likewise.
2363 (__strsep_2c): Likewise.
2364 (__strsep_3c): Likewise.
2365 * string/memccpy.c (__memccpy): Likewise.
2366 * string/stpcpy.c (__stpcpy): Likewise.
2367 * string/strcmp.c (strcmp): Likewise.
2368 * string/strrchr.c (strrchr): Likewise.
2369 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2371 * sysdeps/mach/hurd/getcwd.c
2372 (_hurd_canonicalize_directory_name_internal): Likewise.
2373 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2374 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2375 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2376 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2377 Likewise, in both definitions.
2378 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2380 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2381 64] (__bswap_64): Likewise.
2382 * time/test_time.c (main): Likewise.
2383 * time/tzfile.c (__tzfile_read): Likewise.
2384 (__tzfile_compute): Likewise.
2385 * time/tzset.c (__tzset_parse_tz): Likewise.
2386 (tzset_internal): Likewise.
2387 (compute_change): Likewise.
2388 * wcsmbs/wcscat.c (__wcscat): Likewise.
2389 * wcsmbs/wcschr.c (wcschr): Likewise.
2390 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2391 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2392 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2393 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2394 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2395 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2396 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2397 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2398 * wcsmbs/wmemset.c (wmemset): Likewise.
2400 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2402 * scripts/config.guess: Update to version 2013-05-16.
2403 * scripts/config.sub: Update to version 2013-04-24.
2404 * scripts/install-sh: Update to version 2011-11-20.07.
2405 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2406 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2408 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2410 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2411 * elf/sln.c: Likewise.
2412 * hurd/hurd/ioctl.h: Likewise.
2413 * hurd/hurdmalloc.c: Likewise.
2414 * hurd/xattr.c: Likewise.
2415 * include/shlib-compat.h: Likewise.
2416 * inet/ruserpass.c: Likewise.
2417 * libio/iofgets_u.c: Likewise.
2418 * libio/iofgetws_u.c: Likewise.
2419 * locale/programs/ld-identification.c: Likewise.
2420 * locale/programs/ld-time.c: Likewise.
2421 * mach/msg-destroy.c: Likewise.
2422 * nss/nss_files/files-netgrp.c: Likewise.
2423 * resolv/res_data.c: Likewise.
2424 * soft-fp/op-1.h: Likewise.
2425 * soft-fp/op-2.h: Likewise.
2426 * soft-fp/op-4.h: Likewise.
2427 * soft-fp/op-common.h: Likewise.
2428 * stdio-common/printf_fphex.c: Likewise.
2429 * stdlib/strtod_l.c: Likewise.
2430 * sunrpc/rpc/clnt.h: Likewise.
2431 * sysdeps/generic/framestate.c: Likewise.
2432 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2433 * sysdeps/i386/bsd-setjmp.S: Likewise.
2434 * sysdeps/i386/__longjmp.S: Likewise.
2435 * sysdeps/i386/setjmp.S: Likewise.
2436 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2437 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2438 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2439 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2440 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2441 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2442 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2443 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2444 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2445 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2446 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2447 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2448 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2449 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2450 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2451 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2452 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2453 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2454 * sysdeps/ieee754/support.c: Likewise.
2455 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2456 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2457 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2458 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2459 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2460 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2461 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2462 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2463 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2464 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2465 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2466 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2467 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2468 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2469 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2470 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2471 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2474 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2476 * posix/transbug.c: Remove executable mode.
2478 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2480 * crypt/speeds.c: Remove trailing whitespace.
2481 * dlfcn/default.c: Likewise.
2482 * elf/ifuncdep2.c: Likewise.
2483 * elf/ifuncmain1.c: Likewise.
2484 * elf/ifuncmain1vis.c: Likewise.
2485 * elf/testobj.h: Likewise.
2486 * elf/tst-stackguard1.c: Likewise.
2487 * gmon/sys/gmon.h: Likewise.
2488 * hurd/hurdmsg.c: Likewise.
2489 * hurd/new-fd.c: Likewise.
2490 * hurd/ports-get.c: Likewise.
2491 * iconvdata/ibm1008_420.c: Likewise.
2492 * inet/tst-getni1.c: Likewise.
2493 * inet/tst-getni2.c: Likewise.
2494 * libio/ioungetc.c: Likewise.
2495 * libio/wfiledoalloc.c: Likewise.
2496 * manual/libm-err-tab.pl: Likewise.
2497 * math/w_dremf.c: Likewise.
2498 * misc/ftruncate.c: Likewise.
2499 * posix/bug-glob2.c: Likewise.
2500 * posix/tst-pcre.c: Likewise.
2501 * posix/wait4.c: Likewise.
2502 * resolv/README: Likewise.
2503 * resolv/res_debug.h: Likewise.
2504 * resolv/tst-inet_ntop.c: Likewise.
2505 * setjmp/bug269-setjmp.c: Likewise.
2506 * soft-fp/extended.h: Likewise.
2507 * soft-fp/op-1.h: Likewise.
2508 * soft-fp/op-2.h: Likewise.
2509 * soft-fp/op-4.h: Likewise.
2510 * soft-fp/op-8.h: Likewise.
2511 * soft-fp/testit.c: Likewise.
2512 * stdio-common/bug16.c: Likewise.
2513 * stdlib/random.c: Likewise.
2514 * sunrpc/rpcsvc/rquota.x: Likewise.
2515 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2516 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2517 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2518 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2519 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2520 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2521 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2522 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2523 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2524 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2525 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2526 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2527 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2528 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2529 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2530 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2531 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2532 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2533 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2534 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2535 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2536 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2537 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2538 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2539 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2540 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2541 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2542 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2543 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2544 * sysdeps/ieee754/s_lib_version.c: Likewise.
2545 * sysdeps/mach/hurd/check_fds.c: Likewise.
2546 * sysdeps/mach/hurd/getsockname.c: Likewise.
2547 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2548 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2549 * sysdeps/powerpc/bits/link.h: Likewise.
2550 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2551 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2552 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2553 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2554 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2555 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2556 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2557 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2558 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2559 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2560 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2561 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2562 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2563 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2564 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2565 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2566 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2567 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2568 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2569 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2570 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2571 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2572 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2573 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2574 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2575 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2576 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2577 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2578 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2579 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2580 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2581 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2582 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2583 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2584 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2585 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2586 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2587 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2588 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2589 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2590 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2591 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2592 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2593 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2594 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2595 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2596 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2597 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2598 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2599 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2600 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2601 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2602 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2603 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2604 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2605 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2606 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2607 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2608 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2609 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2610 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2611 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2612 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2613 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2614 * sysdeps/powerpc/sysdep.h: Likewise.
2615 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2616 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2617 * sysdeps/sh/dl-trampoline.S: Likewise.
2618 * sysdeps/sh/memset.S: Likewise.
2619 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2620 * sysdeps/sh/strlen.S: Likewise.
2621 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2622 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2623 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2624 * sysdeps/sparc/sparc32/rem.S: Likewise.
2625 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2626 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2627 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2628 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2629 * sysdeps/sparc/sparc32/urem.S: Likewise.
2630 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2631 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2632 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2633 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2634 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2635 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2636 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2637 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2638 * sysdeps/unix/bsd/times.c: Likewise.
2639 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2640 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2644 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2645 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2646 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2647 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2648 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2649 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2650 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2651 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2652 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2653 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2654 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2655 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2656 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2657 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2658 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2659 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2660 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2661 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2662 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2663 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2664 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2665 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2666 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2667 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2668 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2669 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2670 * sysdeps/x86_64/strcspn.S: Likewise.
2672 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2674 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2675 generated file. Regenerate properly from gen-translit.pl.
2676 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2677 locale/C-translit.h.
2679 2013-06-05 Andreas Schwab <schwab@suse.de>
2682 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2683 week as 6 instead of -1.
2684 * time/tst-strptime.c (day_tests): Add test case.
2686 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2688 * sysdeps/generic/math_private.h
2689 (libc_feholdexcept_setround_53bit): Replace with
2690 libc_feholdsetround_53bit.
2691 (libc_feupdateenv_53bit): Replace with
2692 libc_feresetround_53bit.
2693 (SET_RESTORE_ROUND_53BIT): Adjust.
2695 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2697 * string/test-strchrnul.c: Add copyright header.
2699 * posix/tst-getaddrinfo4.c: Increase test timeout.
2701 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2704 * math/libm-test.inc (MAX_EXP): Remove
2706 (ulp): Use MIN_EXP - MANT_DIG.
2707 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2709 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2711 * po/be.po: Revert last change.
2712 * po/zh_CN.po: Likewise.
2713 * po/header.pot: Likewise.
2715 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2717 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2718 link-libc-deps to empty as target-specific variable.
2719 * Makerules (link-libc-args): New variable.
2720 (libc-for-link): Likewise.
2721 (link-libc-deps): Likewise.
2722 (lib%.so): Depend on $(link-libc-deps). Link with
2724 (build-module): Link with $(link-libc-args).
2725 (build-module-asneeded): Likewise.
2726 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2728 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2729 target-specific variable.
2730 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2731 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2732 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2734 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2736 ($(objpfx)libpcprofile.so): Likewise.
2737 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2739 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2740 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2741 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2743 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2744 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2745 * login/Makefile ($(objpfx)libutil.so): Likewise.
2746 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2747 * math/Makefile ($(objpfx)libm.so): Likewise.
2748 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2749 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2750 variable instead of depending directly on libc.
2751 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2752 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2754 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2756 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2757 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2758 ($(objpfx)libanl.so): Likewise.
2759 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2761 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2763 * sysdeps/i386/fpu/Makefile: Remove file.
2764 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2765 ($(objpfx)libm.so): Remove dependency on ld.so.
2767 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2770 * nis/yp_xdr.c (XDRMAXNAME): Define.
2771 (XDRMAXRECORD): Define.
2772 (xdr_domainname): Use XDRMAXNAME.
2773 (xdr_mapname): Likewise.
2774 (xdr_peername): Likewise.
2775 (xdr_keydat): Use XDRMAXRECORD.
2776 (xdr_valdat): Likewise.
2778 2013-05-30 Jeff Law <law@redhat.com>
2781 * manual/errno.texi (ESTALE): Update to account for more than
2782 just NFS file systems.
2783 * sysdeps/gnu/errlist.c: Regenerated.
2785 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2788 * elf/Makefile (tests): Add tst-null-argv.
2789 (modules-names): Add tst-null-argv-lib.
2790 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2791 (tst-null-argv-ENV): Set environment for tst-null-argv.
2792 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2793 (RTLD_PROGNAME): New macro.
2794 * elf/tst-null-argv.c: New test case.
2795 * elf/tst-null-argv-lib.c: Library for test case.
2796 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2797 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2798 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2799 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2800 * elf/dl-init.c (call_init): Likewise.
2801 (_dl_init): Likewise.
2802 * elf/dl-load.c (print_search_path): Likewise.
2803 (_dl_map_object): Likewise.
2804 * elf/dl-lookup.c (do_lookup_x): Likewise.
2805 (add_dependency): Likewise.
2806 (_dl_lookup_symbol_x): Likewise.
2807 (_dl_debug_bindings): Likewise.
2808 * elf/dl-open.c (_dl_show_scope): Likewise.
2809 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2810 * elf/dl-version.c (match_symbol): Likewise.
2811 (_dl_check_map_versions): Likewise.
2812 * elf/rtld.c (dl_main): Likewise.
2813 (print_unresolved): Use RTLD_PROGNAME.
2814 (print_missing_version): Likewise.
2815 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2816 (elf_machine_rela): Likewise.
2817 * sysdeps/powerpc/powerpc32/dl-machine.c
2818 (__process_machine_rela): Likewise.
2819 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2821 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2823 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2825 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2830 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2832 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2834 * po/be.po: Add descriptive title.
2835 * po/zh_CN.po: Likewise.
2836 * po/header.pot: Likewise.
2838 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2840 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2842 (enlarge_archive): Likewise.
2844 2013-05-28 Ben North <ben@redfrontdoor.org>
2846 * manual/arith.texi (frexp): It is the magnitude of the return
2847 value which lies in [0.5, 1), not the return value itself.
2849 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2853 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2855 * stdio-common/bug26.c (main): Correct fscanf template.
2857 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2858 declare _dl_skip_args.
2860 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2863 * manual/platform.texi: Add missing @end deftypefun.
2865 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2868 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2869 bit of mantissa of 2^16382.
2870 * math/libm-test.inc (hypot_test_data): Add more tests.
2872 * math/libm-test.inc: Add drem and pow10 to list of tested
2874 (pow10_test): New function.
2875 (drem_test): Likewise.
2876 (drem_test_tonearest): Likewise.
2877 (drem_test_towardzero): Likewise.
2878 (drem_test_downward): Likewise.
2879 (drem_test_upward): Likewise.
2880 (main): Call the new functions.
2882 * math/libm-test.inc (finite_test_data): Remove.
2883 (finite_test): Run tests from isfinite_test_data.
2884 (gamma_test_data): Remove.
2885 (gamma_test): Run tests from lgamma_test_data.
2886 * sysdeps/i386/fpu/libm-test-ulps: Update.
2887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2889 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2891 * manual/platform.texi: Add PowerPC PPR function set documentation.
2892 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2895 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2897 * math/libm-test.inc (MAX_EXP): Define.
2899 (ulp): New function.
2900 (check_float_internal): Use ULPDIFF.
2901 (cpow_test): Disable failing test.
2902 (check_ulp): Test ulp() implemetnation.
2903 (main): Call check_ulp before starting tests.
2905 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2907 * math/gen-libm-test.pl (generate_testfile): Do not handle
2908 START_DATA and END_DATA.
2909 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2911 (acos_tonearest_test_data): Likewise.
2912 (acos_towardzero_test_data): Likewise.
2913 (acos_downward_test_data): Likewise.
2914 (acos_upward_test_data): Likewise.
2915 (acosh_test_data): Likewise.
2916 (asin_test_data): Likewise.
2917 (asin_tonearest_test_data): Likewise.
2918 (asin_towardzero_test_data): Likewise.
2919 (asin_downward_test_data): Likewise.
2920 (asin_upward_test_data): Likewise.
2921 (asinh_test_data): Likewise.
2922 (atan_test_data): Likewise.
2923 (atanh_test_data): Likewise.
2924 (atan2_test_data): Likewise.
2925 (cabs_test_data): Likewise.
2926 (cacos_test_data): Likewise.
2927 (cacosh_test_data): Likewise.
2928 (carg_test_data): Likewise.
2929 (casin_test_data): Likewise.
2930 (casinh_test_data): Likewise.
2931 (catan_test_data): Likewise.
2932 (catanh_test_data): Likewise.
2933 (cbrt_test_data): Likewise.
2934 (ccos_test_data): Likewise.
2935 (ccosh_test_data): Likewise.
2936 (ceil_test_data): Likewise.
2937 (cexp_test_data): Likewise.
2938 (cimag_test_data): Likewise.
2939 (clog_test_data): Likewise.
2940 (clog10_test_data): Likewise.
2941 (conj_test_data): Likewise.
2942 (copysign_test_data): Likewise.
2943 (cos_test_data): Likewise.
2944 (cos_tonearest_test_data): Likewise.
2945 (cos_towardzero_test_data): Likewise.
2946 (cos_downward_test_data): Likewise.
2947 (cos_upward_test_data): Likewise.
2948 (cosh_test_data): Likewise.
2949 (cosh_tonearest_test_data): Likewise.
2950 (cosh_towardzero_test_data): Likewise.
2951 (cosh_downward_test_data): Likewise.
2952 (cosh_upward_test_data): Likewise.
2953 (cpow_test_data): Likewise.
2954 (cproj_test_data): Likewise.
2955 (creal_test_data): Likewise.
2956 (csin_test_data): Likewise.
2957 (csinh_test_data): Likewise.
2958 (csqrt_test_data): Likewise.
2959 (ctan_test_data): Likewise.
2960 (ctan_tonearest_test_data): Likewise.
2961 (ctan_towardzero_test_data): Likewise.
2962 (ctan_downward_test_data): Likewise.
2963 (ctan_upward_test_data): Likewise.
2964 (ctanh_test_data): Likewise.
2965 (ctanh_tonearest_test_data): Likewise.
2966 (ctanh_towardzero_test_data): Likewise.
2967 (ctanh_downward_test_data): Likewise.
2968 (ctanh_upward_test_data): Likewise.
2969 (erf_test_data): Likewise.
2970 (erfc_test_data): Likewise.
2971 (exp_test_data): Likewise.
2972 (exp_tonearest_test_data): Likewise.
2973 (exp_towardzero_test_data): Likewise.
2974 (exp_downward_test_data): Likewise.
2975 (exp_upward_test_data): Likewise.
2976 (exp10_test_data): Likewise.
2977 (exp2_test_data): Likewise.
2978 (expm1_test_data): Likewise.
2979 (fabs_test_data): Likewise.
2980 (fdim_test_data): Likewise.
2981 (finite_test_data): Likewise.
2982 (floor_test_data): Likewise.
2983 (fma_test_data): Likewise.
2984 (fma_towardzero_test_data): Likewise.
2985 (fma_downward_test_data): Likewise.
2986 (fma_upward_test_data): Likewise.
2987 (fmax_test_data): Likewise.
2988 (fmin_test_data): Likewise.
2989 (fmod_test_data): Likewise.
2990 (fpclassify_test_data): Likewise.
2991 (frexp_test_data): Likewise.
2992 (gamma_test_data): Likewise.
2993 (hypot_test_data): Likewise.
2994 (ilogb_test_data): Likewise.
2995 (isfinite_test_data): Likewise.
2996 (isgreater_test_data): Likewise.
2997 (isgreaterequal_test_data): Likewise.
2998 (isinf_test_data): Likewise.
2999 (isless_test_data): Likewise.
3000 (islessequal_test_data): Likewise.
3001 (islessgreater_test_data): Likewise.
3002 (isnan_test_data): Likewise.
3003 (isnormal_test_data): Likewise.
3004 (issignaling_test_data): Likewise.
3005 (isunordered_test_data): Likewise.
3006 (j0_test_data): Likewise.
3007 (j1_test_data): Likewise.
3008 (jn_test_data): Likewise.
3009 (ldexp_test_data): Likewise.
3010 (lgamma_test_data): Likewise.
3011 (lrint_test_data): Likewise.
3012 (lrint_tonearest_test_data): Likewise.
3013 (lrint_towardzero_test_data): Likewise.
3014 (lrint_downward_test_data): Likewise.
3015 (lrint_upward_test_data): Likewise.
3016 (llrint_test_data): Likewise.
3017 (llrint_tonearest_test_data): Likewise.
3018 (llrint_towardzero_test_data): Likewise.
3019 (llrint_downward_test_data): Likewise.
3020 (llrint_upward_test_data): Likewise.
3021 (log_test_data): Likewise.
3022 (log10_test_data): Likewise.
3023 (log1p_test_data): Likewise.
3024 (log2_test_data): Likewise.
3025 (logb_test_data): Likewise.
3026 (logb_downward_test_data): Likewise.
3027 (lround_test_data): Likewise.
3028 (llround_test_data): Likewise.
3029 (modf_test_data): Likewise.
3030 (nearbyint_test_data): Likewise.
3031 (nextafter_test_data): Likewise.
3032 (nexttoward_test_data): Likewise.
3033 (pow_test_data): Likewise.
3034 (pow_tonearest_test_data): Likewise.
3035 (pow_towardzero_test_data): Likewise.
3036 (pow_downward_test_data): Likewise.
3037 (pow_upward_test_data): Likewise.
3038 (remainder_test_data): Likewise.
3039 (remainder_tonearest_test_data): Likewise.
3040 (remainder_towardzero_test_data): Likewise.
3041 (remainder_downward_test_data): Likewise.
3042 (remainder_upward_test_data): Likewise.
3043 (remquo_test_data): Likewise.
3044 (rint_test_data): Likewise.
3045 (rint_tonearest_test_data): Likewise.
3046 (rint_towardzero_test_data): Likewise.
3047 (rint_downward_test_data): Likewise.
3048 (rint_upward_test_data): Likewise.
3049 (round_test_data): Likewise.
3050 (scalb_test_data): Likewise.
3051 (scalbn_test_data): Likewise.
3052 (scalbln_test_data): Likewise.
3053 (signbit_test_data): Likewise.
3054 (sin_test_data): Likewise.
3055 (sin_tonearest_test_data): Likewise.
3056 (sin_towardzero_test_data): Likewise.
3057 (sin_downward_test_data): Likewise.
3058 (sin_upward_test_data): Likewise.
3059 (sincos_test_data): Likewise.
3060 (sinh_test_data): Likewise.
3061 (sinh_tonearest_test_data): Likewise.
3062 (sinh_towardzero_test_data): Likewise.
3063 (sinh_downward_test_data): Likewise.
3064 (sinh_upward_test_data): Likewise.
3065 (sqrt_test_data): Likewise.
3066 (tan_test_data): Likewise.
3067 (tan_tonearest_test_data): Likewise.
3068 (tan_towardzero_test_data): Likewise.
3069 (tan_downward_test_data): Likewise.
3070 (tan_upward_test_data): Likewise.
3071 (tanh_test_data): Likewise.
3072 (tgamma_test_data): Likewise.
3073 (trunc_test_data): Likewise.
3074 (y0_test_data): Likewise.
3075 (y1_test_data): Likewise.
3076 (yn_test_data): Likewise.
3077 (significand_test_data): Likewise.
3079 * math/gen-libm-test.pl (@functions): Remove variable.
3080 (generate_testfile): Don't handle START and END lines.
3081 * math/libm-test.inc (START): New macro.
3083 (END_COMPLEX): Likewise.
3084 (acos_test): Use END macro without arguments.
3085 (acos_test_tonearest): Likewise.
3086 (acos_test_towardzero): Likewise.
3087 (acos_test_downward): Likewise.
3088 (acos_test_upward): Likewise.
3089 (acosh_test): Likewise.
3090 (asin_test): Likewise.
3091 (asin_test_tonearest): Likewise.
3092 (asin_test_towardzero): Likewise.
3093 (asin_test_downward): Likewise.
3094 (asin_test_upward): Likewise.
3095 (asinh_test): Likewise.
3096 (atan_test): Likewise.
3097 (atanh_test): Likewise.
3098 (atan2_test): Likewise.
3099 (cabs_test): Likewise.
3100 (cacos_test): Use END_COMPLEX macro without arguments.
3101 (cacosh_test): Likewise.
3102 (carg_test): Use END macro without arguments.
3103 (casin_test): Use END_COMPLEX macro without arguments.
3104 (casinh_test): Likewise.
3105 (catan_test): Likewise.
3106 (catanh_test): Likewise.
3107 (cbrt_test): Use END macro without arguments.
3108 (ccos_test): Use END_COMPLEX macro without arguments.
3109 (ccosh_test): Likewise.
3110 (ceil_test): Use END macro without arguments.
3111 (cexp_test): Use END_COMPLEX macro without arguments.
3112 (cimag_test): Use END macro without arguments.
3113 (clog_test): Use END_COMPLEX macro without arguments.
3114 (clog10_test): Likewise.
3115 (conj_test): Likewise.
3116 (copysign_test): Use END macro without arguments.
3117 (cos_test): Likewise.
3118 (cos_test_tonearest): Likewise.
3119 (cos_test_towardzero): Likewise.
3120 (cos_test_downward): Likewise.
3121 (cos_test_upward): Likewise.
3122 (cosh_test): Likewise.
3123 (cosh_test_tonearest): Likewise.
3124 (cosh_test_towardzero): Likewise.
3125 (cosh_test_downward): Likewise.
3126 (cosh_test_upward): Likewise.
3127 (cpow_test): Use END_COMPLEX macro without arguments.
3128 (cproj_test): Likewise.
3129 (creal_test): Use END macro without arguments.
3130 (csin_test): Use END_COMPLEX macro without arguments.
3131 (csinh_test): Likewise.
3132 (csqrt_test): Likewise.
3133 (ctan_test): Likewise.
3134 (ctan_test_tonearest): Likewise.
3135 (ctan_test_towardzero): Likewise.
3136 (ctan_test_downward): Likewise.
3137 (ctan_test_upward): Likewise.
3138 (ctanh_test): Likewise.
3139 (ctanh_test_tonearest): Likewise.
3140 (ctanh_test_towardzero): Likewise.
3141 (ctanh_test_downward): Likewise.
3142 (ctanh_test_upward): Likewise.
3143 (erf_test): Use END macro without arguments.
3144 (erfc_test): Likewise.
3145 (exp_test): Likewise.
3146 (exp_test_tonearest): Likewise.
3147 (exp_test_towardzero): Likewise.
3148 (exp_test_downward): Likewise.
3149 (exp_test_upward): Likewise.
3150 (exp10_test): Likewise.
3151 (exp2_test): Likewise.
3152 (expm1_test): Likewise.
3153 (fabs_test): Likewise.
3154 (fdim_test): Likewise.
3155 (finite_test): Likewise.
3156 (floor_test): Likewise.
3157 (fma_test): Likewise.
3158 (fma_test_towardzero): Likewise.
3159 (fma_test_downward): Likewise.
3160 (fma_test_upward): Likewise.
3161 (fmax_test): Likewise.
3162 (fmin_test): Likewise.
3163 (fmod_test): Likewise.
3164 (fpclassify_test): Likewise.
3165 (frexp_test): Likewise.
3166 (gamma_test): Likewise.
3167 (hypot_test): Likewise.
3168 (ilogb_test): Likewise.
3169 (isfinite_test): Likewise.
3170 (isgreater_test): Likewise.
3171 (isgreaterequal_test): Likewise.
3172 (isinf_test): Likewise.
3173 (isless_test): Likewise.
3174 (islessequal_test): Likewise.
3175 (islessgreater_test): Likewise.
3176 (isnan_test): Likewise.
3177 (isnormal_test): Likewise.
3178 (issignaling_test): Likewise.
3179 (isunordered_test): Likewise.
3180 (j0_test): Likewise.
3181 (j1_test): Likewise.
3182 (jn_test): Likewise.
3183 (ldexp_test): Likewise.
3184 (lgamma_test): Likewise.
3185 (lrint_test): Likewise.
3186 (lrint_test_tonearest): Likewise.
3187 (lrint_test_towardzero): Likewise.
3188 (lrint_test_downward): Likewise.
3189 (lrint_test_upward): Likewise.
3190 (llrint_test): Likewise.
3191 (llrint_test_tonearest): Likewise.
3192 (llrint_test_towardzero): Likewise.
3193 (llrint_test_downward): Likewise.
3194 (llrint_test_upward): Likewise.
3195 (log_test): Likewise.
3196 (log10_test): Likewise.
3197 (log1p_test): Likewise.
3198 (log2_test): Likewise.
3199 (logb_test): Likewise.
3200 (logb_test_downward): Likewise.
3201 (lround_test): Likewise.
3202 (llround_test): Likewise.
3203 (modf_test): Likewise.
3204 (nearbyint_test): Likewise.
3205 (nextafter_test): Likewise.
3206 (nexttoward_test): Likewise.
3207 (pow_test): Likewise.
3208 (pow_test_tonearest): Likewise.
3209 (pow_test_towardzero): Likewise.
3210 (pow_test_downward): Likewise.
3211 (pow_test_upward): Likewise.
3212 (remainder_test): Likewise.
3213 (remainder_test_tonearest): Likewise.
3214 (remainder_test_towardzero): Likewise.
3215 (remainder_test_downward): Likewise.
3216 (remainder_test_upward): Likewise.
3217 (remquo_test): Likewise.
3218 (rint_test): Likewise.
3219 (rint_test_tonearest): Likewise.
3220 (rint_test_towardzero): Likewise.
3221 (rint_test_downward): Likewise.
3222 (rint_test_upward): Likewise.
3223 (round_test): Likewise.
3224 (scalb_test): Likewise.
3225 (scalbn_test): Likewise.
3226 (scalbln_test): Likewise.
3227 (signbit_test): Likewise.
3228 (sin_test): Likewise.
3229 (sin_test_tonearest): Likewise.
3230 (sin_test_towardzero): Likewise.
3231 (sin_test_downward): Likewise.
3232 (sin_test_upward): Likewise.
3233 (sincos_test): Likewise.
3234 (sinh_test): Likewise.
3235 (sinh_test_tonearest): Likewise.
3236 (sinh_test_towardzero): Likewise.
3237 (sinh_test_downward): Likewise.
3238 (sinh_test_upward): Likewise.
3239 (sqrt_test): Likewise.
3240 (tan_test): Likewise.
3241 (tan_test_tonearest): Likewise.
3242 (tan_test_towardzero): Likewise.
3243 (tan_test_downward): Likewise.
3244 (tan_test_upward): Likewise.
3245 (tanh_test): Likewise.
3246 (tgamma_test): Likewise.
3247 (trunc_test): Likewise.
3248 (y0_test): Likewise.
3249 (y1_test): Likewise.
3250 (yn_test): Likewise.
3251 (significand_test): Likewise.
3253 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3256 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3258 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3261 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3262 __ppc_mdoio and __ppc_mdoom.
3263 * manual/platform.texi: Document new functions __ppc_yield,
3264 __ppc_mdoio and __ppc_mdoom.
3266 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3268 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3269 (main): Mention "tls" pseudo-hwcap is legacy.
3270 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3272 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3274 * math/gen-libm-test.pl (parse_args): Output only string of
3275 arguments as text for test name, not full call or descriptions of
3276 tests for extra outputs.
3277 (generate_testfile): Do not pass function name to parse_args.
3278 Generate this_func variable from START.
3279 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3281 (struct test_ff_f_data): Likewise.
3282 (test_ff_f_data_nexttoward): Likewise.
3283 (struct test_fi_f_data): Likewise.
3284 (struct test_fl_f_data): Likewise.
3285 (struct test_if_f_data): Likewise.
3286 (struct test_fff_f_data): Likewise.
3287 (struct test_c_f_data): Likewise.
3288 (struct test_f_f1_data): Likewise. Remove field extra_name.
3289 (struct test_fF_f1_data): Likewise.
3290 (struct test_ffI_f1_data): Likewise.
3291 (struct test_c_c_data): Rename test_name field to arg_str.
3292 (struct test_cc_c_data): Likewise.
3293 (struct test_f_i_data): Likewise.
3294 (struct test_ff_i_data): Likewise.
3295 (struct test_f_l_data): Likewise.
3296 (struct test_f_L_data): Likewise.
3297 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3299 (COMMON_TEST_SETUP): New macro.
3300 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3301 (COMMON_TEST_CLEANUP): Likewise.
3302 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3303 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3305 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3306 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3308 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3309 (RUN_TEST_fff_f): Take argument string. Call new setup and
3311 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3312 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3314 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3315 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3317 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3318 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3320 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3321 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3323 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3324 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3326 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3327 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3329 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3330 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3332 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3333 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3335 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3336 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3338 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3339 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3341 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3342 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3344 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3345 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3347 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3348 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3350 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3351 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3353 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3354 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3356 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3358 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3360 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3361 to _sifields.sigfault.
3362 (si_addr_lsb): Define new macro.
3363 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3364 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3365 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3367 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3370 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3372 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3374 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3377 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3379 * math/gen-libm-test.pl (parse_args): Do not include expected
3380 result in test name.
3381 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3382 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3383 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3384 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3385 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3388 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3390 * benchtests/Makefile: Sort function entries.
3392 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3393 tanh, asinh, acosh, atanh.
3394 * benchtests/acos-inputs: New file.
3395 * benchtests/acosh-inputs: New file.
3396 * benchtests/asin-inputs: New file.
3397 * benchtests/asinh-inputs: New file.
3398 * benchtests/atanh-inputs: New file.
3399 * benchtests/cosh-inputs: New file.
3400 * benchtests/log-inputs: New file.
3401 * benchtests/sinh-inputs: New file.
3402 * benchtests/tanh-inputs: New file.
3404 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3407 * posix/tst-getaddrinfo4.c: New test.
3408 * posix/Makefile (tests): Add it.
3410 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3413 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3414 when no services were used.
3415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3416 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3418 2013-05-21 Andreas Schwab <schwab@suse.de>
3421 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3422 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3424 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3425 redundant variable declarations and reallocation of buffer when
3426 parsing as IPv6 address. Always set NSS status when called from
3427 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3428 buffer too small. Correct computation of needed size.
3429 * nss/Makefile (tests): Add test-digits-dots.
3430 * nss/test-digits-dots.c: New test.
3432 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3434 * benchtests/Makefile: Remove instructions for adding
3436 * benchtests/README: New file to explain how to execute and
3437 enhance the benchmark tests.
3439 2013-05-21 Andreas Schwab <schwab@suse.de>
3442 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3443 * setjmp/tst-sigsetjmp.c: New test.
3445 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3447 * sysdeps/x86_64/memset.S (memset): New implementation.
3448 (__bzero): Likewise.
3449 (__memset_tail): New function.
3451 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3453 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3454 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3455 __memcpy_sse2_unaligned ifunc selection.
3456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3457 Add memcpy-sse2-unaligned.S.
3458 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3459 Add: __memcpy_sse2_unaligned.
3461 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3464 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3465 math_force_eval before restoring floating-point envrionment.
3466 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3467 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3469 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3471 (__nearbyintl): Use math_force_eval before restoring
3472 floating-point environment.
3473 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3475 * math/gen-libm-test.pl (special_functions): Remove.
3476 (parse_args): Don't handle TEST_extra. Handle functions with no
3478 * math/libm-test.inc (struct test_sincos_data): Replace with
3479 struct test_fFF_11_data.
3480 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3481 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3482 (sincos_test_data): Change element type to struct
3483 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3484 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3485 RUN_TEST_LOOP_sincos.
3486 * math/README.libm-test: Don't mention special handling of
3487 individual functions.
3488 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3489 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3490 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3491 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3492 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3495 * math/gen-libm-test.pl (get_variable): Remove function.
3496 (parse_args): Don't show pointer parameters to call in test
3497 names. Use "extra output N" in test names for extra outputs
3498 rather than naming variables.
3500 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3503 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3504 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3505 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3507 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3509 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3512 * math/gen-libm-test.pl (@tests): Remove variable.
3514 (new_test): Remove function.
3515 (show_exceptions): New function.
3516 (special_functions): Use show_exceptions instead of new_test.
3517 (parse_args): Likewise.
3518 (generate_testfile): Pass only function name in generated call to
3519 print_max_error or print_complex_max_error.
3520 (get_ulps): Do not handle complex tests specially.
3521 (output_test): Rename to ...
3522 (get_all_ulps_for_test): ... this. Return a string rather than
3523 printing to a file. Require ulps to be present.
3524 (output_ulps): Generate arrays rather than #defines.
3525 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3526 (struct ulp_data): New type.
3527 (BUILD_COMPLEX_ULP): Remove macro.
3528 (compare_ulp_data): New function.
3529 (find_ulps): Likewise.
3530 (find_test_ulps): Likewise.
3531 (find_function_ulps): Likewise.
3532 (find_complex_function_ulps): Likewise.
3533 (print_max_error): Determine allowed ulps using
3535 (print_complex_max_error): Determine allowed ulps using
3536 find_complex_function_ulps.
3537 (check_float_internal): Determine max ulps using find_test_ulps.
3538 (check_float): Do not take max_ulp parameter. Update call to
3539 check_float_internal.
3540 (check_complex): Likewise.
3541 (check_int): Do not take max_ulp parameter.
3542 (check_long): Likewise.
3543 (check_bool): Likewise.
3544 (check_longlong): Likewise.
3545 (struct test_f_f_data): Remove max_ulp field.
3546 (struct test_ff_f_data): Likewise.
3547 (struct test_ff_f_data_nexttoward): Likewise.
3548 (struct test_fi_f_data): Likewise.
3549 (struct test_fl_f_data): Likewise.
3550 (struct test_if_f_data): Likewise.
3551 (struct test_fff_f_data): Likewise.
3552 (struct test_c_f_data): Likewise.
3553 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3554 (struct test_fF_f1_data): Likewise.
3555 (struct test_ffI_f1_data): Likewise.
3556 (struct test_c_c_data): Remove max_ulp field.
3557 (struct test_cc_c_data): Likewise.
3558 (struct test_f_i_data): Likewise.
3559 (struct test_ff_i_data): Likewise.
3560 (struct test_f_l_data): Likewise.
3561 (struct test_f_L_data): Likewise.
3562 (struct test_sincos_data): Likewise.
3563 (RUN_TEST_f_f): Do not handle ulps.
3564 (RUN_TEST_LOOP_f_f): Likewise.
3565 (RUN_TEST_2_f): Likewise.
3566 (RUN_TEST_LOOP_2_f): Likewise.
3567 (RUN_TEST_fff_f): Likewise.
3568 (RUN_TEST_LOOP_fff_f): Likewise.
3569 (RUN_TEST_c_f): Likewise.
3570 (RUN_TEST_LOOP_c_f): Likewise.
3571 (RUN_TEST_f_f1): Likewise.
3572 (RUN_TEST_LOOP_f_f1): Likewise.
3573 (RUN_TEST_fF_f1): Likewise.
3574 (RUN_TEST_LOOP_fF_f1): Likewise.
3575 (RUN_TEST_fI_f1): Likewise.
3576 (RUN_TEST_LOOP_fI_f1): Likewise.
3577 (RUN_TEST_ffI_f1): Likewise.
3578 (RUN_TEST_LOOP_ffI_f1): Likewise.
3579 (RUN_TEST_c_c): Likewise.
3580 (RUN_TEST_LOOP_c_c): Likewise.
3581 (RUN_TEST_cc_c): Likewise.
3582 (RUN_TEST_LOOP_cc_c): Likewise.
3583 (RUN_TEST_f_i): Likewise.
3584 (RUN_TEST_LOOP_f_i): Likewise.
3585 (RUN_TEST_f_i_tg): Likewise.
3586 (RUN_TEST_LOOP_f_i_tg): Likewise.
3587 (RUN_TEST_ff_i_tg): Likewise.
3588 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3589 (RUN_TEST_f_b): Likewise.
3590 (RUN_TEST_LOOP_f_b): Likewise.
3591 (RUN_TEST_f_b_tg): Likewise.
3592 (RUN_TEST_LOOP_f_b_tg): Likewise.
3593 (RUN_TEST_f_l): Likewise.
3594 (RUN_TEST_LOOP_f_l): Likewise.
3595 (RUN_TEST_f_L): Likewise.
3596 (RUN_TEST_LOOP_f_L): Likewise.
3597 (RUN_TEST_sincos): Likewise.
3598 (RUN_TEST_LOOP_sincos): Likewise.
3600 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3604 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3605 main case of finite arguments, set rounding mode to FE_TONEAREST
3606 and discard exceptions.
3607 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3609 (remainder_tonearest_test_data): New variable.
3610 (remainder_test_tonearest): New function.
3611 (remainder_towardzero_test_data): New variable.
3612 (remainder_test_towardzero): New function.
3613 (remainder_downward_test_data): New variable.
3614 (remainder_test_downward): New function.
3615 (remainder_upward_test_data): New variable.
3616 (remainder_test_upward): New function.
3617 (main): Call the new test functions.
3619 * math/libm-test.inc (struct test_f_f1_data): Remove field
3621 (struct test_fF_f1_data): Likewise.
3622 (struct test_ffI_f1_data): Likewise.
3623 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3624 based on value of EXTRA_EXPECTED.
3625 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3626 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3627 EXTRA_VAR based on value of EXTRA_EXPECTED.
3628 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3629 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3630 EXTRA_VAR based on value of EXTRA_EXPECTED.
3631 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3632 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3633 EXTRA_VAR based on value of EXTRA_EXPECTED.
3634 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3635 * math/gen-libm-test.pl (parse_args): Don't output initializers
3636 for extra output values.
3638 * math/libm-test.inc (check_int): Expect result to be exactly
3639 equal to expected value and do not handle ulps.
3640 (check_long): Likewise.
3641 (check_longlong): Likewise.
3643 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3645 (cimag_test_data): Likewise.
3646 (conj_test_data): Likewise.
3647 (copysign_test_data): Likewise.
3648 (cproj_test_data): Likewise.
3649 (creal_test_data): Likewise.
3650 (fabs_test_data): Likewise.
3651 (fdim_test_data): Likewise.
3652 (finite_test_data): Likewise.
3653 (floor_test_data): Likewise.
3654 (fmax_test_data): Likewise.
3655 (fmin_test_data): Likewise.
3656 (fmod_test_data): Likewise.
3657 (fpclassify_test_data): Likewise.
3658 (frexp_test_data): Likewise.
3659 (ilogb_test_data): Likewise.
3660 (isfinite_test_data): Likewise.
3661 (isgreater_test_data): Likewise.
3662 (isgreaterequal_test_data): Likewise.
3663 (isinf_test_data): Likewise.
3664 (isless_test_data): Likewise.
3665 (islessequal_test_data): Likewise.
3666 (islessgreater_test_data): Likewise.
3667 (isnan_test_data): Likewise.
3668 (isnormal_test_data): Likewise.
3669 (issignaling_test_data): Likewise.
3670 (isunordered_test_data): Likewise.
3671 (ldexp_test_data): Likewise.
3672 (lrint_test_data): Likewise.
3673 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3674 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3675 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3676 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3677 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3678 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3680 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3681 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3682 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3683 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3685 (lrint_downward_test_data): Test for "inexact" exceptions.
3686 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3687 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3688 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3690 (lrint_upward_test_data): Test for "inexact" exceptions.
3691 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3693 (llrint_test_data): Test for "inexact" exceptions.
3694 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3695 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3696 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3697 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3698 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3699 (llrint_downward_test_data): Test for "inexact" exceptions.
3700 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3701 (llrint_upward_test_data): Test for "inexact" exceptions.
3702 (logb_test_data): Likewise.
3703 (logb_downward_test_data): Likewise.
3704 (nextafter_test_data): Likewise.
3705 (nexttoward_test_data): Likewise.
3706 (remainder_test_data): Likewise.
3707 (remquo_test_data): Likewise.
3708 (scalbn_test_data): Likewise.
3709 (scalbln_test_data): Likewise.
3710 (signbit_test_data): Likewise.
3711 (sqrt_test_data): Likewise.
3712 (significand_test_data): Likewise.
3714 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3717 * benchtests/bench-modf.c (struct args): Mark arg0 as
3719 * scripts/bench.pl: Mark members of struct args as volatile.
3721 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3724 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3725 negative infinity on POWER6 or lower.
3726 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3728 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3731 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3732 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3733 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3734 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3735 (_FP_SETQNAN): New macro.
3736 (_FP_SETQNAN_SEMIRAW): Likewise.
3737 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3738 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3739 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3740 (FP_EXTEND): Use _FP_FRAC_SNANP.
3741 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3742 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3744 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3746 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3749 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3751 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3752 with DIVIDE_BY_ZERO_EXCEPTION.
3753 (gamma_test_data): Likewise.
3754 (lgamma_test_data): Likewise.
3755 (log_test_data): Likewise.
3756 (log10_test_data): Likewise.
3757 (log2_test_data): Likewise.
3758 (tgamma_test_data): Likewise.
3760 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3761 (acos_test_tonearest): Likewise.
3762 (acos_test_towardzero): Likewise.
3763 (acos_test_downward): Likewise.
3764 (acos_test_upward): Likewise.
3765 (acosh_test): Likewise.
3766 (asin_test): Likewise.
3767 (asin_test_tonearest): Likewise.
3768 (asin_test_towardzero): Likewise.
3769 (asin_test_downward): Likewise.
3770 (asin_test_upward): Likewise.
3771 (asinh_test): Likewise.
3772 (atan_test): Likewise.
3773 (atanh_test): Likewise.
3774 (atan2_test): Likewise.
3775 (cabs_test): Likewise.
3776 (cacos_test): Likewise.
3777 (cacosh_test): Likewise.
3778 (casin_test): Likewise.
3779 (casinh_test): Likewise.
3780 (catan_test): Likewise.
3781 (catanh_test): Likewise.
3782 (cbrt_test): Likewise.
3783 (ccos_test): Likewise.
3784 (ccosh_test): Likewise.
3785 (cexp_test): Likewise.
3786 (clog_test): Likewise.
3787 (clog10_test): Likewise.
3788 (cos_test): Likewise.
3789 (cos_test_tonearest): Likewise.
3790 (cos_test_towardzero): Likewise.
3791 (cos_test_downward): Likewise.
3792 (cos_test_upward): Likewise.
3793 (cosh_test): Likewise.
3794 (cosh_test_tonearest): Likewise.
3795 (cosh_test_towardzero): Likewise.
3796 (cosh_test_downward): Likewise.
3797 (cosh_test_upward): Likewise.
3798 (cpow_test): Likewise.
3799 (csin_test): Likewise.
3800 (csinh_test): Likewise.
3801 (csqrt_test): Likewise.
3802 (ctan_test): Likewise.
3803 (ctan_test_tonearest): Likewise.
3804 (ctan_test_towardzero): Likewise.
3805 (ctan_test_downward): Likewise.
3806 (ctan_test_upward): Likewise.
3807 (ctanh_test): Likewise.
3808 (ctanh_test_tonearest): Likewise.
3809 (ctanh_test_towardzero): Likewise.
3810 (ctanh_test_downward): Likewise.
3811 (ctanh_test_upward): Likewise.
3812 (erf_test): Likewise.
3813 (erfc_test): Likewise.
3814 (exp_test): Likewise.
3815 (exp_test_tonearest): Likewise.
3816 (exp_test_towardzero): Likewise.
3817 (exp_test_downward): Likewise.
3818 (exp_test_upward): Likewise.
3819 (exp10_test): Likewise.
3820 (exp2_test): Likewise.
3821 (expm1_test): Likewise.
3822 (fmod_test): Likewise.
3823 (gamma_test): Likewise.
3824 (hypot_test): Likewise.
3825 (j0_test): Likewise.
3826 (j1_test): Likewise.
3827 (jn_test): Likewise.
3828 (lgamma_test): Likewise.
3829 (log_test): Likewise.
3830 (log10_test): Likewise.
3831 (log1p_test): Likewise.
3832 (log2_test): Likewise.
3833 (logb_test_downward): Likewise.
3834 (pow_test): Likewise.
3835 (pow_test_tonearest): Likewise.
3836 (pow_test_towardzero): Likewise.
3837 (pow_test_downward): Likewise.
3838 (pow_test_upward): Likewise.
3839 (remainder_test): Likewise.
3840 (remquo_test): Likewise.
3841 (sin_test): Likewise.
3842 (sin_test_tonearest): Likewise.
3843 (sin_test_towardzero): Likewise.
3844 (sin_test_downward): Likewise.
3845 (sin_test_upward): Likewise.
3846 (sincos_test): Likewise.
3847 (sinh_test): Likewise.
3848 (sinh_test_tonearest): Likewise.
3849 (sinh_test_towardzero): Likewise.
3850 (sinh_test_downward): Likewise.
3851 (sinh_test_upward): Likewise.
3852 (sqrt_test): Likewise.
3853 (tan_test): Likewise.
3854 (tan_test_tonearest): Likewise.
3855 (tan_test_towardzero): Likewise.
3856 (tan_test_downward): Likewise.
3857 (tan_test_upward): Likewise.
3858 (tanh_test): Likewise.
3859 (tgamma_test): Likewise.
3860 (y0_test): Likewise.
3861 (y1_test): Likewise.
3862 (yn_test): Likewise.
3864 * math/gen-libm-test.pl (adjust_arg): Remove function.
3865 (special_function): Remove argument $in_func. Only handle
3866 generating output for tables of tests, not inside functions.
3867 (parse_args): Likewise.
3868 (generate_testfile): Remove variable $in_func. Update call to
3870 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3871 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3872 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3873 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3874 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3875 (MAX_VALUE_INIT): Rename macro to max_value.
3876 (MIN_VALUE_INIT): Rename macro to min_value.
3877 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3878 (plus_zero): Remove variable.
3879 (minus_zero): Likewise.
3880 (plus_infty): Likewise.
3881 (minus_infty): Likewise.
3882 (qnan_value): Likewise.
3883 (max_value): Likewise.
3884 (min_value): Likewise.
3885 (min_subnorm_value): Likewise.
3887 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3889 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3890 uint64_t or uint32_t usage.
3891 * crypt/sha256-block.c: Likewise.
3892 * crypt/sha256-crypt.c: Likewise.
3893 * crypt/sha256.c: Likewise.
3894 * crypt/sha512-block.c: Likewise.
3895 * crypt/sha512-crypt.c: Likewise.
3896 * crypt/sha512.c: Likewise.
3897 * debug/backtrace-tst.c: Likewise.
3898 * debug/pcprofiledump.c: Likewise.
3899 * elf/cache.c: Likewise.
3900 * elf/dl-cache.c: Likewise.
3901 * elf/dl-misc.c: Likewise.
3902 * elf/dl-profile.c: Likewise.
3903 * elf/dl-support.c: Likewise.
3904 * elf/ldconfig.c: Likewise.
3905 * elf/sprof.c: Likewise.
3906 * iconv/dummy-repertoire.c: Likewise.
3907 * iconv/iconv_charmap.c: Likewise.
3908 * iconv/skeleton.c: Likewise.
3909 * iconvdata/8bit-generic.c: Likewise.
3910 * iconvdata/cp737.h: Likewise.
3911 * iconvdata/cp775.h: Likewise.
3912 * iconvdata/ibm1008.h: Likewise.
3913 * iconvdata/ibm1025.h: Likewise.
3914 * iconvdata/ibm1046.h: Likewise.
3915 * iconvdata/ibm1097.h: Likewise.
3916 * iconvdata/ibm1112.h: Likewise.
3917 * iconvdata/ibm1122.h: Likewise.
3918 * iconvdata/ibm1123.h: Likewise.
3919 * iconvdata/ibm1124.h: Likewise.
3920 * iconvdata/ibm1129.h: Likewise.
3921 * iconvdata/ibm1130.h: Likewise.
3922 * iconvdata/ibm1132.h: Likewise.
3923 * iconvdata/ibm1133.h: Likewise.
3924 * iconvdata/ibm1137.h: Likewise.
3925 * iconvdata/ibm1140.h: Likewise.
3926 * iconvdata/ibm1141.h: Likewise.
3927 * iconvdata/ibm1142.h: Likewise.
3928 * iconvdata/ibm1143.h: Likewise.
3929 * iconvdata/ibm1144.h: Likewise.
3930 * iconvdata/ibm1145.h: Likewise.
3931 * iconvdata/ibm1146.h: Likewise.
3932 * iconvdata/ibm1147.h: Likewise.
3933 * iconvdata/ibm1148.h: Likewise.
3934 * iconvdata/ibm1149.h: Likewise.
3935 * iconvdata/ibm1153.h: Likewise.
3936 * iconvdata/ibm1154.h: Likewise.
3937 * iconvdata/ibm1155.h: Likewise.
3938 * iconvdata/ibm1156.h: Likewise.
3939 * iconvdata/ibm1157.h: Likewise.
3940 * iconvdata/ibm1158.h: Likewise.
3941 * iconvdata/ibm1160.h: Likewise.
3942 * iconvdata/ibm1161.h: Likewise.
3943 * iconvdata/ibm1162.h: Likewise.
3944 * iconvdata/ibm1163.h: Likewise.
3945 * iconvdata/ibm1164.h: Likewise.
3946 * iconvdata/ibm1166.h: Likewise.
3947 * iconvdata/ibm1167.h: Likewise.
3948 * iconvdata/ibm12712.h: Likewise.
3949 * iconvdata/ibm1390.h: Likewise.
3950 * iconvdata/ibm1399.h: Likewise.
3951 * iconvdata/ibm16804.h: Likewise.
3952 * iconvdata/ibm4517.h: Likewise.
3953 * iconvdata/ibm4899.h: Likewise.
3954 * iconvdata/ibm4909.h: Likewise.
3955 * iconvdata/ibm4971.h: Likewise.
3956 * iconvdata/ibm5347.h: Likewise.
3957 * iconvdata/ibm803.h: Likewise.
3958 * iconvdata/ibm856.h: Likewise.
3959 * iconvdata/ibm901.h: Likewise.
3960 * iconvdata/ibm902.h: Likewise.
3961 * iconvdata/ibm9030.h: Likewise.
3962 * iconvdata/ibm9066.h: Likewise.
3963 * iconvdata/ibm921.h: Likewise.
3964 * iconvdata/ibm922.h: Likewise.
3965 * iconvdata/ibm9448.h: Likewise.
3966 * iconvdata/isiri-3342.h: Likewise.
3967 * iconvdata/jis0201.h: Likewise.
3968 * include/link.h: Likewise.
3969 * include/netdb.h: Likewise.
3970 * inet/check_native.c: Likewise.
3971 * inet/check_pf.c: Likewise.
3972 * inet/getipv4sourcefilter.c: Likewise.
3973 * inet/getnameinfo.c: Likewise.
3974 * inet/getsourcefilter.c: Likewise.
3975 * inet/htonl.c: Likewise.
3976 * inet/setipv4sourcefilter.c: Likewise.
3977 * inet/setsourcefilter.c: Likewise.
3978 * inet/test-inet6_opt.c: Likewise.
3979 * inet/tst-network.c: Likewise.
3980 * locale/C-collate.c: Likewise.
3981 * locale/C-ctype.c: Likewise.
3982 * locale/C-time.c: Likewise.
3983 * locale/C-translit.h: Likewise.
3984 * locale/loadarchive.c: Likewise.
3985 * locale/programs/3level.h: Likewise.
3986 * locale/programs/charmap.c: Likewise.
3987 * locale/programs/charmap.h: Likewise.
3988 * locale/programs/ld-address.c: Likewise.
3989 * locale/programs/ld-collate.c: Likewise.
3990 * locale/programs/ld-ctype.c: Likewise.
3991 * locale/programs/ld-identification.c: Likewise.
3992 * locale/programs/ld-measurement.c: Likewise.
3993 * locale/programs/ld-messages.c: Likewise.
3994 * locale/programs/ld-monetary.c: Likewise.
3995 * locale/programs/ld-name.c: Likewise.
3996 * locale/programs/ld-numeric.c: Likewise.
3997 * locale/programs/ld-paper.c: Likewise.
3998 * locale/programs/ld-telephone.c: Likewise.
3999 * locale/programs/ld-time.c: Likewise.
4000 * locale/programs/linereader.c: Likewise.
4001 * locale/programs/locale.c: Likewise.
4002 * locale/programs/locarchive.c: Likewise.
4003 * locale/programs/locfile.h: Likewise.
4004 * locale/programs/repertoire.c: Likewise.
4005 * locale/programs/simple-hash.c: Likewise.
4006 * locale/programs/simple-hash.h: Likewise.
4007 * malloc/memusage.c: Likewise.
4008 * malloc/memusagestat.c: Likewise.
4009 * nis/nis_defaults.c: Likewise.
4010 * nis/nis_hash.c: Likewise.
4011 * nis/nis_print.c: Likewise.
4012 * nis/nis_xdr.c: Likewise.
4013 * nscd/connections.c: Likewise.
4014 * nscd/hstcache.c: Likewise.
4015 * nscd/nscd_gethst_r.c: Likewise.
4016 * nscd/nscd_getserv_r.c: Likewise.
4017 * nscd/nscd_helper.c: Likewise.
4018 * nscd/servicescache.c: Likewise.
4019 * nss/makedb.c: Likewise.
4020 * nss/nss_db/db-XXX.c: Likewise.
4021 * nss/nss_db/db-initgroups.c: Likewise.
4022 * nss/nss_db/db-netgrp.c: Likewise.
4023 * nss/nss_files/files-network.c: Likewise.
4024 * nss/nss_files/files-parse.c: Likewise.
4025 * posix/bug-regex5.c: Likewise.
4026 * posix/fnmatch_loop.c: Likewise.
4027 * posix/regcomp.c: Likewise.
4028 * posix/regexec.c: Likewise.
4029 * posix/tst-rfc3484-2.c: Likewise.
4030 * posix/tst-rfc3484-3.c: Likewise.
4031 * posix/tst-rfc3484.c: Likewise.
4032 * resolv/nss_dns/dns-canon.c: Likewise.
4033 * resolv/nss_dns/dns-network.c: Likewise.
4034 * resolv/res_init.c: Likewise.
4035 * resolv/res_mkquery.c: Likewise.
4036 * resolv/tst-aton.c: Likewise.
4037 * stdlib/cxa_atexit.c: Likewise.
4038 * stdlib/cxa_finalize.c: Likewise.
4039 * stdlib/gen-fpioconst.c: Likewise.
4040 * stdlib/strtol_l.c: Likewise.
4041 * string/tst-endian.c: Likewise.
4042 * sunrpc/auth_des.c: Likewise.
4043 * sunrpc/clnt_udp.c: Likewise.
4044 * sunrpc/rtime.c: Likewise.
4045 * sunrpc/svcauth_des.c: Likewise.
4046 * sunrpc/xdr.c: Likewise.
4047 * sunrpc/xdr_intXX_t.c: Likewise.
4048 * sunrpc/xdr_rec.c: Likewise.
4049 * sysdeps/generic/ldconfig.h: Likewise.
4050 * sysdeps/generic/ldsodefs.h: Likewise.
4051 * sysdeps/generic/memusage.h: Likewise.
4052 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4055 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4062 * sysdeps/posix/getaddrinfo.c: Likewise.
4063 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4064 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4065 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4066 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4067 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4068 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4069 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4070 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4071 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4072 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4073 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4074 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4075 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4076 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4077 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4078 * sysdeps/x86_64/dl-tls.h: Likewise.
4079 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4080 * time/alt_digit.c: Likewise.
4081 * time/era.c: Likewise.
4082 * wcsmbs/tst-c16c32-1.c: Likewise.
4084 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4086 * math/libm-test.inc (struct test_sincos_data): New type.
4087 (RUN_TEST_LOOP_sincos): New macro.
4088 (sincos_test_data): New variable.
4089 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4091 2013-05-16 Richard Henderson <rth@redhat.com>
4093 * math/atest-exp2.c (LIMB64): New macro.
4094 (CONSTSZ): New macro.
4095 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4097 (print_mpn_fp): ... to function scope.
4098 (read_mpn_hex): Remove.
4100 (exp2_mpn): Use mp_log2.
4101 (main): Use mp_exp1.
4103 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4105 * math/libm-test.inc: Remove comment about not testing "inexact"
4107 (INEXACT_EXCEPTION): New macro.
4108 (NO_INEXACT_EXCEPTION): Likewise.
4109 (INVALID_EXCEPTION_OK): Update value.
4110 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4111 (OVERFLOW_EXCEPTION_OK): Likewise.
4112 (UNDERFLOW_EXCEPTION_OK): Likewise.
4113 (IGNORE_ZERO_INF_SIGN): Likewise.
4114 (ERRNO_UNCHANGED): Likewise.
4115 (ERRNO_EDOM): Likewise.
4116 (ERRNO_ERANGE): Likewise.
4117 (test_exceptions): Handle testing "inexact" exceptions.
4118 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4119 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4120 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4121 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4123 (rint_towardzero_test_data): Likewise.
4124 (rint_downward_test_data): Likewise.
4125 (rint_upward_test_data): Likewise.
4127 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4128 with OVERFLOW_EXCEPTION.
4129 (exp10_test_data): Likewise.
4130 (exp2_test_data): Likewise.
4131 (expm1_test_data): Likewise.
4132 (lgamma_test_data): Likewise.
4133 (pow_test_data): Likewise.
4134 (tgamma_test_data): Likewise.
4135 (yn_test_data): Remove duplicate test of overflow.
4137 * math/libm-test.inc (struct test_cc_c_data): New type.
4138 (RUN_TEST_LOOP_cc_c): New macro.
4139 (cpow_test_data): New variable.
4140 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4142 * math/libm-test.inc (struct test_f_L_data): New type.
4143 (RUN_TEST_LOOP_f_L): New macro.
4144 (llrint_test_data): New variable.
4145 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4146 (llrint_tonearest_test_data): New variable.
4147 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4148 (llrint_towardzero_test_data): New variable.
4149 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4150 (llrint_downward_test_data): New variable.
4151 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4152 (llrint_upward_test_data): New variable.
4153 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4154 (llround_test_data): New variable.
4155 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4157 2013-05-13 Peter Collingbourne <pcc@google.com>
4159 * math/atest-exp2.c (get_log2): Remove const attribute.
4161 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4163 * math/libm-test.inc (struct test_f_l_data): New type.
4164 (RUN_TEST_LOOP_f_l): New macro.
4165 (lrint_test_data): New variable.
4166 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4167 (lrint_tonearest_test_data): New variable.
4168 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4169 (lrint_towardzero_test_data): New variable.
4170 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4171 (lrint_downward_test_data): New variable.
4172 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4173 (lrint_upward_test_data): New variable.
4174 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4175 (lround_test_data): New variable.
4176 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4178 2013-05-15 Peter Collingbourne <pcc@google.com>
4180 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4181 (EXTRACT_WORDS64) Use where appropriate.
4182 (INSERT_WORDS64) Likewise.
4184 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4185 constraints with x constraints.
4186 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4188 * malloc/obstack.c (_obstack_compat): Add initializer.
4190 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4192 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4193 si_trapno and add si_addr_lsb to _sifields.sigfault.
4194 (si_trapno): Remove macro.
4195 (si_addr_lsb): Define new macro.
4196 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4198 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4200 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4201 instead of TEST_f_l.
4202 (llrint_test_tonearest): Likewise.
4203 (llrint_test_towardzero): Likewise.
4204 (llrint_test_downward): Likewise.
4205 (llrint_test_upward): Likewise.
4206 (llround_test): Likewise.
4208 * math/libm-test.inc (struct test_f_i_data): Add comment.
4209 (RUN_TEST_LOOP_f_b): New macro.
4210 (RUN_TEST_LOOP_f_b_tg): Likewise.
4211 (finite_test_data): New variable.
4212 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4213 (isfinite_test_data): New variable.
4214 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4215 (isinf_test_data): New variable.
4216 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4217 (isnan_test_data): New variable.
4218 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4219 (isnormal_test_data): New variable.
4220 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4221 (issignaling_test_data): New variable.
4222 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4223 (signbit_test_data): New variable.
4224 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4226 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4227 with INVALID_EXCEPTION.
4228 (acosh_test_data): Likewise.
4229 (asin_test_data): Likewise.
4230 (atanh_test_data): Likewise.
4231 (fmod_test_data): Likewise.
4232 (log_test_data): Likewise.
4233 (log10_test_data): Likewise.
4234 (log2_test_data): Likewise.
4235 (pow_test_data): Likewise.
4236 (sqrt_test_data): Likewise.
4237 (y0_test_data): Likewise.
4238 (y1_test_data): Likewise.
4239 (yn_test_data): Likewise.
4241 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4244 * math/libm-test.inc (struct test_ff_i_data): New type.
4245 (RUN_TEST_LOOP_ff_i_tg): New macro.
4246 (isgreater_test_data): New variable.
4247 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4248 (isgreaterequal_test_data): New variable.
4249 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4250 (isless_test_data): New variable.
4251 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4252 (islessequal_test_data): New variable.
4253 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4254 (islessgreater_test_data): New variable.
4255 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4256 (isunordered_test_data): New variable.
4257 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4259 2013-05-14 David S. Miller <davem@davemloft.net>
4261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4263 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4265 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4267 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4269 (struct test_f_i_data): Change type of max_ulp to int.
4271 * math/libm-test.inc (test_ffI_f1_data): New type.
4272 (RUN_TEST_LOOP_ffI_f1): New macro.
4273 (remquo_test_data): New variable.
4274 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4276 * setjmp/tst-setjmp-fp.c: New file.
4277 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4278 (link-libm): New variable.
4279 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4281 * math/libm-test.inc (struct test_f_i_data): New type.
4282 (RUN_TEST_LOOP_f_i): New macro.
4283 (RUN_TEST_LOOP_f_i_tg): Likewise.
4284 (fpclassify_test_data): New variable.
4285 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4286 (ilogb_test_data): New variable.
4287 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4289 * math/libm-test.inc (scalbln_test): Correct function name in END
4292 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4293 (RUN_TEST_LOOP_fI_f1): New macro.
4294 (frexp_test_data): New variable.
4295 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4297 * math/libm-test.inc (struct test_fF_f1_data): New type.
4298 (RUN_TEST_LOOP_fF_f1): New macro.
4299 (modf_test_data): New variable.
4300 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4302 * math/libm-test.inc (struct test_f_f1_data): New type.
4303 (RUN_TEST_LOOP_f_f1): New macro.
4304 (gamma_test_data): New variable.
4305 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4306 (lgamma_test_data): New variable.
4307 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4309 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4311 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4312 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4313 (main): Comment "tls" pseudo-hwcap.
4315 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4317 * math/libm-test.inc (struct test_fl_f_data): New type.
4318 (RUN_TEST_LOOP_fl_f): New variable.
4319 (scalbln_test_data): New variable.
4320 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4322 * math/libm-test.inc (struct test_fi_f_data): New type.
4323 (RUN_TEST_LOOP_fi_f): New macro.
4324 (ldexp_test_data): New variable.
4325 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4326 (scalbn_test_data): New variable.
4327 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4329 * math/libm-test.inc (struct test_c_f_data): New type.
4330 (RUN_TEST_LOOP_c_f): New macro.
4331 (cabs_test_data): New variable.
4332 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4333 (carg_test_data): New variable.
4334 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4335 (cimag_test_data): New variable.
4336 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4337 (creal_test_data): New variable.
4338 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4340 * math/libm-test.inc (struct test_if_f_data): New type.
4341 (RUN_TEST_LOOP_if_f): New macro.
4342 (jn_test_data): New variable.
4343 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4344 (yn_test_data): New variable.
4345 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4347 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4349 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4351 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4352 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4354 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4356 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4357 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4358 (bench-deps): Add bench-timing.h.
4359 * benchtests-bench-skeleton.c: Include bench-timing.h.
4360 (main): Use TIMING_* macros instead of clock_gettime.
4361 * benchtests/bench-timing.h: New file.
4364 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4365 Renamed from _LIB_VERSION.
4366 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4368 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4370 * math/libm-test.inc (struct test_fff_f_data): New type.
4371 (RUN_TEST_LOOP_fff_f): New macro.
4372 (fma_test_data): New variable.
4373 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4374 (fma_towardzero_test_data): New variable.
4375 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4376 (fma_downward_test_data): New variable.
4377 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4378 (fma_upward_test_data): New variable.
4379 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4381 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4382 (struct test_c_c_data): New type.
4383 (RUN_TEST_LOOP_c_c): New macro.
4384 (cacos_test_data): New variable.
4385 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4386 (cacosh_test_data): New variable.
4387 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4388 (casin_test_data): New variable.
4389 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4390 (casinh_test_data): New variable.
4391 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4392 (catan_test_data): New variable.
4393 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4394 (catanh_test_data): New variable.
4395 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4396 (ccos_test_data): New variable.
4397 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4398 (ccosh_test_data): New variable.
4399 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4400 (cexp_test_data): New variable.
4401 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4402 (clog_test_data): New variable.
4403 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4404 (clog10_test_data): New variable.
4405 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4406 (conj_test_data): New variable.
4407 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4408 (cproj_test_data): New variable.
4409 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4410 (csin_test_data): New variable.
4411 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4412 (csinh_test_data): New variable.
4413 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4414 (csqrt_test_data): New variable.
4415 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4416 (ctan_test_data): New variable.
4417 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4418 (ctan_tonearest_test_data): New variable.
4419 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4420 (ctan_towardzero_test_data): New variable.
4421 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4422 (ctan_downward_test_data): New variable.
4423 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4424 (ctan_upward_test_data): New variable.
4425 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4426 (ctanh_test_data): New variable.
4427 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4428 (ctanh_tonearest_test_data): New variable.
4429 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4430 (ctanh_towardzero_test_data): New variable.
4431 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4432 (ctanh_downward_test_data): New variable.
4433 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4434 (ctanh_upward_test_data): New variable.
4435 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4436 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4439 * math/libm-test.inc (struct test_ff_f_data): New type.
4440 (struct test_ff_f_data_nexttoward): Likewise.
4441 (RUN_TEST_LOOP_2_f): New macro.
4442 (RUN_TEST_LOOP_ff_f): Likewise.
4443 (atan2_test_data): New variable.
4444 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4445 (copysign_test_data): New variable.
4446 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4447 (fdim_test_data): New variable.
4448 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4449 (fmax_test_data): New variable.
4450 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4451 (fmin_test_data): New variable.
4452 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4453 (fmod_test_data): New variable.
4454 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4455 (hypot_test_data): New variable.
4456 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4457 (nextafter_test_data): New variable.
4458 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4459 (nexttoward_test_data): New variable.
4460 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4461 (pow_test_data): New variable.
4462 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4463 (pow_tonearest_test_data): New variable.
4464 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4465 (pow_towardzero_test_data): New variable.
4466 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4467 (pow_downward_test_data): New variable.
4468 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4469 (pow_upward_test_data): New variable.
4470 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4471 (remainder_test_data): New variable.
4472 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4473 (scalb_test_data): New variable.
4474 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4475 * sysdeps/i386/fpu/libm-test-ulps: Update.
4477 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4479 * math/libm-test.inc (fma_test): Use max_value instead of local
4481 (nextafter_test): Likewise.
4483 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4484 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4485 (acos_downward_test_data): New variable.
4486 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4487 (acos_upward_test_data): New variable.
4488 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4489 (acosh_test_data): New variable.
4490 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4491 (asin_test_data): New variable.
4492 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4493 (asin_tonearest_test_data): New variable.
4494 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4495 (asin_towardzero_test_data): New variable.
4496 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4497 (asin_downward_test_data): New variable.
4498 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4499 (asin_upward_test_data): New variable.
4500 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4501 (asinh_test_data): New variable.
4502 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4503 (atan_test_data): New variable.
4504 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4505 (atanh_test_data): New variable.
4506 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4507 (cbrt_test_data): New variable.
4508 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4509 (ceil_test_data): New variable.
4510 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4511 (cos_test_data): New variable.
4512 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4513 (cos_tonearest_test_data): New variable.
4514 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4515 (cos_towardzero_test_data): New variable.
4516 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4517 (cos_downward_test_data): New variable.
4518 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4519 (cos_upward_test_data): New variable.
4520 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4521 (cosh_test_data): New variable.
4522 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4523 (cosh_tonearest_test_data): New variable.
4524 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4525 (cosh_towardzero_test_data): New variable.
4526 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4527 (cosh_downward_test_data): New variable.
4528 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4529 (cosh_upward_test_data): New variable.
4530 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4531 (erf_test_data): New variable.
4532 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4533 (erfc_test_data): New variable.
4534 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4535 (exp_test_data): New variable.
4536 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4537 (exp_tonearest_test_data): New variable.
4538 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4539 (exp_towardzero_test_data): New variable.
4540 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4541 (exp_downward_test_data): New variable.
4542 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4543 (exp_upward_test_data): New variable.
4544 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4545 (exp10_test_data): New variable.
4546 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4547 (exp2_test_data): New variable.
4548 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4549 (expm1_test_data): New variable.
4550 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4551 (fabs_test_data): New variable.
4552 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4553 (floor_test_data): New variable.
4554 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4555 (j0_test_data): New variable.
4556 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4557 (j1_test_data): New variable.
4558 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4559 (log_test_data): New variable.
4560 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4561 (log10_test_data): New variable.
4562 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4563 (log1p_test_data): New variable.
4564 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4565 (log2_test_data): New variable.
4566 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4567 (logb_test_data): New variable.
4568 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4569 (logb_downward_test_data): New variable.
4570 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4571 (nearbyint_test_data): New variable.
4572 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4573 (rint_test_data): New variable.
4574 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4575 (rint_tonearest_test_data): New variable.
4576 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4577 (rint_towardzero_test_data): New variable.
4578 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4579 (rint_downward_test_data): New variable.
4580 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4581 (rint_upward_test_data): New variable.
4582 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4583 (round_test_data): New variable.
4584 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4585 (sin_test_data): New variable.
4586 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4587 (sin_tonearest_test_data): New variable.
4588 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4589 (sin_towardzero_test_data): New variable.
4590 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4591 (sin_downward_test_data): New variable.
4592 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4593 (sin_upward_test_data): New variable.
4594 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4595 (sinh_test_data): New variable.
4596 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4597 (sinh_tonearest_test_data): New variable.
4598 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4599 (sinh_towardzero_test_data): New variable.
4600 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4601 (sinh_downward_test_data): New variable.
4602 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4603 (sinh_upward_test_data): New variable.
4604 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4605 (sqrt_test_data): New variable.
4606 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4607 (tan_test_data): New variable.
4608 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4609 (tan_tonearest_test_data): New variable.
4610 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4611 (tan_towardzero_test_data): New variable.
4612 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4613 (tan_downward_test_data): New variable.
4614 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4615 (tan_upward_test_data): New variable.
4616 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4617 (tanh_test_data): New variable.
4618 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4619 (tgamma_test_data): New variable.
4620 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4621 (trunc_test_data): New variable.
4622 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4623 (y0_test_data): New variable.
4624 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4625 (y1_test_data): New variable.
4626 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4627 (significand_test_data): New variable.
4628 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4630 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4633 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4635 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4637 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4639 2013-05-10 Andreas Jaeger <aj@suse.de>
4642 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4643 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4645 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4647 * math/gen-libm-test.pl (adjust_arg): New function.
4648 (special_functions): Handle generating output in both functions
4650 (parse_args): Likewise.
4651 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4652 $in_func argument to parse_args.
4653 * math/libm-test.inc (struct test_f_f_data): New type.
4654 (IF_ROUND_INIT_): New macro.
4655 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4656 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4657 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4658 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4659 (ROUND_RESTORE_): Likewise.
4660 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4661 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4662 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4663 (ROUND_RESTORE_FE_UPWARD): Likewise.
4664 (RUN_TEST_LOOP_f_f): New macro.
4665 (acos_test_data): New variable.
4666 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4667 (acos_tonearest_test_data): New variable.
4668 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4670 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4672 * benchtests/bench-skeleton.c (startup): Fix coding style.
4674 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4677 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4678 negative infinity argument.
4679 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4680 negative infinity argument.
4681 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4682 negative infinity argument.
4683 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4686 2013-05-10 Florian Weimer <fweimer@redhat.com>
4688 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4689 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4690 * iconv/iconv_prog.c (main): Likewise.
4691 * locale/programs/charmap-dir.c (charmap_readdir)
4692 (fopen_uncompressed): Likewise.
4693 * locale/programs/locfile.c (siblings_uncached)
4694 (write_locale_data): Use lstat64 instead of lstat.
4695 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4698 2013-05-10 Andreas Jaeger <aj@suse.de>
4701 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4705 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4707 * elf/dl-close.c (_dl_close_worker): Add comments.
4709 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4712 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4714 (__ieee754_rem_pio2l): Update comments.
4717 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4719 (__ieee754_rem_pio2l): Update comments.
4721 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4722 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4724 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4727 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4728 (M_PI_34_LOG10El): Likewise.
4729 (M_PI2_LOG10El): Likewise.
4730 (M_PI4_LOG10El): Likewise.
4731 (M_PI_LOG10El): Likewise.
4733 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4735 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4737 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4739 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4740 (MINUS_ZERO_INIT): Likewise.
4741 (PLUS_INFTY_INIT): Likewise.
4742 (MINUS_INFTY_INIT): Likewise.
4743 (QNAN_VALUE_INIT): Likewise.
4744 (MAX_VALUE_INIT): Likewise.
4745 (MIN_VALUE_INIT): Likewise.
4746 (MIN_SUBNORM_VALUE_INIT): Likewise.
4747 (plus_zero): Initialize with PLUS_ZERO_INIT.
4748 (minus_zero): Initialize with MINUS_ZERO_INIT.
4749 (plus_infty): Initialize with PLUS_INFTY_INIT.
4750 (minus_infty): Initialize with MINUS_INFTY_INIT.
4751 (qnan_value): Initialize with QNAN_VALUE_INIT.
4752 (max_value): Initialize with MAX_VALUE_INIT.
4753 (min_value): Initialize with MIN_VALUE_INIT.
4754 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4756 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4757 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4758 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4759 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4761 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4762 (RUN_TEST_2_f): Likewise.
4763 (RUN_TEST_ff_f): Likewise.
4764 (RUN_TEST_fi_f): Likewise.
4765 (RUN_TEST_fl_f): Likewise.
4766 (RUN_TEST_fff_f): Likewise.
4767 (RUN_TEST_c_f): Likewise.
4768 (RUN_TEST_f_f1): Likewise.
4769 (RUN_TEST_fF_f1): Likewise.
4770 (RUN_TEST_fI_f1): Likewise.
4771 (RUN_TEST_ffI_f1): Likewise.
4772 (RUN_TEST_c_c): Likewise.
4773 (RUN_TEST_cc_c): Likewise.
4774 (RUN_TEST_f_i): Likewise.
4775 (RUN_TEST_f_i_tg): Likewise.
4776 (RUN_TEST_ff_i_tg): Likewise.
4777 (RUN_TEST_f_b): Likewise.
4778 (RUN_TEST_f_b_tg): Likewise.
4779 (RUN_TEST_f_l): Likewise.
4780 (RUN_TEST_f_L): Likewise.
4781 (RUN_TEST_sincos): Likewise.
4782 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4783 whether to show exceptions. Do not include ");\n" in return
4785 (special_functions): Output call to RUN_TEST_sincos instead of
4786 check_float calls. Update calls to new_test.
4787 (parse_args): Output call to single RUN_TEST_* macro instead of
4788 check_* calls and other assignments. Update calls to new_test.
4794 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4795 input to result for tgamma overflow.
4796 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4797 (gamma_coeff): New variable.
4798 (NCOEFF): New macro.
4799 (gamma_positive): New function.
4800 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4801 underflow here. Use gamma_positive instead of exp (lgamma) for
4803 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4804 (gamma_coeff): New variable.
4805 (NCOEFF): New macro.
4806 (gammaf_positive): New function.
4807 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4808 underflow here. Use gamma_positive instead of exp (lgamma) for
4810 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4811 (gamma_coeff): New variable.
4812 (NCOEFF): New macro.
4813 (gammal_positive): New function.
4814 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4815 underflow here. Use gamma_positive instead of exp (lgamma) for
4817 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4818 (gamma_coeff): New variable.
4819 (NCOEFF): New macro.
4820 (gammal_positive): New function.
4821 (__ieee754_gammal_r): Handle positive infinity, overflow and
4822 underflow here. Handle NaN the same as positive infinity. Remove
4823 check x < 0xffffffff for negative integers. Use gamma_positive
4824 instead of exp (lgamma) for other arguments.
4825 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4826 (gamma_coeff): New variable.
4827 (NCOEFF): New macro.
4828 (gammal_positive): New function.
4829 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4830 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4831 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4833 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4834 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4835 * sysdeps/generic/math_private.h (__gamma_productf): New
4837 (__gamma_product): Likewise.
4838 (__gamma_productl): Likewise.
4839 * math/Makefile (libm-calls): Add gamma_product.
4840 * math/libm-test.inc (tgamma_test): Add more tests.
4841 * sysdeps/i386/fpu/libm-test-ulps: Update.
4842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4844 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4846 * benchtests/bench-skeleton.c (main): Preheat CPU.
4848 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4850 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4852 2013-05-07 Roland McGrath <roland@hack.frob.com>
4854 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4855 and _dl_skip_args_internal.
4857 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4859 * manual/message.texi (Message Translation): Talk about users.
4860 Message to key mapping impacts design.
4862 2013-05-06 Roland McGrath <roland@hack.frob.com>
4864 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4866 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4868 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4869 * sysdeps/wordsize-64/glob64.c: ... here.
4871 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4872 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4875 * debug/getlogin_r_chk.c: Moved to ...
4876 * login/getlogin_r_chk.c: ... here.
4877 * debug/Makefile (routines): Move getlogin_r_chk to ...
4878 * login/Makefile (routines): ... here.
4879 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4880 * login/Versions (libc: GLIBC_2.4): ... here.
4882 * io/poll.c (__poll): Renamed from poll.
4883 Add libc_hidden_def.
4884 (poll): Define as weak alias.
4886 * debug/ptsname_r_chk.c: Moved to ...
4887 * login/ptsname_r_chk.c: ... here.
4888 * debug/Makefile (routines): Move ptsname_r_chk to ...
4889 * login/Makefile (routines): ... here.
4890 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4891 * login/Versions (libc: GLIBC_2.4): ... here.
4893 * posix/getlogin.c: Moved to ...
4894 * login/getlogin.c: ... here.
4895 * posix/getlogin_r.c: Moved to ...
4896 * login/getlogin_r.c: ... here.
4897 * posix/getlogin_r.c: Moved to ...
4898 * login/getlogin_r.c: ... here.
4899 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4900 * login/Makefile (routines): ... here.
4901 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4902 * login/Versions (libc: GLIBC_2.0): ... here.
4904 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4905 (setrlimit): Define as weak alias.
4907 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4908 Call __ names for open, ftruncate, and close.
4909 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4910 (truncate): Define as weak alias.
4912 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4914 * math/gen-libm-test.pl (parse_args): Initialize x before each
4915 test of frexp, modf and remquo.
4917 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4920 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4924 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4926 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4928 2013-05-06 Roland McGrath <roland@hack.frob.com>
4930 * elf/dl-writev.h: New file.
4931 * elf/dl-misc.c: Include it.
4932 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4933 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4935 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4937 * math/libm-test.inc (noXFails): Remove variable.
4938 (noXPasses): Likewise.
4939 (BUILD_COMPLEX_INT): Remove macro.
4940 (print_screen): Remove xfail argument.
4941 (print_screen_max_error): Likewise.
4942 (update_stats): Likewise.
4943 (print_max_error): Likewise. Update calls to other affected
4945 (print_complex_max_error): Likewise.
4946 (test_single_exception): Update calls to print_screen.
4947 (test_single_errno): Likewise.
4948 (check_float_internal): Remove xfail argument. Update calls to
4949 other affected functions.
4950 (check_float): Likewise.
4951 (check_complex): Likewise.
4952 (check_int): Likewise.
4953 (check_long): Likewise.
4954 (check_bool): Likewise.
4955 (check_longlong): Likewise.
4956 (main): Don't print noXFails and noXPasses.
4957 * math/gen-libm-test.pl (top level): Don't mention expected
4958 failure handling in comment.
4959 (new_test): Don't handle expected failures.
4960 (parse_args): Don't mention expected failure handling in comment.
4961 (generate_testfile): Don't handle expected failures.
4962 (parse_ulps): Likewise.
4963 (print_ulps_file): Likewise.
4964 (get_failure): Remove function.
4965 (output_test): Don't handle expected failures.
4966 * make/README.libm-test: Don't mention expected failure handling.
4968 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4969 (minus_zero): Likewise.
4970 (plus_infty): Likewise.
4971 (minus_infty): Likewise.
4972 (qnan_value): Likewise.
4973 (max_value): Likewise.
4974 (min_value): Likewise.
4975 (min_subnorm_value): Likewise.
4976 (initialize): Do not initialize those variables dynamically.
4978 2013-05-03 Roland McGrath <roland@hack.frob.com>
4980 * io/open.c (__open_2): Moved to ...
4981 * io/open_2.c: ... this new file.
4982 * io/open64.c (__open64_2): Moved to ...
4983 * io/open64_2.c: ... this new file.
4984 * io/openat.c (__openat_2): Moved to ...
4985 * io/openat_2.c: ... this new file.
4986 * io/openat64.c (__openat64_2): Moved to ...
4987 * io/openat64_2.c: ... this new file.
4988 * io/Makefile (routines): Add them.
4989 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4990 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4991 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4992 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4993 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4994 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4995 (__openat64): Add hidden_ver.
4996 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4997 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4999 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5000 Separately conditionalize setting of GLRO(dl_sysinfo) so
5001 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5002 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5004 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5006 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5007 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5009 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5010 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5011 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5012 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5013 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5015 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5017 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5020 * math/libm-test.inc (hypot_test): Do not use
5021 IGNORE_ZERO_INF_SIGN.
5023 2013-05-03 Andreas Jaeger <aj@suse.de>
5025 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5027 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5028 (PF_MAX): Adjust for VSOCK change.
5030 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5034 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5037 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5038 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5039 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5041 2013-05-02 David S. Miller <davem@davemloft.net>
5043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5045 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5047 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5049 2013-05-01 Roland McGrath <roland@hack.frob.com>
5051 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5053 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5056 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5057 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5058 Use __attribute__ ((__gnu_inline__)).
5059 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5060 Don't use __attribute__ ((__gnu_inline__)).
5062 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5065 * math/s_catan.c (__catan): Handle small real or imaginary part of
5066 input specially to avoid spurious underflow.
5067 * math/s_catanf.c (__catanf): Likewise.
5068 * math/s_catanh.c (__catanh): Likewise.
5069 * math/s_catanhf.c (__catanhf): Likewise.
5070 * math/s_catanhl.c (__catanhl): Likewise.
5071 * math/s_catanl.c (__catanl): Likewise.
5072 * math/libm-test.inc (catan_test): Add more tests.
5073 (catanh_test): Likewise.
5074 * sysdeps/i386/fpu/libm-test-ulps: Update.
5075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5077 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5081 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5084 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5085 accurately for denominator in atan2.
5086 * math/s_catanf.c (__catanf): Likewise.
5087 * math/s_catanh.c (__catanh): Likewise.
5088 * math/s_catanhf.c (__catanhf): Likewise.
5089 * math/s_catanhl.c (__catanhl): Likewise.
5090 * math/s_catanl.c (__catanl): Likewise.
5091 * math/libm-test.inc (catan_test): Add more tests.
5092 (catanh_test): Likewise.
5093 * sysdeps/i386/fpu/libm-test-ulps: Update.
5094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5096 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5098 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5100 * benchtests/Makefile (bench): Remove slow benchmarks.
5101 * benchtests/atan-inputs: Add slow benchmark inputs.
5102 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5103 (BENCH_FUNC): Accept variant offset.
5105 * benchtests/bench-skeleton.c (main): Run benchmark for each
5107 * benchtests/cos-inputs: Add slow benchmark inputs.
5108 * benchtests/exp-inputs: Likewise.
5109 * benchtests/pow-inputs: Likewise.
5110 * benchtests/sin-inputs: Likewise.
5111 * benchtests/slowatan-inputs: Remove.
5112 * benchtests/slowatan.c: Remove.
5113 * benchtests/slowcos-inputs: Remove.
5114 * benchtests/slowcos.c: Remove.
5115 * benchtests/slowexp-inputs: Remove.
5116 * benchtests/slowexp.c: Remove.
5117 * benchtests/slowpow-inputs: Remove.
5118 * benchtests/slowpow.c: Remove.
5119 * benchtests/slowsin-inputs: Remove.
5120 * benchtests/slowsin.c: Remove.
5121 * benchtests/slowtan-inputs: Remove.
5122 * benchtests/slowtan.c: Remove.
5123 * benchtests/tan-inputs: Add slow benchmark inputs.
5124 * scripts/bench.pl: Parse comments and directives.
5126 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5128 ($(objpfx)bench-%.c): Remove *-ITER.
5129 * benchtests/bench-modf.c: Remove definition of ITER.
5130 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5131 (main): Loop for DURATION seconds instead of fixed number of
5133 * scripts/bench.pl: Don't expect iterations in parameters.
5135 2013-04-29 Roland McGrath <roland@hack.frob.com>
5137 * io/fchdir.c (__fchdir): Renamed from fchdir.
5138 (fchdir): Define as weak alias.
5140 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5142 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5143 (ERRNO_EDOM): Likewise.
5144 (ERRNO_ERANGE): Likewise.
5145 (noErrnoTests): New variable.
5146 (init_max_error): Set errno to 0.
5147 (test_single_errno): New function.
5148 (test_errno): Likewise.
5149 (check_float_internal): Call test_errno. Set errno to 0.
5150 (check_complex): Refer to errno tests in comment.
5151 (check_int): Call test_errno. Set errno to 0.
5152 (check_long): Likewise.
5153 (check_bool): Likewise.
5154 (check_longlong): Likewise.
5155 (cos_test): Use ERRNO_* flags for errno tests instead of
5157 (expm1_test): Likewise.
5158 (fmod_test): Likewise.
5159 (ilogb_test): Likewise.
5160 (lgamma_test): Likewise.
5161 (pow_test): Likewise.
5162 (remainder_test): Likewise.
5163 (sin_test): Likewise.
5164 (tan_test): Likewise.
5165 (yn_test): Likewise.
5166 (initialize): Set errno to 0.
5167 (main): Print number of errno tests.
5168 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5170 2013-04-29 Andreas Jaeger <aj@suse.de>
5173 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5177 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5178 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5182 * stdlib/random.c (__initstate): Return NULL if
5186 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5187 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5190 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5194 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5196 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5197 of individual tests.
5198 (casin_test): Likewise.
5199 (casinh_test): Likewise.
5201 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5204 * math/s_catan.c (__catan): Handle arguments with large real or
5205 imaginary part separately without squaring.
5206 * math/s_catanf.c (__catanf): Likewise.
5207 * math/s_catanh.c (__catanh): Likewise.
5208 * math/s_catanhf.c (__catanhf): Likewise.
5209 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5211 (__catanhl): Handle arguments with large real or imaginary part
5212 separately without squaring.
5213 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5215 (__catanl): Handle arguments with large real or imaginary part
5216 separately without squaring.
5217 * math/libm-test.inc (catan_test): Add more tests.
5218 (catanh_test): Likewise.
5219 * sysdeps/i386/fpu/libm-test-ulps: Update.
5220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5222 2013-04-27 Andreas Jaeger <aj@suse.de>
5225 * stdlib/stdlib.h: Update guards for qecvt.
5226 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5229 2013-04-27 Allan McRae <allan@archlinux.org>
5231 * sysdeps/i386/fpu/libm-test-ulps: Update.
5233 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5236 * math/s_catan.c: Include <float.h>.
5237 (__catan): Ensure underflow exception occurs for underflowed
5239 * math/s_catanf.c: Include <float.h>.
5240 (__catanf): Ensure underflow exception occurs for underflowed
5242 * math/s_catanh.c: Include <float.h>.
5243 (__catanh): Ensure underflow exception occurs for underflowed
5245 * math/s_catanhf.c: Include <float.h>.
5246 (__catanhf): Ensure underflow exception occurs for underflowed
5248 * math/s_catanhl.c: Include <float.h>.
5249 (__catanhl): Ensure underflow exception occurs for underflowed
5251 * math/s_catanl.c: Include <float.h>.
5252 (__catanl): Ensure underflow exception occurs for underflowed
5254 * math/libm-test.inc (catan_test): Add more tests.
5255 (catanh_test): Likewise.
5258 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5260 * math/s_ccoshf.c (__ccoshf): Likewise.
5261 * math/s_ccoshl.c (__ccoshl): Likewise.
5262 * math/s_csin.c (__csin): Likewise.
5263 * math/s_csinf.c (__csinf): Likewise.
5264 * math/s_csinh.c (__csinh): Likewise.
5265 * math/s_csinhf.c (__csinhf): Likewise.
5266 * math/s_csinhl.c (__csinhl): Likewise.
5267 * math/s_csinl.c (__csinl): Likewise.
5268 * math/libm-test.inc (ccos_test): Add more tests.
5269 (ccosh_test): Likewise.
5270 (csin_test): Likewise.
5271 (csinh_test): Likewise.
5273 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5275 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5276 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5277 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5278 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5279 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5280 powerpc/power5+/fpu folders.
5281 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5284 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5288 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5290 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5291 additions to variable.
5292 [$(config-machine) = x86_64] (modules-names): Likewise.
5293 ($(objpfx)tst-audit3): Remove dependency.
5294 ($(objpfx)tst-audit3.out): Likewise.
5295 ($(objpfx)tst-audit4): Likewise.
5296 ($(objpfx)tst-audit4.out): Likewise.
5297 ($(objpfx)tst-audit5): Likewise.
5298 ($(objpfx)tst-audit5.out): Likewise.
5299 ($(objpfx)tst-audit6): Likewise.
5300 ($(objpfx)tst-audit6.out): Likewise.
5301 ($(objpfx)tst-audit7): Likewise.
5302 ($(objpfx)tst-audit7.out): Likewise.
5303 (tst-audit3-ENV): Remove variable.
5304 (tst-audit4-ENV): Likewise.
5305 (tst-audit5-ENV): Likewise.
5306 (tst-audit6-ENV): Likewise.
5307 (tst-audit7-ENV): Likewise.
5308 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5309 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5310 addition to variable.
5311 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5312 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5313 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5314 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5315 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5316 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5317 tst-audit3, tst-audit4 and tst-audit5.
5318 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5319 tst-audit6 and tst-audit7.
5320 [$(subdir) = elf] (modules-names): Add audit modules for those
5322 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5323 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5324 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5325 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5326 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5327 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5328 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5329 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5330 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5331 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5332 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5333 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5334 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5335 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5336 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5337 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5339 [$(subdir) = elf && $(config-cflags-avx) = yes]
5340 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5341 [$(subdir) = elf && $(config-cflags-avx) = yes]
5342 (CFLAGS-tst-auditmod4a.c): Likewise.
5343 [$(subdir) = elf && $(config-cflags-avx) = yes]
5344 (CFLAGS-tst-auditmod4b.c): Likewise.
5345 [$(subdir) = elf && $(config-cflags-avx) = yes]
5346 (CFLAGS-tst-auditmod6b.c): Likewise.
5347 [$(subdir) = elf && $(config-cflags-avx) = yes]
5348 (CFLAGS-tst-auditmod6c.c): Likewise.
5349 [$(subdir) = elf && $(config-cflags-avx) = yes]
5350 (CFLAGS-tst-auditmod7b.c): Likewise.
5351 * elf/tst-audit3.c: Move to ...
5352 * sysdeps/x86_64/tst-audit3.c: ... here.
5353 * elf/tst-audit4.c: Move to ...
5354 * sysdeps/x86_64/tst-audit4.c: ... here.
5355 * elf/tst-audit5.c: Move to ...
5356 * sysdeps/x86_64/tst-audit5.c: ... here.
5357 * elf/tst-audit6.c: Move to ...
5358 * sysdeps/x86_64/tst-audit6.c: ... here.
5359 * elf/tst-audit7.c: Move to ...
5360 * sysdeps/x86_64/tst-audit7.c: ... here.
5361 * elf/tst-auditmod3a.c: Move to ...
5362 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5363 * elf/tst-auditmod3b.c: Move to ...
5364 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5365 * elf/tst-auditmod4a.c: Move to ...
5366 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5367 * elf/tst-auditmod4b.c: Move to ...
5368 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5369 * elf/tst-auditmod5a.c: Move to ...
5370 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5371 * elf/tst-auditmod5b.c: Move to ...
5372 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5373 * elf/tst-auditmod6a.c: Move to ...
5374 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5375 * elf/tst-auditmod6b.c: Move to ...
5376 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5377 * elf/tst-auditmod6c.c: Move to ...
5378 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5379 * elf/tst-auditmod7a.c: Move to ...
5380 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5381 * elf/tst-auditmod7b.c: Move to ...
5382 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5384 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5387 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5388 define unconditionally.
5389 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5390 define unconditionally.
5391 (INT8_C, INT16_C, etc.): Likewise.
5393 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5395 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5396 __ehdr_start with hidden visibility.
5398 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5400 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5402 * math/libm-test.inc (cos_test): Use accurate hex constants.
5403 (sincost_test): Likewise.
5405 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5407 * math/libm-test.inc (catan_test): Add more tests.
5408 (catanh_test): Likewise.
5410 * math/s_catanf.c (__catanf): Use suffixed floating-point
5412 * math/s_catanhf.c (__catanhf): Likewise.
5413 * math/s_catanhl.c (__catanhl): Likewise.
5414 * math/s_catanl.c (__catanl): Likewise.
5417 * math/s_catan.c (__catan): Calculate imaginary part of result
5418 with log1p not log unless computing log of number close to 0.
5419 * math/s_catanf.c (__catanf): Likewise.
5420 * math/s_catanl.c (__catanl): Likewise.
5421 * math/s_catanh.c (__catanh): Calculate real part of result with
5422 log1p not log unless computing log of number close to 0.
5423 * math/s_catanhf.c (__catanhf): Likewise.
5424 * math/s_catanhl.c (__catanhl): Likewise.
5425 * math/libm-test.inc (catan_test): Add more tests.
5426 (catanh_test): Likewise.
5427 * sysdeps/i386/fpu/libm-test-ulps: Update.
5428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5430 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5432 * benchtests/Makefile: Mention files in which fast and slow
5433 paths of math functions are implemented.
5435 2013-04-23 Roland McGrath <roland@hack.frob.com>
5437 * sysdeps/posix/timespec_get.c: New file.
5439 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5441 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5443 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5445 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5446 powerpc/power5/fpu folders.
5447 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5448 * benchtests/Makefile: Add modf testcase.
5449 * benchtests/bench-modf.c: New file: Benchmark test for mo
5451 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5454 * time/Makefile (tests): Add tst-strptime-whitespace.
5455 * time/strptime_l.c (get_number): Use ISSPACE.
5456 (__strptime_internal): Likewise.
5457 * time/tst-strptime-whitespace.c: New test case.
5459 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5461 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5463 (_nss_files_init): Set it here.
5465 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5467 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5468 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5471 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5473 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5475 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5477 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5480 2013-04-21 David S. Miller <davem@davemloft.net>
5482 * po/ru.po: Update Russion translation from translation project.
5484 2013-04-17 Adam Conrad <adconrad@0c3.net>
5486 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5489 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5491 * configure.in: Remove i386 configure warning. Remove i386 case.
5492 * configure: Regenerate.
5493 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5494 Add example to error message.
5495 * sysdeps/i386/configure: Regenerate.
5497 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5499 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5501 * benchtests/cos-inputs: New file.
5502 * benchtests/slowcos-inputs: New file.
5503 * benchtests/slowcos.c: New file.
5504 * benchtests/slowtan-inputs: New file.
5505 * benchtests/slowtan.c: New file.
5506 * benchtests/tan-inputs: New file.
5508 2013-04-16 Roland McGrath <roland@hack.frob.com>
5510 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5513 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5515 * benchtests/Makefile: Include cppflags-iterator.mk to add
5516 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5518 * Makefile.in (bench-clean): New target.
5519 * benchtests/Makefile (bench-clean): Likewise.
5521 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5523 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5525 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5527 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5529 2013-04-15 Andreas Schwab <schwab@suse.de>
5531 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5532 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5533 * nscd/pwdcache.c (cache_addpw): Likewise.
5534 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5537 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5539 * benchtests/Makefile (bench): Write all output to
5540 bench-out.tmp together.
5542 2013-04-15 Andreas Schwab <schwab@suse.de>
5544 * nscd/nscd.c (main): Don't fork again after closing files.
5546 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5548 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5550 * benchtests/Rules (bench-deps): Collect dependencies into a
5551 single variable. Add Makefile to dependencies.
5552 ($(objpfx)bench-%.c): Depend on bench-deps.
5554 2013-04-12 Roland McGrath <roland@hack.frob.com>
5555 Xavier Roche <roche+kml2@exalead.com>
5558 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5559 just that it's a file descriptor.
5560 * manual/llio.texi (Synchronizing AIO Operations): Update description
5561 for EBADF error from aio_fsync.
5563 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5565 * Rules (bench): Move target definition...
5566 * benchtests/Makefile: ... here.
5568 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5570 * math/libm-test.inc (cos_test): Fix PI/2 test.
5571 (sincos_test): Likewise.
5572 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5573 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5575 2013-04-11 Andreas Schwab <schwab@suse.de>
5578 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5579 accept exponent character only when digits were seen.
5580 * stdio-common/Makefile (tests): Add bug26.
5581 * stdio-common/bug26.c: New file.
5584 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5587 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5589 * Makeconfig (rtld-prefix): Define built linker prefix.
5590 * Rules (run-bench): Use it.
5591 * math/Makefile (run-regen-ulps): Likewise.
5593 * Rules (bench): Remove eval.
5595 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5596 Roland McGrath <roland@hack.frob.com>
5597 Ondrej Bilka <neleai@seznam.cz>
5600 * time/getdate.c: Include ctype.h and alloca.h.
5601 (__getdate_r): Trim leading and trailing spaces of input.
5602 * time/tst-getdate.c (tests): Add tests with leading and
5605 2013-04-08 Roland McGrath <roland@hack.frob.com>
5608 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5609 when computing value.
5611 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5613 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5614 Use testrun.sh to run libm tests.
5617 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5619 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5622 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5624 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5626 * Makefile.in (regen-ulps): New target.
5627 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5628 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5629 [ifneq (no,$(PERL)] (regen-ulps): New target.
5630 [ifeq (no,$(PERL)] (regen-ulps): New target.
5631 * math/libm-test.inc (ulps_file_name): Define.
5632 (output_dir): New variable.
5633 (options): Add "output-dir" option.
5634 (parse_opt): Handle 'o' case.
5635 (main): If output_dir is non-NULL use it as a prefix
5637 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5639 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5642 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5643 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5644 fail configure if __sync_val_compare_and_swap is not inlined.
5645 * sysdeps/i386/configure: Regenerate.
5646 * configure.in: Build for i686 when configured for i386.
5647 * configure: Regenerate.
5648 * README: Remove i386 reference.
5650 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5652 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5653 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5655 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5657 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5658 (lmsnanval): New variables.
5659 (F): Add conversion tests.
5660 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5661 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5663 * stdio-common/tstdiomisc.c (F): Properly collect individual
5667 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5668 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5669 Instead, use input NaN values or generate a qNaN by arithmetic
5670 operation. Also fix bugs to comply with the standard.
5671 * math/libm-test.inc (remainder_test): Add more tests.
5674 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5675 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5676 input NaN values or generate a qNaN by arithmetic operation.
5678 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5681 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5684 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5687 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5689 * math/s_cexpf.c (__cexpf): Likewise.
5690 * math/s_cexpl.c (__cexpl): Likewise.
5691 * math/libm-test.inc (cexp_test): Add more tests.
5693 2013-04-03 Andreas Schwab <schwab@suse.de>
5696 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5697 order arrays from heap if bigger than alloca cutoff.
5699 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5701 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5702 (SNAN_TESTS_double): Refer to GCC PR56831.
5703 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5706 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5708 * Rules (bench): Move bench.out after the run is complete.
5710 * Rules (bench): Echo currently running benchmark.
5712 * benchtests/Makefile (bench): Add atan and slowatan.
5713 * benchtests/atan-inputs: New file.
5714 * benchtests/slowatan-inputs: New file.
5715 * benchtests/slowatan.c: New file.
5717 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5718 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5722 * sysdeps/unix/sysv/linux/kernel-features.h
5723 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5724 __ASSUME_XFS_RESTRICTED_CHOWN.
5725 * sysdeps/unix/sysv/linux/pathconf.c
5726 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5727 Save and restore errno.
5729 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5732 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5733 arguments using __kernel_casinh.
5734 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5735 arguments using __kernel_casinhf.
5736 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5737 arguments using __kernel_casinhl.
5738 * math/libm-test.inc (cacosh_test): Add more tests.
5739 * sysdeps/i386/fpu/libm-test-ulps: Update.
5740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5742 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5744 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5745 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5747 * bench/Makefile (bench): Add sin and slowsin.
5748 * benchtests/sin-inputs: New file.
5749 * benchtests/slowsin-inputs: New file.
5750 * benchtests/slowsin.c: New file.
5752 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5753 (bench): Add slowexp and slowpow.
5754 (exp-ITER): Increase iterations.
5755 (pow-ITER): Likewise.
5756 * benchtests/exp-inputs: Change input.
5757 * benchtests/pow-inputs: Likewise.
5758 * benchtests/slowexp-inputs: New file.
5759 * benchtests/slowexp.c: New file.
5760 * benchtests/slowpow-inputs: New file.
5761 * benchtests/slowpow.c: New file.
5763 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5765 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5767 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5768 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5769 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5770 * benchtests/Makefile: Add rint benchtest.
5771 * benchtests/rint-inputs: Input for rint benchtest.
5773 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5775 * Versions.def (libm): Add GLIBC_2.18.
5776 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5777 hidden libm prototypes.
5778 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5779 * math/Makefile (libm-calls): Add s_issignaling.
5780 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5781 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5782 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5784 * math/math.h [__USE_GNU] (issignaling): New macro.
5785 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5786 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5787 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5788 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5789 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5790 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5791 * manual/arith.texi (issignaling): New section.
5792 * manual/libm-err-tab.pl (@all_functions): Update comment.
5793 * math/gen-libm-test.pl (parse_args): Apply special handling for
5795 * math/libm-test.inc (print_float, issignaling_test): New
5797 (check_float_internal): Add issignaling checks.
5798 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5800 * sysdeps/powerpc/math-tests.h: New file.
5801 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5803 * math/test-snan.c (TEST_FUNC): Likewise.
5805 2013-03-30 David S. Miller <davem@davemloft.net>
5807 * po/de.po: Update from translation team.
5809 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5812 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5813 imaginary part less than 1.0 and real part less than 0.5
5815 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5816 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5817 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5818 (cacos_test): Add more tests.
5819 (casin_test): Likewise.
5820 (casinh_test): Likewise.
5821 * sysdeps/i386/fpu/libm-test-ulps: Update.
5822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5824 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5826 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5829 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5830 (__pow_mp): Replace ONE and MONE with their values.
5831 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5832 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5833 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5834 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5835 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5836 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5838 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5840 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5841 (__pow_mp): Replace ZERO and MZERO with their values.
5842 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5843 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5844 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5845 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5846 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5847 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5850 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5852 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5854 2013-03-28 Roland McGrath <roland@hack.frob.com>
5856 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5857 Declare with __attribute__ ((weak)).
5858 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5859 Call __call_tls_dtors only if it's not NULL.
5861 2013-03-28 Roland McGrath <roland@hack.frob.com>
5863 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5864 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5865 magic __ehdr_start linker symbol if it's defined.
5866 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5867 them up here if it was already done.
5869 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5870 (_dl_aux_init): Use const in cast when setting it.
5871 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5872 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5873 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5875 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5877 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5878 * csu/libc-tls.c: Nor here.
5879 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5881 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5882 (__libc_message): Never call vsyslog.
5884 2013-03-28 Alan Modra <amodra@gmail.com>
5886 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5888 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5891 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5894 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5898 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5901 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5902 Don't add gid passed as argument.
5904 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5906 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5909 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5910 imaginary part between 1.0 and 1.5 and real part less than 0.5
5912 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5913 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5914 * math/libm-test.inc (cacos_test): Add more tests.
5915 (casin_test): Likewise.
5916 (casinh_test): Likewise.
5917 * sysdeps/i386/fpu/libm-test-ulps: Update.
5918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5920 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5922 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5926 (__dbl_mp): Likewise.
5927 (add_magnitudes): Likewise.
5928 (sub_magnitudes): Likewise.
5936 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5938 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5939 (__dubcos): Likewise.
5940 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5941 (__ieee754_acos): Likewise.
5942 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5943 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5945 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5946 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5948 (my_log2): Likewise.
5949 (checkint): Likewise.
5950 * sysdeps/ieee754/dbl-64/e_remainder.c
5951 (__ieee754_remainder): Likewise.
5952 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5953 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5955 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5957 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5958 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5959 MANTISSA_STORE_T to store computations on mantissa. Use
5960 macros for rounding and division.
5962 (__dbl_mp): Likewise.
5963 (add_magnitudes): Likewise.
5964 (sub_magnitudes): Likewise.
5967 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5968 powers of two in terms of TWOPOW macro.
5969 (mp_no): Make type of mantissa as MANTISSA_T.
5970 [!RADIXI]: Define RADIXI.
5971 [!TWO52]: Define TWO52.
5972 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5974 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5976 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5977 llroundl symbol when building for PPC32.
5979 2013-03-24 Mark H Weaver <mhw@netris.org>
5981 * manual/arith.texi (Normalization Functions): Fix prototypes for
5982 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5984 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5987 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5988 high value to check if expl overflow.
5989 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5990 to check for underflow and overflow.
5991 * math/libm-test.inc: Add exp test.
5993 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5996 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5999 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6001 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6004 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6006 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6007 wrap blocks consisting of several statements.
6009 * sysdeps/generic/math-tests.h: New file.
6010 * sysdeps/i386/fpu/math-tests.h: Likewise.
6011 * math/test-snan.c: Include it.
6012 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6014 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6017 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6018 (__ieee754_j0l): Do not improve calculations using cos of twice
6019 input for inputs above LDBL_MAX / 2.0L.
6020 (__ieee754_y0l): Likewise.
6021 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6022 (__ieee754_j1l): Do not improve calculations using cos of twice
6023 input for inputs above LDBL_MAX / 2.0L.
6024 (__ieee754_y1l): Likewise.
6025 * math/libm-test.inc (j0_test): Add another test.
6026 (j1_test): Likewise.
6027 (y0_test): Likewise.
6028 (y1_test): Likewise.
6029 * sysdeps/i386/fpu/libm-test-ulps: Update.
6031 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6033 * Rules ($(objpfx)bench-%.c): Include code from a C source
6036 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6039 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6040 imaginary part 1.0 and real part less than 0.5 specially.
6041 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6042 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6043 * math/libm-test.inc (cacos_test): Add more tests.
6044 (casin_test): Likewise.
6045 (casinh_test): Likewise.
6046 * sysdeps/i386/fpu/libm-test-ulps: Update.
6047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6049 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6051 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6052 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6054 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6056 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6057 * config.make.in (config-cflags-sse4): Remove variable.
6058 (config-cflags-avx): Likewise.
6059 (config-cflags-sse2avx): Likewise.
6060 (config-cflags-novzeroupper): Likewise.
6061 (config-asflags-i686): Likewise.
6062 (have-mfma4): Likewise.
6063 (have-as-vis3): Likewise.
6065 * configure.in (MIG): Do not AC_SUBST.
6066 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6067 (libc_cv_cc_sse4): Do not AC_SUBST.
6068 (libc_cv_cc_avx): Likewise.
6069 (libc_cv_cc_sse2avx): Likewise.
6070 (libc_cv_cc_novzeroupper): Likewise.
6071 (libc_cv_cc_fma4): Likewise.
6072 (libc_cv_as_i686): Likewise.
6073 (libc_cv_sparc_as_vis3): Likewise.
6074 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6076 (config-asflags-i686): Likewise.
6077 (config-cflags-avx): Likewise.
6078 (config-cflags-sse2avx): Likewise.
6079 (have-mfma4): Likewise.
6080 (config-cflags-novzeroupper): Likewise.
6081 * sysdeps/mach/configure.in (MIG): Likewise.
6082 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6083 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6085 (config-cflags-avx): Likewise.
6086 (config-cflags-sse2avx): Likewise.
6087 (have-mfma4): Likewise.
6088 (config-cflags-novzeroupper): Likewise.
6089 * configure: Regenerated.
6090 * sysdeps/i386/configure: Likewise.
6091 * sysdeps/mach/configure: Likewise.
6092 * sysdeps/sparc/configure: Likewise.
6093 * sysdeps/x86_64/configure: Likewise.
6095 2013-03-20 Roland McGrath <roland@hack.frob.com>
6098 * locale/programs/localedef.c (options): Put N_ translation marker
6099 on argument names, not just descriptions.
6101 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6103 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6105 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6108 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6110 2013-03-19 Roland McGrath <roland@hack.frob.com>
6112 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6113 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6114 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6115 [!BEFORE_ABORT] (before_abort): New function.
6116 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6117 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6118 (writev_for_fatal): New function.
6119 (WRITEV_FOR_FATAL): New macro; call that.
6120 (backtrace_and_maps): New function.
6121 (BEFORE_ABORT): New macro; call that.
6122 (struct str_list): Type removed.
6123 (__libc_message, __libc_fatal): Functions removed.
6124 Include <sysdeps/posix/libc_fatal.c> instead.
6126 2013-03-19 Joseph Myers <joseph@codesourcery.com>
6128 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6130 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6133 2013-03-19 Andreas Schwab <schwab@suse.de>
6135 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6136 * sysdeps/gnu/configure: Regenerate.
6138 * configure.in: Substitute libc_cv_rtlddir.
6139 * configure: Regenerate.
6140 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6141 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6142 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6143 * elf/Makefile (install-others, CFLAGS-interp.c)
6144 (ldso_install, common-ldd-rewrite): Likewise.
6145 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6146 $(inst_slibdir)/$(rtld-installed-name).
6147 * scripts/rellns-sh: Add -p option.
6148 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6151 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6153 * manual/nptl.texi: Renamed to ...
6154 * manual/threads.texi: ... this.
6155 * manual/Makefile (chapters): Update.
6157 2013-03-18 Roland McGrath <roland@hack.frob.com>
6160 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6161 on argument names, not just descriptions.
6162 * malloc/memusagestat.c (options): Likewise.
6163 * nss/getent.c (options): Likewise.
6165 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
6168 * iconv/iconv_prog.c (options): Put N_ translation marker
6169 on argument names, not just descriptions.
6170 * iconv/iconvconfig.c (options): Likewise.
6172 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
6174 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6175 implementation which is faster on all x86_64 architectures.
6176 Tested on AMD, Intel Nehalem, SNB, IVB.
6177 * sysdeps/x86_64/strnlen.S: Likewise.
6179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6180 Remove all multiarch strlen and strnlen versions.
6181 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6182 Remove strlen and strnlen related parts.
6184 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6186 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6188 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6189 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6190 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6191 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6192 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6193 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6195 2013-03-17 Carlos O'Donell <carlos@redhat.com>
6197 * manual/memory.texi (Malloc Tunable Parameters):
6198 Sort parameters alphabetically. Add comments for missing entries.
6200 2013-03-17 David S. Miller <davem@davemloft.net>
6202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6204 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6207 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6208 for arguments at most half maximum finite value.
6209 * math/libm-test.inc (j0_test): Add more tests.
6210 (j1_test): Likewise.
6211 (y0_test): Likewise.
6212 (y1_test): Likewise.
6213 * sysdeps/i386/fpu/libm-test-ulps: Update.
6214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6217 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6218 1 / x and functions P and Q for arguments above 0x1p256L.
6219 (__ieee754_y0l): Likewise.
6220 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6221 (__ieee754_y1l): Likewise.
6222 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6223 (j1_test): Likewise.
6224 (y0_test): Likewise.
6225 (y1_test): Likewise.
6227 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6229 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6232 2013-03-15 Roland McGrath <roland@hack.frob.com>
6234 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6235 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6236 zero since it's initialized to EXEC_PAGESIZE.
6238 * sysdeps/unix/sysv/linux/ldsodefs.h
6239 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6240 * sysdeps/generic/ldsodefs.h: ... here.
6242 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6244 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6246 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6248 * math/test-snan.c: Renamed from
6249 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6250 * math/Makefile (tests): Add test-snan.
6251 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6254 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6255 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6257 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6258 __builtin_nan family of functions.
6259 * math/libm-test.inc (initialize): Initialize qnan_value with
6260 __builtin_nan family of functions.
6261 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6263 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6265 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6266 storage class. Initialize qNaN_var and sNaN_var with
6267 __builtin_nan and __builtin_nans families of functions,
6270 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6271 (sqrt_test): Remove duplicate test with qNaN input.
6272 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6273 (round_test, signbit_test, significand_test): Note missing +/-Inf
6274 as well as qNaN tests.
6276 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6277 qNaN_var. Fix a few strings, too.
6278 * math/libm-test.inc (nan_value): Rename to qnan_value.
6279 * math/gen-libm-test.pl (%beautify): Adjust to that.
6280 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6281 * math/test-misc.c (main): Likewise.
6282 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6283 to __qnan_bytes, and __qnan_union, respectively.
6284 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6286 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6287 and lqnanval, respectively.
6288 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6289 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6290 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6291 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6293 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6294 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6297 * math/test-misc.c (main): Fix copy'n'pastos.
6298 * misc/tst-efgcvt.c (special): Likewise.
6300 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6301 Remove declarations.
6303 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6305 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6306 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6307 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6308 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6310 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6312 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6313 macro to return vdso values correctly in IFUNC implementations.
6314 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6315 Optimization by using IFUNC.
6317 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6318 Richard Henderson <rth@redhat.com>
6319 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6321 * Makefile.in (bench): New target.
6322 * NEWS: Mention the benchmark framework.
6323 * Rules (bench): Likewise.
6324 (binaries-bench): Generate binaries for functions to
6326 * benchtests/Makefile: New makefile for benchmark tests.
6327 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6329 * benchtests/exp-inputs: New input file for EXP function.
6330 * benchtests/pow-inputs: New input file for POW function.
6331 * scripts/bench.pl: New script to generate source files for
6334 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6336 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6337 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6338 computations on mantissa. Use macros for rounding and
6341 (__dbl_mp): Likewise.
6342 (add_magnitudes): Likewise.
6343 (sub_magnitudes): Likewise.
6346 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6347 powers of two in terms of TWOPOW macro.
6348 (mp_no): Make type of mantissa as MANTISSA_T.
6349 [!RADIXI]: Define RADIXI.
6350 [!TWO52]: Define TWO52.
6351 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6353 * manual/nptl.texi (cindex): Modify threads to pthreads.
6355 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6357 * sysdeps/x86_64/preconfigure: Regenerated.
6359 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6362 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6364 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6365 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6367 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6368 * math/libm-test.inc (j0_test): Do not allow one spurious
6369 underflow exception.
6370 (y1_test): Likewise.
6372 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6374 * manual/Makefile (chapters): Add nptl.
6375 * manual/debug.texi (Debugging Support): Add link to Threads
6377 * manual/nptl.texi: New file.
6379 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6381 2013-03-14 Petr Baudis <pasky@ucw.cz>
6383 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6384 for non-NULL pointer before the memory validity test. Pointed
6385 out by Holger Brunck <holger.brunck@keymile.com>.
6387 2013-03-13 Andreas Schwab <schwab@suse.de>
6389 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6392 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6394 * timezone/zic.c: Update from tzcode 2013b.
6396 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6398 * manual/install.texi (Configuring and compiling):
6399 Mention i686 and i586.
6400 * INSTALL: Regenerate.
6402 2013-03-12 Roland McGrath <roland@hack.frob.com>
6404 * sysdeps/init_array/elf-init.c: New file.
6406 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6407 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6409 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6410 __gmon_start__ as global, but as static with a .preinit_array pointer.
6411 * sysdeps/init_array/gmon-start.c: New file. Use that.
6412 * sysdeps/init_array/crti.S: New file, empty except for comments.
6413 * sysdeps/init_array/crtn.S: Likewise.
6415 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6417 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6420 Remove Prefer_SSE_for_memop.
6421 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6422 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6423 HAS_PREFER_SSE_FOR_MEMOP.
6424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6426 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6427 Remove bzero, memset ifunc support.
6428 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6429 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6430 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6431 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6433 2013-03-11 Andreas Schwab <schwab@suse.de>
6436 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6439 (GLIBC_2.16): Remove pthread_atfork.
6441 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6443 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6444 (ptestcases.h): Likewise.
6446 2013-03-08 Roland McGrath <roland@hack.frob.com>
6448 * Makeconfig ($(common-objpfx)config.status): Depend on
6449 sysdeps/*/preconfigure{,.in} too.
6451 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6453 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6454 (__free_hook): Use void * instead of __malloc_ptr_t.
6455 (__malloc_hook): Likewise.
6456 (__realloc_hook): Likewise.
6457 (__memalign_hook): Likewise.
6458 (__after_morecore_hook): Likewise.
6459 * malloc/arena.c (save_malloc_hook): Likewise.
6460 (save_free_hook): Likewise.
6461 * malloc/hooks.c (malloc_hook_ini): Likewise.
6462 (realloc_hook_ini): Likewise.
6463 (memalign_hook_ini): Likewise.
6464 * malloc/malloc.c (malloc_hook_ini): Likewise.
6465 (realloc_hook_ini): Likewise.
6466 (memalign_hook_ini): Likewise.
6467 (__free_hook): Likewise.
6468 (__malloc_hook): Likewise.
6469 (__realloc_hook): Likewise.
6470 (__memalign_hook): Likewise.
6471 (__libc_malloc): Likewise.
6472 (__libc_free): Likewise.
6473 (__libc_realloc): Likewise.
6474 (__libc_memalign): Likewise.
6475 (__libc_valloc): Likewise.
6476 (__libc_pvalloc): Likewise.
6477 (__libc_calloc): Likewise.
6478 (__posix_memalign): Likewise.
6479 * malloc/morecore.c (__sbrk): Likewise.
6480 (__default_morecore): Likewise.
6482 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6484 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6485 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6488 * malloc/malloc.h (__malloc_size_t): Remove macro.
6489 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6491 (old_memalign_hook): Likewise.
6492 (old_realloc_hook): Likewise.
6493 (struct hdr): Likewise.
6495 (mallochook): Likewise.
6496 (memalignhook): Likewise.
6497 (reallochook): Likewise.
6498 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6499 (tr_old_realloc_hook): Likewise.
6500 (tr_old_memalign_hook): Likewise.
6501 (tr_mallochook): Likewise.
6502 (tr_reallochook): Likewise.
6503 (tr_memalignhook): Likewise.
6505 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6507 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6508 default_ldbl_pack and using as default implementation.
6509 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6511 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6512 redundant definition.
6513 (ldbl_insert_mantissa): Likewise.
6514 (ldbl_canonicalize): Likewise.
6515 (ldbl_nearbyint): Likewise.
6516 (ldbl_pack): Rename to ldbl_pack_ppc.
6517 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6518 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6519 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6521 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6524 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6525 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6526 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6527 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6528 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6529 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6530 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6532 2013-03-07 Andreas Jaeger <aj@suse.de>
6534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6537 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6539 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6540 Include mpa.h and declare __MPEXP.
6541 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6542 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6543 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6544 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6545 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6546 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6547 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6549 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6550 (__slowpow): Use long double EXPL and LOGL functions to
6552 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6553 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6554 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6555 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6556 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6557 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6560 intermediate variable to calculate exponent.
6562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6566 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6567 [!NO__SQR]: Define __sqr.
6568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6569 and NO__SQR. Remove all code except __mul and __sqr. Include
6570 sysdeps/ieee754/dbl-64/mpa.c.
6571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6574 * posix/Makefile (tests): Add tst-pathconf.
6575 * posix/tst-pathconf.c: New test case.
6576 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6578 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6580 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6582 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6584 2013-03-06 Andreas Jaeger <aj@suse.de>
6586 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6587 definition via __MAP_ANONYMOUS.
6589 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6590 it's not part of Linux headers.
6592 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6593 (MAP_HUGE_MASK): Define.
6595 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6597 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6598 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6600 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6601 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6603 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6604 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6606 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6608 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6609 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6610 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6611 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6612 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6613 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6615 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6618 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6619 Handle f2fs and efivarfs.
6621 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6624 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6625 (EFIVARFS_MAGIC): Add.
6626 (F2FS_LINK_MAX): Add.
6628 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6630 * stdio-common/vfprintf.c: Replace __builtin_expect with
6633 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6636 * sysdeps/generic/bp-sym.h: Remove file.
6637 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6638 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6639 <bp-sym.h> and <bp-asm.h>.
6640 (__longjmp): Don't use BP_SYM.
6641 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6643 (memcpy): Don't use BP_SYM.
6644 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6645 <bp-sym.h> and <bp-asm.h>.
6646 (memcpy): Don't use BP_SYM.
6647 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6649 (memcpy): Don't use BP_SYM.
6650 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6652 (memset): Don't use BP_SYM.
6653 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6654 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6655 (__bzero): Don't use BP_SYM.
6656 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6657 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6658 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6659 <bp-sym.h> and <bp-asm.h>.
6660 (memcmp): Don't use BP_SYM. Remove comment about bounded
6662 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6663 <bp-sym.h> and <bp-asm.h>.
6664 (memcpy): Don't use BP_SYM.
6665 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6666 <bp-sym.h> and <bp-asm.h>.
6667 (memset): Don't use BP_SYM.
6668 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6669 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6670 (__bzero): Don't use BP_SYM.
6671 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6672 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6673 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6674 <bp-sym.h> and <bp-asm.h>.
6675 (strncmp): Don't use BP_SYM. Remove comment about bounded
6677 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6678 <bp-sym.h> and <bp-asm.h>.
6679 (memcpy): Don't use BP_SYM.
6680 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6681 <bp-sym.h> and <bp-asm.h>.
6682 (memset): Don't use BP_SYM.
6683 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6684 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6685 (__bzero): Don't use BP_SYM.
6686 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6687 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6688 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6689 <bp-sym.h> and <bp-asm.h>.
6690 (__memchr): Don't use BP_SYM.
6691 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6692 <bp-sym.h> and <bp-asm.h>.
6693 (memcmp): Don't use BP_SYM. Remove comment about bounded
6695 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6696 <bp-sym.h> and <bp-asm.h>.
6697 (memcpy): Don't use BP_SYM.
6698 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6699 <bp-sym.h> and <bp-asm.h>.
6700 (__mempcpy): Don't use BP_SYM.
6701 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6702 <bp-sym.h> and <bp-asm.h>.
6703 (__memrchr): Don't use BP_SYM.
6704 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6705 <bp-sym.h> and <bp-asm.h>.
6706 (memset): Don't use BP_SYM.
6707 (__bzero): Likewise.
6708 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6709 <bp-sym.h> and <bp-asm.h>.
6710 (__rawmemchr): Don't use BP_SYM.
6711 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6712 <bp-sym.h> and <bp-asm.h>.
6713 (__STRCMP): Don't use BP_SYM.
6714 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6715 <bp-sym.h> and <bp-asm.h>.
6716 (strchr): Don't use BP_SYM.
6717 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6718 <bp-sym.h> and <bp-asm.h>.
6719 (__strchrnul): Don't use BP_SYM.
6720 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6721 <bp-sym.h> and <bp-asm.h>.
6722 (strlen): Don't use BP_SYM.
6723 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6724 <bp-sym.h> and <bp-asm.h>.
6725 (strncmp): Don't use BP_SYM. Remove comment about bounded
6727 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6728 <bp-sym.h> and <bp-asm.h>.
6729 (__strnlen): Don't use BP_SYM.
6730 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6731 <bp-sym.h> and <bp-asm.h>.
6732 (__GI__setjmp): Don't use BP_SYM.
6733 (_setjmp): Likewise.
6734 (__sigsetjmp): Likewise.
6735 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6736 (L(start_addresses)): Don't use BP_SYM.
6738 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6740 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6741 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6742 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6743 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6744 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6746 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6747 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6748 about bounded pointers.
6749 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6750 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6751 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6753 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6754 about bounded pointers. Remove GKM FIXME comments.
6755 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6756 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6758 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6759 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6760 Remove GKM FIXME comments.
6761 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6762 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6763 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6765 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6766 about bounded pointers. Remove GKM FIXME comment.
6767 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6769 (strncmp): Don't use BP_SYM. Remove comment about bounded
6771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6772 <bp-sym.h> and <bp-asm.h>.
6773 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6775 <bp-sym.h> and <bp-asm.h>.
6776 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6779 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6781 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6784 2013-03-05 David S. Miller <davem@davemloft.net>
6786 * po/es.po: Update from translation team.
6788 2013-03-05 Andreas Jaeger <aj@suse.de>
6790 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6791 <bits/mman-linux.h>.
6792 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6794 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6795 <bits/mman-linux.h> to end of file.
6796 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6798 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6799 <bits/mman-linux.h> to end of file.
6800 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6802 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6803 <bits/mman-linux.h> to end of file.
6805 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6806 (MCL_CURRENT, MCL_FUTURE): Define here.
6808 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6811 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6813 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6815 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6817 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6818 fourth parameter needed for rt_sigprocmask syscall.
6819 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6820 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6821 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6822 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6823 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6824 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6826 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6829 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6830 comment about bounded pointers.
6831 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6832 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6834 2013-03-04 Andreas Jaeger <aj@suse.de>
6836 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6839 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6840 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6841 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6842 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6843 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6844 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6846 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6849 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6850 __ieee754_sqrl instead of __sqrl.
6852 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6854 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6855 * sysdeps/powerpc/fpu_control.h: ... here.
6856 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6857 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6858 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6859 * sysdeps/powerpc/bits/mathinline.h: ... here.
6861 2013-03-01 Roland McGrath <roland@hack.frob.com>
6863 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6864 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6865 to just [NEED_DL_SYSINFO_DSO].
6866 * elf/dl-support.c: Likewise.
6867 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6868 * elf/rtld.c (dl_main): Likewise.
6869 * elf/setup-vdso.h (setup_vdso): Likewise.
6870 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6871 * sysdeps/unix/sysv/linux/dl-sysdep.c
6872 (_dl_discover_osversion): Likewise.
6874 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6876 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6877 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6879 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6881 * NEWS: Mention libm performance improvements and non-x86 PI
6884 * csu/libc-start.c (__pthread_initialize_minimal): Change
6886 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6888 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6891 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6892 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6893 <bp-sym.h> and <bp-asm.h>.
6894 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6895 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6897 (memcpy): Don't use BP_SYM.
6898 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6900 (__mpn_add_n): Don't use BP_SYM.
6901 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6902 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6904 (__mpn_addmul_1): Don't use BP_SYM.
6905 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6906 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6908 (_setjmp): Don't use BP_SYM.
6909 (__novmx_setjmp): Likewise.
6910 (__GI__setjmp): Likewise.
6911 (__vmx_setjmp): Likewise.
6912 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6914 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6915 (__bzero): Don't use BP_SYM.
6916 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6917 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6918 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6919 <bp-sym.h> and <bp-asm.h>.
6920 (memcpy): Don't use BP_SYM.
6921 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6922 <bp-sym.h> and <bp-asm.h>.
6923 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6924 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6925 <bp-sym.h> and <bp-asm.h>.
6926 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6927 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6929 (__mpn_lshift): Don't use BP_SYM.
6930 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6931 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6933 (memset): Don't use BP_SYM.
6934 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6935 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6936 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6938 (__mpn_mul_1): Don't use BP_SYM.
6939 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6940 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6941 <bp-sym.h> and <bp-asm.h>.
6942 (memcmp): Don't use BP_SYM.
6943 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6944 <bp-sym.h> and <bp-asm.h>.
6945 (memcpy): Don't use BP_SYM.
6946 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6947 <bp-sym.h> and <bp-asm.h>.
6948 (memset): Don't use BP_SYM.
6949 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6950 <bp-sym.h> and <bp-asm.h>.
6951 (strncmp): Don't use BP_SYM.
6952 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6953 <bp-sym.h> and <bp-asm.h>.
6954 (memcpy): Don't use BP_SYM.
6955 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6956 <bp-sym.h> and <bp-asm.h>.
6957 (memset): Don't use BP_SYM.
6958 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6959 <bp-sym.h> and <bp-asm.h>.
6960 (__memchr): Don't use BP_SYM.
6961 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6962 <bp-sym.h> and <bp-asm.h>.
6963 (memcmp): Don't use BP_SYM.
6964 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6965 <bp-sym.h> and <bp-asm.h>.
6966 (memcpy): Don't use BP_SYM.
6967 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6968 <bp-sym.h> and <bp-asm.h>.
6969 (__mempcpy): Don't use BP_SYM.
6970 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6971 <bp-sym.h> and <bp-asm.h>.
6972 (__memrchr): Don't use BP_SYM.
6973 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6974 <bp-sym.h> and <bp-asm.h>.
6975 (memset): Don't use BP_SYM.
6976 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6977 <bp-sym.h> and <bp-asm.h>.
6978 (__rawmemchr): Don't use BP_SYM.
6979 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6980 <bp-sym.h> and <bp-asm.h>.
6981 (__STRCMP): Don't use BP_SYM.
6982 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6983 <bp-sym.h> and <bp-asm.h>.
6984 (strchr): Don't use BP_SYM.
6985 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6986 <bp-sym.h> and <bp-asm.h>.
6987 (__strchrnul): Don't use BP_SYM.
6988 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6989 <bp-sym.h> and <bp-asm.h>.
6990 (strlen): Don't use BP_SYM.
6991 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6992 <bp-sym.h> and <bp-asm.h>.
6993 (strncmp): Don't use BP_SYM.
6994 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6995 <bp-sym.h> and <bp-asm.h>.
6996 (__strnlen): Don't use BP_SYM.
6997 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6999 (__mpn_rshift): Don't use BP_SYM.
7000 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7001 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7002 <bp-sym.h> and <bp-asm.h>.
7003 (__sigsetjmp): Don't use BP_SYM.
7004 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7005 (L(start_addresses)): Don't use BP_SYM.
7007 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7009 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7010 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7011 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7012 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7014 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7015 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7016 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7017 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7019 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7021 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7022 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7024 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7026 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7027 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7028 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7030 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7032 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7034 (strncmp): Don't use BP_SYM,
7035 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7037 (__mpn_sub_n): Don't use BP_SYM.
7038 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7039 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7041 (__mpn_submul_1): Don't use BP_SYM.
7042 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7044 <bp-sym.h> and <bp-asm.h>.
7045 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7047 <bp-sym.h> and <bp-asm.h>.
7048 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7051 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7054 Use ZK to minimize writes to Z.
7055 (sub_magnitudes): Simplify code a bit.
7056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7057 Use ZK to minimize writes to Z.
7058 (sub_magnitudes): Simplify code a bit.
7060 2013-02-27 Roland McGrath <roland@hack.frob.com>
7062 * csu/gmon-start.c: Add special exception to license text.
7064 2013-02-27 Richard Henderson <rth@redhat.com>
7066 * scripts/config.guess: Update from config.git.
7067 * scripts/config.sub: Likewise.
7069 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7071 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7073 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7075 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7077 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7079 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7081 2013-02-26 Roland McGrath <roland@hack.frob.com>
7083 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7084 [$(build-shared = yes].
7086 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7088 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7089 (__mul): Reduce iterations for calculating mantissa.
7091 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7093 (__mpranred): Likewise.
7096 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7097 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7099 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7101 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7102 Define __attribute__.
7104 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7106 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7108 * posix/regex_internal.h (__attribute): Remove.
7109 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7110 (re_string_context_at): Likewise.
7111 (bitset_not): Use __attribute__ and mark function as possibly
7113 (bitset_merge): Likewise.
7114 (bitset_mask): Likewise.
7115 (re_string_char_size_at): Likewise.
7116 (re_string_wchar_at): Likewise.
7117 (re_string_elem_size_at): Likewise.
7119 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7121 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7125 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7130 (__dbl_mp): Likewise.
7131 (add_magnitudes): Likewise.
7132 (sub_magnitudes): Likewise.
7136 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7139 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7142 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7146 up changes with default code.
7147 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7150 2013-02-24 Allan McRae <allan@archlinux.org>
7152 * manual/socket.texi (The Internet Namespace): Order menu items
7153 to match that in the file.
7155 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7156 node listing of the info page menu.
7158 2013-02-21 Joseph Myers <joseph@codesourcery.com>
7161 * sysdeps/i386/bp-asm.h: Remove file.
7162 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7163 (PARMS): Do not use macros from bp-asm.h.
7167 (__mpn_add_n): Do not use BP_SYM
7168 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7170 (PARMS): Do not use macros from bp-asm.h.
7173 (__mpn_addmul_1): Do not use BP_SYM
7174 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7176 (PARMS): Do not use macros from bp-asm.h.
7178 (_setjmp): Likewise. Do not use BP_SYM.
7179 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7181 (PARMS): Do not use macros from bp-asm.h.
7183 (setjmp): Likewise. Do not use BP_SYM.
7184 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7186 (PARMS): Do not use macros from bp-asm.h.
7187 (__frexp): Do not use BP_SYM.
7189 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7191 (PARMS): Do not use macros from bp-asm.h.
7192 (__frexpf): Do not use BP_SYM.
7194 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7196 (PARMS): Do not use macros from bp-asm.h.
7197 (__frexpl): Do not use BP_SYM.
7199 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7201 (PARMS): Do not use macros from bp-asm.h.
7202 (__remquo): Do not use BP_SYM.
7204 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7206 (PARMS): Do not use macros from bp-asm.h.
7207 (__remquof): Do not use BP_SYM.
7208 (remquof): Likewise.
7209 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7211 (PARMS): Do not use macros from bp-asm.h.
7212 (__remquol): Do not use BP_SYM.
7213 (remquol): Likewise.
7214 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7216 (PARMS): Do not use macros from bp-asm.h.
7219 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7220 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7222 (PARMS): Do not use macros from bp-asm.h.
7223 (strlen): Do not use BP_SYM.
7224 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7226 (PARMS): Do not use macros from bp-asm.h.
7230 (__mpn_add_n): Do not use BP_SYM.
7231 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7233 (PARMS): Do not use macros from bp-asm.h.
7236 (__mpn_addmul_1): Do not use BP_SYM.
7237 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7240 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7242 (PARMS): Do not use macros from bp-asm.h.
7245 (__mpn_lshift): Do not use BP_SYM.
7246 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7248 (PARMS): Do not use macros from bp-asm.h.
7252 (memcpy): Likewise. Do not use BP_SYM.
7253 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7254 libc_hidden_def and weak_alias.
7255 (mempcpy): Do not use BP_SYM in weak_alias.
7256 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7258 (PARMS): Do not use macros from bp-asm.h.
7261 [!BZERO_P] (CHR): Likewise.
7262 (memset): Likewise. Do not use BP_SYM.
7263 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7265 (PARMS): Do not use macros from bp-asm.h.
7268 (__mpn_mul_1): Do not use BP_SYM.
7269 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7271 (PARMS): Do not use macros from bp-asm.h.
7274 (__mpn_rshift): Do not use BP_SYM.
7275 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7277 (PARMS): Do not use macros from bp-asm.h.
7280 (strchr): Likewise. Do not use BP_SYM.
7281 (index): Do not use BP_SYM in weak_alias.
7282 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7284 (PARMS): Do not use macros from bp-asm.h.
7287 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7288 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7290 (PARMS): Do not use macros from bp-asm.h.
7291 (strlen): Do not use BP_SYM.
7292 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7294 (PARMS): Do not use macros from bp-asm.h.
7298 (__mpn_sub_n): Do not use BP_SYM.
7299 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7301 (PARMS): Do not use macros from bp-asm.h.
7304 (__mpn_submul_1): Do not use BP_SYM.
7305 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7307 (PARMS): Do not use macros from bp-asm.h.
7311 (__mpn_add_n): Do not use BP_SYM.
7312 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7315 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7317 (PARMS): Do not use macros from bp-asm.h.
7320 (memcmp): Do not use BP_SYM.
7321 (bcmp): Do not use BP_SYM in weak_alias.
7322 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7324 (PARMS): Do not use macros from bp-asm.h.
7328 (memcpy): Likewise. Do not use BP_SYM.
7329 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7331 (PARMS): Do not use macros from bp-asm.h.
7335 (memmove): Likewise. Do not use BP_SYM.
7336 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7338 (PARMS): Do not use macros from bp-asm.h.
7342 (__mempcpy): Likewise. Do not use BP_SYM.
7343 (mempcpy): Do not use BP_SYM in weak_alias.
7344 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7346 (PARMS): Do not use macros from bp-asm.h.
7349 [!BZERO_P] (CHR): Likewise.
7350 (memset): Likewise. Do not use BP_SYM.
7351 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7353 (PARMS): Do not use macros from bp-asm.h.
7355 (strcmp): Do not use BP_SYM.
7356 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7358 (PARMS): Do not use macros from bp-asm.h.
7361 [USE_AS_STRTOK_R] (SAVE): Likewise.
7362 (FUNCTION): Likewise. Do not use BP_SYM.
7363 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7365 (strtok_r): Likewise.
7366 (__GI___strtok_r): Likewise.
7367 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7368 (PARMS): Do not use macros from bp-asm.h.
7371 (__mpn_lshift): Do not use BP_SYM.
7372 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7373 (PARMS): Do not use macros from bp-asm.h.
7376 (__memchr): Do not use BP_SYM.
7377 (memchr): Do not use BP_SYM in weak_alias.
7378 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7379 (PARMS): Do not use macros from bp-asm.h.
7382 (memcmp): Do not use BP_SYM.
7383 (bcmp): Do not use BP_SYM in weak_alias.
7384 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7385 (PARMS): Do not use macros from bp-asm.h.
7388 (__mpn_mul_1): Do not use BP_SYM.
7389 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7391 (PARMS): Do not use macros from bp-asm.h.
7394 (__rawmemchr): Do not use BP_SYM.
7395 (rawmemchr): Do not use BP_SYM in weak_alias.
7396 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7397 (PARMS): Do not use macros from bp-asm.h.
7400 (__mpn_rshift): Do not use BP_SYM.
7401 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7402 (PARMS): Do not use macros from bp-asm.h.
7404 (__sigsetjmp): Likewise. Do not use BP_SYM.
7405 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7406 (_start): Do not use BP_SYM.
7407 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7408 (PARMS): Do not use macros from bp-asm.h.
7411 (__stpcpy): Likewise. Do not use BP_SYM.
7412 (stpcpy): Do not use BP_SYM in weak_alias.
7413 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7415 (PARMS): Do not use macros from bp-asm.h.
7419 (__stpncpy): Likewise. Do not use BP_SYM.
7420 (stpncpy): Do not use BP_SYM in weak_alias.
7421 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7422 (PARMS): Do not use macros from bp-asm.h.
7425 (strchr): Likewise. Do not use BP_SYM.
7426 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7428 (PARMS): Do not use macros from bp-asm.h.
7431 (__strchrnul): Likewise. Do not use BP_SYM.
7432 (strchrnul): Do not use BP_SYM in weak_alias.
7433 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7435 (PARMS): Do not use macros from bp-asm.h.
7437 (strcspn): Do not use BP_SYM.
7438 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7440 (PARMS): Do not use macros from bp-asm.h.
7443 (strpbrk): Likewise. Do not use BP_SYM.
7444 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7446 (PARMS): Do not use macros from bp-asm.h.
7449 (strrchr): Likewise. Do not use BP_SYM.
7450 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7451 (PARMS): Do not use macros from bp-asm.h.
7453 (strspn): Do not use BP_SYM.
7454 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7455 (PARMS): Do not use macros from bp-asm.h.
7459 (FUNCTION): Likewise. Do not use BP_SYM.
7460 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7462 (strtok_r): Likewise.
7463 (__GI___strtok_r): Likewise.
7464 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7465 (PARMS): Do not use macros from bp-asm.h.
7469 (__mpn_sub_n): Do not use BP_SYM.
7470 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7472 (PARMS): Do not use macros from bp-asm.h.
7475 (__mpn_submul_1): Do not use BP_SYM.
7476 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7478 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7480 (PARMS): Do not use macros from bp-asm.h.
7485 (__clone): Do not use BP_SYM.
7486 (clone): Do not use BP_SYM in weak_alias.
7487 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7489 (PARMS): Do not use macros from bp-asm.h.
7491 (__mmap64): Do not use BP_SYM.
7492 (mmap64): Do not use BP_SYM in weak_alias.
7493 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7494 <bp-sym.h> and <bp-asm.h>.
7495 (PARMS): Do not use macros from bp-asm.h.
7496 (__posix_fadvise64_l64): Do not use BP_SYM.
7497 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7498 (PARMS): Do not use macros from bp-asm.h.
7500 (semtimedop): Do not use BP_SYM.
7501 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7504 2013-02-21 Allan McRae <allan@archlinux.org>
7506 * manual/message.texi (Charset conversion in gettext):
7507 Move @end statement to beginning of line.
7509 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7516 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7521 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7523 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7524 tail-call to the resolved function if pltexit isn't needed.
7526 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7529 or Y being zero as being unlikely.
7530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7533 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7535 * manual/nss.texi (System Databases and Name Service Switch):
7536 Remove frobnicate @pxref.
7538 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7540 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7541 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7543 2013-02-20 Petr Machata <pmachata@redhat.com>
7545 * elf/elf.h (R_ARM_TARGET1): New macro.
7546 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7547 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7548 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7549 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7550 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7551 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7552 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7553 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7554 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7555 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7556 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7557 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7558 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7559 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7560 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7561 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7562 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7563 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7564 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7565 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7566 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7567 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7568 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7569 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7570 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7571 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7572 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7573 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7574 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7575 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7576 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7577 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7578 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7579 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7580 (R_ARM_THM_GOT_BREL12): Likewise.
7581 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7582 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7583 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7584 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7585 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7586 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7587 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7588 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7589 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7591 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7593 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7594 __attribute_used__ to __attribute__ ((unused)).
7596 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7598 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7604 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7607 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7609 (ENTER): Remove both macro definitions.
7611 (CHECK_BOUNDS_LOW): Likewise.
7612 (CHECK_BOUNDS_HIGH): Likewise.
7613 (CHECK_BOUNDS_BOTH): Likewise.
7614 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7615 (RETURN_BOUNDED_POINTER): Likewise.
7616 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7617 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7618 (POP_ERRNO_LOCATION_RETURN): Likewise.
7619 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7620 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7621 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7623 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7624 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7625 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7626 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7627 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7628 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7629 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7630 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7631 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7632 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7633 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7634 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7635 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7636 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7638 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7639 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7641 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7642 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7643 * sysdeps/i386/i586/memset.S (memset): Likewise.
7644 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7645 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7646 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7648 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7649 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7650 Change uses of L(2) to L(out).
7651 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7652 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7653 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7654 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7655 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7657 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7658 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7660 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7661 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7662 (RETURN): Do not use macro LEAVE.
7663 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7664 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7665 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7666 * sysdeps/i386/i686/memset.S (memset): Likewise.
7667 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7668 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7669 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7670 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7672 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7673 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7674 L(1_2) and L(1_3) into L(1).
7675 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7676 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7677 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7678 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7679 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7680 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7681 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7682 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7683 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7685 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7686 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7687 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7688 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7689 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7690 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7691 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7692 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7693 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7694 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7695 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7696 * sysdeps/i386/strspn.S (strspn): Likewise.
7697 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7699 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7700 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7701 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7702 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7704 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7705 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7706 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7708 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7710 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7712 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7715 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7717 * math/atest-exp.c (exp_mpn): Remove ROUND.
7718 * math/atest-exp2.c (exp_mpn): Likewise.
7719 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7721 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7722 * stdlib/tst-tls-atexit-lib.c: Likewise.
7723 * stdlib/tst-tls-atexit.c: Likewise.
7725 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7727 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7728 and __attribute_alloc_size__.
7730 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7732 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7733 __attribute_alloc_size__.
7734 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7735 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7737 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7739 * include/programs/xmalloc.h: New file.
7740 * catgets/gencat.c: Include it.
7741 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7742 * elf/pldd.c: Likewise.
7743 * iconv/iconv_charmap.c: Likewise.
7744 * iconv/iconvconfig.c: Likewise.
7745 * iconv/strtab.c: Likewise.
7746 * locale/programs/locale.c: Likewise.
7747 * locale/programs/localedef.h: Likewise.
7748 * locale/programs/simple-hash.c: Likewise.
7749 * nscd/nscd.h: Likewise.
7750 * nss/makedb.c: Likewise.
7751 * sysdeps/generic/ldconfig.h: Likewise.
7753 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7755 * Versions.def: Add GLIBC_2.18.
7756 * include/link.h (struct link_map): New member l_tls_dtor_count.
7757 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7758 (__call_tls_dtors): Likewise.
7759 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7760 __cxa_thread_atexit_impl.
7761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7769 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7777 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7778 (tests): Add test case tst-tls-atexit.
7779 (modules-names): Add shared library for tst-tls-atexit.
7780 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7781 (GLIBC_PRIVATE): Add __call_tls_dtors.
7782 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7784 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7785 * stdlib/tst-tls-atexit.c: New test case.
7786 * stdlib/tst-tls-atexit-lib.c: New test case.
7788 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7790 * elf/Versions (ld): Add _dl_find_dso_for_object.
7791 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7792 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7793 (dl_open_worker): Use _dl_find_dso_for_object.
7794 * elf/dl-sym.c (do_sym): Likewise.
7795 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7797 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7799 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7800 Syntactic changes only.
7801 (_dl_runtime_profile): Do a tail-call to the resolved function.
7803 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7806 * sysdeps/x86_64/bp-asm.h: Remove file.
7807 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7808 <bp-sym.h> and <bp-asm.h>.
7809 (__clone): Do not use BP_SYM.
7810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7811 <bp-sym.h> and <bp-asm.h>.
7812 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7813 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7815 (_setjmp): Do not use BP_SYM.
7816 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7818 (setjmp): Do not use BP_SYM.
7819 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7821 (mempcpy): Do not use BP_SYM in weak_alias.
7822 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7824 (strchr): Do not use BP_SYM.
7825 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7827 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7828 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7829 (_start): Do not use BP_SYM.
7830 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7832 (strcat): Do not use BP_SYM.
7833 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7835 (STRCMP): Do not use BP_SYM.
7836 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7838 (STRCPY): Do not use BP_SYM.
7839 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7841 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7843 (FUNCTION): Do not use BP_SYM.
7844 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7846 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7848 2013-02-17 Andreas Jaeger <aj@suse.de>
7850 * time/Versions: Sort entries.
7851 * string/Versions: Likewise.
7852 * resolv/Versions: Likewise.
7853 * posix/Versions: Likewise.
7854 * iconv/Versions: Likewise.
7855 * elf/Versions: Likewise.
7856 * wcsmbs/Versions: Likewise.
7858 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7860 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7861 loop termination condition.
7863 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7864 variable to calculate EZ.
7867 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7868 the lower precision input.
7870 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7873 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7874 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7875 (run-via-rtld-prefix): Do not handle %-bp tests.
7876 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7877 (all-object-suffixes): Remove .ob.
7878 (bppfx): Remove variable.
7879 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7880 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7881 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7882 [$(build-bounded) = yes] (libtype.ob): Likewise.
7883 * Makerules (elide-routines.ob): Remove variable.
7884 (do-tests-clean): Do not handle *-bp.out.
7885 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7886 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7887 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7888 (tests): Do not include $(tests-bp.out).
7889 (xtests): Do not include $(xtests-bp.out).
7890 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7891 [$(build-bounded) = yes] ($(addprefix
7892 $(objpfx),$(binaries-bounded))): Remove rule.
7893 ($(objpfx)%-bp.out): Remove rule.
7894 * config.make.in (build-bounded): Remove variable.
7895 * crypt/Makefile [$(build-bounded) = yes]
7896 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7897 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7899 [$(build-bounded) = yes] (install-lib): Likewise.
7900 [$(build-bounded) = yes] (generated): Likewise.
7901 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7903 * intl/Makefile [$(build-bounded) = yes]
7904 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7905 * math/Makefile [$(build-bounded) = yes]
7906 ($(tests:%=$(objpfx)%-bp): Likewise.
7907 * misc/Makefile [$(build-bounded) = yes]
7908 ($(objpfx)tst-tsearch-bp): Likewise.
7909 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7910 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7912 * string/Makefile (o-objects.ob): Remove variable.
7913 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7914 (CFLAGS-.ob): Remove variable.
7915 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7916 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7917 both definitions of variable.
7918 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7919 (ASFLAGS-.ob): Remove variable.
7921 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7924 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7925 Remove __BOUNDED_POINTERS__ from condition.
7926 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7927 * string/bits/string2.h [!__NO_STRING_INLINES &&
7928 !__BOUNDED_POINTERS__]: Likewise.
7929 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7931 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7932 Remove conditional code.
7933 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7934 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7935 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7939 * csu/libc-start.c: Do not include <bp-sym.h>.
7940 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7941 * elf/dl-open.c: Do not include <bp-sym.h>.
7942 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7943 * math/fegetenv.c: Do not include <bp-sym.h>.
7944 (fegetenv): Do not use BP_SYM in versioned symbols.
7945 * nptl/sysdeps/pthread/bits/libc-lockP.h
7946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7949 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7951 (__pthread_mutex_destroy): Likewise.
7952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7953 (__pthread_mutex_lock): Likewise.
7954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7955 (__pthread_mutex_trylock): Likewise.
7956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7957 (__pthread_mutex_unlock): Likewise.
7958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7959 (__pthread_mutexattr_init): Likewise.
7960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7961 (__pthread_mutexattr_destroy): Likewise.
7962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7963 (__pthread_mutexattr_settype): Likewise.
7964 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7965 (__pthread_rwlock_init): Likewise.
7966 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7967 (__pthread_rwlock_destroy): Likewise.
7968 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7969 (__pthread_rwlock_rdlock): Likewise.
7970 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7971 (__pthread_rwlock_tryrdlock): Likewise.
7972 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7973 (__pthread_rwlock_wrlock): Likewise.
7974 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7975 (__pthread_rwlock_trywrlock): Likewise.
7976 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7977 (__pthread_rwlock_unlock): Likewise.
7978 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7979 (__pthread_key_create): Likewise.
7980 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7981 (__pthread_setspecific): Likewise.
7982 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7983 (__pthread_getspecific): Likewise.
7984 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7986 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7987 (_pthread_cleanup_push_defer): Likewise.
7988 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7989 (_pthread_cleanup_pop_restore): Likewise.
7990 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7991 (pthread_setcancelstate): Likewise.
7992 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7994 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7995 (memchr): Do not use BP_SYM in weak_alias.
7996 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7997 (fegetenv): Do not use BP_SYM in versioned symbols.
7998 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7999 (fesetenv): Do not use BP_SYM in versioned symbols.
8000 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8001 (feupdateenv): Do not use BP_SYM in versioned symbols.
8002 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8003 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8004 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8005 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8006 (open64): Do not use BP_SYM in weak_alias.
8007 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8008 (fegetenv): Do not use BP_SYM in versioned symbols.
8009 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8010 (fesetenv): Do not use BP_SYM in versioned symbols.
8011 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8012 (feupdateenv): Do not use BP_SYM in versioned symbols.
8013 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8014 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8015 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8016 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8017 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8018 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8019 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8021 (__libc_start_main): Do not use BP_SYM.
8023 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8026 redundant return line.
8030 (sub_magnitudes): Likewise.
8036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8040 (sub_magnitudes): Likewise.
8047 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8049 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8050 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8053 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8054 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8056 of __mul for squares.
8057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8061 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8062 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8064 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8067 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8069 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8070 prototype or function definition. Rename ubp_* variables and
8071 parameters. Remove argv definitions conditional on
8072 [__BOUNDED_POINTERS__].
8073 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8074 * elf/dl-runtime.c (_dl_fixup): Likewise.
8075 * include/set-hooks.h (RUN_HOOK): Likewise.
8076 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8078 * string/strcpy.c (strcpy): Do not use __unbounded.
8079 * sysdeps/generic/frame.h (struct layout): Likewise.
8080 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8081 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8082 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8083 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8084 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8085 (__backtrace): Likewise.
8086 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8088 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8089 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8090 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8092 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8093 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8094 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8095 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8096 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8097 Do not use __unbounded.
8098 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8099 Rename __unboundedrlimits parameter to rlimits in prototype.
8100 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8101 Do not use __unbounded.
8102 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8104 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8105 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8106 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8107 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8108 __ptrvalue or __unbounded.
8109 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8110 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8112 (__new_msgctl): Do not use __ptrvalue.
8113 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8115 (__libc_msgrcv): Do not use __ptrvalue.
8116 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8117 startup_info): Do not use __unbounded.
8118 (__libc_start_main): Likewise. Rename ubp_* variables and
8119 parameters. Remove argv definitions conditional on
8120 [__BOUNDED_POINTERS__].
8121 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8123 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8125 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8127 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8129 (__new_shmctl): Do not use __ptrvalue.
8130 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8131 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8133 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8134 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8135 (__libc_sigaction): Likewise.
8136 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8137 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8139 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8141 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
8143 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8145 * string/mempcpy.c: Implement by calling memcpy.
8147 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8154 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8155 values in the mantissa.
8157 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8158 minimize writes to Z.
8159 (sub_magnitudes): Simplify code a bit.
8161 2013-02-12 Roland McGrath <roland@hack.frob.com>
8163 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8164 from the message. The linker prefixes all warnings with that already.
8166 2013-02-12 Andreas Schwab <schwab@suse.de>
8169 * posix/regexec.c (extend_buffers): Add parameter min_len.
8170 (check_matching): Pass minimum needed length.
8171 (clean_state_log_if_needed): Likewise.
8172 (get_subexp): Likewise.
8173 * posix/Makefile (tests): Add bug-regex34.
8174 (bug-regex34-ENV): Define.
8175 * posix/bug-regex34.c: New file.
8178 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8179 elements compare against the byte sequence of it, not its name.
8180 * posix/Makefile (tests): Add bug-regex35.
8181 (bug-regex35-ENV): Define.
8182 * posix/bug-regex35.c: New file.
8184 2013-02-11 Tom de Vries <tom@codesourcery.com>
8186 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8188 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8189 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8190 (CHECK_EOL): Add undef.
8192 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
8194 * bits/stdlib-bsearch.h: New file.
8195 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8196 * stdlib/stdlib.h: Likewise.
8198 2013-02-11 Roland McGrath <roland@hack.frob.com>
8200 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8201 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8203 * manual/search.texi (Array Search Function): Add missing const in
8205 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8206 declaration to use rlim_t.
8207 (Basic Scheduling Functions): Remove erroneous const from
8208 sched_getparam prototype. Remove erroneous * from
8209 sched_get_priority_max and sched_get_priority_min prototypes.
8210 (Resource Usage): Fix summary @comment on vtimes to refer to
8211 sys/vtimes.h rather than vtimes.h.
8212 Add missing *s in vtimes prototype.
8213 (Limits on Resources): Fix ulimit prototype to return long int.
8214 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8215 prototypes to use long int rather than double.
8216 (BSD Random): Fix initstate and setstate to use char *, not void *.
8217 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8218 prototype to make second argument 'struct aiocb64 *const[]'.
8219 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8220 (Status of AIO Operations): Remove erroneous const in aio_return and
8221 aio_return64 prototypes.
8222 (Synchronizing I/O): Fix sync prototype to return void.
8223 * manual/startup.texi (Suboptions): Remove an erroneous const in
8224 getsubopt prototype.
8225 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8226 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8227 use size_t rather than int.
8228 (Scanning All Users): Likewise for getpwent_r.
8229 (Setting Groups): Add missing const to setgroups prototype.
8230 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8231 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8232 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8233 'const void *' rather than 'const char *'.
8234 (Host Address Functions): Likewise for inet_ntop.
8235 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8236 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8237 ssize_t for return value.
8238 (Sending Data): Likewise for send, sendto, sendmsg.
8239 (Socket Option Functions): Add a missing const in setsockopt prototype.
8240 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8241 use wchar_t for the argument.
8242 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8243 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8245 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8246 double/float/long double for second argument.
8247 Fix return types of significand, significandf, significandl.
8248 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8249 argument in fchmod prototype.
8250 (File Owner): Use uid_t and gid_t in fchown prototype.
8251 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8252 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8253 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8254 use 'const struct dirent **' as argument types to CMP function pointer
8256 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8257 (File Times): Fix summary magic @comment for struct utimbuf and utime
8258 to refer to utime.h, not time.h.
8259 * manual/string.texi (Argz Functions): Add missing const in
8260 argz_extract and argz_next prototypes.
8261 (Finding Tokens in a String): Likewise for basename.
8262 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8263 (Copying and Concatenation): Fix typo in wmemmove prototype.
8264 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8265 (Signal Stack): Remove erroneous const in sigstack prototype.
8266 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8268 (Simple Calendar Time): Likewise for stime.
8269 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8271 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8272 say sys/sysctl.h instead.
8273 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8274 and vsyslog prototypes.
8276 2013-02-11 Tom de Vries <tom@codesourcery.com>
8278 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8281 2013-02-11 Roland McGrath <roland@hack.frob.com>
8283 * misc/sys/mman.h: Fix typo in mremap comment.
8285 2013-02-08 Roland McGrath <roland@hack.frob.com>
8287 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8288 the '\0' terminator.
8290 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8293 * debug/segfault.c: Don't include <bp-checks.h>.
8294 * sysdeps/generic/bp-checks.h: Remove file.
8295 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8296 (__GETDENTS): Don't use CHECK_N.
8297 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8298 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8299 (__getgroups): Don't use CHECK_N.
8300 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8301 (setgroups): Don't use CHECK_N.
8302 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8303 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8304 (__libc_msgrcv): Don't use CHECK_N.
8305 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8306 (__libc_msgsnd): Don't use CHECK_N.
8307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8309 (__libc_pread): Don't use CHECK_N.
8310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8311 include <bp-checks.h>.
8312 (__libc_pread64): Don't use CHECK_N.
8313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8314 include <bp-checks.h>.
8315 (__libc_pwrite): Don't use CHECK_N.
8316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8317 include <bp-checks.h>.
8318 (__libc_pwrite64): Don't use CHECK_N.
8319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8321 (__libc_pread): Don't use CHECK_N.
8322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8323 include <bp-checks.h>.
8324 (__libc_pread64): Don't use CHECK_N.
8325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8326 include <bp-checks.h>.
8327 (__libc_pwrite): Don't use CHECK_N.
8328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8329 include <bp-checks.h>.
8330 (__libc_pwrite64): Don't use CHECK_N.
8331 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8332 (do_pread): Don't use CHECK_N.
8333 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8334 (do_pread64): Don't use CHECK_N.
8335 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8336 (do_pwrite): Don't use CHECK_N.
8337 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8338 (do_pwrite64): Don't use CHECK_N.
8339 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8340 (__libc_readv): Don't use CHECK_N.
8341 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8342 (semop): Don't use CHECK_N.
8343 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8345 (semtimedop): Don't use CHECK_N.
8346 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8347 (__libc_pread): Don't use CHECK_N.
8348 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8350 (__libc_pread64): Don't use CHECK_N.
8351 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8353 (__libc_pwrite): Don't use CHECK_N.
8354 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8356 (__libc_pwrite64): Don't use CHECK_N.
8357 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8359 (__libc_msgrcv): Don't use CHECK_N.
8360 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8361 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8362 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8363 (__libc_writev): Don't use CHECK_N.
8365 2013-02-08 Roland McGrath <roland@hack.frob.com>
8367 * string/strcpy.c: Removed unused variable.
8369 * Makeconfig (+sysdep-includes): Define with := rather than =.
8370 Use an existing include/ subdir of each sysdeps dir before it.
8372 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8374 * nscd/connection.c (register_traced_file): Comment function.
8375 [HAVE_INOTIFY] (union __inev): Define.
8376 [HAVE_INOTIFY] (inotify_check_files): New function.
8377 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8378 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8380 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8382 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8384 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8385 loaded if not already and that a failure is permanent.
8387 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8390 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8391 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8393 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8396 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8397 (CHECK_1_NULL_OK): Likewise.
8398 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8399 (__fxstat): Do not use CHECK_1.
8400 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8402 (___fxstat64): Do not use CHECK_1.
8403 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8405 (__fxstatat): Do not use CHECK_1.
8406 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8408 (__fxstatat64): Do not use CHECK_1.
8409 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8411 (__fxstat): Do not use CHECK_1.
8412 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8414 (__fxstatat): Do not use CHECK_1.
8415 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8417 (__getresgid): Do not use CHECK_1.
8418 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8420 (__getresuid): Do not use CHECK_1.
8421 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8423 (__lxstat): Do not use CHECK_1.
8424 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8426 (__old_msgctl): Do not use CHECK_1.
8427 (__new_msgctl): Likewise.
8428 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8430 (__new_setrlimit): Do not use CHECK_1.
8431 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8433 (__old_shmctl): Do not use CHECK_1.
8434 (__new_shmctl): Likewise.
8435 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8437 (__xstat): Do not use CHECK_1.
8438 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8439 (__lxstat): Do not use CHECK_1.
8440 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8442 (___lxstat64): Do not use CHECK_1.
8443 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8444 (__old_msgctl): Do not use CHECK_1.
8445 (__new_msgctl): Likewise.
8446 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8448 (__gettimeofday): Do not use CHECK_1.
8449 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8450 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8451 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8453 (__gettimeofday): Do not use CHECK_1.
8454 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8455 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8456 (__new_shmctl): Do not use CHECK_1.
8457 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8459 (do_sigtimedwait): Do not use CHECK_1.
8460 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8462 (do_sigwaitinfo): Do not use CHECK_1.
8463 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8465 (msgctl): Do not use CHECK_1.
8466 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8468 (shmctl): Do not use CHECK_1.
8469 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8470 (ustat): Do not use CHECK_1.
8471 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8473 (__fxstat): Do not use CHECK_1.
8474 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8476 (__fxstatat): Do not use CHECK_1.
8477 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8479 (__lxstat): Do not use CHECK_1.
8480 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8482 (__xstat): Do not use CHECK_1.
8483 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8484 (__xstat): Do not use CHECK_1.
8485 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8486 (___xstat64): Do not use CHECK_1.
8489 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8491 (CHECK_BOUNDS_HIGH): Likewise.
8492 * string/strcpy.c: Do not include <bp-checks.h>.
8493 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8495 2013-02-07 Roland McGrath <roland@hack.frob.com>
8497 * nscd/nscd-client.h (__nscd_drop_map_ref):
8498 Add __attribute__ ((unused)).
8499 * nis/nss-nisplus.h (niserr2nss): Likewise.
8501 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8502 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8504 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8505 Remove inline keyword.
8506 * include/rounding-mode.h (round_away): Likewise.
8507 * libio/wfileops.c (adjust_wide_data): Likewise.
8508 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8509 (__m128i_strloadu_tolower): Likewise.
8510 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8511 (__m128i_strloadu_tolower): Likewise.
8512 * time/mktime.c (ydhms_diff): Likewise.
8513 * locale/elem-hash.h (elem_hash): Likewise.
8514 * locale/setlocale.c (setdata): Likewise.
8515 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8516 (re_string_wchar_at): Likewise.
8517 (bitset_not, bitset_merge, bitset_mask): Likewise.
8518 [!(__GNUC__ > 3)] (inline): Remove macro.
8519 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8520 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8521 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8522 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8523 * string/memcmp.c (memcmp_bytes): Likewise.
8524 * locale/programs/locarchive.c (compute_hashval): Likewise.
8525 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8526 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8527 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8528 * nss/getent.c (print_rpc, print_protocols): Likewise.
8529 (print_passwd, print_group, print_aliases): Likewise.
8530 * nis/nss-nisplus.h (niserr2nss): Likewise.
8531 * nscd/connections.c (restart_p): Likewise.
8532 Change return type to bool.
8534 2013-02-05 Roland McGrath <roland@hack.frob.com>
8536 * Makeconfig (all-Depend-files): Add existing
8537 $(sorted-subdirs:=/Depend) files.
8538 (all-subdirs): Remove nss.
8539 * sysdeps/unix/inet/Subdirs: Add it here instead.
8540 * hesiod/Depend: New file.
8542 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8543 instead of calling alloca.
8545 * io/lseek.c (__lseek): Rename to __libc_lseek.
8546 Define __lseek as an alias.
8548 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8550 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8552 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8553 else clause and remove check for non-standard endianness.
8555 2013-02-04 David S. Miller <davem@davemloft.net>
8557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8559 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8562 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8563 (__ubp_memchr): Remove prototype.
8564 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8565 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8566 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8567 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8568 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8570 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8571 (__ubp_memchr): Likewise.
8572 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8573 (__ubp_memchr): Likewise.
8574 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8575 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8576 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8577 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8579 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8580 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8581 (__getcwd): Do not use CHECK_STRING.
8582 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8584 (__real_chown): Do not use CHECK_STRING.
8585 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8587 (fchownat): Do not use CHECK_STRING.
8588 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8590 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8592 (__lchown): Do not use CHECK_STRING.
8593 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8594 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8595 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8596 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8598 include <bp-checks.h>.
8599 (truncate64): Do not use CHECK_STRING.
8600 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8602 (__real_chown): Do not use CHECK_STRING.
8603 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8605 (__lchown): Do not use CHECK_STRING.
8606 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8608 (__chown): Do not use CHECK_STRING.
8609 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8611 (truncate64): Do not use CHECK_STRING.
8612 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8614 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8615 (__xmknod): Do not use CHECK_STRING.
8616 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8618 (__xmknodat): Do not use CHECK_STRING.
8619 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8620 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8622 2013-02-04 Andreas Schwab <schwab@suse.de>
8625 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8626 * include/netdb.h: Likewise for h_errno.
8627 * elf/tst-stackguard1.c: Include <tls.h>.
8629 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8631 * elf/link.h (struct link_map): Extend the l_addr comment.
8632 * include/link.h (struct link_map): Likewise.
8634 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8637 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8638 (BOUNDED_1): Remove macro.
8639 * debug/backtrace.c: Don't include <bp-checks.h>.
8640 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8641 (__backtrace): Likewise.
8642 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8644 (__backtrace): Don't use BOUNDED_1.
8645 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8647 (__backtrace): Don't use BOUNDED_1.
8648 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8649 (__backtrace): Don't use BOUNDED_1.
8650 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8651 (shmat): Don't use BOUNDED_N.
8653 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8656 * sysdeps/generic/bp-start.h: Remove file.
8657 * csu/libc-start.c: Don't include <bp-start.h>.
8658 (LIBC_START_MAIN): Set up __environ directly instead of using
8659 INIT_ARGV_and_ENVIRON.
8660 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8664 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8666 (CHECK_FCNTL): Likewise.
8667 (CHECK_N_PAGES): Likewise.
8670 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8672 (CHECK_SIGSET_NULL_OK): Likewise.
8673 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8675 (sigpending): Don't use CHECK_SIGSET.
8676 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8678 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8679 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8681 (do_sigsuspend): Don't use CHECK_SIGSET.
8682 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8684 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8685 (do_sigwait): Don't use CHECK_SIGSET.
8686 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8688 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8689 include <bp-checks.h>.
8690 (sigpending): Don't use CHECK_SIGSET.
8691 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8692 include <bp-checks.h>.
8693 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8694 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8696 (sigpending): Don't use CHECK_SIGSET.
8697 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8699 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8702 * sysdeps/generic/bp-semctl.h: Remove file.
8703 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8704 <bp-checks.h> and <bp-semctl.h>.
8705 (__old_semctl): Don't use CHECK_SEMCTL.
8706 (__new_semctl): Likewise.
8707 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8709 (__old_semctl): Don't use CHECK_SEMCTL.
8710 (__new_semctl): Likewise.
8711 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8712 <bp-checks.h> and <bp-semctl.h>.
8713 (__old_semctl): Don't use CHECK_SEMCTL.
8714 (__new_semctl): Likewise.
8715 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8716 <bp-checks.h> and <bp-semctl.h>.
8717 (semctl): Don't use CHECK_SEMCTL.
8720 * Makerules (elide-bp-thunks): Remove variable.
8721 (elide-routines.oS): Don't use $(elide-bp-thunks).
8722 (elide-routines.os): Likewise.
8723 (elide-routines.o): Likewise.
8724 (elide-routines.op): Likewise.
8725 (elide-routines.og): Likewise.
8726 (objects): Don't use $(bp-thunks).
8727 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8729 (common-generated): Do not add s-proto-bp.d.
8730 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8733 Do not generate makefile rules for bounded-pointer thunks.
8734 * sysdeps/generic/bp-thunks.h: Remove file.
8735 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8736 * sysdeps/unix/s-proto-bp.S: Likewise.
8739 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8740 parts of result separately when argument is not close to line from
8741 -i to i and one part of argument is small.
8742 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8743 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8744 * math/libm-test.inc (cacos_test): Add more tests.
8745 (casin_test): Likewise.
8746 (casinh_test): Likewise.
8747 * sysdeps/i386/fpu/libm-test-ulps: Update.
8748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8750 2013-01-31 David S. Miller <davem@davemloft.net>
8752 * po/de.po: Update from translation team.
8754 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8756 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8758 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8760 * configure.in (_AC_PROG_CC_C89): New definition.
8761 * configure: Regenerate.
8763 * configure.in (AC_PROG_CPP): New definition.
8764 * configure: Regenerate.
8766 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8768 * debug/tst-backtrace.h: New file.
8769 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8770 (ret): Remove variable.
8772 (FAIL): Remove macro.
8773 (NO_INLINE): Likewise.
8774 (fn1): Use match function instead of strstr.
8775 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8776 (ret): Remove variable.
8778 (FAIL): Remove macro.
8779 (NO_INLINE): Likewise.
8780 (fn): Use match function instead of strstr.
8781 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8782 (ret): Remove variable.
8784 (FAIL): Remove macro.
8785 (NO_INLINE): Likewise.
8786 (handle_signal): Use match function instead of strstr.
8787 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8788 (ret): Remove variable.
8790 (FAIL): Remove macro.
8791 (NO_INLINE): Likewise.
8792 (handle_signal): Use match function instead of strstr.
8794 2013-01-23 Roland McGrath <roland@hack.frob.com>
8796 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8798 2013-01-23 David S. Miller <davem@davemloft.net>
8800 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8801 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8802 argument of CAS if possible.
8803 * sysdeps/sparc/sparc64/bits/atomic.h
8804 (__arch_compare_and_exchange_val_32_acq): Likewise.
8805 (__arch_compare_and_exchange_val_64_acq): Likewise.
8807 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8809 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8810 * sysdeps/posix/ulimit.c: ... this.
8812 * sysdeps/unix/bsd/ulimit.c: Remove file.
8814 2013-01-23 Adam Conrad <adconrad@0c3.net>
8816 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8817 (LDFLAGS-tst-array5): Likewise.
8819 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8822 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8823 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8824 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8825 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8827 2013-01-21 David S. Miller <davem@davemloft.net>
8829 * sysdeps/sparc/backtrace.c: New file.
8830 * sysdeps/sparc/sparc32/backtrace.h: New file.
8831 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8832 * sysdeps/sparc/sparc64/backtrace.h: New file.
8833 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8834 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8837 2013-01-21 Andreas Schwab <schwab@suse.de>
8840 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8843 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8849 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8850 Mark Mitchell <mark@codesourcery.com>
8851 Tom de Vries <tom@codesourcery.com>
8852 Paul Pluzhnikov <ppluzhnikov@google.com>
8854 * debug/tst-backtrace2.c: New file.
8855 * debug/tst-backtrace3.c: Likewise.
8856 * debug/tst-backtrace4.c: Likewise.
8857 * debug/tst-backtrace5.c: Likewise.
8858 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8859 (CFLAGS-tst-backtrace3.c): Likewise.
8860 (CFLAGS-tst-backtrace4.c): Likewise.
8861 (CFLAGS-tst-backtrace5.c): Likewise.
8862 (LDFLAGS-tst-backtrace2): Likewise.
8863 (LDFLAGS-tst-backtrace3): Likewise.
8864 (LDFLAGS-tst-backtrace4): Likewise.
8865 (LDFLAGS-tst-backtrace5): Likewise.
8866 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8867 tst-backtrace4 and tst-backtrace5.
8869 2013-01-18 Anton Blanchard <anton@samba.org>
8870 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8872 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8873 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8874 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8875 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8877 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8878 "+r" and remove output regs list as redundant. Add explicit inline
8879 asm to specify register of return val to work around compiler codegen
8880 bug. Remove (int) cast on return value. Add return type parameter to
8881 use in macro so that this macro does not truncate return value for
8883 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8884 pass to INTERNAL_VSYSCALL_NCS.
8885 (INLINE_VSYSCALL): Add 'long int' as return type to
8886 INTERNAL_VSYSCALL_NCS macro invocation.
8887 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8888 INTERNAL_VSYSCALL_NCS macro invocation.
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8891 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8894 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8895 Fix application of SIMD FP exception mask.
8897 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8898 mp_no from a power of two.
8899 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8900 __mpexp_twomm1. Use __pow_mp.
8902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8905 2013-01-17 David S. Miller <davem@davemloft.net>
8907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8909 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8912 * include/complex.h: Condition contents on [!_COMPLEX_H].
8913 (__kernel_casinhf): New prototype.
8914 (__kernel_casinh): Likewise.
8915 (__kernel_casinhl): Likewise.
8916 * math/Makefile (libm_calls): Add k_casinh.
8917 * math/k_casinh.c: New file.
8918 * math/k_casinhf.c: Likewise.
8919 * math/k_casinhl.c: Likewise.
8920 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8921 finite nonzero arguments.
8922 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8923 finite nonzero arguments.
8924 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8925 finite nonzero arguments.
8926 * math/s_casinh.c: Do not include <float.h>.
8927 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8928 * math/s_casinhf.c: Do not include <float.h>.
8929 (__casinhf): Move code for finite nonzero arguments to
8931 * math/s_casinhl.c: Do not include <float.h>.
8932 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8934 (__casinhl): Move code for finite nonzero arguments to
8936 * math/libm-test.inc (cacos_test): Add more tests.
8937 * sysdeps/i386/fpu/libm-test-ulps: Update.
8938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8940 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8942 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8943 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8944 [!HAVE_MREMAP]: Remove [defined linux] case.
8945 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8947 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8949 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8951 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8953 * elf/elf.h (R_386_SIZE32): New relocation.
8954 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8956 (elf_machine_rela): Likewise.
8957 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8958 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8960 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8962 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8963 (FP_FAST_FMA): Do not define.
8964 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8965 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8966 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8967 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8968 !_SOFT_FLOAT]: Likewise.
8969 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8970 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8972 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8973 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8974 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8975 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8976 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8977 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8980 2013-01-16 Andreas Schwab <schwab@suse.de>
8983 * include/stdlib.h (__mktemp): Add declaration.
8984 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8985 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8987 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8989 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8991 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8992 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8993 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8995 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8996 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8998 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9000 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9001 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9002 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9004 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9005 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9007 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9009 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9011 2013-01-15 David S. Miller <davem@davemloft.net>
9013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9014 trunc{,f} to libm-sysdep_routes.
9015 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9025 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9026 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9027 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9028 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9029 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9030 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9033 nearbyint{,f} to libm-sysdep_routes.
9034 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9045 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9047 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9048 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9050 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9051 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9052 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9054 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9055 libc_feholdexcept and libc_fesetenv.
9057 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9059 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9061 2013-01-14 David S. Miller <davem@davemloft.net>
9063 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9064 (SPARC_ASM_VIS2_IFUNC): Likewise.
9065 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9067 use of 'siam' instruction.
9068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9086 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9101 routines to libm-sysdep_routines.
9102 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9105 fdim/fdimf to libm-sysdep_routines.
9106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9114 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9115 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9116 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9117 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9119 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9121 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9124 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9129 local variable MPTWO.
9130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9133 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9135 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9138 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9140 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9142 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9144 * manual/pattern.texi (glob_t): Document gl_flags.
9145 (glob64_t): Likewise.
9147 2013-01-11 David S. Miller <davem@davemloft.net>
9149 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9150 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9151 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
9152 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9153 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9154 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9155 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9156 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9157 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9158 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9159 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9160 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9161 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9163 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9164 sparc V9 rather than using V8 code.
9165 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9166 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9168 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9170 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9173 2013-01-11 Roland McGrath <roland@hack.frob.com>
9175 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9176 not in the main loop.
9177 * configure: Regenerated.
9179 2013-01-11 Joseph Myers <joseph@codesourcery.com>
9181 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9182 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9184 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9185 [!__GLIBC_HAVE_LONG_LONG] case.
9186 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9187 condition to just #else.
9188 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9189 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9190 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9191 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9193 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9194 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9195 #elif condition to just #else.
9196 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9197 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9198 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9199 #elif condition to just #else.
9201 2013-01-11 Steve Ellcey <sellcey@mips.com>
9203 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9204 (EF_MIPS_ARCH_64): Fix value.
9205 (EF_MIPS_ARCH_32R2): New.
9206 (EF_MIPS_ARCH_64R2): New.
9208 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9210 * Makeconfig (+link-pie-before-libc): New.
9211 (+link-pie-after-libc): Likewise.
9212 (+link-pie-tests): Likewise.
9213 (+link-pie): Rewritten.
9214 (link-before-libc): Remove $(config-LDFLAGS).
9215 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9216 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9217 (config-LDFLAGS): Renamed to ...
9218 (rtld-LDFLAGS): This.
9219 (rtld-tests-LDFLAGS): New macro.
9220 (link-libc-rpath-link): Likewise.
9221 (link-libc-tests-rpath-link): Likewise.
9222 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9223 (link-libc): Prepand $(link-libc-rpath-link).
9224 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9225 (test-program-prefix): New macro.
9226 (test-via-rtld-prefix): Likewise.
9227 (test-program-cmd): Likewise.
9228 (host-test-program-cmd): Likewise.
9229 * Makefile ($(common-objpfx)testrun.sh): Replace
9230 $(run-program-prefix) with $(test-program-prefix).
9231 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9233 ($(common-objpfx)shlib.lds): Likewise.
9234 (build-module-helper): Likewise.
9235 ($(common-objpfx)format.lds): Likewise.
9236 * Rules (binaries-pie-tests): New.
9237 (binaries-pie-notests): Likewise.
9238 (binaries-pie): Rewritten.
9239 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9240 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9241 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9242 (make-test-out): Replace $(host-built-program-cmd) with
9243 $(host-test-program-cmd).
9244 * config.make.in (build-hardcoded-path-in-tests): New variable.
9245 * configure.in (--enable-hardcoded-path-in-tests): New configure
9247 (hardcoded_path_in_tests): New AC_SUBST.
9248 * configure: Regenerated.
9249 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9250 $(built-program-cmd) with $(test-program-cmd).
9251 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9252 (test_program_cmd): This.
9253 * elf/Makefile ($(objpfx)order.out): Run test with
9254 $(test-program-prefix).
9255 ($(objpfx)order2.out): Likewise.
9256 ($(objpfx)tst-initorder.out): Likewise.
9257 ($(objpfx)tst-initorder2.out): Likewise.
9258 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9259 $(test-program-cmd).
9260 ($(objpfx)tst-array1-static.out): Likewise.
9261 ($(objpfx)tst-array2.out): Likewise.
9262 ($(objpfx)tst-array3.out): Likewise.
9263 ($(objpfx)tst-array4.out): Likewise.
9264 ($(objpfx)tst-array5.out): Likewise.
9265 ($(objpfx)tst-array5-static.out): Likewise.
9266 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9267 $(test-program-cmd).
9268 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9269 $(run-program-prefix) with $(test-program-prefix).
9270 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9271 (test_program_prefix): This.
9272 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9273 $(run-program-prefix) with $(test-program-prefix).
9274 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9275 (test_program_prefix): This.
9276 * iconvdata/tst-tables.sh: Likewise.
9277 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9278 $(run-program-prefix) with $(test-program-prefix).
9279 ($(objpfx)tst-translit.out): Likewise.
9280 ($(objpfx)tst-gettext2.out): Likewise.
9281 ($(objpfx)tst-gettext4.out): Likewise.
9282 ($(objpfx)tst-gettext6.out): Likewise.
9283 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9284 (test_program_prefix): This.
9285 * intl/tst-gettext2.sh: Likewise.
9286 * intl/tst-gettext4.sh Likewise.
9287 * intl/tst-gettext6.sh: Likewise.
9288 * intl/tst-translit.sh: Likewise.
9289 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9290 with $(test-program-cmd).
9291 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9292 $(run-program-prefix) with $(test-program-prefix).
9293 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9294 (test_program_prefix): This.
9295 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9296 $(run-program-prefix) with $(test-program-prefix).
9297 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9298 (test_program_prefix): This.
9299 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9300 * posix/Makefile ($(objpfx)globtest.out): Replace
9301 $(run-via-rtld-prefix) and $(test-wrapper) with
9302 $(test-program-prefix) and $(test-via-rtld-prefix).
9303 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9304 $(test-program-prefix).
9305 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9306 $(host-test-program-cmd).
9307 (tst-spawn-ARGS): Likewise.
9308 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9309 $(test-program-prefix).
9310 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9311 (test_via_rtld_prefix): This.
9312 (test_wrapper): Renamed to ...
9313 (test_program_prefix): This.
9314 (run_program_prefix): Replaced by test_program_prefix.
9315 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9316 (test_program_prefix): This.
9317 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9318 with $(host-test-program-cmd).
9319 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9320 $(run-program-prefix) with $(test-program-prefix).
9321 ($(objpfx)tst-printf.out): Likewise.
9322 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9323 $(test-program-cmd).
9324 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9325 (test_program_prefix): This.
9326 * stdio-common/tst-unbputc.sh: Likewise.
9327 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9328 $(run-program-prefix) with $(test-program-prefix).
9329 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9330 (test_program_prefix): This.
9331 * string/Makefile ($(objpfx)tst-svc.out): Replace
9332 $(built-program-cmd) with $(test-program-cmd).
9334 2013-01-11 Andreas Jaeger <aj@suse.de>
9337 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9338 value. Sync with Linux 3.7.
9340 2013-01-10 David S. Miller <davem@davemloft.net>
9342 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9343 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9344 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9346 2013-01-10 Roland McGrath <roland@hack.frob.com>
9348 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9350 * configure: Regenerated.
9352 2013-01-10 David S. Miller <davem@davemloft.net>
9354 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9355 sparc V9 rather than using V8 code.
9356 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9357 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9359 2013-01-10 Roland McGrath <roland@hack.frob.com>
9361 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9362 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9363 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9364 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9365 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9366 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9367 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9368 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9369 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9370 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9371 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9372 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9373 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9374 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9375 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9376 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9377 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9378 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9379 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9380 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9381 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9382 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9383 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9384 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9385 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9386 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9387 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9389 2013-01-10 David S. Miller <davem@davemloft.net>
9391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9393 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9395 * posix/Makefile (tests-static): New variable.
9396 (tests): Add $(tests-static).
9397 (tst-exec-static-ARGS): New variable.
9398 (tst-spawn-static-ARGS): Likewise.
9399 * posix/tst-exec-static.c: New file.
9400 * posix/tst-spawn-static.c: Likewise.
9401 * posix/tst-exec.c: Support run directly.
9402 * posix/tst-spawn.c: Likewise.
9404 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9406 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9408 * math/bits/mathcalls.h (llrint): Likewise.
9409 (llround): Likewise.
9410 * stdlib/stdlib.h (struct drand48_data): Likewise.
9411 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9412 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9413 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9415 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9417 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9418 (elf_greg_t): Likewise.
9419 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9420 (__jmp_buf): Likewise.
9421 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9423 (llrint): Likewise, for all definitions.
9424 (llrintl): Likewise.
9426 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9427 Remove [__GNUC__] condition.
9428 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9429 condition to just [__USE_ISOC99].
9430 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9432 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9435 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9436 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9438 (_POSIX_V6_ILP32_OFF32): Likewise.
9439 (_XBS5_ILP32_OFF32): Likewise.
9440 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9441 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9443 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9445 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9447 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9448 doubles __mpexp_twomm1. Adjust usage.
9449 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9452 2013-01-10 Andreas Schwab <schwab@suse.de>
9455 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9456 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9458 2013-01-09 David S. Miller <davem@davemloft.net>
9461 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9462 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9463 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9464 TCP_FASTOPEN): Define.
9465 (tcp_repair_opt): New structure.
9466 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9468 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9469 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9470 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9471 (tcp_cookie_transactions): New structure.
9473 2013-01-09 Anton Blanchard <anton@samba.org>
9475 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9476 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9477 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9478 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9480 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9482 * include/features.h (__USE_ANSI): Remove.
9484 2013-01-09 Roland McGrath <roland@hack.frob.com>
9486 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9488 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9490 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9492 * sysdeps/s390/fpu/libm-test-ulps: Update.
9494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9496 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9501 (__mp_dbl): Likewise.
9502 (__dbl_mp): Likewise.
9503 (add_magnitudes): Likewise.
9504 (sub_magnitudes): Likewise.
9510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9515 (__mp_dbl): Likewise.
9516 (__dbl_mp): Likewise.
9517 (add_magnitudes): Likewise.
9518 (sub_magnitudes): Likewise.
9524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9529 (__mp_dbl): Likewise.
9530 (__dbl_mp): Likewise.
9531 (add_magnitudes): Likewise.
9532 (sub_magnitudes): Likewise.
9539 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9541 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9542 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9543 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9544 2 && __USE_EXTERN_INLINES]: Likewise.
9546 2013-01-08 Andreas Jaeger <aj@suse.de>
9549 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9551 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9552 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9554 2013-01-07 Anton Blanchard <anton@samba.org>
9556 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9557 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9558 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9559 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9560 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9561 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9562 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9563 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9565 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9566 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9567 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9568 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9569 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9570 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9571 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9572 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9573 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9574 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9575 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9576 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9577 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9578 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9579 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9580 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9581 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9582 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9583 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9584 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9585 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9586 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9588 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9589 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9590 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9591 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9592 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9594 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9595 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9596 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9597 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9598 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9600 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9602 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9603 (__MALLOC_PMT): Likewise.
9604 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9605 [__GNUC__], only on [_LIBC].
9606 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9607 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9608 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9609 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9610 forward declaration.
9611 (realloc_hook_ini): Likewise.
9612 (memalign_hook_ini): Likewise.
9613 (__libc_memalign): Do not use __MALLOC_PMT in variable
9615 (__libc_valloc): Likewise.
9616 (__libc_pvalloc): Likewise.
9617 (__libc_calloc): Likewise.
9618 (__posix_memalign): Likewise.
9621 * math/s_casinh.c: Include <float.h>.
9622 (__casinh): Do not do computation with squaring and square root
9623 for large arguments.
9624 * math/s_casinhf.c: Include <float.h>.
9625 (__casinhf): Do not do computation with squaring and square root
9626 for large arguments.
9627 * math/s_casinhl.c: Include <float.h>.
9628 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9629 (__casinhl): Do not do computation with squaring and square root
9630 for large arguments.
9631 * math/libm-test.inc (casin_test): Add more tests.
9632 (casinh_test): Likewise.
9633 * sysdeps/i386/fpu/libm-test-ulps: Update.
9634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9636 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9638 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9639 (__x86_64_raw_data_cache_size): Likewise.
9640 (__x86_64_data_cache_size_half): Likewise.
9641 (__x86_64_raw_data_cache_size_half): Likewise.
9642 (__x86_64_shared_cache_size): Likewise.
9643 (__x86_64_raw_shared_cache_size): Likewise.
9644 (__x86_64_shared_cache_size_half): Likewise.
9645 (__x86_64_raw_shared_cache_size_half): Likewise.
9646 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9648 (__x86_data_cache_size): This.
9649 (__x86_64_raw_data_cache_size): Renamed to ...
9650 (__x86_raw_data_cache_size): This.
9651 (__x86_64_data_cache_size_half): Renamed to ...
9652 (__x86_data_cache_size_half): This.
9653 (__x86_64_raw_data_cache_size_half): Renamed to ...
9654 (__x86_raw_data_cache_size_half): This.
9655 (__x86_64_shared_cache_size): Renamed to ...
9656 (__x86_shared_cache_size): This.
9657 (__x86_64_raw_shared_cache_size): Renamed to ...
9658 (__x86_raw_shared_cache_size): This.
9659 (__x86_64_shared_cache_size_half): Renamed to ...
9660 (__x86_shared_cache_size_half): This.
9661 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9662 (__x86_raw_shared_cache_size_half): This.
9663 * sysdeps/x86_64/memcpy.S: Updated.
9664 * sysdeps/x86_64/memset.S: Likewise.
9665 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9666 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9669 2013-01-04 David S. Miller <davem@davemloft.net>
9671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9673 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9675 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9676 1 to avoid redefinition warning.
9677 (__USE_GNU): Don't define.
9678 (init_signaling_nan): Protoize.
9680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9682 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9684 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9686 (__cpymn): Likewise.
9687 (norm): Remove commented code.
9689 (__mp_dbl): Likewise.
9691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9692 (__cpymn): Likewise.
9693 (norm): Remove commented code.
9695 (__mp_dbl): Likewise.
9698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9699 mp_no value for 1.0 and 2.0.
9700 (norm): Use RADIXI instead of radixi.d.
9702 (__mul): Use 0.0 instead of zero.d.
9703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9704 mp_no value for 1.0 and 2.0.
9705 (norm): Use RADIXI instead of radixi.d.
9707 (__mul): Use 0.0 instead of zero.d.
9709 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9712 * math/s_casinh.c (__casinh): Reduce finite argument to first
9713 quadrant then set signs of results at the end.
9714 * math/s_casinhf.c (__casinhf): Likewise.
9715 * math/s_casinhl.c (__casinhl): Likewise.
9716 * math/libm-test.inc (casin_test): Add more tests.
9717 (casinh_test): Likewise.
9718 * sysdeps/i386/fpu/libm-test-ulps: Update.
9719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9721 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9723 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9725 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9727 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9730 (__mp_dbl): Likewise.
9733 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9734 and adjust the header comment.
9736 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9737 variable name from declaration.
9739 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9742 Initialize COMMON_CPUID_INDEX_7 element.
9743 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9744 (CPUID_RTM): Likewise.
9745 (HAS_RTM): Likewise.
9746 (COMMON_CPUID_INDEX_7): New enum.
9748 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9751 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9752 size is zero, record memory as freed.
9754 2013-01-03 Andreas Jaeger <aj@suse.de>
9756 * po/ia.po: Add new Interlingua translation.
9758 2012-01-03 Allan McRae <allan@archlinux.org>
9760 * locale/programs/localedef.c: Fix description of '--posix' flag.
9762 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9764 * NEWS: Update dates in second copyright notice.
9765 * README: Update copyright dates in example.
9766 * manual/libc.texinfo: Update copyright dates.
9767 * scripts/test-installation.pl: Update copyright date in --version
9770 * hurd/ctty-input.c: Fix copyright notice formatting.
9771 * hurd/ctty-output.c: Likewise.
9772 * hurd/dtable.c: Likewise.
9773 * hurd/hurd-raise.c: Likewise.
9774 * hurd/hurdprio.c: Likewise.
9775 * hurd/msgportdemux.c: Likewise.
9776 * misc/sys/file.h: Likewise.
9777 * misc/sys/ioctl.h: Likewise.
9778 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9779 * sysdeps/mach/hurd/chdir.c: Likewise.
9780 * sysdeps/mach/hurd/fchdir.c: Likewise.
9781 * sysdeps/mach/hurd/rename.c: Likewise.
9782 * sysdeps/mach/hurd/rmdir.c: Likewise.
9783 * sysdeps/mach/hurd/seekdir.c: Likewise.
9784 * sysdeps/mach/hurd/setsid.c: Likewise.
9785 * sysdeps/posix/wait3.c: Likewise.
9787 * All files with FSF copyright notices: Update copyright dates
9788 using scripts/update-copyrights.
9789 * intl/plural.c: Regenerated.
9790 * locale/programs/charmap-kw.h: Likewise.
9791 * locale/programs/locfile-kw.h: Likewise.
9793 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9795 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9798 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9799 calculation loop and add branch prediction.
9801 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9802 check access beyond bounds of m1np.
9804 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9806 (__inv): Remove local variable MPTWO to use the global
9808 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9809 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9811 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9812 MP3HALFS static const.
9814 2013-01-01 David S. Miller <davem@davemloft.net>
9816 * po/ca.po: Update from translation team.
9818 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9820 * scripts/update-copyrights: New file.
9821 * Makeconfig: Reformat copyright notice.
9822 * ctype/ctype.h: Likewise.
9823 * debug/swprintf_chk.c: Likewise.
9824 * elf/dl-cache.c: Likewise.
9825 * elf/dl-debug.c: Likewise.
9826 * elf/dl-object.c: Likewise.
9827 * grp/initgroups.c: Likewise.
9828 * hurd/Makefile: Likewise.
9829 * hurd/hurd/signal.h: Likewise.
9830 * hurd/hurdfault.c: Likewise.
9831 * hurd/hurdioctl.c: Likewise.
9832 * hurd/hurdlookup.c: Likewise.
9833 * hurd/intr-msg.c: Likewise.
9834 * iconv/gconv_open.c: Likewise.
9835 * libio/swprintf.c: Likewise.
9836 * locale/lc-ctype.c: Likewise.
9837 * locale/nl_langinfo.c: Likewise.
9838 * mach/Machrules: Likewise.
9839 * mach/Makefile: Likewise.
9840 * malloc/obstack.h: Likewise.
9841 * manual/Makefile: Likewise.
9842 * manual/tsort.awk: Likewise.
9843 * misc/bits/stab.def: Likewise.
9844 * nis/nis_print_group_entry.c: Likewise.
9845 * nis/nis_table.c: Likewise.
9846 * nis/nss_compat/compat-pwd.c: Likewise.
9847 * nis/nss_compat/compat-spwd.c: Likewise.
9848 * po/Makefile: Likewise.
9849 * posix/fnmatch.c: Likewise.
9850 * posix/regex.h: Likewise.
9851 * resolv/Makefile: Likewise.
9852 * resolv/nss_dns/dns-network.c: Likewise.
9853 * resolv/res_hconf.c: Likewise.
9854 * scripts/gen-sorted.awk: Likewise.
9855 * soft-fp/soft-fp.h: Likewise.
9856 * stdio-common/printf.h: Likewise.
9857 * stdlib/monetary.h: Likewise.
9858 * stdlib/random.c: Likewise.
9859 * stdlib/random_r.c: Likewise.
9860 * sysdeps/generic/Makefile: Likewise.
9861 * sysdeps/gnu/Makefile: Likewise.
9862 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9864 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9865 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9866 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9867 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9868 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9869 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9870 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9872 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9873 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9874 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9875 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9876 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9877 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9878 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9879 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9880 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9881 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9882 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9883 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9884 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9890 * sysdeps/mach/hurd/errnos.awk: Likewise.
9891 * sysdeps/mach/hurd/fork.c: Likewise.
9892 * sysdeps/mach/hurd/getcwd.c: Likewise.
9893 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9894 * sysdeps/mach/hurd/mmap.c: Likewise.
9895 * sysdeps/mach/hurd/utimes.c: Likewise.
9896 * sysdeps/mach/hurd/xmknod.c: Likewise.
9897 * sysdeps/posix/profil.c: Likewise.
9898 * sysdeps/posix/readdir_r.c: Likewise.
9899 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9900 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9901 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9902 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9904 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9905 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9906 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9908 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9909 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9910 * sysdeps/pthread/lio_listio.c: Likewise.
9911 * sysdeps/sparc/dl-procinfo.h: Likewise.
9912 * sysdeps/unix/i386/sysdep.S: Likewise.
9913 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9914 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9915 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9916 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9918 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9919 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9920 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9921 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9922 * sysdeps/wordsize-32/divdi3.c: Likewise.
9923 * time/sys/time.h: Likewise.
9924 * wcsmbs/Makefile: Likewise.
9926 2013-01-01 David S. Miller <davem@davemloft.net>
9928 * po/fr.po: Update from translation team.
9930 * catgets/gencat.c: Update copyright year.
9931 * csu/version.c: Likewise.
9932 * debug/catchsegv.sh: Likewise.
9933 * debug/pcprofiledump.c: Likewise.
9934 * debug/xtrace.sh: Likewise.
9935 * elf/ldconfig.c: Likewise.
9936 * elf/ldd.bash.in: Likewise.
9937 * elf/pldd.c: Likewise.
9938 * elf/sotruss.ksh: Likewise.
9939 * elf/sprof.c: Likewise.
9940 * iconv/iconv_prog.c: Likewise.
9941 * iconv/iconvconfig.c: Likewise.
9942 * locale/programs/locale.c: Likewise.
9943 * locale/programs/localedef.c: Likewise.
9944 * login/programs/pt_chown.c: Likewise.
9945 * malloc/memusage.sh: Likewise.
9946 * malloc/memusagestat.c: Likewise.
9947 * malloc/mtrace.pl: Likewise.
9948 * nscd/nscd.c: Likewise.
9949 * nss/getent.c: Likewise.
9950 * nss/makedb.c: Likewise.
9951 * posix/getconf.c: Likewise.
9953 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9955 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9958 2012-12-30 Mike Frysinger <vapier@gentoo.org>
9960 * math/bits/mathcalls.h (modf): Use __nonnull.
9962 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9964 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9965 (split): Use macro CN instead of the bare value.
9966 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9968 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9969 instead of the bare value.
9972 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9974 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9976 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9978 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9980 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9981 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9982 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9983 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9985 2012-12-28 Andreas Jaeger <aj@suse.de>
9987 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9988 values are from Linux 3.7.
9990 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9991 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9993 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9995 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9998 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10000 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10001 variables with preprocessor constants.
10002 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10003 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10004 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10006 2012-12-27 Bruno Haible <bruno@clisp.org>
10009 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10012 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10014 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10015 and use variable directly.
10016 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10018 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10020 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10021 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10023 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10025 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10026 include directive. Remove local variable MPONE.
10027 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10028 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10029 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10031 2012-12-25 David S. Miller <davem@davemloft.net>
10033 * version.h (RELEASE): Set to "development".
10034 (VERSION): Set to "2.17.90".
10035 * NEWS: Add 2.18 section.
10037 2012-12-21 David S. Miller <davem@davemloft.net>
10039 * po/hr.po: Update from translation team.
10041 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10043 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10045 2012-12-19 Steve Ellcey <sellcey@mips.com>
10047 * NEWS: Mention new memcpy for MIPS.
10049 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10051 * manual/contrib.texi (Contributors): Spelling correction.
10053 2012-12-15 David S. Miller <davem@davemloft.net>
10055 * po/ru.po: Update from translation team.
10057 2012-12-13 David S. Miller <davem@davemloft.net>
10059 * NEWS: Mention IFUNC testsuite enhancements.
10061 * po/pl.po: Update from translation team.
10062 * po/bg.po: Likewise.
10064 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10065 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10067 2012-12-11 David S. Miller <davem@davemloft.net>
10069 * po/sv.po: Update from translation team.
10071 * po/vi.po: Update from translation team.
10073 * po/cs.po: Update from translation team.
10075 * po/de.po: Update from translation team.
10076 * po/eo.po: Likewise.
10077 * po/nl.po: Likewise.
10079 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10082 * manual/argp.texi (Argp Helper Functions): Move node to follow
10083 Argp Parsing State.
10086 * manual/conf.texi (Limits on File System Capacity): Mention if
10087 terminating null is included in the max size.
10089 2012-12-10 Andreas Jaeger <aj@suse.de>
10091 * po/cs.po: Update from translation team.
10093 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10095 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10096 void pointer and cast to uintptr_t.
10097 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10099 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10100 * sysdeps/s390/s390-64/memset.S: Likewise.
10102 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10105 * menual/message.texi (Message Translation): Fix typos.
10106 (Helper programs for gettext): Likewise.
10108 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10111 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10114 2012-12-07 David S. Miller <davem@davemloft.net>
10116 * po/libc.pot: Update.
10118 2012-12-07 Richard Henderson <rth@redhat.com>
10121 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10122 normal/normal case to before the switch.
10123 (_FP_DIV): Likewise.
10125 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10126 Mike Frysinger <vapier@gentoo.org>
10128 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10129 check for __NR_fadvise64_64.
10131 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10133 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10134 0, not just to plain "0" as a statement.
10135 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10138 2012-12-06 Joseph Myers <joseph@codesourcery.com>
10140 * NEWS: Use sourceware.org in Bugzilla URL.
10142 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10145 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10147 * stdio-common/tst-put-error.c (do_test): Add newline to the
10148 padded test to ensure flush.
10150 2012-12-05 Jeff Law <law@redhat.com>
10152 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10154 2012-12-05 Joseph Myers <joseph@codesourcery.com>
10156 * README: Don't refer to ports add-on as distributed separately.
10157 Mention AArch64 in list of systems supported in the ports add-on.
10159 * LICENSES: Add more non-FSF copyright and license notices.
10161 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10164 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10166 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10167 10000 as width of padded output.
10169 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10171 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10173 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10174 variable LX with __attribute__ ((unused)).
10175 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10177 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10178 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10179 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10180 with __attribute__ ((unused)).
10182 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
10184 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10186 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10188 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10189 (CFLAGS-nldbl-acos.c): New variable.
10190 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10191 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10192 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10193 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10194 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10195 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10196 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10197 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10198 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10199 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10200 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10201 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10202 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10203 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10204 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10205 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10206 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10207 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10208 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10209 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10210 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10211 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10212 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10213 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10214 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10215 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10216 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10217 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10218 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10219 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10220 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10221 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10222 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10223 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10224 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10225 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10226 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10227 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10228 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10229 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10230 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10231 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10232 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10233 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10234 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10235 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10236 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10237 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10238 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10239 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10240 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10241 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10242 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10243 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10244 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10245 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10246 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10247 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10248 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10249 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10250 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10251 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10252 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10253 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10254 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10255 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10256 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10257 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10258 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10259 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10260 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10261 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10262 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10263 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10264 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10265 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10266 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10267 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10268 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10269 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10270 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10271 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10272 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10273 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10274 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10275 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10276 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10277 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10278 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10279 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10280 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10281 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10282 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10283 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10284 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10285 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10286 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10289 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10292 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10293 whole low double instead of just low 47 bits when splitting values
10296 2012-12-03 Allan McRae <allan@archlinux.org>
10298 * manual/stdio.texi (Predefined Printf Handlers): Remove
10299 @hsep and @vsep usage.
10301 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10303 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10304 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10306 2012-12-03 Jeff Law <law@redhat.com>
10308 * time/sys/time.h (settimeofday): Do not mark TV argument
10311 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10313 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10314 when currently writing and seek to current position when not.
10315 * libio/Makefile (tests): Remove bug-fclose1.
10316 * libio/bug-fclose1.c: Delete.
10318 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10320 * manual/arith.texi (feenableexcept): Fix typo.
10321 (fedisableexcept): Likewise.
10323 2012-11-30 Roland McGrath <roland@hack.frob.com>
10325 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10326 second, differently-typed declaration, rather than a cast.
10328 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10330 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10331 * include/rpc/svc.h: ... here.
10333 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10336 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10337 depending n and resplen2 to catch cases where answer
10340 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10342 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10343 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10345 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10347 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10349 2012-11-29 Roland McGrath <roland@hack.frob.com>
10351 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10353 2012-11-28 Jeff Law <law@redhat.com>
10356 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10357 dataset_temporary. Track alloca usage into alloca_used.
10358 If dataset is large allocate and release it via malloc/free.
10360 2012-06-04 Florian Weimer <fweimer@redhat.com>
10363 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10365 2012-11-28 David S. Miller <davem@davemloft.net>
10367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10369 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10372 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10373 of pi/2 rounded to nearest to 64 bits.
10374 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10375 nearest to 64 bits.
10376 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10379 2012-11-28 Jeff Law <law@redhat.com>
10380 Martin Osvald <mosvald@redhat.com>
10383 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10384 * sunrpc/svc.c: Include time.h.
10385 (__svc_accept_failed): New function.
10386 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10387 any reason other than EINTR, call __svc_accept_failed.
10388 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10389 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10391 2012-11-28 Andreas Schwab <schwab@suse.de>
10393 * scripts/abilist.awk: Also handle indirect functions in .opd
10396 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10399 * sysdeps/x86/fpu/powl_helper.c: New file.
10400 * sysdeps/x86/fpu/Makefile: Likewise.
10401 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10403 (__ieee754_powl): Use __powl_helper for finite arguments except
10404 integer exponents below 8.
10405 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10407 (__ieee754_powl): Use __powl_helper for finite arguments except
10408 integer exponents below 8.
10409 * math/libm-test.inc (pow_test): Add more tests and enable some
10410 previously disabled tests.
10411 * sysdeps/i386/fpu/libm-test-ulps: Update.
10412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10414 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10415 Carlos O'Donell <carlos_odonell@mentor.com>
10417 * nss/makedb.c (is_prime): Assert that input is odd and greater
10418 than 4. Note that fact in a comment too.
10419 (next_prime): Add 4 to input.
10421 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10424 * libio/Makefile (tests): Add test case tst-fwrite-error.
10425 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10426 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10427 * libio/tst-fwrite-error.c: New test case.
10429 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10431 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10432 before casting to void *.
10433 * include/libc-internal.h (__pointer_type): New macro.
10434 (__integer_if_pointer_type_sub): Likewise.
10435 (__integer_if_pointer_type): Likewise.
10436 (cast_to_integer): Likewise.
10437 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10438 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10439 before casting to atomic64_t.
10440 (atomic_exchange_acq): Likewise.
10441 (__arch_exchange_and_add_body): Likewise.
10442 (__arch_add_body): Likewise.
10443 (atomic_add_negative): Likewise.
10444 (atomic_add_zero): Likewise.
10446 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10448 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10449 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10450 (add_fdes): Likewise.
10451 (linear_search_fdes): Likewise.
10452 (binary_search_unencoded_fdes): Likewise.
10454 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10456 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10458 2012-11-24 Adam Conrad <adconrad@0c3.net>
10460 * configure.in: Autodetect C++ header directories.
10461 * configure: Regenerated.
10463 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10465 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10467 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10471 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10473 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10474 LDBL_MANT_DIG == 106]: Disable some tests.
10475 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10477 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10481 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10482 input for small inputs. Return +/- pi/2 for large inputs.
10483 * math/libm-test.inc (atan_test): Add more tests.
10485 * sysdeps/generic/unwind-dw2-fde-glibc.c
10486 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10487 __attribute__ ((unused)).
10490 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10491 x * y if x and y are nonzero and z is zero.
10494 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10495 nonzero exponents with absolute value below 0x1p-117 to +/-
10499 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10500 up arguments below 2**-450, not just those below 2**-500.
10501 * math/libm-test.inc (hypot_test): Add another test.
10504 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10505 Return a+b for ratio over 2**120, not 2**60.
10506 * math/libm-test.inc (hypot_test): Add another test.
10508 * math/libm-test.inc (clog_test): Use
10509 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10510 (clog10_test): Likewise.
10513 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10515 2012-11-22 Andreas Schwab <schwab@suse.de>
10517 * sysdeps/i386/fpu/libm-test-ulps: Update.
10519 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10521 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10522 printf output with newline.
10524 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10527 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10528 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10529 -z nodlopen, -z initfirst and -z execstack support.
10530 * configure: Regenerated.
10532 * elf/elf.h (DF_1_NODIRECT): New macro.
10533 (DF_1_IGNMULDEF): Likewise.
10534 (DF_1_NOKSYMS): Likewise.
10535 (DF_1_NOHDR): Likewise.
10536 (DF_1_EDITED): Likewise.
10537 (DF_1_NORELOC): Likewise.
10538 (DF_1_SYMINTPOSE): Likewise.
10539 (DF_1_GLOBAUDIT): Likewise.
10540 (DF_1_SINGLETON): Likewise.
10541 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10542 DT_1_SUPPORTED_MASK bits.
10543 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10545 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10547 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10549 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10551 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10554 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10555 (sendmmsg): Move declarations...
10556 * socket/sys/socket.h: ... here.
10557 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10558 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10560 * socket/recvmmsg.c: ... this new file.
10561 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10562 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10563 definition of __sendmmsg hidden.
10564 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10565 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10566 Move ENOSYS stub into and include it from...
10567 * socket/sendmmsg.c: ... this new file.
10568 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10569 (sysdep_routines): Move recvmmsg and sendmmsg...
10570 * socket/Makefile (routines): ... here.
10571 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10572 (GLIBC_PRIVATE): Add __sendmmsg.
10573 * include/sys/socket.h (__sendmmsg): Add declarations.
10574 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10577 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10579 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10580 variable I1 with __attribute__ ((unused)).
10581 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10583 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10585 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10586 DUMMY variables with __attribute__ ((unused)).
10588 * bits/byteswap.h: Include <bits/types.h>.
10589 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10591 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10593 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10594 string_t. Do not manually set errno.
10595 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10596 length with __strnlen. Make sure to both set errno and return it on
10599 2012-11-19 David S. Miller <davem@davemloft.net>
10601 With help from Joseph Myers.
10602 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10603 very large arguments properly.
10604 * math/libm-test.inc (atan_test): New tests.
10605 (atan2_test): New tests.
10606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10609 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10612 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10615 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10616 [POSIX] (EADDRNOTAVAIL): Likewise.
10617 [POSIX] (EAFNOSUPPORT): Likewise.
10618 [POSIX] (EALREADY): Likewise.
10619 [POSIX] (ECONNABORTED): Likewise.
10620 [POSIX] (ECONNREFUSED): Likewise.
10621 [POSIX] (ECONNRESET): Likewise.
10622 [POSIX] (EDESTADDRREQ): Likewise.
10623 [POSIX] (EDQUOT): Likewise.
10624 [POSIX] (EHOSTUNREACH): Likewise.
10625 [POSIX] (EIDRM): Likewise.
10626 [POSIX] (EISCONN): Likewise.
10627 [POSIX] (ELOOP): Likewise.
10628 [POSIX] (EMULTIHOP): Likewise.
10629 [POSIX] (ENETDOWN): Likewise.
10630 [POSIX] (ENETUNREACH): Likewise.
10631 [POSIX] (ENOBUFS): Likewise.
10632 [POSIX] (ENODATA): Likewise.
10633 [POSIX] (ENOLINK): Likewise.
10634 [POSIX] (ENOMSG): Likewise.
10635 [POSIX] (ENOPROTOOPT): Likewise.
10636 [POSIX] (ENOSR): Likewise.
10637 [POSIX] (ENOSTR): Likewise.
10638 [POSIX] (ENOTCONN): Likewise.
10639 [POSIX] (ENOTSOCK): Likewise.
10640 [POSIX] (EOPNOTSUPP): Likewise.
10641 [POSIX] (EOVERFLOW): Likewise.
10642 [POSIX] (EPROTO): Likewise.
10643 [POSIX] (EPROTONOSUPPORT): Likewise.
10644 [POSIX] (EPROTOTYPE): Likewise.
10645 [POSIX] (ESTALE): Likewise.
10646 [POSIX] (ETIME): Likewise.
10647 [POSIX] (ETXTBSY): Likewise.
10648 [POSIX] (EWOULDBLOCK): Likewise.
10649 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10650 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10651 [POSIX] (SEEK_CUR): Likewise.
10652 [POSIX] (SEEK_END): Likewise.
10653 [POSIX || UNIX98] (mode_t): Do not require.
10654 [POSIX] (off_t): Likewise.
10655 [POSIX] (pid_t): Likewise.
10656 [POSIX] (sys/stat.h): Do not allow header.
10657 [POSIX] (unistd.h): Likewise.
10658 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10659 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10660 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10661 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10663 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10664 sigevent): Specify elements.
10665 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10667 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10668 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10670 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10671 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10672 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10673 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10674 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10675 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10676 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10677 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10678 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10679 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10680 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10681 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10682 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10683 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10685 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10687 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10689 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10691 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10692 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10693 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10694 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10695 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10696 Specify lower bound on value.
10697 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10698 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10699 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10700 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10701 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10702 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10703 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10704 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10706 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10708 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10709 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10710 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10711 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10712 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10713 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10714 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10715 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10716 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10717 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10718 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10719 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10720 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10721 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10722 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10723 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10725 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10727 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10728 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10729 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10730 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10731 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10732 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10734 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10735 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10736 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10737 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10738 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10739 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10740 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10742 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10743 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10744 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10745 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10746 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10747 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10748 specify as optional.
10749 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10750 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10751 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10752 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10753 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10754 [XPG3] (NL_LANGMAX): Likewise.
10755 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10756 [POSIX || XPG3] (NL_NMAX): Likewise.
10757 [POSIX || XPG3] (NL_SETMAX): Likewise.
10758 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10759 [XPG3] (NZERO): Likewise.
10760 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10761 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10762 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10763 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10764 (REG_ERANGE): Expect.
10765 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10767 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10768 Use (void) in prototype.
10769 [POSIX] (*_t): Allow.
10770 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10771 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10772 (WRDE_BADVAL): Expect.
10774 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10776 [XPG3 || XPG4] (O_RSYNC): Likewise.
10777 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10779 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10780 [XPG3 || XPG4] (sigqueue): Likewise.
10781 [XPG3 || XPG4] (sigtimedwait): Likewise.
10782 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10783 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10784 [XPG3 || XPG4] (vsnprintf): Likewise.
10785 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10787 [XPG3 || XPG4] (blksize_t): Likewise.
10788 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10790 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10791 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10792 [XPG3 || XPG4] (struct itimerspec): Likewise.
10793 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10794 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10795 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10796 [XPG3 || XPG4] (clockid_t): Likewise.
10797 [XPG3 || XPG4] (timer_t): Likewise.
10798 [XPG3 || XPG4] (clock_getres): Likewise.
10799 [XPG3 || XPG4] (clock_gettime): Likewise.
10800 [XPG3 || XPG4] (clock_settime): Likewise.
10801 [XPG3 || XPG4] (nanosleep): Likewise.
10802 [XPG3 || XPG4] (timer_create): Likewise.
10803 [XPG3 || XPG4] (timer_delete): Likewise.
10804 [XPG3 || XPG4] (timer_gettime): Likewise.
10805 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10806 [XPG3 || XPG4] (timer_settime): Likewise.
10807 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10808 [XPG3 || XPG4] (getlogin_r): Likewise.
10809 [XPG3 || XPG4] (pread): Likewise.
10810 [XPG3 || XPG4] (pthread_atfork): Likewise.
10811 [XPG3 || XPG4] (pwrite): Likewise.
10814 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10817 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10819 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10820 finalizing MALLSTREAM.
10822 * sysdeps/mach/hurd/syncfs.c: New file.
10824 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10827 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10828 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10829 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10830 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10831 (_nss_dns_gethostbyname4_r): Likewise.
10832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10833 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10835 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10838 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10840 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10842 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10843 * elf/cache.c (print_entry): Print ",AArch64" for
10846 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10847 * elf/cache.c (print_entry): Print ",hard-float" for
10850 2012-11-18 David S. Miller <davem@davemloft.net>
10852 With help from Joseph Myers.
10853 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10855 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10857 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10858 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10860 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10861 * math/libm-test.inc (y0_test): New tests.
10862 (y1_test): New tests.
10863 * sysdeps/i386/fpu/libm-test-ulps: Update.
10864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10867 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10869 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10871 * configure: Regenerated.
10873 2012-11-17 David S. Miller <davem@davemloft.net>
10876 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10877 nonzero exponents with absolute value below 0x1p-128 to +/-
10880 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10882 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10884 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10886 * posix/getconf-speclist.c: New file.
10887 * posix/posix-envs.def: Likewise.
10888 * posix/confstr.c (START_ENV_GROUP): New macro.
10889 (END_ENV_GROUP): Likewise.
10890 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10891 (KNOWN_PRESENT_ENV_STRING): Likewise.
10892 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10893 (UNKNOWN_ENVIRONMENT): Likewise.
10894 (confstr): Include posix-envs.def instead of handling
10895 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10896 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10897 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10898 (END_ENV_GROUP): Likewise.
10899 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10900 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10901 (UNKNOWN_ENVIRONMENT): Likewise.
10902 (__sysconf): Include posix-envs.def instead of handling associated
10903 cases directly here.
10904 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10905 preprocessing getconf-speclist.c rather than running getconf or
10906 generating empty file.
10908 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10910 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10912 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10915 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10917 2012-11-16 David S. Miller <davem@davemloft.net>
10919 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10920 smaller than LDBL_EPSILON/2.0L, just return xm1.
10922 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10924 * elf/tst-array1.c (init): Set constructor priority to 1000.
10925 (fini): Set destructor priority to 1000.
10926 * elf/tst-array2dep.c: Likewise.
10928 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10931 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10932 (_IO_new_file_xsputn): Also return EOF if none of the input
10933 data was written when overflow failed.
10934 * libio/iopadn.c (_IO_padn): Likewise.
10935 * libio/iowpadn.c (_IO_wpadn): Likewise.
10936 * stdio-common/tst-put-error.c: Add copyright notice.
10937 (do_test): Add case for printing padded string.
10938 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10939 _IO_padn returned error.
10940 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10941 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10944 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10946 * libio/libioP.h: Add comment note that the references to C++
10947 bits are now obsolete.
10949 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10951 * math/libm-test.inc (check_complex): Use asprintf.
10953 2012-11-14 Joseph Myers <joseph@codesourcery.com>
10955 * debug/pcprofiledump.c (print_version): Update copyright year.
10956 * malloc/memusagestat.c (print_version): Likewise.
10958 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10961 * elf/Makefile (tests): Add tst-audit8.
10962 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10963 ($(objpfx)tst-audit8.out): New target.
10964 (tst-audit8-ENV): New variable.
10965 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10966 audit if l_reloc_result is NULL.
10967 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10968 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10969 * elf/tst-audit8.c: New file.
10971 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10973 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10974 * misc/Makefile (CFLAGS-select.c): Define.
10975 * posix/Makefile (CFLAGS-pause.c): Define.
10977 2012-11-13 David S. Miller <davem@davemloft.net>
10979 * crypt/Makefile: Move test targets after toplevel Rules
10980 inclusion. Grab any necessary sysdep routines when linking.
10981 * crypt/md5.c (md5_process_block): Remove define, we will always
10982 name it __md5_process_block.
10983 (md5_finish_ctx): Update md5_process_block call.
10984 (md5_stream): Likewise.
10985 (md5_process_bytes): Likewise.
10986 (md5_process_block): Rename to __md5_process_block and move to ...
10987 * crypt/md5-block.c: ... here.
10988 * crypt/sha256.c (sha256_process_block): Move to ...
10989 * crypt/sha256-block.c: ... here.
10990 * crypt/sha512.c (sha512_process_block): Move to ...
10991 * crypt/sha512-block.c: ... here.
10992 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10994 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10995 * sysdeps/sparc/sparc64/multiarch/Makefile
10996 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10998 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10999 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11001 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11002 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11003 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11004 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11005 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11006 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11007 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11008 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11009 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11011 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11012 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11014 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11016 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11018 * timezone/tzselect.ksh: Update from tzcode git revision
11019 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11020 * timezone/zdump.c: Likewise.
11021 * timezone/zic.c: Likewise.
11022 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11023 in TZVERSION setting, not $(PKGVERSION).
11024 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11025 REPORT_BUGS_TO settings.
11028 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11031 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11033 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11034 detection to immediately after _FP_ROUND().
11035 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11038 2012-11-11 David S. Miller <davem@davemloft.net>
11040 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11042 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11043 __close rather than their public counterparts.
11045 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11047 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11049 [UNIX98] (sem_timedwait): Do not expect.
11050 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11051 [XPG4 || UNIX98] (sockatmark): Do not expect.
11052 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11053 (clock_getcpuclockid): Do not expect.
11054 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11055 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11057 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11058 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11059 [UNIX98] (vwscanf): Likewise.
11060 [UNIX98] (vswscanf): Likewise.
11062 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11064 * timezone/version.h: Remove file.
11065 * timezone/README: Do not refer to version.h.
11066 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11067 $(objpfx)version.h.
11068 ($(objpfx)zdump.o): Likewise.
11069 ($(objpfx)version.h): New target.
11071 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11073 * timezone/README: Don't mention modification to tzselect.ksh.
11074 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11075 work on unmodified tzselect.ksh. Substitute version numbers in
11078 * Makefile (format-me): Remove.
11079 (INSTALL): Adjust indentation. Use commands directly instead of
11080 using $(format-me).
11082 * aclocal.m4 (ACX_PKGVERSION): New macro.
11083 (ACX_BUGURL): Likewise.
11084 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11085 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11086 (REPORT_BUGS_TO): Likewise.
11087 * configure: Regenerated.
11088 * config.h.in (PKGVERSION): New macro.
11089 (REPORT_BUGS_TO): Likewise.
11090 * config.make.in (PKGVERSION): New variable.
11091 (PKGVERSION_TEXI): Likewise.
11092 (REPORT_BUGS_TO): Likewise.
11093 (REPORT_BUGS_TEXI): Likewise.
11094 * Makefile (format-me): Use -I$(common-objpfx)manual.
11095 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11096 ($(common-objpfx)manual/%): New target.
11097 (manual/%): Remove target.
11098 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11099 (print_version): Use PKGVERSION.
11100 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11101 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11102 and REPORT_BUGS_TO.
11103 ($(objpfx)xtrace): Likewise.
11104 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11105 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11106 (print_version): Use PKGVERSION.
11107 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11108 (do_version): Use PKGVERSION.
11109 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11111 (common-ldd-rewrite): Likewise.
11112 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11113 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11114 (print_version): Use PKGVERSION.
11115 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11116 * elf/pldd.c (argp_program_bug_address): Remove variable.
11117 (more_help): New function.
11118 (argp): Use more_help.
11119 (print_version): Use PKGVERSION.
11120 * elf/sln.c (main): Use PKGVERSION.
11121 (usage): Use REPORT_BUGS_TO.
11122 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11123 (top level): Use PKGVERSION.
11124 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11125 (print_version): Use PKGVERSION.
11126 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11127 (print_version): Use PKGVERSION.
11128 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11129 (print_version): Use PKGVERSION.
11130 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11131 (print_version): Use PKGVERSION.
11132 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11133 (print_version): Use PKGVERSION.
11134 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11135 (print_version): Use PKGVERSION.
11136 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11138 ($(objpfx)memusage): Likewise.
11139 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11140 (do_version): Use PKGVERSION.
11141 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11142 (print_version): Use PKGVERSION.
11143 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11144 ($PKGVERSION): New variable.
11145 ($REPORT_BUGS_TO): Likewise.
11146 (usage): Use $REPORT_BUGS_TO.
11147 (top level): Use $PKGVERSION.
11148 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11149 ($(objpfx)pkgvers.texi): New rule.
11150 ($(objpfx)stamp-pkgvers): Likewise.
11151 * manual/install.texi: Include pkgvers.texi.
11152 (--with-pkgversion): Document new configure option.
11153 (--with-bugurl): Likewise.
11154 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11155 than necessarily for this particular distribution. Use
11156 REPORT_BUGS_TO for where to report bugs.
11157 * INSTALL: Regenerated.
11158 * manual/libc.texinfo: Include pkgvers.texi.
11159 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11160 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11161 (print_version): Use PKGVERSION.
11162 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11163 (print_version): Use PKGVERSION.
11164 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11165 (print_version): Use PKGVERSION.
11166 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11167 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11169 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11170 (print_version): Use PKGVERSION.
11171 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11172 (print_version): Use PKGVERSION.
11173 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11176 * timezone/checktab.awk: Update from tzcode 2012i.
11177 * timezone/ialloc.c: Likewise.
11178 * timezone/private.h: Likewise.
11179 * timezone/scheck.c: Likewise.
11180 * timezone/tzfile.h: Likewise.
11181 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11182 (TZVERSION): Hardcode tzcode version number.
11183 * timezone/zdump.c: Update from tzcode 2012i.
11184 * timezone/zic.c: Likewise.
11185 * timezone/version.h: New file.
11186 * timezone/README: Describe version.h. Update upstream location.
11189 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11190 (mktemp): Enable declaration.
11191 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11192 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11193 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11194 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11196 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11198 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11200 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11202 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11204 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11208 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11209 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11210 for copies of such integer values.
11211 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11212 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11214 2012-11-09 Andreas Jaeger <aj@suse.de>
11216 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11217 definitions and declarations that are provided by
11218 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11220 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11222 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11223 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11224 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11227 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11229 * elf/elf.h: Update comment before AArch64 relocations.
11231 2012-11-07 David S. Miller <davem@davemloft.net>
11233 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11234 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11235 (__start_context): Declare.
11236 (__makecontext_ret): Delete.
11237 (__makecontext): Hook up __start_context instead of
11239 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11240 (sysdep_routines): Add __start_context when in stdlib.
11242 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11244 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11245 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11246 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11248 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11249 (READELF): New variable. Use it instead of hardcoded "readelf".
11251 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11253 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11254 * sysdeps/x86/Makefile: Here.
11255 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11256 * sysdeps/x86/tst-xmmymm.sh: This.
11258 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11260 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11262 [UNIX98] (pthread_barrier_t): Do not expect.
11263 [UNIX98] (pthread_barrierattr_t): Likewise.
11264 [UNIX98] (pthread_spinlock_t): Likewise.
11265 [UNIX98] (pthread_barrier_destroy): Likewise.
11266 [UNIX98] (pthread_barrier_init): Likewise.
11267 [UNIX98] (pthread_barrier_wait): Likewise.
11268 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11269 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11270 [UNIX98] (pthread_barrierattr_init): Likewise.
11271 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11272 [UNIX98] (pthread_getcpuclockid): Likewise.
11273 [UNIX98] (pthread_mutex_timedlock): Likewise.
11274 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11275 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11276 [UNIX98] (pthread_sigmask): Likewise.
11277 [UNIX98] (pthread_spin_destroy): Likewise.
11278 [UNIX98] (pthread_spin_init): Likewise.
11279 [UNIX98] (pthread_spin_lock): Likewise.
11280 [UNIX98] (pthread_spin_trylock): Likewise.
11281 [UNIX98] (pthread_spin_unlock): Likewise.
11282 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11284 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11285 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11286 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11287 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11288 [XPG3 || XPG4] (pthread_key_t): Likewise.
11289 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11290 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11291 [XPG3 || XPG4] (pthread_once_t): Likewise.
11292 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11293 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11294 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11295 [XPG3 || XPG4] (pthread_t): Likewise.
11297 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11299 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11301 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11302 Change function return type to int.
11304 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11305 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11306 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11307 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11308 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11309 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11310 [!POSIX] (posix_madvise): Likewise.
11311 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11313 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11314 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11315 (mode_t): Likewise.
11316 (posix_mem_offset): Likewise.
11317 (posix_typed_mem_get_info): Likewise.
11318 (posix_typed_mem_open): Likewise.
11320 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11321 Change condition to [XOPEN2K8].
11323 * conform/conformtest.pl: Preprocess allow-header data with -x c
11324 instead of from stdin.
11325 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11326 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11327 [C99-based standards] (cerfc): Likewise.
11328 [C99-based standards] (cexp2): Likewise.
11329 [C99-based standards] (cexpm1): Likewise.
11330 [C99-based standards] (clog10): Likewise.
11331 [C99-based standards] (clog1p): Likewise.
11332 [C99-based standards] (clog2): Likewise.
11333 [C99-based standards] (clgamma): Likewise.
11334 [C99-based standards] (ctgamma): Likewise.
11335 [C99-based standards] (cerff): Likewise.
11336 [C99-based standards] (cerfcf): Likewise.
11337 [C99-based standards] (cexp2f): Likewise.
11338 [C99-based standards] (cexpm1f): Likewise.
11339 [C99-based standards] (clog10f): Likewise.
11340 [C99-based standards] (clog1pf): Likewise.
11341 [C99-based standards] (clog2f): Likewise.
11342 [C99-based standards] (clgammaf): Likewise.
11343 [C99-based standards] (ctgammaf): Likewise.
11344 [C99-based standards] (cerfl): Likewise.
11345 [C99-based standards] (cerfcl): Likewise.
11346 [C99-based standards] (cexp2l): Likewise.
11347 [C99-based standards] (cexpm1l): Likewise.
11348 [C99-based standards] (clog10l): Likewise.
11349 [C99-based standards] (clog1pl): Likewise.
11350 [C99-based standards] (clog2l): Likewise.
11351 [C99-based standards] (clgammal): Likewise.
11352 [C99-based standards] (ctgammal): Likewise.
11353 * conform/data/inttypes.h-data [C99-based standards]: Include
11354 stdint.h-data. Remove all expectations for stdint.h contents.
11355 [C99-based standards] (PRI*): Do not allow.
11356 [C99-based standards] (SCN*): Likewise.
11357 [C99-based standards] (*_t): Likewise.
11358 [C99-based-standards] (PRId8): Expect macro.
11359 [C99-based-standards] (PRIi8): Likewise.
11360 [C99-based-standards] (PRIo8): Likewise.
11361 [C99-based-standards] (PRIu8): Likewise.
11362 [C99-based-standards] (PRIx8): Likewise.
11363 [C99-based-standards] (PRIX8): Likewise.
11364 [C99-based-standards] (SCNd8): Likewise.
11365 [C99-based-standards] (SCNi8): Likewise.
11366 [C99-based-standards] (SCNo8): Likewise.
11367 [C99-based-standards] (SCNu8): Likewise.
11368 [C99-based-standards] (SCNx8): Likewise.
11369 [C99-based-standards] (PRIdLEAST8): Likewise.
11370 [C99-based-standards] (PRIiLEAST8): Likewise.
11371 [C99-based-standards] (PRIoLEAST8): Likewise.
11372 [C99-based-standards] (PRIuLEAST8): Likewise.
11373 [C99-based-standards] (PRIxLEAST8): Likewise.
11374 [C99-based-standards] (PRIXLEAST8): Likewise.
11375 [C99-based-standards] (SCNdLEAST8): Likewise.
11376 [C99-based-standards] (SCNiLEAST8): Likewise.
11377 [C99-based-standards] (SCNoLEAST8): Likewise.
11378 [C99-based-standards] (SCNuLEAST8): Likewise.
11379 [C99-based-standards] (SCNxLEAST8): Likewise.
11380 [C99-based-standards] (PRIdFAST8): Likewise.
11381 [C99-based-standards] (PRIiFAST8): Likewise.
11382 [C99-based-standards] (PRIoFAST8): Likewise.
11383 [C99-based-standards] (PRIuFAST8): Likewise.
11384 [C99-based-standards] (PRIxFAST8): Likewise.
11385 [C99-based-standards] (PRIXFAST8): Likewise.
11386 [C99-based-standards] (SCNdFAST8): Likewise.
11387 [C99-based-standards] (SCNiFAST8): Likewise.
11388 [C99-based-standards] (SCNoFAST8): Likewise.
11389 [C99-based-standards] (SCNuFAST8): Likewise.
11390 [C99-based-standards] (SCNxFAST8): Likewise.
11391 [C99-based-standards] (PRId16): Likewise.
11392 [C99-based-standards] (PRIi16): Likewise.
11393 [C99-based-standards] (PRIo16): Likewise.
11394 [C99-based-standards] (PRIu16): Likewise.
11395 [C99-based-standards] (PRIx16): Likewise.
11396 [C99-based-standards] (PRIX16): Likewise.
11397 [C99-based-standards] (SCNd16): Likewise.
11398 [C99-based-standards] (SCNi16): Likewise.
11399 [C99-based-standards] (SCNo16): Likewise.
11400 [C99-based-standards] (SCNu16): Likewise.
11401 [C99-based-standards] (SCNx16): Likewise.
11402 [C99-based-standards] (PRIdLEAST16): Likewise.
11403 [C99-based-standards] (PRIiLEAST16): Likewise.
11404 [C99-based-standards] (PRIoLEAST16): Likewise.
11405 [C99-based-standards] (PRIuLEAST16): Likewise.
11406 [C99-based-standards] (PRIxLEAST16): Likewise.
11407 [C99-based-standards] (PRIXLEAST16): Likewise.
11408 [C99-based-standards] (SCNdLEAST16): Likewise.
11409 [C99-based-standards] (SCNiLEAST16): Likewise.
11410 [C99-based-standards] (SCNoLEAST16): Likewise.
11411 [C99-based-standards] (SCNuLEAST16): Likewise.
11412 [C99-based-standards] (SCNxLEAST16): Likewise.
11413 [C99-based-standards] (PRIdFAST16): Likewise.
11414 [C99-based-standards] (PRIiFAST16): Likewise.
11415 [C99-based-standards] (PRIoFAST16): Likewise.
11416 [C99-based-standards] (PRIuFAST16): Likewise.
11417 [C99-based-standards] (PRIxFAST16): Likewise.
11418 [C99-based-standards] (PRIXFAST16): Likewise.
11419 [C99-based-standards] (SCNdFAST16): Likewise.
11420 [C99-based-standards] (SCNiFAST16): Likewise.
11421 [C99-based-standards] (SCNoFAST16): Likewise.
11422 [C99-based-standards] (SCNuFAST16): Likewise.
11423 [C99-based-standards] (SCNxFAST16): Likewise.
11424 [C99-based-standards] (PRId32): Likewise.
11425 [C99-based-standards] (PRIi32): Likewise.
11426 [C99-based-standards] (PRIo32): Likewise.
11427 [C99-based-standards] (PRIu32): Likewise.
11428 [C99-based-standards] (PRIx32): Likewise.
11429 [C99-based-standards] (PRIX32): Likewise.
11430 [C99-based-standards] (SCNd32): Likewise.
11431 [C99-based-standards] (SCNi32): Likewise.
11432 [C99-based-standards] (SCNo32): Likewise.
11433 [C99-based-standards] (SCNu32): Likewise.
11434 [C99-based-standards] (SCNx32): Likewise.
11435 [C99-based-standards] (PRIdLEAST32): Likewise.
11436 [C99-based-standards] (PRIiLEAST32): Likewise.
11437 [C99-based-standards] (PRIoLEAST32): Likewise.
11438 [C99-based-standards] (PRIuLEAST32): Likewise.
11439 [C99-based-standards] (PRIxLEAST32): Likewise.
11440 [C99-based-standards] (PRIXLEAST32): Likewise.
11441 [C99-based-standards] (SCNdLEAST32): Likewise.
11442 [C99-based-standards] (SCNiLEAST32): Likewise.
11443 [C99-based-standards] (SCNoLEAST32): Likewise.
11444 [C99-based-standards] (SCNuLEAST32): Likewise.
11445 [C99-based-standards] (SCNxLEAST32): Likewise.
11446 [C99-based-standards] (PRIdFAST32): Likewise.
11447 [C99-based-standards] (PRIiFAST32): Likewise.
11448 [C99-based-standards] (PRIoFAST32): Likewise.
11449 [C99-based-standards] (PRIuFAST32): Likewise.
11450 [C99-based-standards] (PRIxFAST32): Likewise.
11451 [C99-based-standards] (PRIXFAST32): Likewise.
11452 [C99-based-standards] (SCNdFAST32): Likewise.
11453 [C99-based-standards] (SCNiFAST32): Likewise.
11454 [C99-based-standards] (SCNoFAST32): Likewise.
11455 [C99-based-standards] (SCNuFAST32): Likewise.
11456 [C99-based-standards] (SCNxFAST32): Likewise.
11457 [C99-based-standards] (PRId64): Likewise.
11458 [C99-based-standards] (PRIi64): Likewise.
11459 [C99-based-standards] (PRIo64): Likewise.
11460 [C99-based-standards] (PRIu64): Likewise.
11461 [C99-based-standards] (PRIx64): Likewise.
11462 [C99-based-standards] (PRIX64): Likewise.
11463 [C99-based-standards] (SCNd64): Likewise.
11464 [C99-based-standards] (SCNi64): Likewise.
11465 [C99-based-standards] (SCNo64): Likewise.
11466 [C99-based-standards] (SCNu64): Likewise.
11467 [C99-based-standards] (SCNx64): Likewise.
11468 [C99-based-standards] (PRIdLEAST64): Likewise.
11469 [C99-based-standards] (PRIiLEAST64): Likewise.
11470 [C99-based-standards] (PRIoLEAST64): Likewise.
11471 [C99-based-standards] (PRIuLEAST64): Likewise.
11472 [C99-based-standards] (PRIxLEAST64): Likewise.
11473 [C99-based-standards] (PRIXLEAST64): Likewise.
11474 [C99-based-standards] (SCNdLEAST64): Likewise.
11475 [C99-based-standards] (SCNiLEAST64): Likewise.
11476 [C99-based-standards] (SCNoLEAST64): Likewise.
11477 [C99-based-standards] (SCNuLEAST64): Likewise.
11478 [C99-based-standards] (SCNxLEAST64): Likewise.
11479 [C99-based-standards] (PRIdFAST64): Likewise.
11480 [C99-based-standards] (PRIiFAST64): Likewise.
11481 [C99-based-standards] (PRIoFAST64): Likewise.
11482 [C99-based-standards] (PRIuFAST64): Likewise.
11483 [C99-based-standards] (PRIxFAST64): Likewise.
11484 [C99-based-standards] (PRIXFAST64): Likewise.
11485 [C99-based-standards] (SCNdFAST64): Likewise.
11486 [C99-based-standards] (SCNiFAST64): Likewise.
11487 [C99-based-standards] (SCNoFAST64): Likewise.
11488 [C99-based-standards] (SCNuFAST64): Likewise.
11489 [C99-based-standards] (SCNxFAST64): Likewise.
11490 [C99-based-standards] (PRIdMAX): Likewise.
11491 [C99-based-standards] (PRIiMAX): Likewise.
11492 [C99-based-standards] (PRIoMAX): Likewise.
11493 [C99-based-standards] (PRIuMAX): Likewise.
11494 [C99-based-standards] (PRIxMAX): Likewise.
11495 [C99-based-standards] (PRIXMAX): Likewise.
11496 [C99-based-standards] (SCNdMAX): Likewise.
11497 [C99-based-standards] (SCNiMAX): Likewise.
11498 [C99-based-standards] (SCNoMAX): Likewise.
11499 [C99-based-standards] (SCNuMAX): Likewise.
11500 [C99-based-standards] (SCNxMAX): Likewise.
11501 [C99-based-standards] (PRIdPTR): Likewise.
11502 [C99-based-standards] (PRIiPTR): Likewise.
11503 [C99-based-standards] (PRIoPTR): Likewise.
11504 [C99-based-standards] (PRIuPTR): Likewise.
11505 [C99-based-standards] (PRIxPTR): Likewise.
11506 [C99-based-standards] (PRIXPTR): Likewise.
11507 [C99-based-standards] (SCNdPTR): Likewise.
11508 [C99-based-standards] (SCNiPTR): Likewise.
11509 [C99-based-standards] (SCNoPTR): Likewise.
11510 [C99-based-standards] (SCNuPTR): Likewise.
11511 [C99-based-standards] (SCNxPTR): Likewise.
11512 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11514 * conform/data/stdint.h-data: Update comments to clarify
11516 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11518 [C99-based standards] (INT8_MAX): Likewise.
11519 [C99-based standards] (INT16_MIN): Likewise.
11520 [C99-based standards] (INT16_MAX): Likewise.
11521 [C99-based standards] (INT32_MIN): Likewise.
11522 [C99-based standards] (INT32_MAX): Likewise.
11523 [C99-based standards] (INT64_MIN): Likewise.
11524 [C99-based standards] (INT64_MAX): Likewise.
11525 [C99-based standards] (UINT8_MAX): Likewise.
11526 [C99-based standards] (UINT16_MAX): Likewise.
11527 [C99-based standards] (UINT32_MAX): Likewise.
11528 [C99-based standards] (UINT64_MAX): Likewise.
11529 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11530 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11531 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11532 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11533 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11534 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11535 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11536 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11537 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11538 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11539 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11540 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11541 [C99-based standards] (INT_FAST8_MIN): Likewise.
11542 [C99-based standards] (INT_FAST8_MAX): Likewise.
11543 [C99-based standards] (INT_FAST16_MIN): Likewise.
11544 [C99-based standards] (INT_FAST16_MAX): Likewise.
11545 [C99-based standards] (INT_FAST32_MIN): Likewise.
11546 [C99-based standards] (INT_FAST32_MAX): Likewise.
11547 [C99-based standards] (INT_FAST64_MIN): Likewise.
11548 [C99-based standards] (INT_FAST64_MAX): Likewise.
11549 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11550 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11551 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11552 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11553 [C99-based standards] (INTPTR_MIN): Likewise.
11554 [C99-based standards] (INTPTR_MAX): Likewise.
11555 [C99-based standards] (UINTPTR_MAX): Likewise.
11556 [C99-based standards] (INTMAX_MIN): Likewise.
11557 [C99-based standards] (INTMAX_MAX): Likewise.
11558 [C99-based standards] (UINTMAX_MAX): Likewise.
11559 [C99-based standards] (PTRDIFF_MIN): Likewise.
11560 [C99-based standards] (PTRDIFF_MAX): Likewise.
11561 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11562 [C99-based standards] (SIZE_MAX): Likewise.
11563 [C99-based standards] (WCHAR_MAX): Likewise.
11564 [C99-based standards] (WINT_MAX): Likewise.
11565 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11566 constraint on value.
11567 [C99-based standards] (WCHAR_MIN): Likewise.
11568 [C99-based standards] (WINT_MIN): Likewise.
11569 [C99-based standards] (*_t): Allow.
11570 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11571 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11572 Include math.h-data and complex.h-data. Remove all expectations
11573 of math.h and complex.h contents.
11574 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11576 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11577 (struct tm): Expect tag.
11578 [C99-based-standards] (wcstof): Expect function.
11579 [C99-based-standards] (wcstold): Likewise.
11580 [C99-based-standards] (wcstoll): Likewise.
11581 [C99-based-standards] (wcstoull): Likewise.
11582 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11583 macro-int-constant. Specify type.
11584 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11585 constraint on value.
11586 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11588 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11590 [ISO C standards]: Do not allow headers.
11591 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11592 wcs[abcdefghijklmnopqrstuvwxyz]*.
11593 [ISO C standards] (*_t): Do not allow.
11594 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11596 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11597 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11599 [ISO C standards]: Do not allow headers.
11600 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11601 is[abcdefghijklmnopqrstuvwxyz]*.
11602 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11603 to[abcdefghijklmnopqrstuvwxyz]*.
11604 [ISO C standards] (*_t): Do not allow.
11605 * conform/data/stdalign.h-data: New file.
11606 * conform/data/stdbool.h-data: Likewise.
11607 * conform/data/stdnoreturn.h-data: Likewise.
11609 2012-11-07 Roland McGrath <roland@hack.frob.com>
11612 * manual/filesys.texi (Directory Entries): Typo fix.
11613 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11615 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11617 * elf/elf.h (EM_AARCH64): New macro.
11618 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11619 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11620 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11621 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11622 (R_AARCH64_TLSDESC): Likewise.
11623 (NT_ARM_TLS): Likewise.
11624 (NT_ARM_HW_BREAK): Likewise.
11625 (NT_ARM_HW_WATCH): Likewise.
11627 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11630 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11631 (__ieee754_powl): Saturate nonzero exponents with absolute value
11632 below 0x1p-79 to +/- 0x1p-79.
11633 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11634 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11635 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11636 nonzero exponents with absolute value below 0x1p-32 to +/-
11638 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11639 (__ieee754_powl): Saturate nonzero exponents with absolute value
11640 below 0x1p-79 to +/- 0x1p-79.
11641 * math/libm-test.inc (pow_test): Add more tests.
11643 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11645 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11646 _dl_s390_cap_flags with kernel. Increase string length.
11647 (_dl_s390_platforms): Add z196 and zEC12.
11649 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11651 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11652 Change XOPEN21K to XOPEN2K.
11654 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11656 * string/memmove.c: Use memcpy when possible.
11658 2012-11-06 Andreas Jaeger <aj@suse.de>
11660 * po/eo.po: Update from translation team.
11662 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11666 exponent and small x and y exponents, scale x or y up. Increase
11667 by 2 the exponent used in scaling up.
11668 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11669 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11670 * math/libm-test.inc (fma_test): Add more tests.
11671 (fma_test_towardzero): Likewise.
11672 (fma_test_downward): Likewise.
11673 (fma_test_upward): Likewise.
11675 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11678 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11682 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11683 namespace for names of struct fields.
11684 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11686 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11687 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11689 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11692 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11694 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11696 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11700 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11703 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11706 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11707 definitely overflow as x * y not x * y + z.
11708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11709 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11710 * math/libm-test.inc (fma_test): Add more tests.
11711 (fma_test_towardzero): Likewise.
11712 (fma_test_downward): Likewise.
11713 (fma_test_upward): Likewise.
11715 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11719 * include/stub-tag.h: Remove file.
11720 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11722 * manual/maint.texi (Porting): Don't reference it.
11723 * Makerules ($(objpfx)stubs): Likewise.
11724 * dirent/closedir.c: Don't include <stub-tag.h>.
11725 * dirent/dirfd.c: Likewise.
11726 * dirent/fdopendir.c: Likewise.
11727 * dirent/getdents.c: Likewise.
11728 * dirent/getdents64.c: Likewise.
11729 * dirent/opendir.c: Likewise.
11730 * dirent/readdir.c: Likewise.
11731 * dirent/readdir64.c: Likewise.
11732 * dirent/readdir64_r.c: Likewise.
11733 * dirent/readdir_r.c: Likewise.
11734 * dirent/rewinddir.c: Likewise.
11735 * dirent/seekdir.c: Likewise.
11736 * dirent/telldir.c: Likewise.
11737 * gmon/profil.c: Likewise.
11738 * grp/setgroups.c: Likewise.
11739 * inet/if_index.c: Likewise.
11740 * io/access.c: Likewise.
11741 * io/chdir.c: Likewise.
11742 * io/chmod.c: Likewise.
11743 * io/chown.c: Likewise.
11744 * io/close.c: Likewise.
11745 * io/dup.c: Likewise.
11746 * io/dup2.c: Likewise.
11747 * io/dup3.c: Likewise.
11748 * io/euidaccess.c: Likewise.
11749 * io/faccessat.c: Likewise.
11750 * io/fchdir.c: Likewise.
11751 * io/fchmod.c: Likewise.
11752 * io/fchmodat.c: Likewise.
11753 * io/fchown.c: Likewise.
11754 * io/fchownat.c: Likewise.
11755 * io/fcntl.c: Likewise.
11756 * io/flock.c: Likewise.
11757 * io/fstatfs.c: Likewise.
11758 * io/fstatfs64.c: Likewise.
11759 * io/fstatvfs.c: Likewise.
11760 * io/fstatvfs64.c: Likewise.
11761 * io/futimens.c: Likewise.
11762 * io/fxstat.c: Likewise.
11763 * io/fxstat64.c: Likewise.
11764 * io/fxstatat.c: Likewise.
11765 * io/fxstatat64.c: Likewise.
11766 * io/getcwd.c: Likewise.
11767 * io/isatty.c: Likewise.
11768 * io/lchmod.c: Likewise.
11769 * io/lchown.c: Likewise.
11770 * io/link.c: Likewise.
11771 * io/linkat.c: Likewise.
11772 * io/lseek.c: Likewise.
11773 * io/lseek64.c: Likewise.
11774 * io/lxstat64.c: Likewise.
11775 * io/mkdir.c: Likewise.
11776 * io/mkdirat.c: Likewise.
11777 * io/mkfifo.c: Likewise.
11778 * io/mkfifoat.c: Likewise.
11779 * io/open.c: Likewise.
11780 * io/open64.c: Likewise.
11781 * io/openat.c: Likewise.
11782 * io/openat64.c: Likewise.
11783 * io/pipe.c: Likewise.
11784 * io/pipe2.c: Likewise.
11785 * io/poll.c: Likewise.
11786 * io/posix_fadvise.c: Likewise.
11787 * io/posix_fadvise64.c: Likewise.
11788 * io/posix_fallocate.c: Likewise.
11789 * io/posix_fallocate64.c: Likewise.
11790 * io/read.c: Likewise.
11791 * io/readlink.c: Likewise.
11792 * io/readlinkat.c: Likewise.
11793 * io/rmdir.c: Likewise.
11794 * io/sendfile.c: Likewise.
11795 * io/sendfile64.c: Likewise.
11796 * io/statfs.c: Likewise.
11797 * io/statfs64.c: Likewise.
11798 * io/statvfs.c: Likewise.
11799 * io/statvfs64.c: Likewise.
11800 * io/symlink.c: Likewise.
11801 * io/symlinkat.c: Likewise.
11802 * io/ttyname.c: Likewise.
11803 * io/ttyname_r.c: Likewise.
11804 * io/umask.c: Likewise.
11805 * io/unlink.c: Likewise.
11806 * io/unlinkat.c: Likewise.
11807 * io/utime.c: Likewise.
11808 * io/utimensat.c: Likewise.
11809 * io/write.c: Likewise.
11810 * io/xmknod.c: Likewise.
11811 * io/xmknodat.c: Likewise.
11812 * io/xstat.c: Likewise.
11813 * io/xstat64.c: Likewise.
11814 * login/getpt.c: Likewise.
11815 * login/grantpt.c: Likewise.
11816 * login/unlockpt.c: Likewise.
11817 * math/e_acoshl.c: Likewise.
11818 * math/e_acosl.c: Likewise.
11819 * math/e_asinl.c: Likewise.
11820 * math/e_atan2l.c: Likewise.
11821 * math/e_atanhl.c: Likewise.
11822 * math/e_coshl.c: Likewise.
11823 * math/e_expl.c: Likewise.
11824 * math/e_fmodl.c: Likewise.
11825 * math/e_gammal_r.c: Likewise.
11826 * math/e_hypotl.c: Likewise.
11827 * math/e_j0l.c: Likewise.
11828 * math/e_j1l.c: Likewise.
11829 * math/e_jnl.c: Likewise.
11830 * math/e_lgammal_r.c: Likewise.
11831 * math/e_log10l.c: Likewise.
11832 * math/e_log2l.c: Likewise.
11833 * math/e_logl.c: Likewise.
11834 * math/e_powl.c: Likewise.
11835 * math/e_rem_pio2l.c: Likewise.
11836 * math/e_sinhl.c: Likewise.
11837 * math/e_sqrtl.c: Likewise.
11838 * math/fclrexcpt.c: Likewise.
11839 * math/fedisblxcpt.c: Likewise.
11840 * math/feenablxcpt.c: Likewise.
11841 * math/fegetenv.c: Likewise.
11842 * math/fegetexcept.c: Likewise.
11843 * math/fegetround.c: Likewise.
11844 * math/feholdexcpt.c: Likewise.
11845 * math/fesetenv.c: Likewise.
11846 * math/fesetround.c: Likewise.
11847 * math/feupdateenv.c: Likewise.
11848 * math/fgetexcptflg.c: Likewise.
11849 * math/fraiseexcpt.c: Likewise.
11850 * math/fsetexcptflg.c: Likewise.
11851 * math/ftestexcept.c: Likewise.
11852 * math/k_cosl.c: Likewise.
11853 * math/k_rem_pio2l.c: Likewise.
11854 * math/k_sinl.c: Likewise.
11855 * math/k_tanl.c: Likewise.
11856 * math/s_asinhl.c: Likewise.
11857 * math/s_atanl.c: Likewise.
11858 * math/s_cbrtl.c: Likewise.
11859 * math/s_erfl.c: Likewise.
11860 * math/s_expm1l.c: Likewise.
11861 * math/s_log1pl.c: Likewise.
11862 * math/s_tanhl.c: Likewise.
11863 * misc/acct.c: Likewise.
11864 * misc/brk.c: Likewise.
11865 * misc/chflags.c: Likewise.
11866 * misc/chroot.c: Likewise.
11867 * misc/fchflags.c: Likewise.
11868 * misc/fgetxattr.c: Likewise.
11869 * misc/flistxattr.c: Likewise.
11870 * misc/fremovexattr.c: Likewise.
11871 * misc/fsetxattr.c: Likewise.
11872 * misc/fsync.c: Likewise.
11873 * misc/ftruncate.c: Likewise.
11874 * misc/futimes.c: Likewise.
11875 * misc/futimesat.c: Likewise.
11876 * misc/getdomain.c: Likewise.
11877 * misc/getdtsz.c: Likewise.
11878 * misc/gethostid.c: Likewise.
11879 * misc/gethostname.c: Likewise.
11880 * misc/getloadavg.c: Likewise.
11881 * misc/getpagesize.c: Likewise.
11882 * misc/getsysstats.c: Likewise.
11883 * misc/getxattr.c: Likewise.
11884 * misc/gtty.c: Likewise.
11885 * misc/ioctl.c: Likewise.
11886 * misc/lgetxattr.c: Likewise.
11887 * misc/listxattr.c: Likewise.
11888 * misc/llistxattr.c: Likewise.
11889 * misc/lremovexattr.c: Likewise.
11890 * misc/lsetxattr.c: Likewise.
11891 * misc/lutimes.c: Likewise.
11892 * misc/madvise.c: Likewise.
11893 * misc/mincore.c: Likewise.
11894 * misc/mlock.c: Likewise.
11895 * misc/mlockall.c: Likewise.
11896 * misc/mmap.c: Likewise.
11897 * misc/mprotect.c: Likewise.
11898 * misc/msync.c: Likewise.
11899 * misc/munlock.c: Likewise.
11900 * misc/munlockall.c: Likewise.
11901 * misc/munmap.c: Likewise.
11902 * misc/preadv.c: Likewise.
11903 * misc/preadv64.c: Likewise.
11904 * misc/ptrace.c: Likewise.
11905 * misc/pwritev.c: Likewise.
11906 * misc/pwritev64.c: Likewise.
11907 * misc/readv.c: Likewise.
11908 * misc/reboot.c: Likewise.
11909 * misc/remap_file_pages.c: Likewise.
11910 * misc/removexattr.c: Likewise.
11911 * misc/revoke.c: Likewise.
11912 * misc/select.c: Likewise.
11913 * misc/setdomain.c: Likewise.
11914 * misc/setegid.c: Likewise.
11915 * misc/seteuid.c: Likewise.
11916 * misc/sethostid.c: Likewise.
11917 * misc/sethostname.c: Likewise.
11918 * misc/setregid.c: Likewise.
11919 * misc/setreuid.c: Likewise.
11920 * misc/setxattr.c: Likewise.
11921 * misc/sstk.c: Likewise.
11922 * misc/stty.c: Likewise.
11923 * misc/swapoff.c: Likewise.
11924 * misc/swapon.c: Likewise.
11925 * misc/sync.c: Likewise.
11926 * misc/syncfs.c: Likewise.
11927 * misc/syscall.c: Likewise.
11928 * misc/truncate.c: Likewise.
11929 * misc/ualarm.c: Likewise.
11930 * misc/usleep.c: Likewise.
11931 * misc/ustat.c: Likewise.
11932 * misc/utimes.c: Likewise.
11933 * misc/vhangup.c: Likewise.
11934 * misc/writev.c: Likewise.
11935 * posix/_exit.c: Likewise.
11936 * posix/alarm.c: Likewise.
11937 * posix/execve.c: Likewise.
11938 * posix/fexecve.c: Likewise.
11939 * posix/fork.c: Likewise.
11940 * posix/fpathconf.c: Likewise.
11941 * posix/getaddrinfo.c: Likewise.
11942 * posix/getegid.c: Likewise.
11943 * posix/geteuid.c: Likewise.
11944 * posix/getgid.c: Likewise.
11945 * posix/getgroups.c: Likewise.
11946 * posix/getlogin.c: Likewise.
11947 * posix/getlogin_r.c: Likewise.
11948 * posix/getpgid.c: Likewise.
11949 * posix/getpid.c: Likewise.
11950 * posix/getppid.c: Likewise.
11951 * posix/getresgid.c: Likewise.
11952 * posix/getresuid.c: Likewise.
11953 * posix/getsid.c: Likewise.
11954 * posix/getuid.c: Likewise.
11955 * posix/glob64.c: Likewise.
11956 * posix/nanosleep.c: Likewise.
11957 * posix/pathconf.c: Likewise.
11958 * posix/pause.c: Likewise.
11959 * posix/posix_madvise.c: Likewise.
11960 * posix/pread.c: Likewise.
11961 * posix/pread64.c: Likewise.
11962 * posix/pwrite.c: Likewise.
11963 * posix/pwrite64.c: Likewise.
11964 * posix/sched_getaffinity.c: Likewise.
11965 * posix/sched_getp.c: Likewise.
11966 * posix/sched_gets.c: Likewise.
11967 * posix/sched_primax.c: Likewise.
11968 * posix/sched_primin.c: Likewise.
11969 * posix/sched_rr_gi.c: Likewise.
11970 * posix/sched_setaffinity.c: Likewise.
11971 * posix/sched_setp.c: Likewise.
11972 * posix/sched_sets.c: Likewise.
11973 * posix/sched_yield.c: Likewise.
11974 * posix/setgid.c: Likewise.
11975 * posix/setlogin.c: Likewise.
11976 * posix/setpgid.c: Likewise.
11977 * posix/setresgid.c: Likewise.
11978 * posix/setresuid.c: Likewise.
11979 * posix/setsid.c: Likewise.
11980 * posix/setuid.c: Likewise.
11981 * posix/sleep.c: Likewise.
11982 * posix/spawni.c: Likewise.
11983 * posix/sysconf.c: Likewise.
11984 * posix/times.c: Likewise.
11985 * posix/wait.c: Likewise.
11986 * posix/wait3.c: Likewise.
11987 * posix/wait4.c: Likewise.
11988 * posix/waitpid.c: Likewise.
11989 * resolv/gai_sigqueue.c: Likewise.
11990 * resource/getpriority.c: Likewise.
11991 * resource/getrlimit.c: Likewise.
11992 * resource/getrusage.c: Likewise.
11993 * resource/nice.c: Likewise.
11994 * resource/setpriority.c: Likewise.
11995 * resource/setrlimit.c: Likewise.
11996 * resource/ulimit.c: Likewise.
11997 * rt/aio_cancel.c: Likewise.
11998 * rt/aio_fsync.c: Likewise.
11999 * rt/aio_read.c: Likewise.
12000 * rt/aio_sigqueue.c: Likewise.
12001 * rt/aio_suspend.c: Likewise.
12002 * rt/aio_write.c: Likewise.
12003 * rt/clock_getres.c: Likewise.
12004 * rt/clock_gettime.c: Likewise.
12005 * rt/clock_nanosleep.c: Likewise.
12006 * rt/clock_settime.c: Likewise.
12007 * rt/lio_listio.c: Likewise.
12008 * rt/mq_close.c: Likewise.
12009 * rt/mq_getattr.c: Likewise.
12010 * rt/mq_notify.c: Likewise.
12011 * rt/mq_open.c: Likewise.
12012 * rt/mq_receive.c: Likewise.
12013 * rt/mq_send.c: Likewise.
12014 * rt/mq_setattr.c: Likewise.
12015 * rt/mq_timedreceive.c: Likewise.
12016 * rt/mq_timedsend.c: Likewise.
12017 * rt/mq_unlink.c: Likewise.
12018 * rt/shm_open.c: Likewise.
12019 * rt/shm_unlink.c: Likewise.
12020 * rt/timer_create.c: Likewise.
12021 * rt/timer_delete.c: Likewise.
12022 * rt/timer_getoverr.c: Likewise.
12023 * rt/timer_gettime.c: Likewise.
12024 * rt/timer_settime.c: Likewise.
12025 * setjmp/__longjmp.c: Likewise.
12026 * setjmp/setjmp.c: Likewise.
12027 * signal/kill.c: Likewise.
12028 * signal/killpg.c: Likewise.
12029 * signal/raise.c: Likewise.
12030 * signal/sigaction.c: Likewise.
12031 * signal/sigaltstack.c: Likewise.
12032 * signal/sigblock.c: Likewise.
12033 * signal/sigignore.c: Likewise.
12034 * signal/sigintr.c: Likewise.
12035 * signal/signal.c: Likewise.
12036 * signal/sigpause.c: Likewise.
12037 * signal/sigpending.c: Likewise.
12038 * signal/sigqueue.c: Likewise.
12039 * signal/sigreturn.c: Likewise.
12040 * signal/sigset.c: Likewise.
12041 * signal/sigsetmask.c: Likewise.
12042 * signal/sigstack.c: Likewise.
12043 * signal/sigsuspend.c: Likewise.
12044 * signal/sigtimedwait.c: Likewise.
12045 * signal/sigvec.c: Likewise.
12046 * signal/sigwait.c: Likewise.
12047 * signal/sigwaitinfo.c: Likewise.
12048 * signal/sysv_signal.c: Likewise.
12049 * socket/accept.c: Likewise.
12050 * socket/accept4.c: Likewise.
12051 * socket/bind.c: Likewise.
12052 * socket/connect.c: Likewise.
12053 * socket/getpeername.c: Likewise.
12054 * socket/getsockname.c: Likewise.
12055 * socket/getsockopt.c: Likewise.
12056 * socket/isfdtype.c: Likewise.
12057 * socket/listen.c: Likewise.
12058 * socket/recv.c: Likewise.
12059 * socket/recvfrom.c: Likewise.
12060 * socket/recvmsg.c: Likewise.
12061 * socket/send.c: Likewise.
12062 * socket/sendmsg.c: Likewise.
12063 * socket/sendto.c: Likewise.
12064 * socket/setsockopt.c: Likewise.
12065 * socket/shutdown.c: Likewise.
12066 * socket/sockatmark.c: Likewise.
12067 * socket/socket.c: Likewise.
12068 * socket/socketpair.c: Likewise.
12069 * stdio-common/ctermid.c: Likewise.
12070 * stdio-common/cuserid.c: Likewise.
12071 * stdio-common/remove.c: Likewise.
12072 * stdio-common/rename.c: Likewise.
12073 * stdio-common/renameat.c: Likewise.
12074 * stdio-common/tempname.c: Likewise.
12075 * stdlib/getcontext.c: Likewise.
12076 * stdlib/makecontext.c: Likewise.
12077 * stdlib/setcontext.c: Likewise.
12078 * stdlib/swapcontext.c: Likewise.
12079 * stdlib/system.c: Likewise.
12080 * streams/fattach.c: Likewise.
12081 * streams/fdetach.c: Likewise.
12082 * streams/getmsg.c: Likewise.
12083 * streams/getpmsg.c: Likewise.
12084 * streams/putmsg.c: Likewise.
12085 * streams/putpmsg.c: Likewise.
12086 * sysdeps/unix/bsd/getpt.c: Likewise.
12087 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12088 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12089 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12092 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12093 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12094 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12095 * sysvipc/msgctl.c: Likewise.
12096 * sysvipc/msgget.c: Likewise.
12097 * sysvipc/msgrcv.c: Likewise.
12098 * sysvipc/msgsnd.c: Likewise.
12099 * sysvipc/semctl.c: Likewise.
12100 * sysvipc/semget.c: Likewise.
12101 * sysvipc/semop.c: Likewise.
12102 * sysvipc/semtimedop.c: Likewise.
12103 * sysvipc/shmat.c: Likewise.
12104 * sysvipc/shmctl.c: Likewise.
12105 * sysvipc/shmdt.c: Likewise.
12106 * sysvipc/shmget.c: Likewise.
12107 * termios/tcdrain.c: Likewise.
12108 * termios/tcflow.c: Likewise.
12109 * termios/tcflush.c: Likewise.
12110 * termios/tcgetattr.c: Likewise.
12111 * termios/tcgetpgrp.c: Likewise.
12112 * termios/tcsendbrk.c: Likewise.
12113 * termios/tcsetattr.c: Likewise.
12114 * termios/tcsetpgrp.c: Likewise.
12115 * time/adjtime.c: Likewise.
12116 * time/clock.c: Likewise.
12117 * time/getitimer.c: Likewise.
12118 * time/gettimeofday.c: Likewise.
12119 * time/setitimer.c: Likewise.
12120 * time/settimeofday.c: Likewise.
12121 * time/stime.c: Likewise.
12122 * time/time.c: Likewise.
12124 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
12126 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12129 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12131 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12133 2012-11-03 Joseph Myers <joseph@codesourcery.com>
12136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12137 FE_TONEAREST before applying Dekker multiplication and Knuth
12138 addition. Clear inexact exceptions and check for exact zero
12139 results afterwards.
12140 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12141 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12142 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12143 * math/libm-test.inc (fma_test): Add more tests.
12144 (fma_test_towardzero): Likewise.
12145 (fma_test_downward): Likewise.
12146 (fma_test_upward): Likewise.
12147 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12149 (libc_fesetround): New macro.
12150 (libc_fesetroundf): Likewise.
12151 (libc_fesetroundl): Likewise.
12152 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12154 (libc_fesetround_387): Likewise.
12155 (libc_fesetroundf): New macro.
12156 (libc_fesetround): Likewise.
12157 (libc_fesetroundl): Likewise.
12158 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12160 (libc_fesetroundf): New macro.
12161 (libc_fesetround): Likewise.
12162 (libc_fesetroundl): Likewise.
12163 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12164 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12165 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12167 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12168 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12170 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12171 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12173 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12177 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12178 integer constant usable in #if and use that to give value to enum
12180 (FE_DIVBYZERO): Likewise.
12181 (FE_UNDERFLOW): Likewise.
12182 (FE_OVERFLOW): Likewise.
12183 (FE_INVALID): Likewise.
12184 (FE_INVALID_SNAN): Likewise.
12185 (FE_INVALID_ISI): Likewise.
12186 (FE_INVALID_IDI): Likewise.
12187 (FE_INVALID_ZDZ): Likewise.
12188 (FE_INVALID_IMZ): Likewise.
12189 (FE_INVALID_COMPARE): Likewise.
12190 (FE_INVALID_SOFTWARE): Likewise.
12191 (FE_INVALID_SQRT): Likewise.
12192 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12193 (FE_TONEAREST): Likewise.
12194 (FE_TOWARDZERO): Likewise.
12195 (FE_UPWARD): Likewise.
12196 (FE_DOWNWARD): Likewise.
12197 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12198 (FE_DIVBYZERO): Likewise.
12199 (FE_OVERFLOW): Likewise.
12200 (FE_UNDERFLOW): Likewise.
12201 (FE_INEXACT): Likewise.
12202 (FE_TONEAREST): Likewise.
12203 (FE_DOWNWARD): Likewise.
12204 (FE_UPWARD): Likewise.
12205 (FE_TOWARDZERO): Likewise.
12206 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12207 (FE_UNDERFLOW): Likewise.
12208 (FE_OVERFLOW): Likewise.
12209 (FE_DIVBYZERO): Likewise.
12210 (FE_INVALID): Likewise.
12211 (FE_TONEAREST): Likewise.
12212 (FE_TOWARDZERO): Likewise.
12213 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12214 (FE_OVERFLOW): Likewise.
12215 (FE_UNDERFLOW): Likewise.
12216 (FE_DIVBYZERO): Likewise.
12217 (FE_INEXACT): Likewise.
12218 (FE_TONEAREST): Likewise.
12219 (FE_TOWARDZERO): Likewise.
12220 (FE_UPWARD): Likewise.
12221 (FE_DOWNWARD): Likewise.
12222 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12223 (FE_DIVBYZERO): Likewise.
12224 (FE_OVERFLOW): Likewise.
12225 (FE_UNDERFLOW): Likewise.
12226 (FE_INEXACT): Likewise.
12227 (FE_TONEAREST): Likewise.
12228 (FE_DOWNWARD): Likewise.
12229 (FE_UPWARD): Likewise.
12230 (FE_TOWARDZERO): Likewise.
12232 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12234 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12236 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12238 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12239 commands. Quote $PWD.
12240 (blacklist_exports): Don't use remove_newlines. Replace "declare
12242 (remove_newlines): Remove.
12244 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12246 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12247 * stdlib/stdlib.h (atof): Moved to ...
12248 * include/bits/stdlib-float.h: Here. New file.
12249 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12250 * stdlib/bits/stdlib-float.h: New file.
12251 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12253 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12256 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12258 * conform/conformtest.pl (@headers): Add fenv.h.
12259 * conform/data/fenv.h-data: New file.
12260 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12261 include of <math/fenv.h>.
12263 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12264 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12265 && !UNIX98]. Enables tests for XOPEN2K8.
12266 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12267 POSIX2008]: Likewise.
12269 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12270 (struct rusage): Do not expect type or its members.
12273 * math/math.h (FP_NAN): Define macro to integer constant usable in
12274 #if and use that to give value to enum constant.
12275 (FP_INFINITE): Likewise.
12276 (FP_ZERO): Likewise.
12277 (FP_SUBNORMAL): Likewise.
12278 (FP_NORMAL): Likewise.
12280 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12282 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12283 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12286 2012-11-02 Roland McGrath <roland@hack.frob.com>
12288 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12289 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12290 autoconf-time if not.
12291 * configure.in: Remove AC_PREREQ.
12293 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12295 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12296 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12297 of the internal implementation.
12299 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12301 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12302 except include of <misc/sys/syslog.h>.
12304 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12307 function returns with a NULL context exit with zero.
12309 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12311 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12313 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12315 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12316 (run_program_cmd): This.
12317 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12318 (tst_langinfo): New variable. Use it.
12320 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12322 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12323 floating point opcodes.
12325 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12327 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12330 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12332 * sysdeps/mach/hurd/powerpc: Remove directory.
12333 * sysdeps/mach/powerpc: Likewise.
12335 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12337 * scripts/check-local-headers.sh: Ignore c++ headers.
12339 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12341 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12342 __libc_cleanup_region_start argument.
12344 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12349 x * y using scaling, not as x * y + z.
12350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12351 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12352 * math/libm-test.inc (fma_test): Add more tests.
12353 (fma_test_towardzero): Likewise.
12354 (fma_test_downward): Likewise.
12355 (fma_test_upward): Likewise.
12357 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12359 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12361 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12363 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12366 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12368 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12370 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12377 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12380 Fix the order of the list for glibc 2.17.
12381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12384 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12388 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12391 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12392 for low part of x being zero before using __atanl (y).
12393 * math/libm-test.inc (atan2_test): Add another test.
12395 * manual/install.texi (Configuring and compiling): Document
12396 general use of test-wrapper and test-wrapper-env.
12397 * INSTALL: Regenerated.
12399 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12400 (__fma): Do not extract and scale down low bits on after-rounding
12401 systems when result rounded to normal precision would have normal
12403 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12404 (__fmal): Do not extract and scale down low bits on after-rounding
12405 systems when result rounded to normal precision would have normal
12407 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12408 (__fmal): Do not extract and scale down low bits on after-rounding
12409 systems when result rounded to normal precision would have normal
12411 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12413 (fma_test): Add more tests.
12414 (fma_test_towardzero): Likewise.
12415 (fma_test_downward): Likewise.
12416 (fma_test_upward): Likewise.
12418 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12420 * sysdeps/i386/tininess.h: Renamed to ...
12421 * sysdeps/x86/tininess.h: This.
12422 * sysdeps/x86_64/tininess.h: Removed.
12424 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12426 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12427 input. Use $(build-program-cmd).
12428 ($(objpfx)tst-array1-static.out): Likewise.
12429 ($(objpfx)tst-array2.out): Likewise.
12430 ($(objpfx)tst-array3.out): Likewise.
12431 ($(objpfx)tst-array4.out): Likewise.
12432 ($(objpfx)tst-array5.out): Likewise.
12433 ($(objpfx)tst-array5-static.out): Likewise.
12435 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12437 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12440 * nss/nsswitch.h (nss_interface_function): Provide new
12441 macro for use with NSS functions.
12442 * grp/initgroups.c: Use new macro.
12443 * nss/getXXbyYY.c: Likewise.
12444 * nss/getXXbyYY_r.c: Likewise.
12445 * nss/getXXent.c: Likewise.
12446 * nss/getXXent_r.c: Likewise.
12447 * sysdeps/posix/getaddrinfo.c: Likewise.
12449 2012-10-30 Andreas Jaeger <aj@suse.de>
12451 * po/ru.po: Update Russion translation from translation project.
12453 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12458 result and shift together with sticky bit instead of replicating
12459 round-to-nearest rounding.
12460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12461 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12462 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12463 missing underflow exceptions.
12464 (fma_test_towardzero): Add more tests.
12465 (fma_test_downward): Likewise.
12466 (fma_test_upward): Likewise.
12469 * sysdeps/generic/tininess.h: New file.
12470 * sysdeps/i386/tininess.h: Likewise.
12471 * sysdeps/sh/tininess.h: Likewise.
12472 * sysdeps/x86_64/tininess.h: Likewise.
12473 * stdlib/tst-strtod-underflow.c: Likewise.
12474 * stdlib/tst-tininess.c: Likewise.
12475 * stdlib/strtod_l.c: Include <tininess.h>.
12476 (round_and_return): Do not set errno for exact underflow cases.
12477 Force an underflow exception when setting errno for underflow.
12478 Determine underflow based on rounding to normal precision if
12479 TININESS_AFTER_ROUNDING.
12480 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12481 ERANGE for exact underflow cases.
12482 * stdlib/Makefile (tests): Add tst-tininess and
12483 tst-strtod-underflow.
12484 ($(objpfx)tst-tininess): Use $(link-libm).
12485 ($(objpfx)tst-strtod-underflow): Likewise.
12487 2012-10-30 Andreas Jaeger <aj@suse.de>
12490 * elf/Makefile (tests): Remove conditional for have-initfini-array
12491 since this is now always required and the variable does not exist
12493 (tests-static): Likewise.
12494 (modules-names): Likewise.
12496 * po/eo.po: Add Esperanto translation from translation project.
12498 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12499 merged with constructor/destructor.
12500 (init_array): Likewise.
12501 * elf/tst-array2dep.c (fini_array): Likewise.
12502 (init_array): Likewise.
12504 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12506 * manual/message.texi: Delete @cartouche tags.
12508 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12510 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12512 * sysdeps/mach/hurd/fsync.c: Likewise.
12514 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12515 [_POSIX_REALTIME_SIGNALS]: Change condition to
12516 [_POSIX_REALTIME_SIGNALS > 0].
12518 2012-10-27 Andreas Jaeger <aj@suse.de>
12520 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12521 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12522 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12523 [__WORDSIZE != 64]: Likewise.
12525 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12527 * iconvdata/tst-table.sh: Remove ${SHELL}.
12528 * iconvdata/tst-tables.sh: Likewise.
12530 2012-10-25 David S. Miller <davem@davemloft.net>
12532 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12533 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12538 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12539 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12540 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12543 2012-10-25 Roland McGrath <roland@hack.frob.com>
12545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12546 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12549 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12550 Jim Blandy <jimb@codesourcery.com>
12552 * scripts/cross-test-ssh.sh: New file.
12553 * manual/install.texi (Configuring and compiling): Document use of
12555 * INSTALL: Regenerated.
12557 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12559 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12562 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12564 * Makeconfig (run-program-prefix): Fix comment.
12566 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12567 Jim Blandy <jimb@codesourcery.com>
12569 * Makeconfig (test-wrapper): New variable,
12570 (test-wrapper-env): Likewise.
12571 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12572 (run-built-tests): Define to yes.
12573 (run-program-prefix): Use $(test-wrapper).
12574 (built-program-cmd): Likewise.
12575 * Rules (make-test-out): Use $(test-wrapper-env) and
12576 $(host-built-program-cmd).
12577 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12578 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12580 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12581 $(test-wrapper-env) to tst-rtld-load-self.sh.
12582 ($(objpfx)order2.out): Use $(test-wrapper).
12583 ($(objpfx)tst-initorder.out): Likewise.
12584 ($(objpfx)tst-initorder2.out): Likewise.
12585 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12586 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12587 (test_wrapper_env): New variable. Use it to run ld.so.
12588 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12589 Use it to run ld.so.
12590 (test_wrapper_env): Likewise.
12591 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12592 $(test-wrapper) to run-iconv-test.sh.
12593 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12594 (ICONV): Use $test_wrapper.
12595 * posix/Makefile ($(objpfx)globtest.out): Pass
12596 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12597 globtest.sh, not $(run-program-prefix).
12598 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12599 (test_wrapper): Likewise.
12600 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12601 set together with run_via_rtld_prefix.
12602 (run_program_prefix): Define in terms of test_wrapper and
12603 run_via_rtld_prefix.
12605 2012-10-24 Roland McGrath <roland@hack.frob.com>
12607 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12608 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12612 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12613 Declare __clock_getres, __clock_gettime, __clock_settime,
12614 __clock_nanosleep, and __clock_getcpuclockid.
12615 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12616 Remove librt_hidden_def (clock_gettime).
12617 * sysdeps/unix/clock_gettime.c: Likewise.
12618 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12619 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12620 * rt/clock_getres.c: Define __clock_getres as an alias.
12621 * sysdeps/posix/clock_getres.c: Likewise.
12622 * rt/clock_settime.c: Define __clock_settime as an alias.
12623 * sysdeps/unix/clock_settime.c: Likewise.
12624 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12625 * sysdeps/unix/clock_nanosleep.c: Likewise.
12626 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12627 * rt/clock-compat.c: New file.
12628 * rt/Makefile (librt-routines): Add clock-compat and move
12629 $(clock-routines) to ...
12630 (routines): ... here, new variable.
12631 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12632 Don't add get_clockfreq here.
12633 * rt/Versions (libc: GLIBC_2.17): New version set.
12634 Add clock_* symbols here.
12635 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12636 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12637 (GLIBC_2.17): Add clock_* symbols.
12638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12640 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12649 * NEWS: Mention the move.
12651 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12652 Use __open, __read, __close rather than their public counterparts.
12653 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12654 (__get_clockfreq_via_cpuinfo): Likewise.
12655 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12656 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12658 * config.h.in (HAVE_IFUNC): New #undef.
12659 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12661 * configure: Regenerated.
12663 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12665 * configure.in: Move READELF check to start of file.
12666 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12667 libc_cv_asm_gnu_indirect_function in the process.
12668 * configure: Regenerated.
12670 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12672 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12673 send the output to /dev/null.
12674 (libc_cv_cc_with_libunwind): Likewise.
12675 (libc_cv_as_noexecstack): Likewise.
12676 * configure: Regenerate.
12678 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12680 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12682 * posix/globtest.sh (TMPDIR): Do not set.
12683 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12684 (testout): Likewise.
12686 2012-10-24 Andreas Jaeger <aj@suse.de>
12688 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12689 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12690 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12691 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12692 posix_fadvise64, posix_fallocate64.
12694 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12695 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12696 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12698 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12700 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12703 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12704 <bits/fcntl-linux.h>.
12705 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12708 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12709 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12710 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12711 [__WORDSIZE != 64]: Likewise.
12713 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12715 * Makeconfig (run-built-tests): New variable.
12716 * Rules [$(cross-compiling) = yes]: Change condition to
12717 [$(run-built-tests) = no].
12718 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12719 to [$(run-built-tests) = yes].
12720 * elf/Makefile [$(cross-compiling) = no]: Likewise
12721 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12722 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12723 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12724 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12725 * io/Makefile [$(cross-compiling) = no]: Likewise.
12726 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12727 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12728 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12729 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12730 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12731 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12732 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12733 * string/Makefile [$(cross-compiling) = no]: Likewise.
12735 * posix/Makefile ($(objpfx)globtest.out): Pass
12736 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12737 $(rtld-installed-name).
12738 * posix/globtest.sh (elf_objpfx): Remove variable.
12739 (rtld_installed_name): Likewise.
12740 (library_path): Likewise.
12741 (run_program_prefix): New variable. Use for running globtest
12744 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12745 Joseph Myers <joseph@codesourcery.com>
12747 * Makeconfig (host-built-program-cmd): New variable.
12748 * elf/Makefile (tst-stackguard1-ARGS): Use
12749 $(host-built-program-cmd).
12750 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12751 (tst-spawn-ARGS): Likewise.
12752 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12754 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12755 Jim Blandy <jimb@codesourcery.com>
12757 * Makeconfig (run-via-rtld-prefix): New variable.
12758 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12759 (built-program-cmd): Likewise.
12761 2012-10-22 Andreas Jaeger <aj@suse.de>
12763 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12764 __O_RSYNC if it exists, otherwise to O_SYNC.
12766 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12767 Joseph Myers <joseph@codesourcery.com>
12769 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12771 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12773 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12776 2012-10-22 Andreas Jaeger <aj@suse.de>
12778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12780 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12783 bits/fcntl-linux.h.
12785 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12786 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12790 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12793 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12794 Joseph Myers <joseph@codesourcery.com>
12796 * config.make.in (NM): New variable.
12798 2012-10-21 Andreas Jaeger <aj@suse.de>
12800 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12801 definitions and declarations that are provided by
12802 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12804 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12807 * elf/Makefile (tests-static): Add tst-leaks1-static.
12808 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12809 ($(objpfx)tst-leaks1-static): New rule.
12810 ($(objpfx)tst-leaks1-static-mem): Likewise.
12811 (tst-leaks1-static-ENV): New macro.
12812 * elf/dl-open.c (dl_open_worker): Check the main application
12813 only if SHARED is defined.
12814 * elf/tst-leaks1-static.c: New file.
12816 2012-10-20 Andreas Jaeger <aj@suse.de>
12818 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12819 generic values for Linux.
12820 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12821 and declarations that are provided by <bits/fcntl-linux.h> and
12822 include <bits/fcntl-linux.h>.
12823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12824 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12826 2012-10-20 Roland McGrath <roland@hack.frob.com>
12828 * io/fcntl.h: Move include of <bits/types.h> to the top and
12829 include it unconditionally.
12831 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12833 * wcsmbs/Makefile (tests-ifunc): New variable.
12834 (tests): Add $(tests-ifunc).
12835 * wcsmbs/test-wcschr-ifunc.c: New file.
12836 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12837 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12838 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12839 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12840 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12842 * string/Makefile (tests-ifunc): New variable.
12843 (tests): Add $(tests-ifunc).
12844 * string/test-memccpy.c (TEST_NAME): New macro.
12845 * string/test-memchr.c (TEST_NAME): Likewise.
12846 * string/test-memcmp.c (TEST_NAME): Likewise.
12847 * string/test-memcpy.c (TEST_NAME): Likewise.
12848 * string/test-memmem.c (TEST_NAME): Likewise.
12849 * string/test-memmove.c (TEST_NAME): Likewise.
12850 * string/test-memset.c (TEST_NAME): Likewise.
12851 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12852 * string/test-stpcpy.c (TEST_NAME): Likewise.
12853 * string/test-stpncpy.c (TEST_NAME): Likewise.
12854 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12855 * string/test-strcasestr.c (TEST_NAME): Likewise.
12856 * string/test-strcat.c (TEST_NAME): Likewise.
12857 * string/test-strchr.c (TEST_NAME): Likewise.
12858 * string/test-strcmp.c(TEST_NAME): Likewise.
12859 * string/test-strcpy.c (TEST_NAME): Likewise.
12860 * string/test-strcspn.c (TEST_NAME): Likewise.
12861 * string/test-strlen.c (TEST_NAME): Likewise.
12862 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12863 * string/test-strncmp.c (TEST_NAME): Likewise.
12864 * string/test-strncpy.c (TEST_NAME): Likewise.
12865 * string/test-strnlen.c (TEST_NAME): Likewise.
12866 * string/test-strpbrk.c (TEST_NAME): Likewise.
12867 * string/test-strrchr.c (TEST_NAME): Likewise.
12868 * string/test-strspn.c (TEST_NAME): Likewise.
12869 * string/test-strstr.c (TEST_NAME): Likewise.
12870 * string/test-bcopy-ifunc.c: New file.
12871 * string/test-bzero-ifunc.c: Likewise.
12872 * string/test-memccpy-ifunc.c: Likewise.
12873 * string/test-memchr-ifunc.c: Likewise.
12874 * string/test-memcmp-ifunc.c: Likewise.
12875 * string/test-memcpy-ifunc.c: Likewise.
12876 * string/test-memmem-ifunc.c: Likewise.
12877 * string/test-memmove-ifunc.c: Likewise.
12878 * string/test-mempcpy-ifunc.c: Likewise.
12879 * string/test-memset-ifunc.c: Likewise.
12880 * string/test-rawmemchr-ifunc.c: Likewise.
12881 * string/test-stpcpy-ifunc.c: Likewise.
12882 * string/test-stpncpy-ifunc.c: Likewise.
12883 * string/test-strcasecmp-ifunc.c: Likewise.
12884 * string/test-strcasestr-ifunc.c: Likewise.
12885 * string/test-strcat-ifunc.c: Likewise.
12886 * string/test-strchr-ifunc.c: Likewise.
12887 * string/test-strchrnul-ifunc.c: Likewise.
12888 * string/test-strcmp-ifunc.c: Likewise.
12889 * string/test-strcpy-ifunc.c: Likewise.
12890 * string/test-strcspn-ifunc.c: Likewise.
12891 * string/test-strlen-ifunc.c: Likewise.
12892 * string/test-strncasecmp-ifunc.c: Likewise.
12893 * string/test-strncat-ifunc.c: Likewise.
12894 * string/test-strncmp-ifunc.c: Likewise.
12895 * string/test-strncpy-ifunc.c: Likewise.
12896 * string/test-strnlen-ifunc.c: Likewise.
12897 * string/test-strpbrk-ifunc.c: Likewise.
12898 * string/test-strrchr-ifunc.c: Likewise.
12899 * string/test-strspn-ifunc.c: Likewise.
12900 * string/test-strstr-ifunc.c: Likewise.
12902 * debug/Makefile (tests-ifunc): New variable.
12903 (tests): Add $(tests-ifunc).
12904 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12905 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12906 * debug/test-stpcpy_chk-ifunc.c: New file.
12907 * debug/test-strcpy_chk-ifunc.c: Likewise.
12909 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12912 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12913 header is not read in.
12915 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12917 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12918 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12919 directly. Pass built executable to script as
12920 $(built-program-cmd).
12921 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12922 $testprogram without using LD_LIBRARY_PATH and $ldso.
12924 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12925 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12926 $(rtld-installed-name).
12927 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12928 (rtld_installed_name): Likewise.
12929 (library_path): Likewise.
12930 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12931 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12932 $(run-program-prefix) to tst-tables.sh.
12933 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12934 it to run tst-table-from and tst-table-to.
12935 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12936 Pass it to tst-table.sh.
12937 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12938 $(run-program-prefix) to tst-gettext.sh.
12939 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12941 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12943 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12944 to run tst-gettext.
12945 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12946 to run tst-gettext2.
12947 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12948 to run tst-translit.
12949 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12950 $(run-program-prefix) to tst-mtrace.sh.
12951 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12953 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12954 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12955 $(rtld-installed-name).
12956 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12957 (rtld_installed_name): Likewise.
12958 (run_program_prefix): New variable. Use it to run wordexp-test.
12960 * Makeconfig (ARCH): Remove all definitions.
12961 (machine): Likewise.
12962 [ARCH]: Remove conditional code.
12963 [!objdir]: Give error.
12964 [!objdir] (objpfx): Remove.
12965 [!objdir] (common-objpfx): Likewise.
12966 [!objdir] (common-objdir): Likewise.
12967 * configure.in (config_makefile): Remove. Hardcode Makefile in
12968 AC_CONFIG_FILES call.
12969 * configure: Regenerated.
12972 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12974 (testout): Likewise.
12976 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12977 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12978 $(rtld-installed-name).
12979 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12980 (rtld_installed_name): Likwise.
12981 (runit): Remove function.
12982 (run_getconf): New variable, Use it for running getconf binary.
12984 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12987 * string/test-memmem.c (check_result): New function.
12988 (do_one_test): Use it.
12989 (check1): New function.
12990 (test_main): Use it.
12992 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12994 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12996 2012-10-18 Joseph Myers <joseph@codesourcery.com>
12998 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12999 (_G_LSEEK64): Likewise.
13000 (_G_MMAP64): Likewise.
13001 (_G_FSTAT64): Likewise.
13002 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13003 (_G_LSEEK64): Likewise.
13004 (_G_MMAP64): Likewise.
13005 (_G_FSTAT64): Likewise.
13006 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13007 unconditional. Call __mmap64 directly.
13008 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13009 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13010 __lseek64 directly.
13011 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13012 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13014 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13015 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13016 __lseek64 directly.
13017 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13018 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13019 __lseek64 directly.
13020 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13021 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13022 __lseek64 directly.
13023 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13024 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13025 __fxstat64 directly.
13026 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13027 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13029 (freopen64) [!_G_OPEN64]: Remove conditional code.
13030 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13032 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13033 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13035 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13036 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13038 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13039 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13041 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13042 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13044 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13045 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13047 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13048 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13050 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13052 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13055 * manual/memory.texi (Malloc Tunable Parameters): Add note
13056 about free list pointers overwriting some perturb bytes.
13057 Wording suggested by Roland McGrath.
13059 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13061 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13062 (lgamma_test): Likewise.
13063 (tgamma_test): Likewise.
13065 2012-10-16 Florian Weimer <fweimer@redhat.com>
13068 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13069 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13071 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13073 * NEWS: Mention BZ #14716.
13074 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13075 when removing AVAILABLE1_USES_J macro.
13077 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13079 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13080 (__bswap_64): __uint64_t for unsigned 64-bit int.
13082 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13084 * include/string.h (memmem): Declare libc hidden alias.
13085 * string/memmem.c (memmem): Define libc hidden alias.
13086 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13087 __read, __close instead of open, read, close.
13089 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13091 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13092 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13094 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13095 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13096 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13098 (__rawmemchr_sse2): Likewise.
13099 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13100 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13101 (__strchr_sse2): Likewise.
13102 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13103 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13104 (__strcasecmp_sse2): Likewise.
13105 (__strncasecmp_sse2): Likewise.
13106 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13107 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13108 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13109 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13110 (__strrchr_sse2): Likewise.
13111 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13113 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13114 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13115 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13116 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13117 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13118 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13119 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13120 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13121 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13122 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13123 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13124 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13125 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13126 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13127 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13128 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13129 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13130 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13131 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13132 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13133 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13134 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13135 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13136 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13137 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13138 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13139 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13140 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13141 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13142 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13144 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13146 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13147 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13148 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13149 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13151 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13153 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13154 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13155 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13156 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13158 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13159 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13160 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13161 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13162 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13163 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13164 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13165 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13166 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13167 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13168 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13169 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13170 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13171 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13172 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13173 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13174 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13175 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13176 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13177 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13178 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13179 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13180 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13181 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13182 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13183 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13184 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13185 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13186 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13187 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13188 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13189 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13190 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13191 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13192 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13193 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13194 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13195 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13196 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13197 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13198 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13200 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13201 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13202 * include/ifunc-impl-list.h: New file.
13203 * misc/ifunc-impl-list.c: Likewise.
13204 * misc/Makefile (routines): Add ifunc-impl-list.
13205 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13206 * string/test-string.h: Include <ifunc-impl-list.h>.
13207 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13208 impl_array): New variables.
13209 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13211 (test_init): Call __libc_ifunc_impl_list to initialize
13212 func_list if TEST_IFUNC and TEST_NAME are defined.
13214 * string/Makefile (strop-tests): Add bcopy and bzero.
13215 * string/test-bcopy.c: New file.
13216 * string/test-bzero.c: Likewise.
13217 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13219 * string/test-memset.c: Support bzero test if TEST_BZERO is
13221 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13223 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13225 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13228 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13230 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13231 * configure: Regenerated.
13233 * Makeconfig (+link-static-before-libc): Don't include
13234 $(link-static-libc).
13236 * libio/libio.h (_IO_pos_t): Remove.
13238 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13240 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13243 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13245 * crypt/crypt-entry.c: Include fips-private.h.
13246 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13247 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13248 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13249 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13251 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13253 * crypt/crypt-private.h: Include stdbool.h.
13254 (_ufc_setup_salt_r): Return bool.
13255 * crypt/crypt-entry.c: Include errno.h.
13256 (__crypt_r): Return NULL with EINVAL for bad salt.
13257 * crypt/crypt_util.c (bad_for_salt): New.
13258 (_ufc_setup_salt_r): Check that salt is long enough and within
13259 the specified alphabet.
13260 * crypt/badsalttest.c: New file.
13261 * crypt/Makefile (tests): Add it.
13262 ($(objpfx)badsalttest): New.
13264 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13266 * NEWS: Add entry for BZ #14602.
13268 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13270 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13272 * math/libm-test.inc: Update comment listing what functions and
13274 (isgreater_test): New function.
13275 (isgreaterequal_test): Likewise.
13276 (isless_test): Likewise.
13277 (islessequal_test): Likewise.
13278 (islessgreater_test): Likewise.
13279 (isunordered_test): Likewise.
13280 (main): Call the new functions.
13282 2012-10-09 Roland McGrath <roland@hack.frob.com>
13284 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13285 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13286 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13287 * sysdeps/i386/configure: Regenerated.
13288 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13289 * sysdeps/mach/configure: Regenerated.
13290 * sysdeps/mach/hurd/configure: Regenerated.
13291 * sysdeps/powerpc/configure: Regenerated.
13292 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13293 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13294 * sysdeps/s390/s390-32/configure: Regenerated.
13295 * sysdeps/s390/s390-64/configure: Regenerated.
13296 * sysdeps/sh/configure: Regenerated.
13297 * sysdeps/sparc/configure: Regenerated.
13298 * sysdeps/unix/sysv/linux/configure: Regenerated.
13299 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13300 * sysdeps/x86_64/configure: Regenerated.
13302 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13303 defined. Don't check if MAP is NULL.
13305 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13307 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13308 (_G_stat64): Likewise.
13309 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13310 (_G_stat64): Likewise.
13311 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13312 instead of struct _G_stat64.
13313 * libio/fileops.c (mmap_remap_check): Likewise.
13314 (decide_maybe_mmap): Likewise.
13315 (_IO_new_file_seekoff): Likewise.
13316 (_IO_file_stat): Likewise.
13317 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13319 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13320 instead of struct _G_stat64.
13321 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13323 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13326 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13328 (CHECK_EOL): New macro.
13329 (two_way_short_needle): Check beginning of haystack for EOL. Use
13331 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13332 Replace with CHECK_EOL.
13333 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13334 Replace with CHECK_EOL.
13336 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13338 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13340 * math/libm-test.inc: Update comment listing what functions and
13342 (finite_test): New function.
13343 (isinf_test): Likewise.
13344 (isnan_test): Likewise.
13345 (fpclassify_test): Test subnormal input.
13346 (isfinite_test): Likewise.
13347 (isnormal_test): Likewise.
13348 (main): Call the new functions.
13350 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13353 * Makerules (%.dynsym): Force C locale when running
13354 $(OBJDUMP) --dynamic-syms.
13356 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13358 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13361 2012-10-06 David S. Miller <davem@davemloft.net>
13363 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13364 upper 32-bits of the length value in %o2 since we use branch-on-register
13365 tests which consider the entire 64-bit register.
13367 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13369 * string/test-strstr.c (check2): Add a test for page boundary.
13371 2012-10-05 David S. Miller <davem@davemloft.net>
13373 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13374 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13376 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13378 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13379 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13380 and bzero when HWCAP_SPARC_CRYPTO is present.
13382 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13385 * string/test-strstr.c (check2): New function.
13386 (test_main): Call check2.
13388 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13390 * string/bug-strcasestr1.c (do_test): Moved to ...
13391 * string/test-strcasestr.c (check1): Here. New function.
13392 (do_one_test): Break out result checking code into ...
13393 (check_result): This. New function.
13394 (do_one_test): Call check_result.
13395 (test_main): Call check1.
13396 * string/bug-strchr1.c (do_test): Moved to ...
13397 * string/test-strchr.c (check1): Here. New function.
13398 (do_one_test): Break out result checking code into ...
13399 (check_result): This. New function.
13400 (do_one_test): Call check_result.
13401 (test_main): Call check1.
13402 * string/bug-strstr1.c (main): Moved to ...
13403 * string/test-strstr.c (check1): Here. New function.
13404 (do_one_test): Break out result checking code into ...
13405 (check_result): This. New function.
13406 (do_one_test): Call check_result.
13407 (test_main): Call check1.
13408 * string/bug-strcasestr1.c: Removed.
13409 * string/bug-strchr1.c: Likewise.
13410 * string/bug-strstr1.c: Likewise.
13412 * elf/Makefile (dl-routines): Add hwcaps.
13413 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13414 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13415 (_dl_important_hwcaps): Moved to ...
13416 * elf/dl-hwcaps.c: Here. New file.
13417 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13420 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13421 if IS_IN_rtld isn't defined.
13423 * elf/dl-support.c (_dl_sysinfo_map): New.
13424 Include "get-dynamic-info.h" and "setup-vdso.h".
13425 (_dl_non_dynamic_init): Call setup_vdso.
13426 * elf/dynamic-link.h: Don't include <assert.h>.
13427 (elf_get_dynamic_info): Moved to ...
13428 * elf/get-dynamic-info.h: Here. New file.
13429 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13430 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13431 * elf/setup-vdso.h: Here. New file.
13432 * elf/rtld.c: Include "setup-vdso.h".
13433 (dl_main): Call setup_vdso.
13435 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13437 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13438 creal in comment listing functions tested. List finite, isinf,
13439 isnan, isless, islessequal, isgreater, isgreaterequal,
13440 islessgreater, isunordered, lgamma_r and pow10 as functions and
13441 macros not tested. Mention which functions not tested are aliases
13442 for other functions. Fix typo. Note that signs of NaNs are not
13445 * scripts/config.guess: Update from config.git.
13446 * scripts/config.sub: Likewise.
13448 2012-10-04 Roland McGrath <roland@hack.frob.com>
13450 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13451 * misc/madvise.c (madvise): Renamed to __madvise.
13452 Make madvise a weak alias.
13453 * include/sys/mman.h: Declare __madvise.
13454 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13455 * sysdeps/unix/syscalls.list
13456 (madvise): Make __madvise the strong name, and madvise a weak alias.
13457 * sysdeps/unix/sysv/linux/syscalls.list
13458 (madvise, mmap): Remove redundant entries.
13459 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13460 * malloc/malloc.c (mtrim): Likewise.
13461 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13463 2012-10-03 Roland McGrath <roland@hack.frob.com>
13465 * sysdeps/mach/hurd/dl-cache.c: File removed.
13466 * config.h.in (USE_LDCONFIG): New #undef.
13467 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13468 * configure: Regenerated.
13469 * elf/Makefile (dl-routines): Add dl-cache only under
13470 [$(use-ldconfig) = yes].
13471 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13472 cache on [USE_LDCONFIG].
13473 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13475 * elf/rtld.c (dl_main): Likewise.
13477 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13479 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13480 _SC_LEVEL4_CACHE_LINESIZE.
13482 2012-10-03 Roland McGrath <roland@hack.frob.com>
13484 * sysdeps/unix/bsd/confstr.h: File removed.
13486 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13488 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13491 2012-10-02 Roland McGrath <roland@hack.frob.com>
13493 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13494 Make 'mapoff' field ElfW(Off) rather than off_t.
13496 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13498 * nscd/Makefile: Remove nscd-cflags and all its users.
13499 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13500 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13503 * malloc.c (malloc_printerr): Clarify error message.
13505 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13509 Set bit_FMA_Usable if FMA is supported.
13510 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13512 (bit_FMA4_Usable): Updated.
13513 (index_FMA_Usable): New macro.
13514 (CPUID_FMA): Likewise
13515 (HAS_FMA): Defined with bit_FMA_Usable.
13517 2012-10-01 Roland McGrath <roland@hack.frob.com>
13519 * bits/types.h (__swblk_t): Type removed.
13520 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13521 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13522 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13523 (__SWBLK_T_TYPE): Likewise.
13524 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13525 (__SWBLK_T_TYPE): Likewise.
13526 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13527 (__SWBLK_T_TYPE): Likewise.
13528 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13529 (__SWBLK_T_TYPE): Likewise.
13531 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13532 Honza Horak <hhorak@redhat.com>
13534 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13535 (xdr_mapname): Use YPMAXMAP as maxsize.
13536 (xdr_peername): Use YPMAXPEER as maxsize.
13537 (xdr_keydat): Use YPAXRECORD as maxsize.
13538 (xdr_valdat): Use YPMAXRECORD as maxsize.
13540 2012-10-01 Roland McGrath <roland@hack.frob.com>
13542 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13544 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13545 * csu/init-first.c: ... here.
13546 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13547 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13548 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13549 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13550 * sysdeps/i386/init-first.c: File removed.
13551 * sysdeps/sh/init-first.c: File removed.
13553 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13557 if x * y might underflow to zero and z is zero.
13558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13559 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13560 * math/libm-test.inc (min_subnorm_value): New variable.
13561 (fma_test): Add more tests.
13562 (fma_test_towardzero): Likewise.
13563 (fma_test_downward): Likewise
13564 (fma_test_upward): Likewise.
13565 (initialize): Set min_subnorm_value.
13567 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13572 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13573 mode for addition resulting in exact zero.
13574 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13575 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13577 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13578 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13579 * math/libm-test.inc (fma_test): Add more tests.
13580 (fma_test_towardzero): New function.
13581 (fma_test_downward): Likewise.
13582 (fma_test_upward): Likewise.
13583 (main): Call the new functions.
13585 2012-09-28 David S. Miller <davem@davemloft.net>
13587 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13589 2012-09-28 Roland McGrath <roland@hack.frob.com>
13591 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13592 instead of SIGALRM.
13594 * sysdeps/gnu/_G_config.h: Moved to ...
13595 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13596 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13597 * sysdeps/generic/_G_config.h: ... here.
13599 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13601 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13603 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13604 Conditionalize target on [libnss_test1.so-version].
13606 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13608 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13609 (elfobjdir): Move out of conditionals.
13611 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13612 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13613 (__nss_lookup_function): Conditionalize label remove_from_tree on
13614 [!DO_STATIC_NSS || SHARED], matching its only use.
13616 2012-09-28 David S. Miller <davem@davemloft.net>
13618 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13619 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13621 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13623 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13624 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13625 when HWCAP_SPARC_CRYPTO is present.
13627 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13629 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13631 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13634 * stdio-common/vfprintf.c (process_string_arg): Revert
13637 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13639 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13641 * stdio-common/tst-sprintf.c: Include <locale.h>
13642 (main): Test sprintf's handling of incomplete multibyte
13645 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13647 * elf/dl-runtime.c (VERSYMIDX): Removed.
13648 * elf/dl-version.c (VERSYMIDX): Likewise.
13649 * elf/do-rel.h (VERSYMIDX): Likewise.
13650 (VALIDX): Likewise.
13651 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13652 * elf/rtld.c (VALIDX): Likewise.
13653 (ADDRIDX): Likewise.
13654 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13655 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13656 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13657 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13658 (VALIDX): Likewise.
13659 (ADDRIDX): Likewise.
13661 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13663 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13665 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13668 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13670 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13671 addresses are in the same scope as 192.0.2/24.
13672 * posix/gai.conf: Document new scope table defaults.
13674 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13677 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13678 for ftell. Compute offsets from write pointers instead.
13679 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13681 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13684 * libio/Makefile (tests): New test case tst-fseek.
13685 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13686 combination works in wide mode.
13687 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13688 state when the external buffer state changes.
13690 2012-09-27 David S. Miller <davem@davemloft.net>
13693 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13694 pass reloc->r_addend in as the 'high' argument to
13695 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13699 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13701 * rt/tst-aio2.c: Include <pthread.h>.
13702 * rt/tst-aio3.c: Likewise.
13704 2012-09-27 Steve Ellcey <sellcey@mips.com>
13706 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13708 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13710 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13711 contents on [SHARED].
13713 2012-09-26 Marek Polacek <polacek@redhat.com>
13717 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13718 for C++ and GCC <4.3 as well as for non GCC compilers.
13720 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13724 2012-09-25 Roland McGrath <roland@hack.frob.com>
13726 * Makefile.in (all, install): Declare with .PHONY.
13727 Reported by Michael Hope <michael.hope@linaro.org>.
13729 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13731 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13732 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13734 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13736 (sydep_routines): Add the new and the internal functions.
13737 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13738 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13740 (GLIBC_2.17): Add the new function.
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13742 (GLIBC_2.17): Likewise.
13743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13744 (GLIBC_2.17): Likewise.
13745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13746 (GLIBC_2.17): Likewise.
13747 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13749 2012-09-25 Alan Modra <amodra@gmail.com>
13751 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13752 Add release barrier before setting once_control to say
13753 initialisation is done. Add hints on lwarx. Use macro in
13755 (clear_once_control): Add release barrier.
13757 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13760 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13762 * math/s_clog10.c (__clog10): Likewise.
13763 * math/s_clog10f.c (__clog10f): Likewise.
13764 * math/s_clog10l.c (__clog10l): Likewise.
13765 * math/s_clogf.c (__clogf): Likewise.
13766 * math/s_clogl.c (__clogl): Likewise.
13767 * math/Makefile (libm-calls): Add x2y2m1.
13768 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13769 (__x2y2m1): Likewise.
13770 (__x2y2m1l): Likewise.
13771 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13772 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13775 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13776 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13777 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13778 * sysdeps/i386/fpu/libm-test-ulps: Update.
13779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13782 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13783 int as type of variable DEPTH.
13784 (glob): Use size_t instead of int as type of variables NEWCOUNT
13787 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13789 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13790 Add s_sincosf-sse2.
13791 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13792 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13793 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13794 macros for using routine as __sincosf_ia32.
13795 Use macro for function declaration and weak_alias.
13796 * sysdeps/i386/fpu/libm-test-ulps: Update.
13798 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13801 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13802 subnormal argument.
13803 * math/s_cexpf.c (__cexpf): Likewise.
13804 * math/s_csinf.c (__csinf): Likewise.
13805 * math/s_csinhf.c (__csinhf): Likewise.
13806 * math/s_ctanf.c (__ctanf): Likewise.
13807 * math/s_ctanhf.c (__ctanhf): Likewise.
13808 * math/s_ccosh.c (__ccoshf): Likewise.
13809 * math/s_cexp.c (__cexpl): Likewise.
13810 * math/s_csin.c (__csin): Likewise.
13811 * math/s_csinh.c (__csinh): Likewise.
13812 * math/s_ctan.c (__ctan): Likewise.
13813 * math/s_ctanh.c (ctanh): Likewise.
13814 * math/s_ccoshl.c (__ccoshl): Likewise.
13815 * math/s_cexpl.c (__cexpl): Likewise.
13816 * math/s_csinl.c (__csinl): Likewise.
13817 * math/s_csinhl.c (__csinhl): Likewise.
13818 * math/s_ctanl.c (__ctanl): Likewise.
13819 * math/s_ctanhl.c (__ctanhl): Likewise.
13821 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13823 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13824 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13825 (_IO_off_t): Define to __off_t, not _G_off_t.
13826 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13827 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13828 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13829 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13830 type of __dummy and __dummy2 fields.
13831 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13832 (_G_ssize_t): Likewise.
13833 (_G_off_t): Likewise.
13834 (_G_pid_t): Likewise.
13835 (_G_uid_t): Likewise.
13836 (_G_wchar_t): Likewise.
13837 (_G_wint_t): Likewise.
13838 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13839 (_G_ssize_t): Likewise.
13840 (_G_off_t): Likewise.
13841 (_G_pid_t): Likewise.
13842 (_G_uid_t): Likewise.
13843 (_G_wchar_t): Likewise.
13844 (_G_wint_t): Likewise.
13845 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13846 (_G_ssize_t): Likewise.
13847 (_G_off_t): Likewise.
13848 (_G_pid_t): Likewise.
13849 (_G_uid_t): Likewise.
13850 (_G_wchar_t): Likewise.
13851 (_G_wint_t): Likewise.
13853 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13855 * malloc/arena.c: Include malloc-sysdep.h.
13856 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13857 is sufficient to shrink the heap or an unmap is needed.
13858 * sysdeps/generic/malloc-sysdep.h: New file. Define
13859 new function check_may_shrink_heap.
13860 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13861 new function check_may_shrink_heap.
13863 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13865 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13868 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13870 * catgets/test-gencat.sh: Add "set -e".
13871 * elf/tst-pathopt.sh: Likewise.
13872 * grp/tst_fgetgrent.sh: Likewise.
13873 * iconvdata/run-iconv-test.sh: Likewise.
13874 * intl/tst-gettext.sh: Likewise.
13875 * intl/tst-gettext2.sh: Likewise.
13876 * intl/tst-gettext4.sh: Likewise.
13877 * intl/tst-gettext6.sh: Likewise.
13878 * intl/tst-translit.sh: Likewise.
13879 * io/ftwtest-sh: Likewise.
13880 * libio/test-freopen.sh: Likewise.
13881 * malloc/tst-mtrace.sh: Likewise.
13882 * posix/globtest.sh: Likewise.
13883 * posix/tst-getconf.sh: Likewise.
13884 * posix/wordexp-tst.sh: Likewise.
13885 * stdio-common/tst-printf.sh: Likewise.
13886 * stdio-common/tst-unbputc.sh: Likewise.
13887 * stdlib/tst-fmtmsg.sh: Likewise.
13888 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13889 * catgets/Makefile: Do not specify -e option when running
13890 testsuite shell scripts.
13891 * elf/Makefile: Likewise.
13892 * grp/Makefile: Likewise.
13893 * iconvdata/Makefile: Likewise.
13894 * intl/Makefile: Likewise.
13895 * io/Makefile: Likewise.
13896 * libio/Makefile: Likewise.
13897 * malloc/Makefile: Likewise.
13898 * posix/Makefile: Likewise.
13899 * stdio-common/Makefile: Likewise.
13900 * stdlib/Makefile: Likewise.
13901 * sysdeps/x86_64/Makefile: Likewise.
13903 * io/ftwtest-sh: Add copyright header.
13904 * posix/globtest.sh: Likewise.
13905 * posix/tst-getconf.sh: Likewise.
13906 * posix/wordexp-tst.sh: Likewise.
13907 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13909 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13912 * Makeconfig (+link): Defined as $(+link-static) if
13913 $(build-shared) isn't yes.
13914 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13916 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13918 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13921 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13922 new chunk size with MALLOC_ALIGN_MASK.
13924 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13927 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13929 (__printf_fphex): Determine rounding using get_rounding_mode and
13931 * stdio-common/tst-printf-round.c (struct hex_test): New
13933 (hex_tests): New variable.
13934 (test_hex_in_one_mode): New function.
13935 (do_test): Also run tests for hex float output.
13937 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13939 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13940 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13941 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13942 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13943 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13944 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13945 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13946 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13948 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13950 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13951 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13952 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13953 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13955 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13958 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13960 * elf/tst-rtld-load-self.sh: New test.
13961 * elf/Makefile: Run it.
13963 2012-09-18 Joseph Myers <joseph@codesourcery.com>
13965 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13966 (tst-writev-ENV): Remove.
13967 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13969 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13971 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13973 2012-09-17 Joseph Myers <joseph@codesourcery.com>
13975 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13977 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13979 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13980 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13981 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13984 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13987 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13988 * config.make.in (have-cpp-asm-debuginfo): Removed.
13989 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13990 * configure: Regenerated.
13992 2012-09-14 Joseph Myers <joseph@codesourcery.com>
13995 * stdio-common/printf_fp.c: Include <stdbool.h> and
13997 (___printf_fp): Determine rounding using get_rounding_mode and
13999 * stdio-common/tst-printf-round.c: New file.
14000 * stdio-common/Makefile (tests): Add tst-printf-round.
14001 (link-libm): New variable.
14002 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14004 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14007 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14008 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14010 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14013 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14015 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14016 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14017 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14018 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14020 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14023 * include/rounding-mode.h: New file.
14024 * sysdeps/generic/get-rounding-mode.h: Likewise.
14025 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14026 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14027 (MAX_VALUE): New macro.
14028 (MIN_VALUE): Likewise.
14029 (overflow_value): New function.
14030 (underflow_value): Likewise.
14031 (round_and_return): Use overflow_value and underflow_value to
14032 determine return values in overflow and underflow cases. Use
14033 round_away to determine rounding depending on rounding mode.
14034 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14035 determine return values in overflow and underflow cases.
14036 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14037 (struct test_results): New structure.
14038 (struct test): Use struct test_results to store expected results
14039 for all rounding modes.
14040 (TEST): Include expected results for all rounding modes.
14041 (test_in_one_mode): New function.
14042 (do_test): Use test_in_one_mode to compute and check results.
14043 Check results for all rounding modes.
14044 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14047 2012-12-09 Allan McRae <allan@archlinux.org>
14049 * sysdeps/i386/fpu/libm-test-ulps: Update
14051 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14053 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14054 (_G_int32_t): Likewise.
14055 (_G_uint16_t): Likewise.
14056 (_G_uint32_t): Likewise.
14057 (_G_HAVE_BOOL): Likewise.
14058 (_G_HAVE_ATEXIT): Likewise.
14059 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14060 (_G_HAVE_IO_FILE_OPEN): Likewise.
14061 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14062 (_G_int32_t): Likewise.
14063 (_G_uint16_t): Likewise.
14064 (_G_uint32_t): Likewise.
14065 (_G_HAVE_BOOL): Likewise.
14066 (_G_HAVE_ATEXIT): Likewise.
14067 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14068 (_G_HAVE_IO_FILE_OPEN): Likewise.
14069 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14070 (_G_int32_t): Likewise.
14071 (_G_uint16_t): Likewise.
14072 (_G_uint32_t): Likewise.
14073 (_G_HAVE_BOOL): Likewise.
14074 (_G_HAVE_ATEXIT): Likewise.
14075 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14076 (_G_HAVE_IO_FILE_OPEN): Likewise.
14078 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14080 * csu/libc-tls.c: Update copyright years.
14082 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14084 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14085 [!_G_USING_THUNKS]: Remove conditional code.
14086 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14087 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14089 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14090 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14091 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14092 (_G_VTABLE_LABEL_PREFIX): Likewise.
14093 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14094 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14095 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14096 (_G_VTABLE_LABEL_PREFIX): Likewise.
14097 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14098 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14099 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14100 (_G_VTABLE_LABEL_PREFIX): Likewise.
14101 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14103 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14105 * libio/Makefile: Include ../Makeconfig before tests.
14106 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14107 only if $(build-shared) is yes.
14109 * iconv/gconv_db.c: Update copyright years.
14111 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14113 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14114 unwind info if defined PIC. Fix special cases description.
14115 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14117 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14119 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14121 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14123 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14125 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14128 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14129 (LDLIBS-tst-chk4): This.
14130 (LDFLAGS-tst-chk5): Renamed to ...
14131 (LDLIBS-tst-chk5): This.
14132 (LDFLAGS-tst-chk6): Renamed to ...
14133 (LDLIBS-tst-chk6): This.
14134 (LDFLAGS-tst-lfschk4): Renamed to ...
14135 (LDLIBS-tst-lfschk4): This.
14136 (LDFLAGS-tst-lfschk5): Renamed to ...
14137 (LDLIBS-tst-lfschk5): This.
14138 (LDFLAGS-tst-lfschk6): Renamed to ...
14139 (LDLIBS-tst-lfschk6): This.
14141 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14142 on $(common-objpfx)soversions.mk.
14144 2012-09-07 Joseph Myers <joseph@codesourcery.com>
14147 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14150 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14152 * malloc/arena.c (arena_get_retry): New function that gets
14153 another arena for the caller to try its request on.
14154 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14155 current arena cannot fulfill the request.
14156 (__libc_memalign): Likewise.
14157 (__libc_memalign): Likewise.
14158 (__libc_pvalloc): Likewise.
14159 (__libc_calloc): Likewise.
14161 2012-09-05 John Tobey <john.tobey@gmail.com>
14164 * manual/arith.texi (Operations on Complex): Fix description
14165 of carg branch cut.
14167 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14170 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14174 * manual/memory.texi (Memory): Make order of menu items match
14177 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14179 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14180 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14181 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14183 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14185 * csu/libc-tls.c (static_dtv): Renamed to ...
14186 (_dl_static_dtv): This. Make it global.
14187 (_dl_initial_dtv): Removed.
14188 (__libc_setup_tls): Updated.
14189 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14190 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14193 2012-09-06 Petr Machata <pmachata@redhat.com>
14195 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14196 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14197 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14198 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14200 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14203 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14204 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14207 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14210 * Makeconfig (link-static-before-libc): Replace $(+prector)
14212 (link-static-after-libc): Replace $(+postctor) with
14214 (link-bounded): Replace $(+prector)/$(+postctor) with
14215 $(+prectorT)/$(+postctorT).
14216 (+prectorT): New macro.
14217 (+postctorT): Likewise.
14219 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14221 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14222 (round_str): Handle values above the maximum for IBM long double
14224 * stdlib/tst-strtod-round.c (tests): Regenerated.
14226 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14228 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14230 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14231 zarch_nohighgprs around the zarch optimized routines.
14232 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14233 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14234 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14237 2012-09-05 David S. Miller <davem@davemloft.net>
14239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14241 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14242 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14243 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14244 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14247 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14249 * malloc/arena.c: Fold copyright years.
14250 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14252 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14254 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14256 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14258 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14260 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14262 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14263 change internal state upon failure.
14265 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14267 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14268 * malloc/memusage.c (mmap): Likewise.
14269 (mmap64, mremap): Likewise. Adjust name in comment.
14271 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14273 * libio/fileops.c: Fix typos in comments.
14274 * libio/oldfileops.c: Likewise.
14275 * libio/wfileops.c: Likewise.
14277 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14280 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14281 (tst-malloc-usable-ENV): Set environment for test case.
14282 * malloc/hooks.c (malloc_check_get_size): New function to get
14284 * malloc/malloc.c (musable): Use malloc_check_get_size.
14285 * malloc/tst-malloc-usable.c: New test case.
14287 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14289 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14291 2012-09-05 Allan McRae <allan@archlinux.org>
14294 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14295 determine header location.
14296 * configure: Regenerated.
14298 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14300 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14302 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14303 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14305 (test): Regenerate.
14307 2012-09-04 David S. Miller <davem@davemloft.net>
14309 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14310 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14311 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14313 2012-09-04 Florian Weimer <fweimer@redhat.com>
14315 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14318 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14320 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14323 * libio/iogetdelim.c: Include <limits.h>.
14324 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14325 + len + 1 would overflow.
14327 2012-09-03 Andreas Jaeger <aj@suse.de>
14329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14330 * sysdeps/i386/fpu/libm-test-ulps: Update.
14332 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14334 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14335 Add s_sinf-sse2, s_conf-sse2.
14337 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14338 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14339 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14340 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14342 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14343 for using routine as __sinf_ia32.
14344 Use macro for function declaration and weak_alias.
14345 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14346 for using routine as __cosf_ia32.
14347 Use macro for function declaration and weak_alias.
14349 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14350 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14352 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14353 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14356 * math/libm-test.inc (cos_test): Add more test cases.
14357 (sin_test): Likewise.
14358 (sincos_test): Likewise.
14360 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14362 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14363 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14365 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14367 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14370 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14371 first element of the GOT.
14372 (elf_machine_load_address): Return the difference between
14373 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14375 2012-09-01 Allan McRae <allan@archlinux.org>
14378 * configure.in (AWK): Require gawk version 3.0 or later.
14379 * configure: Regenerated.
14381 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14383 * sysdeps/unix/sysv/linux/kernel-features.h
14384 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14385 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14386 [__NR_clock_getres]: Make code unconditional.
14387 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14388 (clock_getcpuclockid): Remove code left unreachable by removal of
14390 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14391 code unconditional.
14392 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14393 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14394 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14395 Make code unconditional.
14396 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14397 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14398 * sysdeps/unix/sysv/linux/clock_settime.c
14399 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14401 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14402 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14404 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14407 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14408 scripts/test-installation.pl.
14410 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14411 and $ld_so_version if it is set.
14413 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14416 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14417 failure if reading from procfs failed.
14418 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14420 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14422 * sysdeps/unix/sysv/linux/kernel-features.h
14423 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14424 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14425 Remove conditional code.
14426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14427 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14428 Remove conditional code.
14429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14430 * sysdeps/unix/sysv/linux/i386/fxstat.c
14431 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14432 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14433 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14434 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14435 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14436 * sysdeps/unix/sysv/linux/i386/lxstat.c
14437 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14438 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14439 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14440 Remove conditional code.
14441 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14442 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14443 Remove conditional code.
14444 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14445 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14446 <kernel-features.h>.
14447 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14449 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14450 Remove conditional code.
14451 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14452 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14453 Remove conditional.
14455 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14458 * NEWS: Add fixed bug number.
14460 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14463 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14464 underflowing exponent in case of negative sign.
14465 * stdlib/tst-strtod-round-data: Add more tests.
14466 * stdlib/tst-strtod-round.c (tests): Regenerated.
14469 * stdlib/strtod_l.c (NDIG): Remove.
14470 (HEXNDIG): Likewise.
14471 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14472 smallest representable value.
14473 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14474 lie within an exact representation of 1/2 ulp of the result.
14475 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14477 (TENS_P9_IDX): Define unconditionally.
14478 (TENS_P9_SIZE): Likewise.
14479 (TENS_P10_IDX): Likewise.
14480 (TENS_P10_SIZE): Likewise.
14481 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14482 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14483 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14484 entries for 10^2^13 and 10^2^14.
14485 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14486 (TENS_P13_IDX): Define.
14487 (TENS_P13_SIZE): Likewise.
14488 (TENS_P14_IDX): Likewise.
14489 (TENS_P14_SIZE): Likewise.
14490 (_fpioconst_pow10): Change array size to
14491 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14493 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14494 1024]: Add entries for 10^2^13 and 10^2^14.
14495 [LAST_POW10 > _LAST_POW10]: Remove #error.
14496 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14497 (_fpioconst_pow10): Change array size to
14498 FPIOCONST_POW10_ARRAY_SIZE.
14499 * stdlib/gen-fpioconst.c: New file.
14500 * stdlib/gen-tst-strtod-round.c: Likewise.
14501 * stdlib/tst-strtod-round-data: Likewise.
14502 * stdlib/tst-strtod-round.c: Likewise.
14503 * stdlib/Makefile (tests): Add tst-strtod-round.
14506 * stdlib/strtod_l.c: Include <stdint.h>.
14507 (NDEBUG): Do not define.
14508 (round_and_return): Change EXPONENT parameter to type intmax_t.
14509 Rearrange calculations to avoid internal overflow possibilities.
14510 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14511 Rearrange calculations to avoid internal overflow possibilities.
14512 Assert that number fits inside MPNSIZE limbs.
14513 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14514 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14515 calculations and add assertions to avoid internal overflow
14516 possibilities. Add casts to avoid signed/unsigned operations.
14517 * stdlib/tst-strtod-overflow.c: New file.
14518 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14520 2012-08-25 Marek Polacek <polacek@redhat.com>
14522 * time/time.h: Fix some typos in comments.
14524 2012-08-23 Roland McGrath <roland@hack.frob.com>
14526 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14527 * posix/tst-rfc3484-2.c: Likewise.
14528 * posix/tst-rfc3484-3.c: Likewise.
14530 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14532 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14533 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14535 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14537 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14538 #include of fxstatat64.c.
14540 2012-08-22 Roland McGrath <roland@hack.frob.com>
14542 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14543 * shadow/getspent_r.c: Likewise.
14544 * shadow/getspnam.c: Likewise.
14545 * shadow/getspnam_r.c: Likewise.
14546 * gshadow/getsgent.c: Likewise.
14547 * gshadow/getsgent_r.c: Likewise.
14548 * gshadow/getsgnam.c: Likewise.
14549 * gshadow/getsgnam_r.c: Likewise.
14550 * inet/getnetbyad.c: Likewise.
14551 * inet/getnetbyad_r.c: Likewise.
14552 * inet/getnetbynm.c: Likewise.
14553 * inet/getnetbynm_r.c: Likewise.
14554 * inet/getnetent.c: Likewise.
14555 * inet/getnetent_r.c: Likewise.
14556 * inet/getproto.c: Likewise.
14557 * inet/getproto_r.c: Likewise.
14558 * inet/getprtent.c: Likewise.
14559 * inet/getprtent_r.c: Likewise.
14560 * inet/getprtname.c: Likewise.
14561 * inet/getprtname_r.c: Likewise.
14562 * inet/getrpcbyname.c: Likewise.
14563 * inet/getrpcbyname_r.c: Likewise.
14564 * inet/getrpcbynumber.c: Likewise.
14565 * inet/getrpcbynumber_r.c: Likewise.
14566 * inet/getrpcent.c: Likewise.
14567 * inet/getrpcent_r.c: Likewise.
14568 * inet/getaliasent.c: Likewise.
14569 * inet/getaliasent_r.c: Likewise.
14570 * inet/getaliasname.c: Likewise.
14571 * inet/getaliasname_r.c: Likewise.
14572 * nscd/getgrgid_r.c: Likewise.
14573 * nscd/getgrnam_r.c: Likewise.
14574 * nscd/gethstbyad_r.c: Likewise.
14575 * nscd/gethstbynm3_r.c: Likewise.
14576 * nscd/getpwnam_r.c: Likewise.
14577 * nscd/getpwuid_r.c: Likewise.
14578 * nscd/getsrvbynm_r.c: Likewise.
14579 * nscd/getsrvbypt_r.c: Likewise.
14580 * nscd/gai.c: Likewise.
14582 * configure.in (build_nscd): New substituted variable, set
14583 by --disable-build-nscd and defaults to $use_nscd.
14584 * configure: Regenerated.
14585 * config.make.in (build-nscd): New substituted variable.
14586 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14587 Change conditional to require [$(build-nscd) = yes] as well.
14588 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14591 * configure.in (use_nscd): New substituted variable, set by
14592 --disable-nscd. If enabled, define USE_NSCD.
14593 * configure: Regenerated.
14594 * config.h.in: Add USE_NSCD.
14595 * config.make.in (use-nscd): New substituted variable.
14596 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14597 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14598 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14599 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14600 (CFLAGS-getgrnam_r.c): Likewise.
14601 (CFLAGS-initgroups.c): Likewise.
14602 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14603 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14605 * inet/getnetgrent_r.c
14606 (nscd_setnetgrent): New function, broken out of ...
14607 (setnetgrent): ... here. Call it.
14608 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14609 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14610 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14611 * nscd/Makefile (routines, aux): Move definitions after include of
14612 Makeconfig. Conditionalize on [$(use-nscd) != no].
14613 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14614 Conditionalize on [USE_NSCD].
14615 (is_nscd, nscd_init_cb): Likewise.
14616 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14617 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14618 * nss/nss_db/db-init.c: Likewise.
14619 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14621 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14622 (make_request): Use it.
14623 (cache_valid_p): New function.
14624 (__check_pf): Use it.
14625 * NEWS: Add item for --disable-nscd.
14627 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14629 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14630 to support sed >= 4.2.1-20-ga9bf076.
14631 * configure: Regenerated.
14633 2012-08-22 Roland McGrath <roland@hack.frob.com>
14635 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14636 Conditionalize whole body on [IREL].
14638 2012-08-22 Jeff Law <law@redhat.com>
14641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14642 if the family is PF_UNSPEC.
14644 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14646 * Makerules (lib-version): Rename from V.
14647 (install-lib-nosubdir): Change V to lib-version.
14649 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14652 * powerpc32/power6/wcschr.c: New file.
14653 * powerpc32/power6/wcscpy.c: New file.
14654 * powerpc32/power6/wcsrchr.c: New file.
14655 * powerpc64/power6/wcschr.c: New file.
14656 * powerpc64/power6/wcscpy.c: New file.
14657 * powerpc64/power6/wcsrchr.c: New file.
14659 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14661 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14662 (two_way_short_needle): Use it.
14663 * string/strstr.c (AVAILABLE1_USES_J): Define.
14664 * string/strcasestr.c: Likewise.
14666 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14668 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14671 * NEWS: Add an entry.
14672 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14673 define their defaults.
14674 (two_way_short_needle): Detect end-of-string on-the-fly.
14675 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14676 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14677 * string/bug-strcasestr1.c: New test.
14678 * string/Makefile: Run it.
14680 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14683 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14684 the first character.
14686 2012-08-21 Roland McGrath <roland@hack.frob.com>
14688 * csu/elf-init.c (__libc_csu_irel): Function removed.
14689 * csu/libc-start.c (apply_irel): New function.
14690 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14692 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14694 * sysdeps/unix/sysv/linux/kernel-features.h
14695 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14696 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14697 <kernel-features.h>.
14698 [__NR_fadvise64_64]: Make code unconditional.
14699 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14700 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14701 !__NR_fadvise64_64)]: Likewise.
14702 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14703 !__NR_fadvise64_64))]: Likewise.
14704 [__NR_fadvise64]: Make code unconditional.
14705 [!__NR_fadvise64]: Remove conditional code.
14706 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14707 <kernel-features.h>.
14708 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14710 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14713 not include <kernel-features.h>.
14714 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14716 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14718 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14719 include <kernel-features.h>.
14720 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14722 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14725 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14727 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14728 slight instruction rearrangements per scrollpipe analysis.
14729 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14731 2012-08-20 Roland McGrath <roland@hack.frob.com>
14733 * manual/syslog.texi (syslog; vsyslog, closelog):
14734 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14735 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14737 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14738 DSOCAPS to match condition on defining it.
14740 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14742 * sysdeps/unix/sysv/linux/kernel-features.h
14743 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14745 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14746 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14748 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14749 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14751 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14752 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14754 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14755 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14757 * sysdeps/unix/sysv/linux/kernel-features.h
14758 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14759 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14761 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14762 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14763 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14764 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14765 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14766 Make code unconditional.
14767 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14768 (__mmap64) [!__NR_mmap2]: Likewise.
14769 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14770 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14771 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14772 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14773 [__NR_mmap2]: Make code unconditional.
14774 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14775 (__mmap64) [!__NR_mmap2]: Likewise.
14777 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14779 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14781 2012-08-18 Andreas Jaeger <aj@suse.de>
14783 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14785 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14787 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14788 * include/unistd.h (__have_sock_cloexec): Likewise.
14789 (__have_pipe2): Likewise.
14790 (__have_dup3): Likewise.
14792 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14795 * include/unistd.h (__have_pipe2): Change define into an extern int.
14796 (__have_dup3): Likewise.
14797 * socket/have_sock_cloexec.c: Include fcntl.h.
14798 (__have_pipe2): New variable.
14799 (__have_dup3): Likewise.
14801 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14803 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14805 2012-08-17 Marek Polacek <polacek@redhat.com>
14807 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14808 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14810 2012-08-17 Roland McGrath <roland@hack.frob.com>
14812 * configure.in: Add AC_SUBST for sysheaders.
14813 * configure: Regenerated.
14814 * config.make.in (sysheaders): New substituted variable.
14816 * sysdeps/unix/mkfifo.c: Moved ...
14817 * sysdeps/posix/mkfifo.c: ... here.
14818 * sysdeps/unix/mkfifoat.c: Moved ...
14819 * sysdeps/posix/mkfifoat.c: ... here.
14821 * sysdeps/unix/utime.c: Moved ...
14822 * sysdeps/posix/utime.c: ... here.
14824 * sysdeps/unix/time.c: Moved ...
14825 * sysdeps/posix/time.c: ... here.
14826 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14827 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14829 * sysdeps/unix/nice.c: Moved ...
14830 * sysdeps/posix/nice.c: ... here.
14832 * sysdeps/unix/alarm.c: Moved ...
14833 * sysdeps/posix/alarm.c: ... here.
14835 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14837 2012-08-17 Jeff Law <law@redhat.com>
14839 * intl/Makefile (codeset_mo): New variable.
14840 ($(codeset_mo)): New target.
14841 (tst-codeset.out): Depend on that. Remove explicit rule.
14842 (tst-gettext3.out, tst-gettext5.out): Likewise.
14843 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14844 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14845 * intl/tst-codeset.sh: Remove.
14846 * intl/tst-gettext3.sh: Likewise.
14847 * intl/tst-gettext5.sh: Likewise.
14849 2012-08-17 Roland McGrath <roland@hack.frob.com>
14851 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14852 * sysdeps/unix/syscalls.list: ... here.
14854 * sysdeps/posix/getaddrinfo.c
14855 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14856 (gaiconf_init, gaiconf_reload): Use them.
14857 [!_STATBUF_ST_NSEC]
14858 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14859 Define using time_t rather than struct timespec.
14861 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14862 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14864 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14866 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14867 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14870 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14871 __libc_cleanup_push argument.
14873 * bits/param.h: New file.
14874 * misc/sys/param.h: New file.
14875 * include/sys/param.h: New file.
14876 * misc/Makefile (headers): Add bits/param.h.
14877 * sysdeps/generic/sys/param.h: File removed.
14878 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14879 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14880 * sysdeps/mach/hurd/bits/param.h: New file.
14881 * sysdeps/mach/hurd/sys/param.h: File removed.
14883 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14886 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14888 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14889 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14892 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14893 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14894 rather than -D_IO_MTSAFE_IO conditionally.
14895 * stdio-common/Makefile (CPPFLAGS): Likewise.
14896 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14897 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14898 Use $(libio-mtsafe).
14899 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14900 of -D_IO_MTSAFE_IO.
14901 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14902 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14903 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14904 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14905 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14906 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14907 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14908 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14909 (CFLAGS-fread_u_chk.c): Likewise.
14910 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14911 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14912 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14913 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14914 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14915 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14916 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14917 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14918 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14920 * libio/Makefile: Test [$(libc-reentrant) = yes]
14921 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14924 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14925 * sysdeps/pthread/configure: File removed.
14926 * sysdeps/pthread/Makeconfig: New file.
14927 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14928 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14930 2012-08-16 Gary Benson <gbenson@redhat.com>
14932 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14933 unmapping the first object in a namespace.
14935 2012-08-16 Roland McGrath <roland@hack.frob.com>
14937 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14938 (__internal_setnetgrent): ... this. Add internal_function to
14939 definition. Add libc_hidden_def.
14940 (setnetgrent): Update caller.
14941 (internal_endnetgrent): Renamed to ...
14942 (__internal_endnetgrent): ... this. Add internal_function to
14943 definition. Add libc_hidden_def.
14944 (endnetgrent): Update caller.
14945 (internal_getnetgrent_r): Renamed to ...
14946 (__internal_getnetgrent_r): ... this. Add internal_function to
14947 definition. Add libc_hidden_def.
14948 (__getnetgrent_r): Update caller.
14949 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14951 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14953 * stdlib/longlong.h: Update from GCC.
14955 2012-08-16 Roland McGrath <roland@hack.frob.com>
14957 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14958 on _QL, which is set by umul_ppmm but never used.
14959 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14960 variables, which are set by GMP macros but never used.
14961 * stdio-common/_itowa.c (_itowa): Likewise.
14962 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14963 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14965 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14967 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14968 struct La_sh_regs is not constant.
14969 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14970 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14971 and struct La_sparc64_regs are not constant.
14973 2012-08-16 Joseph Myers <joseph@codesourcery.com>
14975 * sysdeps/unix/sysv/linux/kernel-features.h
14976 (__ASSUME_POSIX_TIMERS): Remove.
14977 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14978 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14979 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14980 Make code unconditional.
14981 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14982 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14983 Make code unconditional.
14984 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14985 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14986 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14987 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14988 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14989 Make code unconditional.
14990 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14991 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14992 (__libc_missing_posix_timers): Remove.
14994 2012-08-15 Roland McGrath <roland@hack.frob.com>
14996 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14997 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14999 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15001 * elf/dl-sym.c: Include <stdlib.h>.
15003 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15004 constants, which avoids warnings in 32-bit builds.
15006 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15007 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15009 * misc/lseek.c: File moved to ...
15010 * io/lseek.c: ... here.
15012 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15014 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15015 shifting LEN more than 31 bits at once.
15017 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15020 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15021 segmentation fault for a case of two empty input strings.
15022 * string/test-strncasecmp.c (check1): Renamed to...
15023 (bz12205): ...this.
15024 (bz14195): Add new testcase for two empty input strings and N > 0.
15025 (test_main): Call new testcase, adapt for renamed function.
15027 2012-08-15 Andreas Jaeger <aj@suse.de>
15030 * crypt/md5test2.c: New test, based on test supplied by Serge
15031 Belyshev <belyshev@depni.sinp.msu.ru>.
15032 * crypt/Makefile (xtests): Add md5test-giant..
15033 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15035 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15038 * crypt/md5.c (md5_process_block): Don't assume the buffer
15039 length is less than 2**32.
15040 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15041 length is less than 2**64.
15043 2012-08-15 Roland McGrath <roland@hack.frob.com>
15045 * string/str-two-way.h: Include <sys/param.h>.
15046 (MAX): Macro removed.
15048 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15049 Move #define and #undef of memmove to just before and after
15050 including <string.h>.
15052 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15053 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15054 and after including <string.h>. Move declarations of
15055 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15056 to before #include "string/memmove.c".
15058 * include/dirent.h: Declare __getdirentries.
15060 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15061 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15063 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15065 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15066 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15067 * sysdeps/i386/configure: Regenerated.
15068 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15069 STABS_CURRENT_FILE, and STABS_FUN.
15070 (END): Remove call to STABS_FUN_END.
15071 (STABS_CURRENT_FILE1): Delete.
15072 (STABS_CURRENT_FILE): Likewise.
15073 (STABS_FUN): Likewise.
15074 (STABS_FUN_END): Likewise.
15075 (STABS_FUN2): Likewise.
15076 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15077 * sysdeps/x86_64/configure: Regenerated.
15079 2012-08-14 Roland McGrath <roland@hack.frob.com>
15081 * elf/dl-open.c: Include <atomic.h>.
15082 * elf/dl-lookup.c: Likewise.
15084 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15086 * sysdeps/unix/sysv/linux/kernel-features.h
15087 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15088 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15090 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15092 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15093 condition on __ASSUME_CLONE_THREAD_FLAGS.
15095 2012-08-14 Andreas Jaeger <aj@suse.de>
15097 * sysdeps/i386/fpu/libm-test-ulps: Update.
15099 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15101 * include/atomic.h (atomic_exchange_and_add): Split into ...
15102 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15105 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15109 2012-08-13 Jeff Law <law@redhat.com>
15111 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15112 null byte in the output string.
15114 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15116 * sysdeps/unix/sysv/linux/kernel-features.h
15117 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15118 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15119 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15120 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15121 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15122 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15123 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15125 2012-08-09 Jeff Law <law@redhat.com>
15128 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15129 When avoid_arena is set, don't retry in the that arena. Pick the
15130 next one, whatever it might be.
15131 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15132 (arena_lock): Pass in new parameter to arena_get2.
15133 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15135 (__libc_malloc): Unify retrying after main arena failure with
15136 __libc_memalign version.
15137 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15139 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15142 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15143 to __redirect_strstr.
15144 (__strstr_sse42): Use typeof __redirect_strstr.
15145 (__strstr_ia32): Likewise.
15146 (__libc_strstr): New prototype.
15147 (strstr): Renamed to ...
15148 (__libc_strstr): This.
15149 (strstr): New strong alias of __libc_strstr.
15150 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15151 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15154 (__libc_time): New prototype.
15155 (time_ifunc): Replace time with __libc_time.
15156 (time): New strong alias and hidden definition of __libc_time.
15157 (__GI_time): Remove strong alias.
15158 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15159 Include <stddef.h>.
15160 (memmove): Redefined to __redirect_memmove.
15161 (__memmove_sse2): Use typeof __redirect_memmove.
15162 (__memmove_ssse3): Likewise.
15163 (__memmove_ssse3_back): Likewise.
15164 (__libc_memmove): New prototype.
15165 (memmove): Renamed to ...
15166 (__libc_memmove): This.
15167 (memmove): New strong alias of __libc_memmove.
15169 2012-08-08 Mark Salter <msalter@redhat.com>
15172 (R_MN10300_TLS_GD): Define.
15173 (R_MN10300_TLS_LD): Likewise.
15174 (R_MN10300_TLS_LDO): Likewise.
15175 (R_MN10300_TLS_GOTIE): Likewise.
15176 (R_MN10300_TLS_IE): Likewise.
15177 (R_MN10300_TLS_LE): Likewise.
15178 (R_MN10300_TLS_DTPMOD): Likewise.
15179 (R_MN10300_TLS_DTPOFF): Likewise.
15180 (R_MN10300_TLS_TPOFF): Likewise.
15181 (R_MN10300_SYM_DIFF): Likewise.
15182 (R_MN10300_ALIGN): Likewise.
15183 (R_MN10300_NUM): Update.
15185 2012-08-08 Joseph Myers <joseph@codesourcery.com>
15187 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15190 2012-08-08 Roland McGrath <roland@hack.frob.com>
15192 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15194 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15195 sysdeps/unix -> sysdeps/posix move.
15196 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15198 2012-08-07 Allan McRae <allan@archlinux.org>
15201 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15202 (SUNOS_CPP): Likewise.
15203 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15205 (open_input): Call CPP using execvp.
15207 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15209 * sysdeps/unix/sysv/linux/kernel-features.h
15210 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15211 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15212 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15213 (__ASSUME_WAITID_SYSCALL): Likewise.
15214 * sysdeps/unix/sysv/linux/dl-execstack.c
15215 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15216 code unconditional.
15217 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15219 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15220 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15221 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15223 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15225 [__ASSUME_WAITID_SYSCALL]: Likewise.
15226 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15228 2012-08-07 Roland McGrath <roland@hack.frob.com>
15230 * sysdeps/unix/closedir.c: Renamed to ...
15231 * sysdeps/posix/closedir.c: ... here.
15232 * sysdeps/unix/dirfd.c: Renamed to ...
15233 * sysdeps/posix/dirfd.c: ... here.
15234 * sysdeps/unix/dirstream.h: Renamed to ...
15235 * sysdeps/posix/dirstream.h: ... here.
15236 * sysdeps/unix/fdopendir.c: Renamed to ...
15237 * sysdeps/posix/fdopendir.c: ... here.
15238 * sysdeps/unix/opendir.c: Renamed to ...
15239 * sysdeps/posix/opendir.c: ... here.
15240 * sysdeps/unix/readdir.c: Renamed to ...
15241 * sysdeps/posix/readdir.c: ... here.
15242 * sysdeps/unix/readdir_r.c: Renamed to ...
15243 * sysdeps/posix/readdir_r.c: ... here.
15244 * sysdeps/unix/rewinddir.c: Renamed to ...
15245 * sysdeps/posix/rewinddir.c: ... here.
15246 * sysdeps/unix/seekdir.c: Renamed to ...
15247 * sysdeps/posix/seekdir.c: ... here.
15248 * sysdeps/unix/telldir.c: Renamed to ...
15249 * sysdeps/posix/telldir.c: ... here.
15250 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15251 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15252 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15253 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15255 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15256 * bits/fcntl.h: ... here.
15258 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15260 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15261 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15262 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15263 (struct flock): Move l_start, l_len to the beginning.
15264 Use __pid_t for l_pid.
15265 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15266 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15267 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15268 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15269 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15270 [__USE_LARGEFILE64] (struct flock64): New type.
15271 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15273 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15274 * bits/dirent.h: ... here.
15276 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15277 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15279 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15281 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15282 Change from 2.6.0 to 2.6.16.
15283 * sysdeps/unix/sysv/linux/configure: Regenerated.
15284 * sysdeps/unix/sysv/linux/kernel-features.h
15285 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15286 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15288 (__ASSUME_UTIMES): Likewise.
15289 (__ASSUME_CLONE_STOPPED): Remove.
15290 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15291 architectures, not kernel version.
15292 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15293 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15294 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15295 (__ASSUME_WAITID_SYSCALL): Likewise.
15296 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15297 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15298 * README: State 2.6.16 as minimum Linux kernel version. Do not
15299 refer to older versions.
15301 2012-08-06 Roland McGrath <roland@hack.frob.com>
15303 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15304 Define alphasort64 as an alias.
15305 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15306 Define versionsort64 as an alias.
15307 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15308 Define scandir64 as an alias.
15309 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15310 Define scandirat64 as an alias.
15311 * dirent/alphasort64.c (alphasort64):
15312 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15313 * dirent/versionsort64.c: Likewise.
15314 * dirent/scandir64.c: Likewise.
15315 * dirent/scandirat64.c: Likewise.
15316 * sysdeps/wordsize-64/alphasort.c: File removed.
15317 * sysdeps/wordsize-64/alphasort64.c: File removed.
15318 * sysdeps/wordsize-64/scandir.c: File removed.
15319 * sysdeps/wordsize-64/scandir64.c: File removed.
15320 * sysdeps/wordsize-64/scandirat.c: File removed.
15321 * sysdeps/wordsize-64/scandirat64.c: File removed.
15322 * sysdeps/wordsize-64/versionsort.c: File removed.
15323 * sysdeps/wordsize-64/versionsort64.c: File removed.
15324 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15325 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15326 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15327 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15328 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15329 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15330 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15331 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15333 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15334 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15335 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15337 [defined __arch64__ || defined __sparcv9]
15338 (__INO_T_MATCHES_INO64_T): New macro.
15339 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15340 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15341 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15342 * sysdeps/unix/sysv/linux/bits/dirent.h
15343 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15344 (_DIRENT_MATCHES_DIRENT64): New macro.
15346 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15347 Define lockf64 as an alias.
15348 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15349 Define fseeko64 as an alias.
15350 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15351 Define ftello64 as an alias.
15352 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15353 Define _IO_fgetpos64 and fgetpos64 as aliases.
15354 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15355 Define _IO_fsetpos64 and fsetpos64 as aliases.
15356 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15357 Conditionalize body on this.
15358 * libio/fseeko64.c: Likewise.
15359 * libio/ftello64.c: Likewise.
15360 * libio/iofgetpos64.c: Likewise.
15361 * libio/iofsetpos64.c: Likewise.
15362 * sysdeps/wordsize-64/lockf.c: File removed.
15363 * sysdeps/wordsize-64/lockf64.c: File removed.
15364 * sysdeps/wordsize-64/fseeko.c: File removed.
15365 * sysdeps/wordsize-64/fseeko64.c: File removed.
15366 * sysdeps/wordsize-64/ftello.c: File removed.
15367 * sysdeps/wordsize-64/ftello64.c: File removed.
15368 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15369 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15370 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15371 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15372 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15373 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15374 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15375 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15376 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15377 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15378 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15379 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15380 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15381 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15383 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15384 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15385 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15386 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15387 [defined __arch64__ || defined __sparcv9]
15388 (__OFF_T_MATCHES_OFF64_T): New macro.
15389 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15390 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15391 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15392 (__OFF_T_MATCHES_OFF64_T): New macro.
15394 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15396 * stdlib/secure-getenv.c (__secure_getenv): Replace
15397 GLIBC_2_16 with GLIBC_2_17.
15399 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15401 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15402 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15404 2012-08-03 David S. Miller <davem@davemloft.net>
15406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15408 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15410 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15412 (__ASSUME_CORRECT_SI_PID): Likewise.
15413 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15414 (__ASSUME_TMPFS_NAME): Likewise.
15415 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15416 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15417 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15418 (HAVE_AUX_SECURE): Make definition unconditional.
15419 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15420 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15422 2012-08-03 Roland McGrath <roland@hack.frob.com>
15424 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15425 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15426 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15427 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15428 __eloop_threshold instead of SYMLOOP_MAX.
15430 * sysdeps/generic/eloop-threshold.h: New file.
15431 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15433 * elf/chroot_canon.c (chroot_canon): Likewise.
15435 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15438 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15439 Change to 2.6.0 everywhere.
15440 * sysdeps/unix/sysv/linux/configure: Regenerated.
15441 * sysdeps/unix/sysv/linux/kernel-features.h
15442 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15443 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15445 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15446 (__ASSUME_FUTEX_REQUEUE): Remove.
15447 (__ASSUME_STATFS64): Define unconditionally.
15448 (__ASSUME_AT_SECURE): Likewise.
15449 (__ASSUME_CORRECT_SI_PID): Likewise.
15450 (__ASSUME_TGKILL): Define without depending on kernel version for
15452 (__ASSUME_UTIMES): Likewise.
15453 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15455 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15456 (__ASSUME_TMPFS_NAME): Likewise.
15457 * README: Update reference to Linux kernel versions.
15459 2012-08-02 Marek Polacek <polacek@redhat.com>
15462 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15463 libc_cv_asm_type_prefix with %.
15464 * configure: Regenerated.
15465 * include/libc-symbols.h: Remove comment about
15466 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15467 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15468 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15469 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15470 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15471 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15472 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15473 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15474 * elf/tst-unique2mod1.c: Likewise.
15475 * elf/tst-unique1mod2.c: Likewise.
15476 * elf/tst-unique1mod1.c: Likewise.
15477 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15478 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15479 Replace ASM_TYPE_DIRECTIVE with .type.
15480 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15481 * sysdeps/i386/sysdep.h: Likewise.
15482 * sysdeps/x86_64/sysdep.h: Likewise.
15483 * sysdeps/sh/sysdep.h: Likewise.
15484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15485 Do not define ASM_TYPE_DIRECTIVE.
15486 * sysdeps/powerpc/sysdep.h: Likewise.
15487 * sysdeps/powerpc/powerpc32/sysdep.h:
15488 Replace ASM_TYPE_DIRECTIVE with .type.
15489 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15490 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15491 * sysdeps/i386/fpu/e_powf.S: Likewise.
15492 * sysdeps/i386/fpu/e_expl.S: Likewise.
15493 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15494 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15495 * sysdeps/i386/fpu/e_pow.S: Likewise.
15496 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15497 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15498 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15499 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15500 * sysdeps/i386/fpu/e_log2.S: Likewise.
15501 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15502 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15503 * sysdeps/i386/fpu/e_powl.S: Likewise.
15504 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15505 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15506 * sysdeps/i386/fpu/e_logl.S: Likewise.
15507 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15508 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15509 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15510 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15511 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15512 * sysdeps/i386/fpu/e_log.S: Likewise.
15513 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15514 * sysdeps/i386/fpu/e_logf.S: Likewise.
15515 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15516 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15517 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15518 * sysdeps/i386/fpu/e_log10.S: Likewise.
15519 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15520 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15521 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15522 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15523 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15524 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15525 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15526 * sysdeps/i386/i686/strtok.S: Likewise.
15527 * sysdeps/i386/i386-mcount.S: Likewise.
15528 * sysdeps/i386/strtok.S: Likewise.
15529 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15530 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15531 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15532 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15533 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15534 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15535 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15536 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15537 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15538 * sysdeps/x86_64/_mcount.S: Likewise.
15539 * sysdeps/x86_64/strtok.S: Likewise.
15540 * sysdeps/sh/_mcount.S: Likewise.
15542 2012-08-01 Roland McGrath <roland@hack.frob.com>
15544 * libio/iofopen.c: Include <fcntl.h>.
15545 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15546 (_IO_fopen64, fopen64): Define as aliases.
15547 * libio/iofopen64.c: Include <fcntl.h>.
15548 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15549 Conditionalize body on this.
15550 * sysdeps/wordsize-64/iofopen.c: File removed.
15551 * sysdeps/wordsize-64/iofopen64.c: File removed.
15553 2012-08-01 Marek Polacek <polacek@redhat.com>
15555 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15556 Use dlfcn directly instead of a variable.
15557 (binfmt-subdir): Do not define.
15560 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15562 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15563 Remove all definitions.
15564 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15565 <kernel-features.h>.
15566 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15567 (miss_F_GETOWN_EX): Remove all definitions.
15568 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15570 [!__ASSUME_FCNTL64]: Remove conditional code.
15571 [__ASSUME_FCNTL64]: Make code unconditional.
15572 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15573 <kernel-features.h>.
15574 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15575 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15576 (lockf64) [__NR_fcntl64]: Make code unconditional.
15577 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15579 * sysdeps/unix/sysv/linux/kernel-features.h
15580 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15581 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15582 Make code unconditional.
15583 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15584 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15586 [__NR_vfork]: Make code unconditional.
15587 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15588 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15590 [__NR_vfork]: Make code unconditional.
15591 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15592 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15594 2012-08-01 Roland McGrath <roland@hack.frob.com>
15596 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15597 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15599 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15600 Define mkstemp64 as an alias.
15601 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15602 Define mkstemps64 as an alias.
15603 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15604 Define mkostemp64 as an alias.
15605 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15606 Define mkostemps64 as an alias.
15607 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15608 Conditionalize body on this.
15609 * misc/mkostemp64.c: Likewise.
15610 * misc/mkostemps64.c: Likewise.
15611 * misc/mkstemps64.c: Likewise.
15612 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15613 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15614 * sysdeps/wordsize-64/mkostemp.c: File removed.
15615 * sysdeps/wordsize-64/mkstemp.c: File removed.
15616 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15617 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15618 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15619 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15622 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15623 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15624 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15625 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15627 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15628 compat_symbol macros from <shlib-compat.h> rather than the underlying
15629 default_symbol_version and symbol_version macros, so that DEFAULT
15630 lines in shlib-versions are respected.
15631 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15633 2012-08-01 Florian Weimer <fweimer@redhat.com>
15635 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15636 Declare with warn_unused_result.
15637 (setgid, setregid, setegid, setresgid): Likewise.
15638 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15640 * WUR-REPORT: Remove set*id functions.
15642 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15644 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15646 2012-07-31 Roland McGrath <roland@hack.frob.com>
15649 * include/sys/socket.h (__libc_accept, __libc_accept4):
15650 Add attribute_hidden.
15651 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15653 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15655 * inet/getnetgrent_r.c (setup): Likewise.
15657 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15659 2012-07-31 David S. Miller <davem@davemloft.net>
15661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15663 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15666 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15667 value between 1.0 and 2.0 and smaller part has absolute value less
15669 * math/s_clog10.c (__clog10): Likewise.
15670 * math/s_clog10f.c (__clog10f): Likewise.
15671 * math/s_clog10l.c (__clog10l): Likewise.
15672 * math/s_clogf.c (__clogf): Likewise.
15673 * math/s_clogl.c (__clogl): Likewise.
15674 * math/libm-test.inc (clog_test): Add more tests.
15675 (clog10_test): Likewise.
15676 * sysdeps/i386/fpu/libm-test-ulps: Update.
15677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15679 2012-07-31 Florian Weimer <fweimer@redhat.com>
15681 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15682 Exit with zero in case no suitable GID is found, and write a
15683 message to standard error.
15685 2012-07-30 Roland McGrath <roland@hack.frob.com>
15687 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15689 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15690 (MAXPATHLEN): Removed.
15691 (NOGROUP, NODEV): New macros.
15692 (setbit, clrbit, isset, isclr): New macros.
15693 (howmany, roundup, powerof2): New macros.
15694 (DEV_BSIZE): New macro.
15696 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15697 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15699 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15700 definition on [!__NO_LONG_DOUBLE_MATH].
15702 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15703 PTR_MANGLE and PTR_DEMANGLE.
15705 * socket/accept4.c (accept4): Rename to __libc_accept4.
15706 Define accept4 as a weak alias.
15708 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15709 on [_DIRENT_HAVE_D_TYPE].
15710 * io/ftw.c (ftw_dir): Likewise.
15712 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15714 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15716 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15717 Use the BSD numbers rather than the arbitrary ones we had.
15718 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15719 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15720 (SIGXCPU, SIGXFSZ): New macros.
15723 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15724 initializer on [_LIBC_REENTRANT].
15726 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15727 definitions inside [_POSIX_MAPPED_FILES].
15729 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15731 * dirent/opendir.c: Include <fcntl.h>.
15733 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15734 (__libc_getspecific): Likewise.
15735 (__libc_key_create): Likewise.
15737 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15738 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15739 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15740 (tmpfile64): Define as alias.
15741 * sysdeps/wordsize-64/tmpfile.c: File removed.
15742 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15743 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15744 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15746 * stdio-common/vfscanf.c: Include <stdbool.h>.
15747 * nss/makedb.c: Likewise.
15748 * stdio-common/_i18n_number.h: Likewise.
15749 * argp/argp-help.c: Likewise.
15750 * posix/wordexp.c: Likewise.
15751 * sysdeps/posix/spawni.c: Likewise.
15752 * nss/nss_files/files-initgroups.c: Likewise.
15753 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15754 * nss/nss_files/files-initgroups.c: Likewise.
15755 * nss/nss_db/db-netgrp.c: Likewise.
15756 * nss/nss_db/db-initgroups.c: Likewise.
15757 * io/fchmodat.c: Include <sys/stat.h>.
15759 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15760 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15762 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15765 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15766 Add multiple inclusion protection.
15768 2012-07-27 David S. Miller <davem@davemloft.net>
15770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15772 2012-07-27 Gary Benson <gbenson@redhat.com>
15775 * elf/rtld.c: Include <stap-probe.h>.
15776 (dl_main): Added static probes "init_start" and "init_complete".
15777 * elf/dl-load.c: Include <stap-probe.h>.
15778 (lose): Take new parameter "nsid".
15779 Added static probe "map_failed".
15780 (_dl_map_object_from_fd): Pass namespace id to lose.
15781 Added static probe "map_start".
15782 (open_verify): Pass namespace id to lose.
15783 * elf/dl-open.c: Include <stap-probe.h>.
15784 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15785 and "reloc_complete".
15786 * elf/dl-close.c: Include <stap-probe.h>.
15787 (_dl_close_worker): Added static probes "unmap_start" and
15789 * elf/rtld-debugger-interface.txt: New file documenting the above.
15791 2012-07-26 Roland McGrath <roland@hack.frob.com>
15793 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15794 rather than a string variable.
15795 * sunrpc/rpc_main.c (h_output): Likewise.
15796 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15798 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15800 * inet/check_native.c: New file.
15802 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15805 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15806 if larger part has absolute value 1.0.
15807 * math/s_clog10.c (__clog10): Likewise.
15808 * math/s_clog10f.c (__clog10f): Likewise.
15809 * math/s_clog10l.c (__clog10l): Likewise.
15810 * math/s_clogf.c (__clogf): Likewise.
15811 * math/s_clogl.c (__clogl): Likewise.
15812 * math/libm-test.inc (clog_test): Add more tests.
15813 (clog10_test): Likewise.
15814 * sysdeps/i386/fpu/libm-test-ulps: Update.
15815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15817 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15818 (pltexit): Likewise.
15819 (La_regs): Likewise.
15820 (La_retval): Likewise.
15821 (int_retval): Likewise.
15822 Update #error for removed macros to refer only to definitions in
15824 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15826 (pltexit): Likewise.
15827 (La_regs): Likewise.
15828 (La_retval): Likewise.
15829 (int_retval): Likewise.
15830 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15832 (pltexit): Likewise.
15833 (La_regs): Likewise.
15834 (La_retval): Likewise.
15835 (int_retval): Likewise.
15836 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15838 (pltexit): Likewise.
15839 (La_regs): Likewise.
15840 (La_retval): Likewise.
15841 (int_retval): Likewise.
15842 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15844 (pltexit): Likewise.
15845 (La_regs): Likewise.
15846 (La_retval): Likewise.
15847 (int_retval): Likewise.
15848 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15850 (pltexit): Likewise.
15851 (La_regs): Likewise.
15852 (La_retval): Likewise.
15853 (int_retval): Likewise.
15854 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15856 (pltexit): Likewise.
15857 (La_regs): Likewise.
15858 (La_retval): Likewise.
15859 (int_retval): Likewise.
15860 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15861 macro definitions in tst-audit.h.
15862 * sysdeps/i386/tst-audit.h: New file.
15863 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15864 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15865 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15866 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15867 * sysdeps/sh/tst-audit.h: Likewise.
15868 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15869 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15870 * sysdeps/x86_64/tst-audit.h: Likewise.
15872 2012-07-26 Andreas Jaeger <aj@suse.de>
15874 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15877 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15878 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15879 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15881 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15882 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15883 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15885 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15888 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15890 (si_call_addr, si_syscall, si_arch): Define new macro.
15891 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15893 (si_call_addr, si_syscall, si_arch): Define new marcro.
15894 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15896 (si_call_addr, si_syscall, si_arch): Define new macro.
15897 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15899 (si_call_addr, si_syscall, si_arch): Define new macro.
15901 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15904 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15905 Change to 2.4.21 where previously 2.4.1.
15906 * sysdeps/unix/sysv/linux/configure: Regenerated.
15907 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15908 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15909 Linux kernel version.
15910 (__ASSUME_STD_AUXV): Remove.
15911 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15913 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15914 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15915 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15916 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15917 (__ASSUME_NETLINK_SUPPORT): Likewise.
15918 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15919 (__no_netlink_support): Remove conditional definition.
15920 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15922 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15923 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15924 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15925 (if_nameindex_ioctl): Remove.
15926 (if_nameindex_netlink): Do not handle __no_netlink_support.
15927 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15929 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15930 Remove conditional code.
15931 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15933 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15935 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15936 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15937 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15939 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15940 [!__ASSUME_STD_AUXV]: Remove conditional code.
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15942 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15943 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15945 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15946 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15948 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15950 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15951 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15953 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15955 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15958 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15961 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15962 code unconditional.
15963 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15965 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15967 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15970 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15972 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15975 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15976 code unconditional.
15977 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15979 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15981 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15984 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15985 code unconditional.
15986 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15988 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15990 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15993 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15995 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15996 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15997 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15998 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15999 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16000 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16001 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16002 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16003 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16004 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16005 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16006 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16007 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16008 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16009 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16010 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16011 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16012 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16013 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16015 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16016 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16017 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16019 2012-07-25 Florian Weimer <fweimer@redhat.com>
16021 * Versions.def: Add GLIBC_2.17.
16022 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16023 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16024 Introduce __libc_secure_getenv.
16025 * stdlib/Versions (2.17): Add secure_getenv
16026 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16027 * stdlib/secure-getenv.c: Rename __secure_getenv to
16028 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16029 symbol __secure_getenv for GLIBC_2.0.
16030 * stdlib/tst-secure-getenv.c: New.
16031 * stdlib/Makefile (tests): Add testcase.
16032 * manual/startup.texi (Environment Access): Document
16034 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16035 __libc_secure_getenv.
16036 * inet/ruserpass.c (ruserpass): Likewise.
16037 * malloc/mtrace.c (mtrace): Likewise.
16038 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16039 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16040 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16041 * sysdeps/posix/tempname.c: Likewise. Evaluate
16042 HAVE_SECURE_GETENV.
16043 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16044 __secure_getenv to __libc_secure_getenv.
16045 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16052 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16058 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16060 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16061 (struct La_i86_retval): Likewise.
16062 (struct La_x86_64_regs): Likewise.
16063 (struct La_x86_64_retval): Likewise.
16064 (struct La_x32_regs): Likewise.
16065 (struct La_x32_retval): Likewise.
16066 (struct La_ppc32_regs): Likewise.
16067 (struct La_ppc32_retval): Likewise.
16068 (struct La_ppc64_regs): Likewise.
16069 (struct La_ppc64_retval): Likewise.
16070 (struct La_sh_regs): Likewise.
16071 (struct La_sh_retval): Likewise.
16072 (struct La_s390_32_regs): Likewise.
16073 (struct La_s390_32_retval): Likewise.
16074 (struct La_s390_64_regs): Likewise.
16075 (struct La_s390_64_retval): Likewise.
16076 (struct La_sparc32_regs): Likewise.
16077 (struct La_sparc32_retval): Likewise.
16078 (struct La_sparc64_regs): Likewise.
16079 (struct La_sparc64_retval): Likewise.
16080 (struct audit_ifaces): Remove architecture-specific pltenter and
16082 * sysdeps/i386/ldsodefs.h: New file.
16083 * sysdeps/powerpc/ldsodefs.h: Likewise.
16084 * sysdeps/s390/ldsodefs.h: Likewise.
16085 * sysdeps/sh/ldsodefs.h: Likewise.
16086 * sysdeps/sparc/ldsodefs.h: Likewise.
16087 * sysdeps/x86_64/ldsodefs.h: Likewise.
16089 2012-07-25 Marek Polacek <polacek@redhat.com>
16092 * math/libm-test.inc (yn_test): Add another test.
16093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16094 to ERANGE when the result is +-Inf.
16095 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16096 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16097 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16098 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16100 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16102 * conform/data/time.h-data (NULL): Use macro-constant. Require
16104 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16106 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16108 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16110 * configure.in <sysdeps resolving>: Correct printing
16112 * configure: Regenerate.
16114 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16116 * math/w_ilogb.c: Include <limits.h>.
16117 * math/w_ilogbl.c: Likewise.
16119 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16121 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16122 va_copy. Document allowing for unavailable va_copy only as
16123 pre-C99 compatibility.
16124 * manual/string.texi (Copying and Concatenation): Use va_copy
16125 instead of __va_copy in concat example.
16127 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16129 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16130 (__sendto): Use create_address_port. Initialize APORT and deallocate
16133 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16134 with O_NOLINK passed to __file_name_lookup.
16136 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16137 with O_NOLINK passed to __file_name_lookup.
16139 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16140 negative N or less than NGIDS.
16142 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16143 type to string_t. Set ERANGE as errno and return it if NAME is not big
16144 enough. Use memcpy instead of strncpy.
16146 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16148 * elf/Makefile (check-data): Remove.
16149 (localplt.data): New vpath directive.
16150 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16151 instead of $(check-data).
16152 * scripts/data/localplt-generic.data: Move to ...
16153 * sysdeps/generic/localplt.data: ... here.
16154 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16155 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16156 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16159 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16162 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16165 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16168 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16171 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16175 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16177 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16178 PPC32 and PPC64 files.
16179 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16180 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16182 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16184 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16185 __makecontext_ret to ...
16186 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16187 ... here and call exit if uc_link is NULL. New file.
16188 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16189 __makecontext_ret.S.
16190 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16191 __makecontext_ret to ...
16192 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16193 ... here and call exit if uc_link is NULL. New file.
16194 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16195 __makecontext_ret.S.
16197 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16199 * elf/elf.h (R_390_IRELATIVE): New definition.
16200 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16201 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16202 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16203 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16204 (elf_machine_lazy_rel): Likewise.
16205 * sysdeps/s390/dl-irel.h: New file.
16206 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16207 * sysdeps/s390/s390-64/memset.S: New asm code.
16208 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16209 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16210 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16211 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16212 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16213 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16214 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16215 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16216 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16217 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16218 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16219 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16220 * sysdeps/s390/s390-32/memset.S: New asm code.
16221 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16223 2012-07-17 Marek Polacek <polacek@redhat.com>
16226 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16227 * sysdeps/s390/s390-64/configure.in: Likewise.
16228 * sysdeps/sparc/configure.in: Likewise.
16229 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16230 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16231 * sysdeps/i386/configure.in: Likewise.
16232 * sysdeps/x86_64/configure.in: Likewise.
16233 * sysdeps/sh/configure.in: Likewise.
16234 * sysdeps/s390/s390-32/configure: Regenerated.
16235 * sysdeps/s390/s390-64/configure: Likewise.
16236 * sysdeps/x86_64/configure: Likewise.
16237 * sysdeps/sh/configure: Likewise.
16238 * sysdeps/powerpc/powerpc64/configure: Likewise.
16239 * sysdeps/powerpc/powerpc32/configure: Likewise.
16240 * sysdeps/sparc/configure: Likwise.
16241 * sysdeps/i386/configure: Likewise.
16243 * elf/dl-open.c: Comment fixes.
16245 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16247 * Makefile [CXX] (check-data): Remove.
16248 [CXX] (c++-types.data): New vpath directive.
16249 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16250 vpath. Do not allow for C++ type data being missing.
16251 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16252 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16253 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16254 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16255 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16256 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16257 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16260 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16263 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16266 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16269 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16272 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16275 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16278 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16281 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16282 definitions to architecture-specific files.
16283 (TLS_IE): Likewise.
16284 (TLS_LD): Likewise.
16285 (TLS_GD): Likewise.
16286 * sysdeps/i386/tls-macros.h: New file.
16287 * sysdeps/powerpc/tls-macros.h: Likewise.
16288 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16289 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16290 * sysdeps/sh/tls-macros.h: Likewise.
16291 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16292 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16293 * sysdeps/x86_64/tls-macros.h: Likewise.
16295 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16297 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16298 zero value for regular exit case.
16300 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16301 (__start_context): Preserve zero value for regular exit case.
16303 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16304 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16306 * manual/setjmp.texi (setcontext): Clarify normal process
16307 termination when uc_link is the null pointer.
16308 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16311 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16313 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16314 preprocessor. Test for each exception mask separately.
16316 2012-07-16 Andreas Jaeger <aj@suse.de>
16318 * po/ru.po: Update from translation team.
16320 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16322 * conform/data/string.h-data (NULL): Use macro-constant. Require
16324 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16325 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16326 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16327 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16330 2012-07-13 Andreas Jaeger <aj@suse.de>
16332 * po/fr.po: Update from translation team.
16334 2012-07-12 Marek Polacek <polacek@redhat.com>
16337 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16338 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16341 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16344 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16345 Change to 2.4.1 where previously 2.4.0.
16346 * sysdeps/unix/sysv/linux/configure: Regenerated.
16347 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16348 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16350 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16351 (__ASSUME_AT_CLKTCK): Remove.
16352 (__ASSUME_AT_PAGESIZE): Likewise.
16353 (__ASSUME_AT_XID): Likewise.
16354 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16355 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16356 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16358 (HAVE_AUX_PAGESIZE): Likewise.
16359 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16360 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16361 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16363 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16367 the temporary buffer used to invoke __gethostbyname2_r,
16368 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16369 host_data / struct gaih_addrtuple.
16370 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16371 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16372 header file nss/nsswitch.h.
16373 * nss/nsswitch.h (global scope): Add definition of implementation
16374 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16375 resolv/nss_dns/dns-host.c).
16377 2012-07-11 Andreas Jaeger <aj@suse.de>
16379 * po/fr.po: Update from translation team.
16381 * po/sv.po: Update from translation team
16382 * po/fr.po: Another update from translation team.
16384 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16386 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16387 for subnormals or multiply small sinh result by itself.
16388 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16391 2012-07-11 David S. Miller <davem@davemloft.net>
16393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16395 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16398 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16399 (INTERNAL_MARK): Shift it here.
16401 2012-07-10 Marek Polacek <polacek@redhat.com>
16404 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16405 libc_cv_asm_global_directive with .globl.
16406 * configure: Regenerated.
16407 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16409 * sysdeps/i386/configure: Regenerated.
16410 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16412 * sysdeps/x86_64/configure: Regenerated.
16413 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16414 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16415 * elf/tst-unique2mod2.c: Likewise.
16416 * elf/tst-unique2mod1.c: Likewise.
16417 * elf/tst-unique1mod2.c: Likewise.
16418 * elf/tst-unique1mod1.c: Likewise.
16419 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16420 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16421 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16422 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16423 * sysdeps/mach/sysdep.h: Likewise.
16424 * sysdeps/i386/sysdep.h: Likewise.
16425 * sysdeps/i386/i386-mcount.S: Likewise.
16426 * sysdeps/x86_64/_mcount.S: Likewise.
16427 * sysdeps/x86_64/sysdep.h: Likewise.
16428 * sysdeps/sh/_mcount.S: Likewise.
16429 * sysdeps/sh/sysdep.h: Likewise.
16430 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16431 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16432 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16433 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16434 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16435 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16436 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16437 * locale/localeinfo.h: Likewise.
16438 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16439 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16441 2012-07-09 Roland McGrath <roland@hack.frob.com>
16444 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16446 * manual/message.texi (The Uniforum approach): Likewise.
16447 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16448 (glibc iconv Implementation): Likewise.
16450 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16453 * math/s_clog.c (__clog): Avoid scaling a value down where that
16454 could result in underflow.
16455 * math/s_clog10.c (__clog10): Likewise.
16456 * math/s_clog10f.c (__clog10f): Likewise.
16457 * math/s_clog10l.c (__clog10l): Likewise.
16458 * math/s_clogf.c (__clogf): Likewise.
16459 * math/s_clogl.c (__clogl): Likewise.
16460 * math/libm-test.inc (clog_test): Add more tests.
16461 (clog10_test): Likewise.
16462 * sysdeps/i386/fpu/libm-test-ulps: Update.
16463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16465 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16468 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16469 by 7 not 8 to examine high bit of fractional part.
16472 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16473 for call to __mcount_internal.
16474 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16475 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16476 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16478 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16481 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16482 approximation for values within 0x1p-13f of an odd multiple of
16484 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16485 exception. Add more tests.
16486 * sysdeps/i386/fpu/libm-test-ulps: Update.
16489 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16490 inputs and return -1 for them. Do not check for +Inf in case not
16491 reachable for +Inf.
16492 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16493 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16494 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16495 and return -1 for them. Do not check for +Inf in case not
16496 reachable for +Inf.
16497 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16499 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16500 and return -1 for them. Do not check for +Inf in case not
16501 reachable for +Inf.
16502 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16503 spurious underflow.
16504 * sysdeps/i386/fpu/libm-test-ulps: Update.
16505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16507 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16509 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16511 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16515 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16516 could result in spurious underflow. Scale down values above
16517 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16518 * math/s_csqrtf.c (__csqrtf): Likewise.
16519 * math/s_csqrtl.c (__csqrtl): Likewise.
16520 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16521 spurious underflow.
16522 * sysdeps/i386/fpu/libm-test-ulps: Update.
16523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16525 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16527 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16529 * catgets/xopen-msg.awk: New file.
16530 * catgets/xopen-msg.sed: Removed.
16532 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16534 * intl/po2test.awk: New file.
16535 * intl/po2test.sed: Removed.
16537 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16540 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16541 or multiply small sinh result by itself.
16542 * math/s_ctanf.c (__ctanf): Likewise.
16543 * math/s_ctanh.c (__ctanh): Likewise.
16544 * math/s_ctanhf.c (__ctanhf): Likewise.
16545 * math/s_ctanhl.c (__ctanhl): Likewise.
16546 * math/s_ctanl.c (__ctanl): Likewise.
16547 * math/libm-test.inc (ctan_test_tonearest): New function.
16548 (ctan_test_towardzero): Likewise.
16549 (ctan_test_downward): Likewise.
16550 (ctan_test_upward): Likewise.
16551 (ctanh_test_tonearest): Likewise.
16552 (ctanh_test_towardzero): Likewise.
16553 (ctanh_test_downward): Likewise.
16554 (ctanh_test_upward): Likewise.
16555 (main): Call these new functions.
16556 * sysdeps/i386/fpu/libm-test-ulps: Update.
16557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16559 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16561 * .gitignore: Delete /ports entry.
16563 2012-07-03 Andreas Jaeger <aj@suse.de>
16565 * po/bg.po: Update from translation team.
16566 * po/cs.po: Likewise.
16567 * po/de.po: Likewise.
16568 * po/hr.po: Likewise.
16569 * po/nl.pl: Likewise.
16570 * po/pl.po: Likewise.
16571 * po/vi.po: Likewise.
16573 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16575 * Makeconfig [!+link] (+link-before-libc): New variable.
16576 [!+link] (+link-after-libc): Likewise.
16577 [!+link] (+link-tests): Likewise.
16578 [!+link] (+link): Define in terms of $(+link-before-libc) and
16579 $(+link-after-libc).
16580 [!+link-static] (+link-static-before-libc): New variable.
16581 [!+link-static] (+link-static-after-libc): Likewise.
16582 [!+link-static] (+link-static-tests): Likewise.
16583 [!+link-static] (+link-static): Define in terms of
16584 $(+link-static-before-libc) and $(+link-static-after-libc).
16585 [build-shared] (link-libc-before-gnulib): New variable.
16586 [build-shared] (link-libc-tests): Likewise.
16587 [build-shared] (link-libc): Define in terms of
16588 $(link-libc-before-gnulib).
16589 [!build-shared] (link-libc-tests): New variable.
16590 (link-libc-static-tests): New variable.
16591 [!gnulib] (gnulib-arch): New variable.
16592 [!gnulib] (gnulib-tests): Likewise.
16593 [!gnulib] (static-gnulib-arch): Likewise.
16594 [!gnulib] (static-gnulib-tests): Likewise.
16595 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16596 Define with "=" instead of ":=".
16597 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16598 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16599 * Rules (binaries-all-notests): New variable.
16600 (binaries-all-tests): Likewise.
16601 (binaries-static-notests): Likewise.
16602 (binaries-static-tests): Likewise.
16603 (binaries-all): Define using $(binaries-all-notests) and
16604 $(binaries-all-tests).
16605 (binaries-static): Define using $(binaries-static-notests) and
16606 $(binaries-static-tests).
16607 (binaries-shared-tests): New variable.
16608 (binaries-shared-notests): Likewise.
16609 (binaries-shared): Remove variable.
16610 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16611 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16612 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16613 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16614 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16615 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16616 * elf/Makefile (sln-modules): New variable.
16617 (extra-objs): Add $(sln-modules:=.o).
16618 (ldconfig-modules): Add static-stubs.
16619 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16620 * elf/static-stubs.c: New file.
16623 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16624 by 7 not 8 to examine high bit of fractional part. Use volatile
16625 variables when splitting into final array of floats if
16626 __FLT_EVAL_METHOD__ != 0.
16627 * math/libm-test.inc (cos_test): Add another test.
16628 (sin_test): Likewise.
16629 * sysdeps/i386/fpu/libm-test-ulps: Update.
16632 * math/libm-test.inc (cosh_test): Add more tests.
16634 * version.h (RELEASE): Set to "development".
16635 (VERSION): Set to "2.16.90".
16637 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16639 * NEWS: Update copyright. Remove last-updated date.
16640 Mention math library bug fixes and timezone data changes.
16641 * README: Mention GNU/Hurd, x32, and HPPA support status.
16643 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16645 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16647 2012-06-27 Andreas Jaeger <aj@suse.de>
16649 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16651 2012-06-25 Andreas Jaeger <aj@suse.de>
16653 * sysdeps/s390/fpu/libm-test-ulps: Update.
16655 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16656 Thomas Schwinge <thomas@codesourcery.com>
16658 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16659 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16663 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16665 * sysdeps/mach/start.c: Remove file.
16666 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16667 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16668 * sysdeps/sh/init-first.c: Likewise.
16670 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16671 registers for frame unwinding purposes, add CFI directives.
16672 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16673 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16674 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16677 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16678 __fortify_fail returning.
16679 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16681 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16682 sysdeps/sh/____longjmp_chk.S.
16683 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16684 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16685 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16686 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16688 * sysdeps/sh/abort-instr.h: New file.
16689 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16690 process in case exit returns.
16692 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16693 initialize the GOT register before use.
16695 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16696 calculation of ARGC > 4.
16698 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16699 meaningful names to some local labels.
16701 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16702 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16704 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16705 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16706 (__arch_compare_and_exchange_val_16_acq): Likewise.
16707 (__arch_compare_and_exchange_val_32_acq): Likewise.
16708 (atomic_exchange_and_add): Fix gUSA sequence.
16709 (atomic_add): Likewise.
16710 (atomic_add_negative): Likewise.
16711 (atomic_add_zero): Likewise.
16712 (atomic_bit_test_set): Likewise.
16714 2012-06-22 Andreas Schwab <schwab@redhat.com>
16717 * include/link.h (struct link_map): Add l_free_initfini.
16718 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16720 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16721 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16722 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16725 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16727 * configure.in: Use AC_LANG_SOURCE.
16728 * configure: Regenerate.
16730 2012-06-22 Roland McGrath <roland@hack.frob.com>
16732 * configure.in (libc_cv_localstatedir): New substituted variable.
16733 * configure: Regenerated.
16734 * config.make.in (localstatedir): New variable, substituted from
16735 libc_cv_localstatedir.
16736 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16737 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16738 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16739 * sysdeps/gnu/configure: Regenerated.
16741 2012-06-21 Jeff Law <law@redhat.com>
16744 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16745 free. Simplify list management for _LIBC case.
16747 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16750 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16751 Clear sign bit of 64-bit integer value before comparing against
16754 * sysdeps/mach/configure: Regenerated.
16756 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16759 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16761 2012-06-21 Jeff Law <law@redhat.com>
16764 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16765 uint16_t for elements in the "seen" array to avoid char overflows.
16766 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16767 * elf/dl-open.c (dl_open_worker): Likewise.
16769 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16771 * scripts/list-sources.sh: Scan PORTS for translations.
16772 * po/libc.pot: Regenerated.
16774 2012-06-21 Andreas Jaeger <aj@suse.de>
16777 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16779 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16780 * bits/byteswap-16.h (__bswap_16): Likewise.
16781 * bits/byteswap.h (__bswap_constant_16): Likewise.
16783 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16786 * sysdeps/i386/fpu_control.h: Removed.
16787 * sysdeps/x86_64/fpu_control.h: Moved to ...
16788 * sysdeps/x86/fpu_control.h: Here.
16790 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16791 (_FPU_SETCW): Likewise.
16793 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16796 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16797 * sysdeps/x86/fpu/bits/mathinline.h: This.
16798 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16802 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16803 functions if __x86_64__ is defined.
16805 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16807 * string/endian.h: Add !__ASSEMBLER__ condition for including
16808 conversion interfaces.
16810 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16814 of ABS(x) in calculating zero to negative powers other than odd
16816 * math/libm-test.inc (pow_test): Add more tests.
16818 2012-06-15 Andreas Jaeger <aj@suse.de>
16820 * manual/contrib.texi (Contributors): Update entry of Liubov
16821 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16824 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16826 * string/string.h: Add __wur to GNU version of strerror_r.
16828 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16831 * string/Makefile (tests): Add tst-strtok_r.
16832 * string/tst-strtok_r.c: New file.
16833 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16834 RAX_LP/RDX_LP on SAVE_PTR.
16836 2012-06-14 Roland McGrath <roland@hack.frob.com>
16838 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16840 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16842 * libm_test.inc (csqrt_test): Allow more spurious underflow
16844 (j0_test): Likewise.
16845 (j1_test): Likewise.
16846 (y0_test): Likewise.
16847 (y1_test): Likewise.
16849 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16851 * po/Makefile (libc.pot): Use UTF-8 charset.
16853 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16856 Suppress sign-conversion warning from FD_SET.
16857 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16858 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16859 not unsigned long int.
16860 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16862 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16866 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16867 __extern_always_inline instead of __extern_inline.
16868 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16869 (__signbit): Likewise.
16870 (__signbitl): Support C++ namespace.
16871 (lrintf): New inline function.
16873 (llrintf): Likewise.
16874 (llrint): Likewise.
16884 (floorf): Likewise.
16885 (nearbyint): Likewise.
16886 (nearbyintf): Likewise.
16888 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16890 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16891 non-default versions.
16893 2012-06-11 Roland McGrath <roland@hack.frob.com>
16896 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16898 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16900 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16901 (FE_UPWARD, FE_DOWNWARD): Don't define.
16902 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16903 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16905 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16907 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16908 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16910 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16912 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16913 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16914 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16915 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16917 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16920 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16921 * sysdeps/i386/fpu/Implies: New file.
16922 * sysdeps/x86_64/fpu/Implies: Likewise.
16923 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16924 * sysdeps/x86/fpu/bits/fenv.h: This.
16926 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16929 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16932 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16933 character 0xffff that matches the last element of the
16936 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16938 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16941 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16943 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16944 values higher than 25.6283.
16946 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16948 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16949 subnormal exponent extraction and add some __builtin_expect.
16950 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16951 Fix for subnormal mantissa calculation.
16953 2012-06-04 Mike Frysinger <vapier@gentoo.org>
16955 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16956 cpu2 is -1 and errno is not ENOSYS.
16958 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16961 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16962 * sysdeps/x86/bits/string.h: This.
16963 * sysdeps/x86_64/bits/string.h: Removed.
16965 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16966 if not compiling for x86-64, but compiling for >= i486.
16968 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16969 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16971 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16972 New macro from Linux kernel 3.4.0.
16973 (FP_XSTATE_MAGIC2): Likewise.
16974 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16975 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16976 (struct _fpx_sw_bytes): New struct.
16977 (struct _xsave_hdr): Likewise.
16978 (struct _ymmh_state): Likewise.
16979 (struct _xstate): Likewise.
16981 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16982 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16983 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16984 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16985 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16986 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16988 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16989 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16990 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16991 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16992 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16993 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16995 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16998 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16999 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17000 (sysdep_headers): Include sys/platform/ppc.h.
17001 * sysdeps/powerpc/test-gettimebase.c: Test for
17002 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17003 * manual/Makefile (appendices): Include platform.texi.
17004 * manual/contrib.texi (Contributors): Update @node pointers.
17005 * manual/maint.texi (Maintenance): Likewise.
17006 (Platform): New node.
17007 * manual/platform.texi: New file. Document the new features.
17009 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17010 Jakub Jelinek <jakub@redhat.com>
17013 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17014 where __builtin_expect is unavailable.
17016 2012-06-03 David S. Miller <davem@davemloft.net>
17018 * stdlib/longlong.h: Updated from GCC.
17020 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17023 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17024 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17027 (GLIBC_2.16): Likewise.
17029 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17031 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17033 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17036 (default-abi): New variable.
17037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17038 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17040 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17042 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17044 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17047 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17048 definition. Document in comment.
17050 2012-06-01 David S. Miller <davem@davemloft.net>
17052 * stdlib/longlong.h: Updated from GCC.
17054 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17057 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17058 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17059 sys/debugreg.h sys/io.h here.
17060 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17061 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17063 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17064 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17065 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17066 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17067 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17068 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17070 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17071 Define only if __x86_64__ is defined.
17073 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17076 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17077 Use int64_t for variable i.
17078 * math/libm-test.inc (fmod_test): Add more tests.
17080 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17081 z computation is not scheduled after fetestexcept.
17082 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17083 Use math_force_eval instead of asm to ensure calculation scheduled
17084 before exception test.
17085 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17086 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17088 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17091 computation is not scheduled after fetestexcept.
17093 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17096 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17097 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17099 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17101 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17102 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17104 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17107 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17109 (__WCHAR_MIN): Support __WORDSIZE == 64.
17110 (__WCHAR_MAX): Likewise.
17112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17113 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17116 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17117 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17120 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17121 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17123 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17124 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17126 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17127 Defined to 1 if __x86_64__ isn't defined.
17128 (_STAT_VER_LINUX_OLD): New.
17129 (st_atime): Remove duplicate.
17130 (st_mtime): Likewise.
17131 (st_ctime): Likewise.
17133 2012-05-31 David S. Miller <davem@davemloft.net>
17135 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17138 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17140 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17144 * elf/dl-reloc.c: Include <_itoa.h>.
17145 (_dl_reloc_bad_type): Remove use of INTUSE.
17146 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17147 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17148 * stdio-common/psiginfo.c (psiginfo): Likewise.
17149 * stdio-common/psignal.c (psignal): Likewise.
17150 * string/strsignal.c (strsignal): Likewise.
17151 * include/signal.h (_sys_siglist): Declare hidden proto.
17152 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17153 INTVARDEF with libc_hidden_data_def.
17154 * stdio-common/itoa-udigits.c: Likewise.
17155 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17156 (_itoa_lower_digits_internal): Remove declaration.
17157 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17158 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17159 (_sys_sigabbrev_internal): Remove aliases.
17160 (_sys_siglist): Define hidden alias.
17162 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17167 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17170 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17171 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17173 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17174 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17175 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17176 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17177 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17178 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17180 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17181 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17182 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17184 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17192 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17193 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17194 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17196 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17197 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17198 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17199 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17200 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17201 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17203 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17204 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17206 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17207 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17209 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17210 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17211 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17213 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17214 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17216 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17218 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17219 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17220 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17222 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17224 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17226 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17228 * math/math.h (M_El): Use two more decimal places.
17229 (M_LOG2El): Likewise.
17230 (M_LOG10El): Likewise.
17231 (M_LN2l): Likewise.
17232 (M_LN10l): Likewise.
17234 (M_PI_2l): Likewise.
17235 (M_PI_4l): Likewise.
17236 (M_1_PIl): Likewise.
17237 (M_2_PIl): Likewise.
17238 (M_2_SQRTPIl): Likewise.
17239 (M_SQRT2l): Likewise.
17240 (M_SQRT1_2l): Likewise.
17242 2012-05-31 David S. Miller <davem@davemloft.net>
17244 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17245 values between float registers.
17246 * sysdeps/sparc/sparc64/memset.S: Likewise.
17247 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17249 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17251 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17252 -D_FORTIFY_SOURCE=1.
17253 (CPPFLAGS-tst-longjmp_chk.c): Define.
17254 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17255 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17256 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17257 CFLAGS-tst-wchar-h.c.
17259 2012-05-31 Marek Polacek <polacek@redhat.com>
17262 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17263 __endmntent_internal): Remove declaration.
17264 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17265 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17266 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17268 2012-05-30 David S. Miller <davem@davemloft.net>
17270 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17271 (___Q_simulate_exceptions): Use real FP ops rather than writing
17273 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17276 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17279 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17280 * sysdeps/x86/bits/xtitypes.h: This.
17282 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17283 * sysdeps/x86/bits/wordsize.h: This.
17285 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17286 * sysdeps/x86/bits/huge_vall.h: This.
17288 * sysdeps/i386/bits/select.h: Removed.
17289 * sysdeps/x86_64/bits/select.h: Renamed to ...
17290 * sysdeps/x86/bits/select.h: This.
17292 * sysdeps/i386/bits/setjmp.h: Removed.
17293 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17294 * sysdeps/x86/bits/setjmp.h: This.
17296 * sysdeps/i386/bits/mathdef.h: Removed.
17297 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17298 * sysdeps/x86/bits/mathdef.h: This.
17300 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17303 * include/sys/socket.h (__connect_internal)
17304 (__libc_sa_len_internal): Remove declaration.
17305 (__connect, __libc_sa_len): Declare hidden_proto.
17306 (SA_LEN): Remove use of INTUSE.
17307 * socket/connect.c: Add libc_hidden_def.
17308 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17309 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17310 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17312 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17313 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17314 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17315 of adding _internal alias.
17317 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17320 * sysdeps/i386/bits/link.h: Removed.
17321 * sysdeps/i386/bits/linkmap.h: Likewise.
17322 * sysdeps/x86_64/bits/link.h: Renamed to ...
17323 * sysdeps/x86/bits/link.h: This.
17324 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17325 * sysdeps/x86/bits/linkmap.h: This.
17327 * sysdeps/i386/bits/endian.h: Removed.
17328 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17329 * sysdeps/x86/bits/endian.h: This.
17331 * sysdeps/i386/bits/byteswap.h: Removed.
17332 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17333 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17334 * sysdeps/x86/bits/byteswap.h: This.
17335 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17336 * sysdeps/x86/bits/byteswap-16.h: This.
17337 * sysdeps/i386/Implies: Add x86.
17338 * sysdeps/x86_64/Implies: Likewise.
17340 2012-05-30 David S. Miller <davem@davemloft.net>
17342 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17343 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17344 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17345 (FP_TRAPPING_EXCEPTIONS): Define.
17346 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17347 (FP_TRAPPING_EXCEPTIONS): Define.
17348 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17349 subnormals only when inexact has been signalled or underflow
17350 exceptions are enabled.
17351 (_FP_PACK_CANONICAL): Likewise.
17353 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17356 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17357 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17359 2012-05-30 Richard Henderson <rth@twiddle.net>
17361 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17362 with #ifndef NOT_IN_libc.
17364 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17365 marked to avoid plt entry.
17367 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17370 * Makeconfig (default-abi): New macro.
17371 (abi-includes): Likewise.
17372 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17373 $(abi-$(default-abi)-lib-soname) for soname if defined.
17374 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17376 * Makefile (installed-stubs): Likewise.
17377 * include/stubs-biarch.h: Removed.
17378 * scripts/lib-names.awk: Only handle one library at a time.
17379 * scripts/soversions.awk: Remove WORDSIZE support.
17380 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17382 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17384 (syscall-list-default-condition): Likewise.
17385 (syscall-list-default-condition): Likewise.
17386 (syscall-list-includes): Likewise.
17387 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17388 syscall-list-* with abi-*. Handle undefined abi-variants.
17389 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17390 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17391 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17392 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17393 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17394 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17396 (syscall-list-32-options): Likewise.
17397 (syscall-list-32-condition): Likewise.
17398 (syscall-list-64-options): Likewise.
17399 (syscall-list-64-condition): Likewise.
17400 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17402 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17405 (abi-64-ld-soname): New macro.
17406 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17407 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17410 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17411 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17413 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17415 * sysdeps/unix/sysv/linux/kernel-features.h
17416 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17417 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17418 include <kernel-features.h>.
17419 [!__NR_ftruncate64]: Remove conditional code.
17420 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17421 [__NR_ftruncate64]: Make code unconditional.
17422 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17423 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17424 include <kernel-features.h>.
17425 [!__NR_ftruncate64]: Remove conditional code.
17426 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17427 [__NR_ftruncate64]: Make code unconditional.
17428 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17430 include <kernel-features.h>.
17431 [!__NR_ftruncate64]: Remove conditional code.
17432 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17433 [__NR_ftruncate64]: Make code unconditional.
17434 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17436 include <kernel-features.h>.
17437 [!__NR_ftruncate64]: Remove conditional code.
17438 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17439 [__NR_ftruncate64]: Make code unconditional.
17440 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17442 * configure.in (libc_cv_fpie): Weaken to a compile test using
17443 LIBC_TRY_CC_OPTION.
17444 * configure: Regenerated.
17446 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17451 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17461 2012-05-27 David S. Miller <davem@davemloft.net>
17463 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17465 (__Q_simulate_exceptions): Return void. Change to simulate
17466 exceptions by writing into the %fsr.
17467 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17468 (__Qp_handle_exceptions): Likewise.
17470 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17471 __Qp_handle_exceptions.
17472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17473 __Qp_handle_exceptions.
17474 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17475 as unused and give dummy FP_RND_NEAREST initializer.
17476 (FP_INHIBIT_RESULTS): Define.
17477 (___Q_simulate_exceptions): Update declaration.
17478 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17480 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17481 as unused and give dummy FP_RND_NEAREST initializer.
17482 (__Qp_handle_exceptions): Update declaration.
17483 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17486 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17488 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17489 the temporary FPU control word.
17490 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17491 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17492 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17493 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17494 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17495 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17496 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17497 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17498 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17499 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17500 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17502 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17504 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17507 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17509 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17510 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17511 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17512 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17514 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17515 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17518 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17520 * po/h.po: Update from translation team.
17522 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17524 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17526 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17527 handling of denormals.
17528 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17529 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17530 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17531 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17532 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17533 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17534 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17537 2012-05-26 Marek Polacek <polacek@redhat.com>
17540 * math/libm-test.inc (fma_test): Don't always expect underflow
17543 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17546 * elf/tst-execstack.c: Include stackinfo.h.
17547 (do_test): Adjust test case to ensure that pthread_getattr_np
17548 behaviour remains the same after marking stack executable.
17550 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17552 * sysdeps/unix/sysv/linux/kernel-features.h
17553 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17554 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17556 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17557 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17558 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17560 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17561 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17563 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17565 * configure.in: Define the default includes to being none.
17566 * configure: Regenerated.
17568 2012-05-25 Roland McGrath <roland@hack.frob.com>
17570 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17571 * sysdeps/x86_64/setjmp.S: Likewise.
17572 * sysdeps/i386/bsd-setjmp.S: Likewise.
17573 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17574 * sysdeps/i386/setjmp.S: Likewise.
17575 * sysdeps/i386/__longjmp.S: Likewise.
17576 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17577 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17579 * include/stap-probe.h: New file.
17580 * configure.in: Handle --enable-systemtap.
17581 * configure: Regenerated.
17582 * config.h.in (USE_STAP_PROBE): New #undef.
17583 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17584 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17585 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17587 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17590 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17591 to 2.4.0 where earlier.
17592 * sysdeps/unix/sysv/linux/configure: Regenerated.
17593 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17594 <kernel-features.h>.
17595 [__ASSUME_32BITUIDS]: Make code unconditional.
17596 [!__ASSUME_32BITUIDS]: Remove conditional code.
17597 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17598 <kernel-features.h>.
17599 [__ASSUME_32BITUIDS]: Make code unconditional.
17600 [!__ASSUME_32BITUIDS]: Remove conditional code.
17601 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17602 [__ASSUME_32BITUIDS]: Make code unconditional.
17603 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17604 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17605 <kernel-features.h>.
17606 [__ASSUME_32BITUIDS]: Make code unconditional.
17607 [!__ASSUME_32BITUIDS]: Remove conditional code.
17608 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17609 <kernel-features.h>.
17610 [__ASSUME_32BITUIDS]: Make code unconditional.
17611 [!__ASSUME_32BITUIDS]: Remove conditional code.
17612 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17613 <kernel-features.h>.
17614 [__ASSUME_32BITUIDS]: Make code unconditional.
17615 [!__ASSUME_32BITUIDS]: Remove conditional code.
17616 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17617 <kernel-features.h>.
17618 [__ASSUME_32BITUIDS]: Make code unconditional.
17619 [!__ASSUME_32BITUIDS]: Remove conditional code.
17620 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17621 <kernel-features.h>.
17622 [__ASSUME_32BITUIDS]: Make code unconditional.
17623 [!__ASSUME_32BITUIDS]: Remove conditional code.
17624 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17625 <kernel-features.h>.
17626 [__ASSUME_32BITUIDS]: Make code unconditional.
17627 [!__ASSUME_32BITUIDS]: Remove conditional code.
17628 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17629 <kernel-features.h>.
17630 [__ASSUME_32BITUIDS]: Make code unconditional.
17631 [!__ASSUME_32BITUIDS]: Remove conditional code.
17632 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17633 <kernel-features.h>.
17634 [__ASSUME_32BITUIDS]: Make code unconditional.
17635 [!__ASSUME_32BITUIDS]: Remove conditional code.
17636 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17637 <kernel-features.h>.
17638 [__ASSUME_32BITUIDS]: Make code unconditional.
17639 [!__ASSUME_32BITUIDS]: Remove conditional code.
17640 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17641 <kernel-features.h>.
17642 [__ASSUME_32BITUIDS]: Make code unconditional.
17643 [!__ASSUME_32BITUIDS]: Remove conditional code.
17644 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17645 <kernel-features.h>.
17646 [__NR_setresgid] (__setresgid): Do not declare.
17647 [__ASSUME_32BITUIDS]: Make code unconditional.
17648 [!__ASSUME_32BITUIDS]: Remove conditional code.
17649 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17650 <kernel-features.h>.
17651 [__NR_setresuid] (__setresuid): Do not declare.
17652 [__ASSUME_32BITUIDS]: Make code unconditional.
17653 [!__ASSUME_32BITUIDS]: Remove conditional code.
17654 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.c: Do not include
17683 <kernel-features.h>.
17684 [__ASSUME_32BITUIDS]: Make code unconditional.
17685 [!__ASSUME_32BITUIDS]: Remove conditional code.
17686 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17687 <kernel-features.h>.
17688 [__ASSUME_32BITUIDS]: Make code unconditional.
17689 [!__ASSUME_32BITUIDS]: Remove conditional code.
17690 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17691 <kernel-features.h>.
17692 [__ASSUME_32BITUIDS]: Make code unconditional.
17693 [!__ASSUME_32BITUIDS]: Remove conditional code.
17694 * sysdeps/unix/sysv/linux/kernel-features.h
17695 (__ASSUME_SETRESUID_SYSCALL): Remove.
17696 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17697 (__ASSUME_32BITUIDS): Likewise.
17698 (__ASSUME_LDT_WORKS): Likewise.
17699 (__ASSUME_O_DIRECTORY): Likewise.
17700 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17701 architecture but not kernel version.
17702 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17703 (__ASSUME_MMAP2_SYSCALL): Likewise.
17704 (__ASSUME_STAT64_SYSCALL): Likewise.
17705 (__ASSUME_IPC64): Likewise.
17706 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17707 <kernel-features.h>.
17708 [__ASSUME_32BITUIDS]: Make code unconditional.
17709 [!__ASSUME_32BITUIDS]: Remove conditional code.
17710 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17711 <kernel-features.h>.
17712 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17713 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17714 132096]: Remove conditional code.
17715 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17716 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
17725 <kernel-features.h>.
17726 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17728 (__setresgid): Do not declare.
17729 [__ASSUME_32BITUIDS]: Make code unconditional.
17730 [!__ASSUME_32BITUIDS]: Remove conditional code.
17731 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17732 <kernel-features.h>.
17733 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17735 (__setresuid): Do not declare.
17736 [__ASSUME_32BITUIDS]: Make code unconditional.
17737 [!__ASSUME_32BITUIDS]: Remove conditional code.
17738 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17739 <kernel-features.h>.
17740 [__ASSUME_32BITUIDS]: Make code unconditional.
17741 [!__ASSUME_32BITUIDS]: Remove conditional code.
17742 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17743 <kernel-features.h>.
17744 [__ASSUME_32BITUIDS]: Make code unconditional.
17745 [!__ASSUME_32BITUIDS]: Remove conditional code.
17747 2012-05-25 Richard Henderson <rth@twiddle.net>
17749 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17750 dl_hwcap to ifunc resolver.
17751 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17753 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17754 dl_hwcap to ifunc resolver.
17755 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17757 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17760 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17761 for |x| <= 2**-26, not 2**-57.
17762 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17765 2012-05-24 Jeff Law <law@redhat.com>
17767 * stdio-common/Makefile (tests): Add bug25.
17768 * stdio-common/bug25.c: New test.
17770 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17773 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17774 multiple of MALLOC_ALIGNMENT in size.
17775 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17777 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17779 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17781 (FILENAME_MAX): Use macro-int-constant.
17782 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17783 (_IOFBF): Use macro-int-constant.
17784 (_IOLBF): Likewise.
17785 (_IONBF): Likewise.
17786 (SEEK_CUR): Likewise.
17787 (SEEK_END): Likewise.
17788 (SEEK_SET): Likewise.
17789 (TMP_MAX): Likewise.
17790 (EOF): Use macro-int-constant. Require < 0.
17791 (NULL): Use macro-constant. Require == 0.
17792 (stdin): Require type to be FILE *.
17793 (stdout): Likewise.
17794 (stderr): Likewise.
17795 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17796 macro-int-constant.
17797 (EXIT_SUCCESS): Likewise.
17798 (NULL): Use macro-constant. Require == 0.
17799 (RAND_MAX): Use macro-int-constant.
17800 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17801 [C99-based standards] (strtof): Require function.
17802 [C99-based standards] (strtold): Likewise.
17803 [C99-based standards] (strtoll): Likewise.
17804 [C99-based standards] (strtoull): Likewise.
17805 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17806 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17807 [ISO || ISO99 || ISO11] (math.h): Likewise.
17808 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17809 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17810 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17812 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17815 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17816 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17817 * intl/dgettext.c (DCGETTEXT): Likewise.
17818 * intl/gettext.c (DCGETTEXT): Likewise.
17819 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17820 * posix/regex_internal.h (gettext): Likewise.
17821 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17822 Remove declaration.
17823 * include/argz.h (__argz_count_internal)
17824 (__argz_stringify_internal): Remove declaration.
17825 (__argz_count, __argz_stringify): Declare hidden proto.
17826 * intl/dcgettext.c: Remove use of INTDEF.
17827 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17828 * string/argz-stringify.c: Likewise.
17829 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17830 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17831 Declare hidden proto.
17832 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17833 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17834 Declare hidden proto.
17835 * include/stdio.h (__asprintf_internal): Don't declare.
17836 (__asprintf): Don't define as macro. Declare hidden proto.
17837 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17838 (__fsetlocking): Declare hidden proto.
17839 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17840 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17842 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17843 (_IO_setlinebuf): Remove use of INTUSE.
17844 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17845 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17846 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17847 Remove declaration.
17848 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17849 (_IO_do_flush): Remove use of INTUSE.
17850 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17851 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17852 (_IO_adjust_column, _IO_least_wmarker)
17853 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17854 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17855 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17856 (_IO_default_doallocate, _IO_wdefault_doallocate)
17857 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17858 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17859 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17860 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17861 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17862 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17863 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17864 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17865 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17866 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17867 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17868 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17869 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17871 (_IO_flush_all_internal, _IO_adjust_column_internal)
17872 (_IO_default_uflow_internal, _IO_default_finish_internal)
17873 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17874 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17875 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17876 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17877 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17878 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17879 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17880 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17881 (_IO_file_close_internal, _IO_file_close_it_internal)
17882 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17883 (_IO_file_init_internal, _IO_file_attach_internal)
17884 (_IO_file_fopen_internal, _IO_file_read_internal)
17885 (_IO_file_sync_internal, _IO_file_seek_internal)
17886 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17887 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17888 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17889 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17890 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17891 (_IO_list_all_internal, _IO_link_in_internal)
17892 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17893 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17894 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17895 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17896 (_IO_do_write_internal, _IO_padn_internal)
17897 (_IO_getline_info_internal, _IO_getline_internal)
17898 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17899 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17900 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17901 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17902 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17903 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17904 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17905 with libc_hidden_ver, remove use of INTUSE.
17906 * libio/genops.c: Likewise.
17907 * libio/freopen.c: Likewise.
17908 * libio/freopen64.c: Likewise.
17909 * libio/iofclose.c: Likewise.
17910 * libio/iofdopen.c: Likewise.
17911 * libio/iofflush.c: Likewise.
17912 * libio/iofflush_u.c: Likewise.
17913 * libio/iofgets.c: Likewise.
17914 * libio/iofgets_u.c: Likewise.
17915 * libio/iofopen.c: Likewise.
17916 * libio/iofopncook.c: Likewise.
17917 * libio/iofread.c: Likewise.
17918 * libio/iofread_u.c: Likewise.
17919 * libio/ioftell.c: Likewise.
17920 * libio/iofwrite.c: Likewise.
17921 * libio/iogetline.c: Likewise.
17922 * libio/iogets.c: Likewise.
17923 * libio/iogetwline.c: Likewise.
17924 * libio/iopadn.c: Likewise.
17925 * libio/iopopen.c: Likewise.
17926 * libio/ioseekoff.c: Likewise.
17927 * libio/ioseekpos.c: Likewise.
17928 * libio/iosetbuffer.c: Likewise.
17929 * libio/iosetvbuf.c: Likewise.
17930 * libio/ioungetc.c: Likewise.
17931 * libio/ioungetwc.c: Likewise.
17932 * libio/iovdprintf.c: Likewise.
17933 * libio/iovsprintf.c: Likewise.
17934 * libio/iovsscanf.c: Likewise.
17935 * libio/memstream.c: Likewise.
17936 * libio/obprintf.c: Likewise.
17937 * libio/oldfileops.c: Likewise.
17938 * libio/oldiofclose.c: Likewise.
17939 * libio/oldiofdopen.c: Likewise.
17940 * libio/oldiofopen.c: Likewise.
17941 * libio/oldiopopen.c: Likewise.
17942 * libio/oldstdfiles.c: Likewise.
17943 * libio/putc.c: Likewise.
17944 * libio/setbuf.c: Likewise.
17945 * libio/setlinebuf.c: Likewise.
17946 * libio/stdfiles.c: Likewise.
17947 * libio/strops.c: Likewise.
17948 * libio/vasprintf.c: Likewise.
17949 * libio/vscanf.c: Likewise.
17950 * libio/vsnprintf.c: Likewise.
17951 * libio/vswprintf.c: Likewise.
17952 * libio/wfiledoalloc.c: Likewise.
17953 * libio/wfileops.c: Likewise.
17954 * libio/wgenops.c: Likewise.
17955 * libio/wmemstream.c: Likewise.
17956 * libio/wstrops.c: Likewise.
17957 * libio/__fpurge.c: Likewise.
17958 * libio/__fsetlocking.c: Likewise.
17959 * assert/assert.c: Likewise.
17960 * debug/fgets_chk.c: Likewise.
17961 * debug/fgets_u_chk.c: Likewise.
17962 * debug/fread_chk.c: Likewise.
17963 * debug/fread_u_chk.c: Likewise.
17964 * debug/gets_chk.c: Likewise.
17965 * debug/obprintf_chk.c: Likewise.
17966 * debug/vasprintf_chk.c: Likewise.
17967 * debug/vdprintf_chk.c: Likewise.
17968 * debug/vsnprintf_chk.c: Likewise.
17969 * debug/vsprintf_chk.c: Likewise.
17970 * malloc/mtrace.c: Likewise.
17971 * misc/error.c: Likewise.
17972 * misc/syslog.c: Likewise.
17973 * stdio-common/asprintf.c: Likewise.
17974 * stdio-common/fxprintf.c: Likewise.
17975 * stdio-common/getw.c: Likewise.
17976 * stdio-common/isoc99_fscanf.c: Likewise.
17977 * stdio-common/isoc99_scanf.c: Likewise.
17978 * stdio-common/isoc99_vfscanf.c: Likewise.
17979 * stdio-common/isoc99_vscanf.c: Likewise.
17980 * stdio-common/isoc99_vsscanf.c: Likewise.
17981 * stdio-common/printf-prs.c: Likewise.
17982 * stdio-common/printf_fp.c: Likewise.
17983 * stdio-common/printf_fphex.c: Likewise.
17984 * stdio-common/printf_size.c: Likewise.
17985 * stdio-common/putw.c: Likewise.
17986 * stdio-common/scanf.c: Likewise.
17987 * stdio-common/sprintf.c: Likewise.
17988 * stdio-common/tmpfile.c: Likewise.
17989 * stdio-common/vfprintf.c: Likewise.
17990 * stdio-common/vfscanf.c: Likewise.
17991 * stdlib/strfmon_l.c: Likewise.
17992 * sunrpc/openchild.c: Likewise.
17993 * sunrpc/xdr_stdio.c: Likewise.
17994 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17995 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17997 2012-05-24 Roland McGrath <roland@hack.frob.com>
17999 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18001 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18002 in the third column, to generate for the shared library an IFUNC
18003 that uses _dl_vdso_vsym.
18004 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18005 * Makeconfig (object-suffixes-noshared): New variable.
18007 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18008 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18009 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18010 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18013 * include/sys/time.h (__gettimeofday): Remove macro.
18014 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18015 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18017 (__gettimeofday): Add libc_hidden_def.
18018 (gettimeofday): Add libc_hidden_weak.
18019 * sysdeps/mach/gettimeofday.c: Likewise.
18020 * sysdeps/posix/gettimeofday.c: Likewise.
18021 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18022 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18023 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18024 (__gettimeofday_internal): Remove strong_alias.
18025 (__gettimeofday): Add libc_hidden_def.
18026 (gettimeofday): Add libc_hidden_weak.
18027 * sysdeps/unix/syscalls.list (gettimeofday):
18028 Remove __gettimeofday_internal alias.
18030 2012-05-24 Daniel Jacobowitz <drow@false.org>
18031 H.J. Lu <hongjiu.lu@intel.com>
18034 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18035 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18036 (largebin_index_32_big): New.
18037 (largebin_index): Use it for 16-byte alignment.
18038 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18039 correction with front_misalign.
18041 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18069 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18070 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18072 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18076 * math/libm-test.inc (exp_test): Add test from bug 14036.
18077 (pow_test): Add test from bug 10846.
18079 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18081 (special_function): Do not include flags in test name.
18082 (parse_args): Likewise.
18083 * sysdeps/i386/fpu/libm-test-ulps: Update.
18084 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18085 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18086 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18089 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18091 * math/libm-test.inc ("Philosophy"): Update comment about
18093 (UNDERFLOW_EXCEPTION): New macro.
18094 (UNDERFLOW_EXCEPTION_OK): Likewise.
18095 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18096 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18097 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18098 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18099 (INVALID_EXCEPTION_OK): Update value.
18100 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18101 (OVERFLOW_EXCEPTION_OK): Likewise.
18102 (IGNORE_ZERO_INF_SIGN): Likewise.
18103 (test_exceptions): Handle underflow exceptions.
18104 (acos_test): Update for underflow exception expectations.
18105 (cexp_test): Likewise.
18106 (clog_test): Likewise.
18107 (clog10_test): Likewise.
18108 (csqrt_test): Likewise.
18109 (ctan_test): Likewise.
18110 (ctanh_test): Likewise.
18111 (exp_test): Likewise.
18112 (exp10_test): Likewise.
18113 (exp2_test): Likewise.
18114 (expm1_test): Likewise.
18115 (fma_test): Likewise.
18116 (j0_test): Likewise.
18117 (jn_test): Likewise.
18118 (nexttoward_test): Likewise.
18119 (pow_test): Likewise.
18120 (scalbn_test): Likewise.
18121 (scalbln_test): Likewise.
18122 (tan_test): Likewise.
18123 (y1_test): Likewise.
18124 * sysdeps/i386/fpu/libm-test-ulps: Update.
18125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18127 2012-05-23 David S. Miller <davem@davemloft.net>
18129 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18130 (__libc_sigaction): Remove unused local variables.
18132 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18134 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18136 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18138 mktime: avoid signed integer overflow
18139 * time/mktime.c (__mktime_internal): Do not mishandle the case
18140 where diff == INT_MIN.
18142 mktime: simplify computation of average
18143 * time/mktime.c (ranged_convert): Use new time_t_avg function
18144 instead of rolling our own (probably-slower) code.
18146 mktime: do not assume signed right shift propagates sign bit
18147 * time/mktime.c (isdst_differ): New static function.
18148 (__mktime_internal): No need to normalize tm_isdst now.
18149 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18152 mktime: merge another wrapv change from gnulib
18153 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18154 from some compilers.
18156 mktime: remove incorrect attempt at unusual arithmetics
18157 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18158 The code didn't really work on such machines anyway.
18159 (TYPE_MINIMUM): Assume two's complement.
18160 (twos_complement_arithmetic): Verify that long_int and time_t
18161 are two's complement (or unsigned, in the latter case).
18163 mktime: check signed shifts on long_int and time_t, too
18164 * time/mktime.c (SHR): Check that shifts work as desired
18165 on the types long_int and time_t too, as SHR is used on
18168 mktime: do not assume 'long' is wide enough
18169 * time/mktime.c (verify): Move decl up.
18170 (long_int): New type.
18171 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18172 to remove assumption in the code that 'long' is wide enough to
18173 store year values. This assumption is not true on x32 and on
18174 some non-glibc platforms.
18176 mktime: merge wrapv change from gnulib
18177 * time/mktime.c (WRAPV): New macro.
18178 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18179 (guess_time_tm, __mktime_internal): Do not assume that signed
18180 integer overflow wraps around; modern compilers generate code
18181 where this assumption is no longer valid.
18183 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18185 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18186 Replace "jmp L(pseudo_end)" with "ret".
18187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18190 2012-05-23 Andreas Jaeger <aj@suse.de>
18192 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18193 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18195 2012-05-23 Andreas Jaeger <aj@suse.de>
18196 Maximilian Attems <max@stro.at>
18198 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18201 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18203 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18204 code so that pseudo_end is just ret and the stack pointer is
18205 correct also for static library in error case.
18207 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18209 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18210 move to syscalls.list.
18211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18216 * manual/install.texi (Running make install): Do not mention Linux
18217 kernel version for which pt_chown is not needed.
18218 (Linux): Do not mention problems with nscd with 2.0 kernels.
18219 * INSTALL: Regenerated.
18221 2012-05-23 Andreas Jaeger <aj@suse.de>
18223 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18224 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18226 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18227 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18228 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18229 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18230 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18231 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18232 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18233 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18234 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18235 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18236 * sysdeps/unix/sysv/linux/bits/in.h
18237 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18239 2012-05-22 Roland McGrath <roland@hack.frob.com>
18241 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18242 (PREPARE_VERSION): Just use assert instead, it will be elided
18243 under [NDEBUG] anyway.
18245 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18247 * sysdeps/unix/sysv/linux/Makefile: Include
18248 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18249 (sysdep_routines): Remove sysctl.
18250 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18251 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18252 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18253 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18254 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18256 2012-05-22 Andreas Jaeger <aj@suse.de>
18258 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18259 that pseudo_end is just ret and the stack pointer is correct also
18260 for static library in error case.
18262 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18265 * nss/nsswitch.c (defconfig_entries): New variable.
18266 (__nss_database_lookup): Don't leak defconfig entries.
18267 (nss_parse_service_list): Don't leak on error paths.
18268 (free_database_entries): New function.
18269 (free_defconfig): New function.
18270 (free_mem): Move common code to free_database_entries.
18272 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18274 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18276 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18278 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18279 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18282 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18283 (INTERNAL_SYSCALL_TYPES): Likewise.
18284 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18285 (LOAD_REGS_TYPES_[1-6]): Likewise.
18286 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18287 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18289 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18291 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18292 copysignl for GLIBC_2_0.
18293 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18294 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18295 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18296 logbl for GLIBC_2_0.
18297 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18298 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18300 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18302 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18303 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18305 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18308 * time/mktime.c: Update copyright years.
18310 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18312 mktime: merge comment-quoting-style change from gnulib
18313 * time/mktime.c: Quote 'like this' in comments.
18314 The GNU coding standards suggest that we no longer quote `like this',
18315 as "`" and "'" are typically rendered asymmetrically nowadays.
18316 The typical gnulib style is to quote 'like this' when quoting
18317 code, and "like this" when quoting English.
18319 * time/mktime.c (compile-command): Add "-I.".
18321 mktime: merge mktime-internal.h change from gnulib
18322 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18324 mktime: merge time_r change from gnulib
18325 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18327 mktime: merge DEBUG change from gnulib
18328 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18329 case system <time.h> has a #define.
18331 mktime: merge <sys/types.h> change from gnulib
18332 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18333 since <time.t> is now guaranteed to define time_t.
18335 mktime: merge HAVE_CONFIG_H change from gnulib
18336 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18338 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18343 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18345 (struct rusage): Use anonymous union to pad each field to
18348 2012-05-21 David S. Miller <davem@davemloft.net>
18350 * Makefules (o-iterator): Remove .s cases.
18351 (compile-command.s): Delete.
18352 (COMPILE.s): Delete.
18353 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18355 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18357 * configure.in (libc_cv_predef_stack_protector): Only consider
18358 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18359 * configure: Regenerated.
18361 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18364 New macro. Use R*LP on int and pointer.
18365 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18366 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18367 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18368 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18370 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18371 [__WORDSIZE_TIME64_COMPAT32] instead of
18372 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18373 (struct utmp): Likewise.
18374 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18375 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18377 (__WORDSIZE_TIME64_COMPAT32): This.
18378 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18379 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18380 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18381 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18382 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18383 (__WORDSIZE_TIME64_COMPAT32): New macro.
18385 2012-05-21 Andreas Jaeger <aj@suse.de>
18387 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18388 only if [SHARED]. Add prototype for __wcschr_ia32.
18390 2012-05-21 Roland McGrath <roland@hack.frob.com>
18392 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18393 of %rbp unmolested in the jmp_buf while mangling the low bits.
18394 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18395 unmolested high bits of %rbp while demangling the low bits.
18396 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18398 2012-05-21 Andreas Jaeger <aj@suse.de>
18400 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18401 * sunrpc/svc_simple.c: Use it for registerrpc.
18402 * sunrpc/xcrypt.c: Use it for passwd2des.
18404 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18406 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18408 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18409 Don't define if [__SYSCALL_WORDSIZE != 32].
18410 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18413 2012-05-21 Bruno Haible <bruno@clisp.org>
18414 Andreas Jaeger <aj@suse.de>
18416 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18417 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18418 inptr and inend for must_buffer_ch.
18419 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18420 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18421 * stdio-common/Makefile (tests): Remove bug15.
18422 (bug15-ENV): Remove macro.
18423 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18426 2012-05-19 Andreas Jaeger <aj@suse.de>
18427 Roland McGrath <roland@hack.frob.com>
18429 * manual/contrib.texi: Completely rewritten. It contains now an
18430 alphabetical list of contributors and their contributions.
18432 2012-05-21 Richard Henderson <rth@twiddle.net>
18434 * misc/getauxval.c (__getauxval): Use unsigned long int.
18435 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18436 (getauxval): Use unsigned long int.
18438 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18440 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18442 2012-05-21 Roland McGrath <roland@hack.frob.com>
18444 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18445 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18446 __alignof__ (long double).
18448 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18452 2012-05-20 Richard Henderson <rth@twiddle.net>
18454 * misc/getauxval.c: New file.
18455 * misc/sys/auxv.h: New file.
18456 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18457 (routines): Add getauxval.
18458 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18459 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18460 * elf/dl-sysdep.c (_dl_auxv): Remove.
18461 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18462 * elf/dl-support.c (_dl_auxv): New variable.
18463 (_dl_aux_init): Initialize it.
18464 * manual/startup.texi (Auxiliary Vector): New node.
18465 * sysdeps/generic/bits/hwcap.h: New file.
18466 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18467 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18468 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18469 * sysdeps/sparc/sysdep.h: ... here. Include it.
18470 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18471 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18476 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18477 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18483 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18487 2012-05-19 David S. Miller <davem@davemloft.net>
18489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18491 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18494 * math/s_ccosh.c: Include <float.h>
18495 (__ccosh): Avoid internal overflow calculating sinh and cosh
18496 values before multiplying by sin and cos values.
18497 * math/s_ccoshf.c: Likewise.
18498 * math/s_ccoshl.c: Likewise.
18499 * math/s_csin.c: Likewise.
18500 * math/s_csinf.c: Likewise.
18501 * math/s_csinl.c: Likewise.
18502 * math/s_csinh.c: Likewise.
18503 * math/s_csinhf.c: Likewise.
18504 * math/s_csinhl.c: Likewise.
18505 * math/libm-test.inc (ccos_test): Add more tests.
18506 (ccosh_test): Likewise.
18507 (csin_test): Likewise.
18508 (csinh_test): Likewise.
18509 * sysdeps/i386/fpu/libm-test-ulps: Update.
18510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18512 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18514 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18515 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18517 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18519 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18521 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18522 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18523 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18524 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18525 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18526 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18527 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18528 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18529 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18530 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18531 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18532 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18533 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18534 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18535 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18536 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18537 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18538 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18539 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18540 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18541 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18542 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18543 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18544 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18545 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18546 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18547 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18548 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18549 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18550 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18551 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18553 2012-05-18 Andreas Jaeger <aj@suse.de>
18555 * csu/.gitignore: Delete.
18557 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18559 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18560 (timex): Use __syscall_slong_t.
18562 2012-05-18 Andreas Jaeger <aj@suse.de>
18563 Carlos O'Donell <carlos_odonell@mentor.com>
18565 * manual/install.texi (Configuring and compiling): Update
18566 description about files modified in the source directory.
18567 * INSTALL: Regenerated.
18569 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18571 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18572 value. Use "or" to set return value to -1.
18573 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18574 negate return value.
18576 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18578 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18579 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18580 failure if the compiler has Graphite support disabled.
18581 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18583 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18584 CFLAGS-memmove.c): Likewise.
18585 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18588 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18590 * sysdeps/x86_64/x32/_itoa.h: New file.
18592 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18593 getdents system call only if kernel and user dirents have the
18594 same d_ino and d_off.
18596 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18597 LLONG_MAX != LONG_MAX.
18598 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18599 (_fitoa_word): Likewise.
18601 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18603 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18604 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18605 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18607 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18608 include <bits/wordsize.h>. Check __x86_64__ instead of
18610 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18611 if __x86_64__ is defined. Use anonymous union on fpstate.
18613 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18616 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18618 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18619 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18620 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18621 Refer to _rtld_local_ro instead of _rtld_global_ro.
18622 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18624 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18626 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18628 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18629 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18630 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18632 * sysdeps/powerpc/powerpc32/dl-machine.c
18633 (__elf_machine_runtime_setup) [PROF]: Don't reference
18636 2012-05-18 Andreas Jaeger <aj@suse.de>
18638 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18639 function only available for GCCs before 3.4 since GCC 3.4
18640 introduced a builtin.
18642 (llrintf): Likewise.
18643 (llrint): Likewise.
18650 (nearbyint): Likewise.
18651 (nearbyintf): Likewise.
18655 (floorf): Likewise.
18657 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18659 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18660 on both fields and cast pointer to __syscall_ulong_t.
18662 * bits/types.h (__fsword_t): New type.
18663 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18664 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18665 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18666 (__FSWORD_T_TYPE): Likewise.
18667 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18668 (__FSWORD_T_TYPE): Likewise.
18669 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18670 (__FSWORD_T_TYPE): Likewise.
18671 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18672 (__FSWORD_T_TYPE): Likewise.
18673 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18674 __SWORD_TYPE with __fsword_t.
18675 (statfs64): Likewise.
18677 2012-05-17 David S. Miller <davem@davemloft.net>
18679 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18681 2012-05-17 Andreas Jaeger <aj@suse.de>
18683 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18686 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18688 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18690 2012-05-17 Andreas Jaeger <aj@suse.de>
18692 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18695 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18697 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18699 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18701 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18702 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18704 2012-05-17 Andreas Jaeger <aj@suse.de>
18705 Carlos O'Donell <carlos_odonell@mentor.com>
18708 * sysdeps/x86_64/multiarch/init-arch.h
18709 (bit_YMM_Usable): Rename to...
18710 (bit_AVX_Usable): ... this.
18711 (bit_FMA4_Usable): New macro.
18712 (bit_XMM_state): New macro.
18713 (bit_YMM_state): New macro.
18714 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18715 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18716 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18717 (CPUID_OSXSAVE): New macro.
18718 (CPUID_AVX): New macro.
18719 (CPUID_FMA4): New macro.
18720 (index_YMM_Usable): Rename to...
18721 (index_AVX_Usable): ... this.
18722 (HAS_AVX): Use HAS_ARCH_FEATURE.
18723 (HAS_FMA4): Likewise.
18724 (HAS_YMM_USABLE): Remove.
18725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18726 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18728 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18729 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18730 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18731 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18732 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18734 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18736 * math/libm-test.c: Support platforms without multiple rounding modes.
18737 * math/bug-nextafter.c: Support platforms without FP exceptions.
18738 * math/bug-nexttoward.c: Likewise.
18739 * math/test-fenv.c: Likewise.
18740 * math/test-misc.c: Likewise.
18741 * stdlib/bug-getcontext.c: Likewise.
18743 2012-05-17 Andreas Jaeger <aj@suse.de>
18745 * manual/examples/search.c (critter_cmp): Change signature to
18747 * manual/string.texi (Collation Functions): Likewise.
18749 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18751 * bits/types.h: Fold copyright years.
18752 * bits/typesizes.h: Likewise.
18753 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18754 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18755 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18756 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18757 * time/time.h: Likewise.
18759 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18762 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18763 in instead of returning them. Return void.
18764 (__libc_mallinfo): Accumulate over all arenas.
18765 (__malloc_stats): Adjust for change in int_mallinfo interface.
18767 2012-05-16 Roland McGrath <roland@hack.frob.com>
18770 * configure.in (NM): Add AC_CHECK_TOOL for it.
18771 (libc_extra_cflags): New substituted variable.
18772 Check for -fstack-protector being used implicitly.
18773 * configure: Regenerated.
18774 * config.make.in (config-extra-cflags): New variable,
18775 gets @libc_extra_cflags@.
18776 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18779 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18780 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18781 * configure: Regenerated.
18782 * config.make.in (CPPUNDEFS): New substituted variable.
18783 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18784 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18785 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18787 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18789 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18790 (mq_attr): Use __syscall_slong_t.
18792 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18794 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18795 Check __x86_64__ instead of __WORDSIZE.
18796 (_STAT_VER_LINUX): Likewise.
18797 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18798 __syscall_ulong_t and __syscall_slong_t.
18799 (stat64): Likewise.
18801 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18803 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18805 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18807 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18809 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18811 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18814 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18815 include <bits/wordsize.h>. Check __x86_64__ instead of
18817 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18819 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18821 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18822 include <bits/wordsize.h>. Check __x86_64__ instead of
18824 (user_regs_struct): Use "__extension__ unsigned long long"
18825 instead of "unsigned long" if __x86_64__ is defined.
18826 (user): Likewise. Pad after pointer field if __ILP32__ is
18829 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18831 * configure.in (makeinfo): Require version 4.5 or later. Allow
18833 * configure: Regenerated.
18834 * manual/install.texi (texinfo): Increase version requirement to
18836 * INSTALL: Regenerated.
18838 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18840 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18842 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18844 * sysdeps/x86_64/x32/ffs.c: New file.
18846 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18848 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18849 defined. Use __syscall_ulong_t.
18850 (shminfo): Use __syscall_ulong_t.
18851 (shm_info): Likewise.
18853 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18856 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18858 (msgqnum_t): Use __syscall_ulong_t.
18859 (msglen_t): Likewise.
18860 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18863 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18864 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18866 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18868 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18869 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18871 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18874 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18875 include <bits/wordsize.h>. Check __x86_64__ instead of
18878 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18879 "unsigned long long int" if __x86_64__ is defined.
18880 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18882 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18883 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18884 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18886 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18888 (GET_PC): Cast to uintptr_t first.
18889 (GET_FRAME): Likewise.
18890 (GET_STACK): Likewise.
18892 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18893 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18894 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18895 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18896 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18897 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18898 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18899 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18900 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18901 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18902 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18903 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18904 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18905 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18906 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18907 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18908 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18909 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18910 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18911 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18912 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18913 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18914 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18915 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18916 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18917 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18918 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18919 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18920 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18922 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18924 * Makerules (+depfiles): Also collect depfiles from .oS in
18926 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18927 .oS, $(libnldbl-routines)).
18929 * Makerules (native-compile-mkdep-flags): Define.
18930 * sunrpc/Makefile (extra-objs): Add $(addprefix
18931 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18932 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18933 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18934 calling $(make-target-directory).
18936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18938 * bits/types.h (__snseconds_t): Removed.
18939 * time/time.h (struct timespec): Replace __snseconds_t with
18941 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18942 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18944 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18945 (__SNSECONDS_T_TYPE): Likewise.
18946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18947 (__SNSECONDS_T_TYPE): Likewise.
18948 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18949 (__SNSECONDS_T_TYPE): Likewise.
18951 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18953 * sysdeps/mach/hurd/bits/typesizes.h
18954 (__SYSCALL_SLONG_TYPE): New macro.
18955 (__SYSCALL_ULONG_TYPE): Likewise.
18957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18959 * bits/types.h (__syscall_slong_t): New type.
18960 (__syscall_ulong_t): Likewise.
18962 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18963 (__SYSCALL_ULONG_TYPE): Likewise.
18964 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18965 (__SYSCALL_SLONG_TYPE): Likewise.
18966 (__SYSCALL_ULONG_TYPE): Likewise.
18967 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18968 (__SYSCALL_SLONG_TYPE): Likewise.
18969 (__SYSCALL_ULONG_TYPE): Likewise.
18970 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18971 (__SYSCALL_SLONG_TYPE): Likewise.
18972 (__SYSCALL_ULONG_TYPE): Likewise.
18974 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18976 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18977 Add sigaltstack-offsets.sym.
18978 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18979 <sigaltstack-offsets.h>.
18980 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18981 longjmp_msg pointer.
18982 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18983 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18985 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18987 2012-05-15 Joseph Myers <joseph@codesourcery.com>
18989 * elf/stackguard-macros.h: Remove file.
18990 * sysdeps/generic/stackguard-macros.h: New file.
18991 * sysdeps/i386/stackguard-macros.h: Likewise.
18992 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18993 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18994 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18995 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18996 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18997 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18998 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18999 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19000 <elf/stackguard-macros.h>.
19003 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19004 __aligned__ in attribute.
19005 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19006 (gregset_t): Likewise.
19008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19010 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19011 * sysdeps/x86_64/64/Implies-after: Here. New file.
19012 * sysdeps/x86_64/x32/Implies-after: New file.
19014 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19016 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19017 and access return value for _dl_profile_fixup. Use R10_LP to
19020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19022 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19024 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19026 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19027 * sysdeps/x86_64/x32/sysdep.h: New file.
19029 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19031 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19032 * sysdeps/x86_64/setjmp.S: Likewise.
19034 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19036 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19037 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19038 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19039 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19040 remove unused global constant.
19042 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19044 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19045 include of <not-cancel.h>.
19047 2012-05-15 Roland McGrath <roland@hack.frob.com>
19049 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19051 2012-05-15 Jeff Law <law@redhat.com>
19052 Andreas Jaeger <aj@suse.de>
19055 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19057 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19058 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19059 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19060 code changing __hst_map_handle.map.
19062 2012-05-15 Roland McGrath <roland@hack.frob.com>
19064 * configure.in (sysnames): Look for Implies-before and Implies-after
19066 * configure: Regenerated.
19068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19070 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19071 8-byte data alignment with LP_SIZE alignment.
19073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19075 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19078 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19080 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19084 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19085 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19086 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19088 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19092 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19093 (stackinfo_sub_sp): Likewise.
19095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19097 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19102 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19112 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19114 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19116 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19117 into R11_LP and load __x86_64_shared_cache_size_half into
19120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19122 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19125 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19129 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19131 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19133 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19134 powerpc32/power7/fpu/s_logb.c via #include.
19135 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19136 powerpc32/power7/fpu/s_logbf.c via #include.
19137 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19138 powerpc32/power7/fpu/s_logbl.c via #include.
19140 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19142 * README.libm: Remove file.
19144 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19146 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19147 count for x32. Use R*_LP and omit operand-size suffix.
19149 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19151 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19152 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19153 * sysdeps/x86_64/x32/shlib-versions: New file.
19155 2012-05-14 Roland McGrath <roland@hack.frob.com>
19157 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19158 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19159 Use _dl_fatal_printf instead.
19161 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19163 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19164 set if not set by the user. Do not allow for being unset.
19165 * sysdeps/unix/sysv/linux/configure: Regenerated.
19167 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19169 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19170 the `q' suffix from lea and replace .quad with ASM_ADDR.
19172 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19174 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19175 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19177 (PTR_DEMANGLE): Likewise.
19179 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19181 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19183 (ASM_ADDR): Likewise.
19184 (RAX_LP): Likewise.
19185 (RBP_LP): Likewise.
19186 (RBX_LP): Likewise.
19187 (RCX_LP): Likewise.
19188 (RDI_LP): Likewise.
19189 (RSI_LP): Likewise.
19190 (RSP_LP): Likewise.
19193 (R10_LP): Likewise.
19194 (R10_LP): Likewise.
19195 (R11_LP): Likewise.
19196 (R12_LP): Likewise.
19197 (R13_LP): Likewise.
19198 (R14_LP): Likewise.
19199 (R15_LP): Likewise.
19201 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19203 * sysdeps/x86_64/x32/dl-machine.h: New file.
19205 2012-05-14 Andreas Jaeger <aj@suse.de>
19207 * manual/Makefile (subdir): Remove export of subdir.
19208 (all): Remove target.
19209 (.PHONY): Remove all from list.
19210 (mkinstalldirs): Remove.
19211 (.PHONY): Remove installdirs from list.
19212 ($(inst_infodir)/libc.info): Use make-target-directory.
19213 (installdirs): Remove.
19214 (subdir_%): Remove.
19215 (glibc-targets): Remove.
19218 ($(objpfx)stubs ../po/manual.pot): Remove.
19219 ($(objpfx)stamp%): Remove.
19220 (make-target-directory): Remove.
19221 (subdir_install): Remove.
19222 (routines): Remove.
19229 * manual/.gitignore: Remove, it's not needed anymore.
19230 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19232 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19234 (texis): Renamed to $(objpfx)texis.
19235 (texis-path): New, contains path to generated files.
19236 (chapters.%): Use texis-path for complete path, add extra argument
19238 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19239 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19240 (summary,texi, stamp-summary): Use complete path of
19241 files. Generate files in build dir.
19242 (dir-add.texi): Build in build dir.
19243 (libm-err.texi,stamp-libm-err): Likewise.
19244 (version.texi, stamp-version): Likewise.
19245 (.%c.texi): Likewise.
19246 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19247 (mostlyclean): Remove target.
19248 (realclean): Remove target.
19249 (generated): Add new variable with contents from mostlyclean and
19250 realclean, remove entries duplicated in common-mostlyclean, add
19251 stamp-libm-err and stamp-version.
19252 (generated-dirs): Add libc directory.
19253 ($(inst_infodir)/libc.info): Install files from build dir.
19255 * manual/install.texi (Configuring and compiling): Adjust since
19256 the info files are not part of the tar ball anymore.
19258 2012-05-14 Andreas Jaeger <aj@suse.de>
19260 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19263 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19266 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19267 to 2.2.0 where earlier.
19268 * sysdeps/unix/sysv/linux/configure: Regenerated.
19269 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19270 Remove conditional code.
19271 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19272 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19273 Remove conditional code.
19274 [!__NR_lchown]: Likewise.
19275 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19276 [__NR_lchown]: Likewise.
19277 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19278 comment referencing __ASSUME_LCHOWN_SYSCALL.
19279 * sysdeps/unix/sysv/linux/i386/sigaction.c
19280 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19281 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19282 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19283 Remove conditional code.
19284 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19285 (__protocol_available): Remove #if 0 code.
19286 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19288 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19289 * sysdeps/unix/sysv/linux/kernel-features.h
19290 (__ASSUME_GETCWD_SYSCALL): Don't define.
19291 (__ASSUME_REALTIME_SIGNALS): Likewise.
19292 (__ASSUME_PREAD_SYSCALL): Likewise.
19293 (__ASSUME_PWRITE_SYSCALL): Likewise.
19294 (__ASSUME_POLL_SYSCALL): Likewise.
19295 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19296 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19298 (__ASSUME_SIOCGIFNAME): Don't define.
19299 (__ASSUME_MSG_NOSIGNAL): Likewise.
19300 (__ASSUME_SENDFILE): Define unconditionally.
19301 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19302 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19304 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19305 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19306 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19307 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19308 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19309 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19310 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19312 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19313 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19315 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19316 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19318 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19319 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19321 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19322 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19324 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19325 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19327 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19328 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19330 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19331 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19333 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19334 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19335 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19336 Remove conditional code.
19337 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19338 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19339 Remove conditional code.
19340 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19341 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19342 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19343 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19344 Remove conditional code.
19345 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19346 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19347 Remove conditional code.
19348 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19349 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19350 Remove conditional code.
19351 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19352 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19353 Remove conditional code.
19354 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19355 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19356 Remove conditional code.
19357 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19358 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19359 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19360 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19361 * sysdeps/unix/sysv/linux/sigaction.c
19362 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19363 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19364 * sysdeps/unix/sysv/linux/sigpending.c
19365 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19366 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19367 * sysdeps/unix/sysv/linux/sigprocmask.c
19368 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19369 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19370 * sysdeps/unix/sysv/linux/sigsuspend.c
19371 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19372 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19373 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19374 (__libc_missing_rt_sigs): Remove.
19375 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19376 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19377 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19378 Remove conditional code.
19379 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19380 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19382 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19383 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19384 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19385 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19387 2012-05-14 Andreas Jaeger <aj@suse.de>
19389 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19390 it's not used in glibc.
19391 (__coshm1): Likewise.
19392 (__acosh1p): Likewise.
19395 * manual/string.texi (Copying and Concatenation): Add missing
19396 variable in concat example.
19397 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19399 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19402 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19403 __builtin_clzl with __builtin_clzll.
19405 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19408 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19411 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19413 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19414 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19415 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19416 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19418 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19420 * NEWS: Update ia64 info.
19422 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19424 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19427 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19429 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19430 * sysdeps/unix/syscalls.list (dup3): Likewise.
19431 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19432 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19434 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19436 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19437 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19439 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19441 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19443 (TLS_IE): Use mov/add instead of movq/addq to load thread
19445 (TLS_GD_PREFIX): New.
19448 2012-05-11 David S. Miller <davem@davemloft.net>
19450 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19451 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19452 (_FPU_SETCW): Likewise.
19454 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19456 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19457 is 32-byte aligned.
19459 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19462 * iconvdata/gb18030.c: Update tables.
19463 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19464 characters specially.
19465 (BODY for TO_LOOP): Add encoding of missing ranges.
19467 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19470 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19471 * sysdeps/mach/hurd/dup3.c: Likewise.
19472 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19473 * sysdeps/powerpc/memmove.c:: Likewise.
19475 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19477 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19478 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19480 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19482 * elf/elf.h (R_X86_64_RELATIVE64): New.
19483 (R_X86_64_NUM): Updated.
19484 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19485 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19486 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19487 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19488 tst-quad1pie tst-quad2pie
19489 (modules-names): Add tst-quadmod1 tst-quadmod2.
19490 ($(objpfx)tst-quad1): New dependency.
19491 ($(objpfx)tst-quad2): Likewise.
19492 ($(objpfx)tst-quad1pie): Likewise.
19493 ($(objpfx)tst-quad2pie): Likewise.
19494 * sysdeps/x86_64/tst-quad1.c: New file.
19495 * sysdeps/x86_64/tst-quad1pie.c: New file.
19496 * sysdeps/x86_64/tst-quad2.c: Likewise.
19497 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19498 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19499 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19500 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19501 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19503 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19505 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19506 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19507 * streams/stropts.h (t_scalar_t): Define type.
19509 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19510 (_PATH_PRESERVE): Set to "/var/lib".
19511 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19513 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19516 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19517 if __dir_mkfile succeeded.
19519 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19520 checking for _hurd_dtablesize. Unlock it right after having
19521 finished _hurd_dtable allocation.
19523 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19525 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19526 * sysdeps/mach/hurd/configure: Regenerated.
19527 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19528 special-casing to...
19529 * sysdeps/gnu/configure.in: ... this new file.
19530 * sysdeps/unix/sysv/linux/configure: Regenerated.
19531 * sysdeps/gnu/configure: New generated file.
19533 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19534 for Linux: use nsec instead of usec, as well as:
19535 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19536 members of type struct timespec.
19537 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19539 (struct stat64): Likewise.
19540 (_STATBUF_ST_NSEC): New macro.
19541 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19543 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19544 __strtoul_internal rather than strtoul.
19546 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19548 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19551 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19553 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19554 which preserves existing values.
19555 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19557 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19559 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19560 TIMEOUT values. Return EINVAL for NFDS values either negative or
19561 greater than FD_SETSIZE.
19563 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19565 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19566 allocated, call __vm_protect to finish enabling the existing space, and
19567 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19568 allocate the remainder.
19570 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19572 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19573 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19575 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19577 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19578 sysdeps/mach/hurd/readlink.c.
19580 * posix/tst-sysconf.c (posix_options): Only use
19581 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19582 _POSIX_SYNCHRONIZED_IO when they are defined
19583 * sysdeps/mach/hurd/bits/posix_opt.h:
19584 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19585 (_XOPEN_REALTIME): Undefine macro.
19586 (_XOPEN_REALTIME_THREADS): Undefine macro.
19587 (_XOPEN_SHM): Undefine macro.
19588 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19590 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19592 (_POSIX_ASYNC_IO): Undefine macro.
19593 (_POSIX_PRIORITIZED_IO): Undefine macro.
19594 (_POSIX_SPIN_LOCKS): Define macro to -1.
19596 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19597 SA_NODEFER, SA_RESETHAND.
19598 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19599 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19602 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19604 * elf/Makefile (pldd-modules): Define unconditionally.
19606 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19608 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19610 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19612 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19613 Return ENOENT when name is empty.
19614 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19616 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19618 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19620 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19622 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19624 Fix mlock in all cases except non-readable pages.
19625 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19626 instead of VM_PROT_ALL as parameter to __vm_wire function.
19628 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19629 (__mkdir): When path is `/', just fail with EEXIST.
19630 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19632 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19634 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19635 <sys/uio.h> (for writev).
19636 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19637 and <sys/param.h> (for MIN).
19639 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19641 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19642 REQUESTED_TIME. Properly set the remaining time and return EINTR
19645 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19647 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19648 Depend on against $(link-rpcuserlibs).
19650 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19652 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19653 (__libc_stack_end): Do not use attribute_relro.
19654 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19655 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19656 to libthread-provided value.
19657 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19660 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19663 * bits/libc-lock.h (__libc_once_get): New macro.
19664 * sysdeps/mach/bits/libc-lock.h: Likewise.
19665 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19666 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19667 instead of using implementation details.
19669 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19670 * libio/freopen.c: Likewise.
19671 * libio/freopen64.c: Likewise.
19672 * misc/syslog.c: Likewise.
19673 * nscd/connections.c: Likewise.
19674 * nscd/netgroupcache.c: Likewise.
19675 * sysdeps/posix/getcwd.c: Likewise.
19677 2012-05-10 Roland McGrath <roland@hack.frob.com>
19679 * math/w_ilogbf.c: Add #include <limits.h>.
19681 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19683 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19684 path instead of returning without unlocking.
19686 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19687 immediate-write ioctls.
19688 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19690 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19692 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19693 __builtin_frame_address instead of making assumptions about the
19694 location of the return address relative to DATA. Force early load of
19695 the return address.
19696 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19697 __builtin_frame_address.
19700 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19701 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19702 implement dup3 and do some further code clean-ups.
19703 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19704 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19706 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19708 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19710 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19711 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19712 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19713 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19714 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19717 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19718 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19719 when handler == SIG_ERR, not when handler != SIG_ERR.
19721 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19723 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19724 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19727 accept4 for GNU Hurd.
19728 * include/sys/socket.h (__libc_accept4): New prototype.
19729 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19730 to implement __libc_accept4.
19731 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19733 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19735 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19736 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19737 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19738 signal-defines.sym.
19740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19742 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19744 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19746 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19747 assertion on O_CLOEXEC flag.
19748 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19749 * hurd/intern-fd.c: Likewise.
19750 * hurd/port2fd.c: Likewise.
19752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19755 * bits/in.h (IPV6_PKTINFO): Define new macro.
19756 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19758 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19763 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19764 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19765 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19766 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19767 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19768 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19769 * math/libm-test.inc (logb_test) : Additional logb tests.
19771 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19772 Andreas Jaeger <aj@suse.de>
19774 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19775 * configure: Regenerated.
19776 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19777 * config.make.in (link-obsolete-rpc): New substituted variable.
19778 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19779 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19780 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19781 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19782 so that libc.a contains the symbols.
19783 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19784 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19785 * sunrpc/auth_none.c: Likewise.
19786 * sunrpc/auth_unix.c: Likewise.
19787 * sunrpc/authdes_prot.c: Likewise.
19788 * sunrpc/authuxprot.c: Likewise.
19789 * sunrpc/clnt_gen.c: Likewise.
19790 * sunrpc/clnt_perr.c: Likewise.
19791 * sunrpc/clnt_raw.c: Likewise.
19792 * sunrpc/clnt_simp.c: Likewise.
19793 * sunrpc/clnt_tcp.c: Likewise.
19794 * sunrpc/clnt_udp.c: Likewise.
19795 * sunrpc/clnt_unix.c: Likewise.
19796 * sunrpc/des_crypt.c: Likewise.
19797 * sunrpc/des_soft.c: Likewise.
19798 * sunrpc/get_myaddr.c: Likewise.
19799 * sunrpc/key_call.c: Likewise.
19800 * sunrpc/key_prot.c: Likewise.
19801 * sunrpc/netname.c: Likewise.
19802 * sunrpc/pm_getmaps.c: Likewise.
19803 * sunrpc/pm_getport.c: Likewise.
19804 * sunrpc/pmap_clnt.c: Likewise.
19805 * sunrpc/pmap_prot.c: Likewise.
19806 * sunrpc/pmap_prot2.c: Likewise.
19807 * sunrpc/pmap_rmt.c: Likewise.
19808 * sunrpc/publickey.c: Likewise.
19809 * sunrpc/rpc_cmsg.c: Likewise.
19810 * sunrpc/rpc_common.c: Likewise.
19811 * sunrpc/rpc_dtable.c: Likewise.
19812 * sunrpc/rpc_prot.c: Likewise.
19813 * sunrpc/rpc_thread.c: Likewise.
19814 * sunrpc/rtime.c: Likewise.
19815 * sunrpc/svc.c: Likewise.
19816 * sunrpc/svc_auth.c: Likewise.
19817 * sunrpc/svc_raw.c: Likewise.
19818 * sunrpc/svc_run.c: Likewise.
19819 * sunrpc/svc_tcp.c: Likewise.
19820 * sunrpc/svc_udp.c: Likewise.
19821 * sunrpc/svc_unix.c: Likewise.
19822 * sunrpc/svcauth_des.c: Likewise.
19823 * sunrpc/xcrypt.c: Likewise.
19824 * sunrpc/xdr.c: Likewise.
19825 * sunrpc/xdr_array.c: Likewise.
19826 * sunrpc/xdr_float.c: Likewise.
19827 * sunrpc/xdr_intXX_t.c: Likewise.
19828 * sunrpc/xdr_mem.c: Likewise.
19829 * sunrpc/xdr_rec.c: Likewise.
19830 * sunrpc/xdr_ref.c: Likewise.
19831 * sunrpc/xdr_sizeof.c: Likewise.
19832 * sunrpc/xdr_stdio.c: Likewise.
19834 2012-05-10 Roland McGrath <roland@hack.frob.com>
19836 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19837 change. Update copyright years.
19839 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19841 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19843 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19844 Joseph Myers <joseph@codesourcery.com>
19845 Paul Pluzhnikov <ppluzhnikov@google.com>
19848 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19850 [cross-compiling] (extra-libs): Likewise.
19851 [cross-compiling] (extra-libs-others): Likewise.
19852 [cross-compiling] (librpcsvc-routines): Likewise.
19853 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19854 [cross-compiling] (omit-deps): Likewise.
19855 (sunrpc-CPPFLAGS): New variable.
19856 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19857 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19858 (cross-rpcgen-objs): New variable.
19859 (extra-objs): Append $(cross-rpcgen-objs).
19860 ($(cross-rpcgen-objs)): New rule.
19861 ($(objpfx)cross-rpcgen): Likewise.
19862 (rpcgen-cmd): Define to use $(built-program-file). Expand
19864 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19865 ($(objpfx)x%.stmp): Likewise.
19866 * sunrpc/proto.h [IS_IN_build] (_): Define.
19867 [IS_IN_build] (_libc_intl_domainname): Likewise.
19869 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19871 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19872 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19873 and R_X86_64_TPOFF64.
19875 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19877 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19878 sysdeps/unix/sysv/syscalls.list.
19881 * sysdeps/unix/sysv/syscalls.list: Remove file.
19883 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19886 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19887 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19888 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19889 (__LC_IDENTIFICATION): Make these macros useful in #if
19890 expressions, as required by C99.
19892 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19894 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19895 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19898 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19900 * stdlib/longlong.h: Updated from GCC.
19902 2012-05-09 Andreas Jaeger <aj@suse.de>
19904 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19905 default is first entry.
19906 (run_mode): Set type.
19907 (main): Remove informal message about syslog.
19908 (options): Fix typo.
19911 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19914 (llrintf): Likewise.
19915 (llrint): Likewise.
19918 (nearbyint): Likewise.
19919 (nearbyintf): Likewise.
19921 2012-05-09 Andreas Jaeger <aj@suse.de>
19922 Pedro Alves <palves@redhat.com>
19924 * nscd/nscd.c (run_mode): Use enum.
19925 (main): Cleanup coding style issue.
19927 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19928 Andreas Jaeger <aj@suse.de>
19930 * nscd/nscd.c (go_background): Replaced with...
19931 (run_mode): ... this.
19932 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19933 (options): Add -F --foreground.
19934 (main): Implement it.
19935 (parse_opt): Parse it.
19937 2012-05-09 Andreas Jaeger <aj@suse.de>
19940 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19941 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19942 -Wconversion warning.
19943 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19946 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19948 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19950 (LC_ALL): Use macro-int-constant.
19951 (LC_COLLATE): Likewise.
19952 (LC_CTYPE): Likewise.
19953 (LC_MESSAGES): Likewise.
19954 (LC_MONETARY): Likewise.
19955 (LC_NUMERIC): Likewise.
19956 (LC_TIME): Likewise.
19957 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19958 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19959 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19960 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19962 [C99-based standards] (float_t): Expect type.
19963 [C99-based standards] (double_t): Expect type.
19964 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19966 [C99-based standards] (HUGE_VALL): Likewise.
19967 [C99-based standards] (INFINITY): Likewise.
19968 [C99-based standards] (NAN): Likewise.
19969 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19970 [C99-based standards] (FP_NAN): Likewise.
19971 [C99-based standards] (FP_NORMAL): Likewise.
19972 [C99-based standards] (FP_SUBNORMAL): Likewise.
19973 [C99-based standards] (FP_ZERO): Likewise.
19974 [C99-based standards] (FP_FAST_FMA): Use
19975 optional-macro-int-constant. Specify type. Require == 1.
19976 [C99-based standards] (FP_FAST_FMAF): Likewise.
19977 [C99-based standards] (FP_FAST_FMAL): Likewise.
19978 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19979 [C99-based standards] (FP_ILOGBNAN): Likewise.
19980 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19982 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19983 [C99-based standards] (math_errhandling): Specify type.
19984 [ISO99 || ISO11] (signgam): Do not allow.
19985 [non-C99-based standards] (copysignf): Do not allow.
19986 [non-C99-based standards] (exp2f): Likewise.
19987 [non-C99-based standards] (log2f): Likewise.
19988 [non-C99-based standards] (modff): Allow.
19989 [non-C99-based standards] (erff): Do not allow.
19990 [non-C99-based standards] (erfcf): Likewise.
19991 [non-C99-based standards] (gammaf): Likewise.
19992 [non-C99-based standards] (hypotf): Likewise.
19993 [non-C99-based standards] (j0f): Likewise.
19994 [non-C99-based standards] (j1f): Likewise.
19995 [non-C99-based standards] (jnf): Likewise.
19996 [non-C99-based standards] (lgammaf): Likewise.
19997 [non-C99-based standards] (tgammaf): Likewise.
19998 [non-C99-based standards] (y0f): Likewise.
19999 [non-C99-based standards] (y1f): Likewise.
20000 [non-C99-based standards] (ynf): Likewise.
20001 [non-C99-based standards] (isnanf): Likewise.
20002 [non-C99-based standards] (acoshf): Likewise.
20003 [non-C99-based standards] (asinhf): Likewise.
20004 [non-C99-based standards] (atanhf): Likewise.
20005 [non-C99-based standards] (cbrtf): Likewise.
20006 [non-C99-based standards] (expm1f): Likewise.
20007 [non-C99-based standards] (ilogbf): Likewise.
20008 [non-C99-based standards] (log1pf): Likewise.
20009 [non-C99-based standards] (logbf): Likewise.
20010 [non-C99-based standards] (nextafterf): Likewise.
20011 [non-C99-based standards] (remainderf): Likewise.
20012 [non-C99-based standards] (rintf): Likewise.
20013 [non-C99-based standards] (scalbf): Likewise.
20014 [non-C99-based standards] (copysignl): Likewise.
20015 [non-C99-based standards] (exp2l): Likewise.
20016 [non-C99-based standards] (log2l): Likewise.
20017 [non-C99-based standards] (modfl): Allow.
20018 [non-C99-based standards] (erfl): Do not allow.
20019 [non-C99-based standards] (erfcl): Likewise.
20020 [non-C99-based standards] (gammal): Likewise.
20021 [non-C99-based standards] (hypotl): Likewise.
20022 [non-C99-based standards] (j0l): Likewise.
20023 [non-C99-based standards] (j1l): Likewise.
20024 [non-C99-based standards] (jnl): Likewise.
20025 [non-C99-based standards] (lgammal): Likewise.
20026 [non-C99-based standards] (tgammal): Likewise.
20027 [non-C99-based standards] (y0l): Likewise.
20028 [non-C99-based standards] (y1l): Likewise.
20029 [non-C99-based standards] (ynl): Likewise.
20030 [non-C99-based standards] (isnanl): Likewise.
20031 [non-C99-based standards] (acoshl): Likewise.
20032 [non-C99-based standards] (asinhl): Likewise.
20033 [non-C99-based standards] (atanhl): Likewise.
20034 [non-C99-based standards] (cbrtl): Likewise.
20035 [non-C99-based standards] (expm1l): Likewise.
20036 [non-C99-based standards] (ilogbl): Likewise.
20037 [non-C99-based standards] (log1pl): Likewise.
20038 [non-C99-based standards] (logbl): Likewise.
20039 [non-C99-based standards] (nextafterl): Likewise.
20040 [non-C99-based standards] (remainderl): Likewise.
20041 [non-C99-based standards] (rintl): Likewise.
20042 [non-C99-based standards] (scalbl): Likewise.
20043 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20044 [non-C99-based standards] (FP_*): Do not allow.
20045 [C99-based standards] (FP_*): Change to
20046 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20047 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20049 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20050 (SIG_ERR): Likewise.
20051 [X/Open-based standards] (SIG_HOLD): Likewise.
20052 (SIG_IGN): Likewise.
20053 (SIGABRT): Use macro-int-constant. Specify type. Require
20055 (SIGFPE): Likewise.
20056 (SIGILL): Likewise.
20057 (SIGINT): Likewise.
20058 (SIGSEGV): Likewise.
20059 (SIGTER): Likewise.
20060 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20061 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20062 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20063 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20064 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20065 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20066 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20067 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20068 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20069 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20070 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20071 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20072 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20073 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20074 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20075 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20076 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20077 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20078 [X/Open-based standards] (SIGTRAP): Likewise.
20079 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20080 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20081 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20082 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20083 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20086 2012-05-08 Ian Wienand <ianw@vmware.com>
20089 * time/tzset.c (__tzset_parse_tz): Update default rules for
20090 daylight time changes in the Energy Policy Act of 2005.
20092 2012-05-09 Andreas Jaeger <aj@suse.de>
20095 * elf/ldconfig.c (parse_conf): Change string to make clear that
20096 ldconfig only issued a warning if ld.so.conf does not exist.
20098 2012-05-08 David S. Miller <davem@davemloft.net>
20100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20101 movxtod instead of popping the value on the stack.
20103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20105 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20107 * config.h.in: Add HAVE_ARM_PCS_VFP.
20109 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20112 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20113 checking but the checks are disabled for any reason.
20115 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20117 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20118 and ELF64_R_TYPE with ELFW(R_TYPE).
20120 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20122 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20123 (ulimit): Likewise.
20125 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20126 (settimeofday): Likewise.
20128 2012-05-08 Mike Frysinger <vapier@gentoo.org>
20130 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20131 a struct th_u2 inside the union, and move tu_block/tu_code into
20132 a new th_u3 union of tu_block/tu_code inside of that. Move
20133 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20134 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20135 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20136 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20137 (th_stuff): Change to th_u1.tu_stuff.
20139 (th_msg): Change to th_u1.th_u2.tu_data.
20141 2012-05-07 David S. Miller <davem@davemloft.net>
20143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20146 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20147 (SETUP_PIC_REG): Use it.
20148 (SETUP_PIC_REG_LEAF): Use it.
20150 2012-05-07 Joseph Myers <joseph@codesourcery.com>
20154 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20156 (EXPL_FINITE): Likewise.
20157 (FLDLOG): Likewise.
20158 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20159 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20161 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20163 (EXPL_FINITE): Likewise.
20164 (FLDLOG): Likewise.
20165 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20166 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20168 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20169 test of -max_value argument for long double.
20170 * sysdeps/i386/fpu/libm-test-ulps: Update.
20171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20173 2012-05-06 David S. Miller <davem@davemloft.net>
20175 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20176 quad soft-float symbols whose references which are compiler
20178 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20180 2012-05-06 Joseph Myers <joseph@codesourcery.com>
20184 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20186 (EXPL_FINITE): Likewise.
20187 (FLDLOG): Likewise.
20190 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20191 Adjust comments for base varying.
20192 (__expl_finite): Change alias to EXPL_FINITE.
20193 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20195 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20196 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20197 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20198 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20199 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20201 (EXPL_FINITE): Likewise.
20202 (FLDLOG): Likewise.
20205 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20206 Adjust comments for base varying.
20207 (__expl_finite): Change alias to EXPL_FINITE.
20208 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20213 * math/libm-test.inc (check_float_internal): Correct ulp
20214 calculation for subnormal expected results.
20216 2012-05-06 Andreas Jaeger <aj@suse.de>
20218 * Makeconfig (+math-flags): New, set to -frounding-math.
20219 (+cflags): Add +math-flags so that all of glibc gets compiled with
20222 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20224 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20226 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20232 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20233 (__ieee754_expl): Allow for and saturate large arguments.
20234 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20235 (u_threshold): Likewise.
20236 (__exp): Call __ieee754_exp before checking for overflow and
20238 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20239 (u_threshold): Likewise.
20240 (__expf): Call __ieee754_expf before checking for overflow and
20242 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20243 (u_threshold): Likewise.
20244 (__expl): Call __ieee754_expl before checking for overflow and
20246 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20247 (__ieee754_expl): Allow for and saturate large arguments.
20248 * math/libm-test.inc (exp_test): Add another test. Do not allow
20249 missing overflow exception on overflow.
20250 (expm1_test): Do not allow missing overflow exception on overflow.
20252 * sysdeps/i386/fpu/e_expl.c: Move to ...
20253 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20254 rather than using inline asm.
20255 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20256 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20257 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20259 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20262 (signal): Likewise.
20266 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20268 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20269 sysdeps/unix/common/syscalls.list.
20270 (fchmod): Likewise.
20271 (fchown): Likewise.
20272 (ftruncate): Likewise.
20273 (getrusage): Likewise.
20274 (gettimeofday): Likewise.
20275 (setpgid): Likewise.
20276 (setregid): Likewise.
20277 (setreuid): Likewise.
20278 (sigaction): Likewise.
20279 (truncate): Likewise.
20280 (vhangup): Likewise.
20281 * sysdeps/unix/common/syscalls.list: Remove file.
20282 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20283 * sysdeps/unix/sysv/linux/Implies: Likewise.
20285 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20287 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20289 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20293 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20296 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20299 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20301 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20302 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20305 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20308 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20311 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20315 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20317 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20319 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20322 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20326 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20330 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20332 * sysdeps/unix/common/bits/dirent.h: Remove file.
20333 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20335 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20336 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20337 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20338 * sysdeps/unix/bsd/isatty.c: Likewise.
20339 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20340 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20341 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20343 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20346 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20347 long double comparison inaccuracies.
20348 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20351 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20353 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20354 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20356 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20359 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20360 nonzero digits before rounding a hex value.
20361 * stdlib/tst-strtod.c (tests): Add another test.
20363 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20365 * sysdeps/s390/fpu/libm-test-ulps: Update.
20367 2012-05-03 Andreas Jaeger <aj@suse.de>
20369 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20370 does not get optimized out.
20371 (malloc_opt_barrier): New.
20373 2012-05-03 Andreas Jaeger <aj@suse.de>
20374 Roland McGrath <roland@hack.frob.com>
20376 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20377 intermediate file deletion.
20378 (generated): Add .symlist files.
20380 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20383 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20384 Redirect under this condition.
20385 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20386 [__USE_GNU] (__dprintf_chk): Not under this condition.
20387 [__USE_GNU] (__vdprintf_chk): Likewise.
20388 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20389 under this condition.
20390 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20391 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20392 [__USE_XOPEN2K8] (vdprintf): Likewise.
20393 [__USE_GNU] (__dprintf_chk): Not under this condition.
20394 [__USE_GNU] (__vdprintf_chk): Likewise.
20395 [__USE_GNU] (dprintf): Likewise.
20396 [__USE_GNU] (vdprintf): Likewise.
20398 2012-05-03 Roland McGrath <roland@hack.frob.com>
20400 * elf/Makefile (common-generated): Set this instead of generated for
20401 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20402 $(all-built-dso)-derived lists.
20404 2012-05-03 Andreas Jaeger <aj@suse.de>
20406 * sysdeps/i386/fpu/libm-test-ulps: Update.
20409 * FAQ.in: Likewise.
20410 * scripts/gen-FAQ.pl: Likewise.
20411 * manual/install.texi (Installation): Point to online location of
20413 * Makefile (files-for-dist): Remove FAQ.
20416 2012-05-02 Allan McRae <allan@archlinux.org>
20418 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20419 (LDFLAGS-reldepmod5.so): Likewise.
20420 (LDFLAGS-reldep6mod1.so): Likewise.
20421 (LDFLAGS-reldep6mod4.so): Likewise.
20422 (LDFLAGS-reldep8mod3.so): Likewise.
20423 (LDFLAGS-unload4mod1.so): Likewise.
20424 (LDFLAGS-unload4mod2.so): Likewise.
20425 (LDFLAGS-tst-initorder): Likewise.
20426 (LDFLAGS-tst-initordera2.so): Likewise.
20427 (LDFLAGS-tst-initordera3.so): Likewise.
20428 (LDFLAGS-tst-initordera4.so): Likewise.
20429 (LDFLAGS-tst-initorderb2.so): Likewise.
20430 (LDFLAGS-noload): Likewise.
20431 (LDFLAGS-next): Likewise.
20432 (LDFLAGS-order2mod1.so): Likewise.
20433 (LDFLAGS-order2mod2.so): Likewise.
20434 (LDFLAGS-tst-initorder2): Likewise.
20435 (LDFLAGS-tst-initorder2a.so): Likewise.
20436 (LDFLAGS-tst-initorder2b.so): Likewise.
20437 (LDFLAGS-tst-initorder2c.so): Likewise.
20438 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20440 2012-05-02 David S. Miller <davem@davemloft.net>
20442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20444 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20447 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20449 2012-05-02 Andreas Jaeger <aj@suse.de>
20451 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20452 since we manipulate rounding mode.
20453 (CPPFLAGS-test-idouble.c): Likewise.
20454 (CPPFLAGS-test-ifloat.c): Likewise.
20455 (CFLAGS-test-ldouble.c): Likewise.
20456 (CFLAGS-test-double.c): Likewise.
20457 (CFLAGS-test-float.c): Likewise.
20458 (CFLAGS-test-misc.c): Likewise.
20459 (CFLAGS-test-test-fenv.c): Likewise.
20461 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20465 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20466 comparisons to determine direction to adjust input.
20468 2012-05-01 Roland McGrath <roland@hack.frob.com>
20470 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20471 output to the target.
20473 * scripts/localplt.awk: New file.
20474 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20475 (check-localplt-CFLAGS): Variable removed.
20476 ($(all-built-dso:=.jmprel)): New static pattern rule.
20477 (generated): Add those targets.
20478 (localplt-built-dso): New variable.
20479 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20481 * elf/check-localplt.c: File removed.
20483 * scripts/check-execstack.awk: New file.
20484 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20485 (check-execstack-CFLAGS): Variable removed.
20486 ($(objpfx)check-execstack.h): Target removed.
20487 ($(objpfx)execstack-default): New target.
20488 (generated): Add that instead of check-execstack.h.
20489 ($(all-built-dso:=.phdr)): New static pattern rule.
20490 (generated): Add those targets.
20491 * elf/check-execstack.c: File removed.
20493 * scripts/check-textrel.awk: New file.
20494 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20495 (check-textrel-CFLAGS): Variable removed.
20496 (all-built-dso): Use := to define.o
20497 ($(all-built-dso:=.dyn)): New static pattern rule.
20498 (generated): Add those targets.
20499 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20500 * config.make.in (READELF): New substituted variable.
20501 * elf/check-textrel.c: File removed.
20503 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20505 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20507 * conform/data/ctype.h-data [C99-based standards] (isblank):
20509 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20510 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20512 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20513 Specify type. Require positive value.
20514 (EILSEQ): Likewise.
20515 (ERANGE): Likewise.
20516 [ISO || POSIX] (EILSEQ): Do not expect.
20517 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20518 Specify type. Require positive value.
20519 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20520 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20521 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20522 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20523 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20524 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20525 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20526 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20527 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20528 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20529 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20530 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20531 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20532 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20533 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20534 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20535 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20536 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20537 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20538 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20539 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20540 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20541 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20542 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20543 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20544 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20545 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20546 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20547 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20548 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20549 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20550 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20551 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20552 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20553 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20555 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20556 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20557 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20558 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20559 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20560 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20561 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20563 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20564 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20565 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20566 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20567 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20568 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20569 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20570 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20571 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20572 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20573 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20574 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20575 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20576 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20577 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20578 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20579 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20580 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20581 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20584 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20586 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20587 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20588 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20589 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20590 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20592 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20593 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20594 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20595 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20597 (FLT_ROUNDS): Expect as macro, not constant.
20598 (FLT_MANT_DIG): Use macro-int-constant.
20599 (DBL_MANT_DIG): Likewise.
20600 (LDBL_MANT_DIG): Likewise.
20601 (FLT_DIG): Likewise.
20602 (DBL_DIG): Likewise.
20603 (LDBL_DIG): Likewise.
20604 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20605 (DBL_MIN_EXP): Likewise.
20606 (LDBL_MIN_EXP): Likewise.
20607 (FLT_MAX_EXP): Use macro-int-constant.
20608 (DBL_MAX_EXP): Likewise.
20609 (LDBL_MAX_EXP): Likewise.
20610 (FLT_MAX_10_EXP): Likewise.
20611 (DBL_MAX_10_EXP): Likewise.
20612 (LDBL_MAX_10_EXP): Likewise.
20613 (FLT_MAX): Use macro-constant.
20614 (DBL_MAX): Likewise.
20615 (LDBL_MAX): Likewise.
20616 (FLT_EPSILON): Use macro-constant. Give upper bound.
20617 (DBL_EPSILON): Likewise.
20618 (LDBL_EPSILON): Likewise.
20619 (FLT_MIN): Likewise.
20620 (DBL_MIN): Likewise.
20621 (LDBL_MIN): Likewise.
20622 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20623 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20624 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20625 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20626 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20627 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20628 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20629 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20630 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20631 [ISO11] (FLT_TRUE_MIN): Likewise.
20632 [ISO11] (LDBL_TRUE_MIN): Likewise.
20633 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20634 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20635 (SCHAR_MIN): Use macro-int-constant. Specify type.
20636 (SCHAR_MAX): Likewise.
20637 (UCHAR_MAX): Likewise.
20638 (CHAR_MIN): Likewise.
20639 (CHAR_MAX): Likewise.
20640 (MB_LEN_MAX): Use macro-int-constant.
20641 (SHRT_MIN): Use macro-int-constant. Specify type.
20642 (SHRT_MAX): Likewise.
20643 (USHRT_MAX): Likewise.
20644 (INT_MAX): Likewise.
20645 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20647 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20649 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20651 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20652 bound negative. Suffix upper bound with "L".
20653 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20655 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20657 [C99-based standards] (LLONG_MAX): Likewise.
20658 [C99-based standards] (ULLONG_MAX): Likewise.
20659 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20661 [ISO11] (max_align_t): Require type.
20662 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20664 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20665 from $CFLAGS, without defining away __attribute__ calls.
20666 (checknamespace): Use $CFLAGS_namespace.
20668 * conform/conformtest.pl (@keywords): Only include C99 keywords
20669 for standards based on C99 or C11.
20671 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20673 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20676 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20677 usability of symbols in #if.
20679 * conform/conformtest.pl: If macro or constant types start
20680 "promoted:", expect the symbol to be of the following type
20681 promoted by the integer promotions.
20683 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20684 in one place. Also handle "macro-constant".
20686 * conform/conformtest.pl: Only accept expected macro values with
20687 "==". Parse all "macro" lines in one place.
20688 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20690 * conform/conformtest.pl: Handle braced types on "constant" lines
20691 instead of handling "typed-constant".
20692 * conform/data/signal.h-data: Use "constant" instead of
20695 * conform/conformtest.pl: Handle "optional-" at start of lines in
20696 one place rather than duplicating several cases. Handle each
20697 format of "macro" line with initial "optional-".
20699 * conform/conformtest.pl: Only accept expected constant or
20700 optional-constant values with "==". Parse all "constant" lines in
20701 one place. Parse all "optional-constant" lines in one place.
20702 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20703 * conform/data/fmtmsg.h-data: Likewise.
20704 * conform/data/netinet/in.h-data: Likewise.
20705 * conform/data/tar.h-data: Likewise.
20706 * conform/data/limits.h-data: Use "==" form on "constant" and
20707 "optional-constant" lines.
20709 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20710 Use -std=c99 for XOPEN2K.
20711 (@knownproblems): Remove.
20712 (newtoken): Don't check %isknown.
20714 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20715 Do not expect macro.
20716 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20717 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20718 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20719 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20720 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20721 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20722 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20723 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20724 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20725 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20726 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20727 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20728 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20729 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20730 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20731 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20732 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20733 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20734 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20735 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20736 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20737 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20738 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20739 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20740 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20741 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20742 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20743 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20744 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20745 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20746 [XPG3] (acosh): Likewise.
20747 [XPG3] (asinh): Likewise.
20748 [XPG3] (atanh): Likewise.
20749 [XPG3] (cbrt): Likewise.
20750 [XPG3] (expm1): Likewise.
20751 [XPG3] (ilogb): Likewise.
20752 [XPG3] (log1p): Likewise.
20753 [XPG3] (logb): Likewise.
20754 [XPG3] (nextafter): Likewise.
20755 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20756 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20757 [XPG3] (remainder): Likewise.
20758 [XPG3] (rint): Likewise.
20759 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20760 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20761 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20762 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20763 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20764 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20765 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20766 [UNIX98 || XOPEN2K] (scalb): Expect.
20767 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20768 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20769 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20770 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20771 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20772 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20773 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20774 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20775 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20776 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20777 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20778 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20779 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20780 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20781 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20782 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20783 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20784 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20785 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20786 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20787 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20788 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20789 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20790 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20791 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20792 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20793 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20794 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20795 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20796 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20797 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20798 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20799 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20800 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20801 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20802 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20803 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20804 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20805 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20806 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20807 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20808 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20809 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20810 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20811 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20812 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20813 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20814 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20815 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20816 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20817 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20818 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20819 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20820 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20821 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20822 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20823 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20824 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20825 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20826 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20827 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20828 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20829 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20830 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20831 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20832 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20833 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20834 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20835 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20836 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20837 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20838 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20839 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20840 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20841 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20842 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20843 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20844 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20845 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20846 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20847 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20848 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20849 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20850 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20851 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20852 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20853 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20854 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20855 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20856 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20857 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20858 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20859 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20860 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20861 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20862 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20863 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20864 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20865 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20866 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20867 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20868 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20869 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20870 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20871 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20872 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20873 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20874 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20875 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20876 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20877 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20878 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20879 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20880 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20881 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20882 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20883 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20884 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20885 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20886 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20887 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20888 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20889 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20890 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20891 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20892 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20893 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20894 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20895 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20896 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20897 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20898 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20899 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20900 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20901 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20902 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20903 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20905 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20906 _XOPEN_SOURCE_EXTENDED for XPG4.
20908 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20910 * Makeconfig (localtime): Remove variable.
20911 (inst_localtime-file): Likewise.
20913 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20934 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20938 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20939 comparisons to determine direction to adjust input.
20940 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20941 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20942 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20944 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20946 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20948 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20949 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20951 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20953 * math/libm-test.inc (nexttoward_test): Add more tests.
20955 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20958 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20959 in version GLIBC_2.1, not GLIBC_2.0.
20960 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20963 2012-04-30 Joseph Myers <joseph@codesourcery.com>
20966 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20968 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20969 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20970 * math/libm-test.inc (acos_test): Add more tests.
20971 (asin_test): Likewise.
20972 * sysdeps/i386/fpu/libm-test-ulps: Update.
20973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20976 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20978 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20979 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20980 * math/libm-test.inc (acos_test_tonearest): New function.
20981 (acos_test_towardzero): Likewise.
20982 (acos_test_downward): Likewise.
20983 (acos_test_upward): Likewise.
20984 (asin_test_tonearest): Likewise.
20985 (asin_test_towardzero): Likewise.
20986 (asin_test_downward): Likewise.
20987 (asin_test_upward): Likewise.
20988 (main): Call the new functions.
20989 * sysdeps/i386/fpu/libm-test-ulps: Update.
20990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20994 * math/e_exp10.c: Include <float.h>.
20995 (__ieee754_exp10): Handle underflow here rather than multiplying
20996 large negative argument by M_LN10.
20997 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20999 * math/e_exp10l.c: Include <float.h>.
21000 (__ieee754_exp10l): Handle underflow here rather than multiplying
21001 large negative argument by M_LN10l.
21002 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21003 spurious overflow exception on underflow.
21005 2012-04-29 Marek Polacek <polacek@redhat.com>
21007 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21008 (__fortify_function): New macro.
21009 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21010 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21011 __extern_always_inline.
21012 * libio/bits/stdio2.h: Likewise.
21013 * libio/bits/stdio.h: Likewise.
21014 * string/string.h: Likewise.
21015 * string/bits/string3.h: Likewise.
21016 * include/stdio.h: Likewise.
21017 * stdlib/bits/stdlib.h: Likewise.
21018 * stdlib/stdlib.h: Likewise.
21019 * rt/bits/mqueue2.h: Likewise.
21020 * rt/mqueue.h: Likewise.
21021 * posix/bits/unistd.h: Likewise.
21022 * posix/unistd.h: Likewise.
21023 * io/bits/poll2.h: Likewise.
21024 * io/bits/fcntl2.h: Likewise.
21025 * io/fcntl.h: Likewise.
21026 * io/sys/poll.h: Likewise.
21027 * misc/bits/syslog.h: Likewise.
21028 * misc/bits/syslog-ldbl.h: Likewise.
21029 * misc/sys/syslog.h: Likewise.
21030 * socket/bits/socket2.h: Likewise.
21031 * socket/sys/socket.h: Likewise.
21032 * debug/tst-chk1.c: Likewise.
21033 * wcsmbs/bits/wchar2.h: Likewise.
21034 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21035 * wcsmbs/wchar.h: Likewise.
21037 2012-04-29 Andreas Jaeger <aj@suse.de>
21039 * Makerules (tests): Remove enable-check-abi protection.
21040 (check-abi-warn): Remove.
21041 (check-abi-%): Remove check-abi-warn usage.
21043 * configure.in: Remove check-abi configure option.
21044 * configure: Regenerated.
21045 * config.make.in (enable-check-abi): Remove.
21047 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21050 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21051 double functions to double *_finite functions.
21054 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21055 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21057 * stdio-common/Makefile (tests): Add tst-sprintf3.
21058 * stdio-common/tst-sprintf3.c: New file.
21060 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21061 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21063 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21065 * conform/conformtest.pl: Remove duplicate typed-constant
21068 2012-04-28 David S. Miller <davem@davemloft.net>
21070 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21071 (check-abi-%): Remove AWK script prerequisite and explicit
21073 (check-abi): Rewrite to just diff the symlist with the abilist.
21074 (config-tls, config-abi-config): Delete, no longer used.
21075 (update-abi-%): Remove AWK script and explicit abilist directory.
21076 (update-abi): Rewrite to simply compare and conditionally copy the
21077 symlist and the sysdep abilist file. Remove update-abi-config
21079 * abilist/ld.abilist: Remove.
21080 * abilist/libBrokenLocale.abilist: Remove.
21081 * abilist/libanl.abilist: Remove.
21082 * abilist/libcrypt.abilist: Remove.
21083 * abilist/libdl.abilist: Remove.
21084 * abilist/librt.abilist: Remove.
21085 * abilist/libthread_db.abilist: Remove.
21086 * abilist/libutil.abilist: Remove.
21087 * scripts/extract-abilist.awk: Remove.
21088 * scripts/merge-abilist.awk: Remove.
21089 * sysdeps/generic/libcidn.abilist: New file.
21090 * sysdeps/generic/libnss_compat.abilist: New file.
21091 * sysdeps/generic/libnss_db.abilist: New file.
21092 * sysdeps/generic/libnss_dns.abilist: New file.
21093 * sysdeps/generic/libnss_files.abilist: New file.
21094 * sysdeps/generic/libnss_hesiod.abilist: New file.
21095 * sysdeps/generic/libnss_nis.abilist: New file.
21096 * sysdeps/generic/libnss_nisplus.abilist: New file.
21097 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21098 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21099 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21101 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21102 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21103 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21104 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21105 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21106 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21107 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21108 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21109 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21111 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21112 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21113 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21114 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21116 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21117 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21118 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21119 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21120 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21121 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21123 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21124 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21125 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21127 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21128 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21130 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21132 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21134 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21206 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21230 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21231 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21232 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21234 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21235 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21236 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21237 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21238 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21239 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21240 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21241 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21242 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21243 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21245 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21276 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21295 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21297 * conform/conformtest.pl: Fix typo in handling typed-constant from
21300 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21302 * README: Cut down references to pre-2.6 Linux kernels and
21303 Linuxthreads. Update lists of configurations in libc and ports
21304 and sort alphabetically. Say "or newer" with Linux kernel version
21307 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21309 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21312 * math/libm-test.inc (logb_test_downward): New test to expose
21313 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21316 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21319 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21321 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21322 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21324 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21326 * sysdeps/unix/i386/brk.S: Remove file.
21327 * sysdeps/unix/i386/dl-brk.S: Likewise.
21328 * sysdeps/unix/i386/pipe.S: Likewise.
21329 * sysdeps/unix/i386/sigreturn.S: Likewise.
21330 * sysdeps/unix/i386/syscall.S: Likewise.
21331 * sysdeps/unix/i386/vfork.S: Likewise.
21332 * sysdeps/unix/i386/wait.S: Likewise.
21334 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21335 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21337 * configure.in (arm*-none*): Do not allow without
21338 --enable-hacker-mode.
21339 (netbsd*): Remove case setting base_os.
21340 (386bsd*): Likewise.
21341 (freebsd*): Likewise.
21344 (sunos*): Likewise.
21345 (ultrix*): Likewise.
21346 (newsos*): Likewise.
21347 (dynix*): Likewise.
21353 (minix*): Likewise.
21354 (irix4*): Likewise.
21355 (irix6*): Likewise.
21356 (solaris[2-9]*): Likewise.
21358 * configure: Regenerated.
21360 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21363 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21364 overflow or cancellation in calculating denominator.
21365 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21366 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21367 down expression to avoid unexpected rounding in newer GCCs.
21368 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21370 2012-04-26 David S. Miller <davem@davemloft.net>
21372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21373 long-double compat symbols.
21374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21388 2012-04-25 David S. Miller <davem@davemloft.net>
21390 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21391 HWCAP_* values only after the memory barriers have been defined.
21392 (atomic_full_barrier): Define.
21393 (atomic_read_barrier): Define.
21394 (atomic_write_barrier): Define.
21396 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21398 * shlib-versions: Add libgcc_s version information.
21399 * sysdeps/generic/libgcc_s.h: Remove.
21400 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21402 * sysdeps/gnu/unwind-resume.c: Likewise.
21403 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21405 2012-04-25 David S. Miller <davem@davemloft.net>
21407 * sysdeps/unix/sparc/brk.S: Delete.
21408 * sysdeps/unix/sparc/dl-brk.S: Delete.
21409 * sysdeps/unix/sparc/pipe.S: Delete.
21410 * sysdeps/unix/sparc/sysdep.S: Delete.
21411 * sysdeps/unix/sparc/sysdep.h: Delete.
21412 * sysdeps/unix/sparc/vfork.S: Delete.
21413 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21414 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21415 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21416 ret_ERRVAL, r0, r1, MOVE): Define.
21417 (JUMPTARGET): Remove.
21418 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21419 sysdeps/unix/sparc/sysdep.h
21420 (ENTRY, END): Remove.
21421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21423 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21425 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21426 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21429 * timezone/README: Update upstream location and email address for
21431 * timezone/zdump.c: Update from tzcode 2012b.
21432 * timezone/zic.c: Likewise.
21434 * configure.in (libc_cv_as_needed): Remove test.
21435 * configure: Regenerated.
21436 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21437 conditional definition.
21438 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21439 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21440 * config.make.in (have-as-needed): Remove variable.
21442 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21443 Paul Pluzhnikov <ppluzhnikov@google.com>
21445 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21448 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21450 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21451 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21452 * sysdeps/sh/strlen.S: Likewise.
21454 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21456 * sysdeps/unix/fork.S: Remove file.
21457 * sysdeps/unix/i386/fork.S: Likewise.
21458 * sysdeps/unix/sparc/fork.S: Likewise.
21460 * sysdeps/unix/system.c: Remove file.
21461 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21463 * sysdeps/unix/getegid.S: Remove file.
21464 * sysdeps/unix/geteuid.S: Likewise.
21466 2012-04-24 Roland McGrath <roland@hack.frob.com>
21468 * scripts/check-localplt.awk: New file.
21469 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21471 * scripts/data/localplt-generic.data: Add a comment.
21473 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21474 NODE when __dir_mkfile failed.
21475 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21476 Reported by Ludovic Courtès <ludo@gnu.org>.
21478 2012-04-24 Andreas Jaeger <aj@suse.de>
21480 * Makerules (common-clean): Also remove gen-as-const-headers
21483 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21485 * Makerules (native-compile): Do not change working directory for
21486 build. Use $(OUTPUT_OPTION) in command.
21487 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21489 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21492 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21493 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21494 * math/libm-test.inc (floor_test): Add more tests.
21495 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21497 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21499 * sysdeps/unix/getdents.c: Remove file.
21500 * sysdeps/unix/sysv/getdents.c: Likewise.
21501 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21503 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21504 sysdeps/unix/mman/syscalls.list.
21506 (mprotect): Likewise.
21508 (munmap): Likewise.
21509 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21510 * sysdeps/unix/mman/syscalls.list: Remove.
21511 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21513 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21514 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21515 * configure: Regenerated.
21516 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21517 $(libgcc_s_suffix).
21518 * config.make.in (libgcc_s_suffix): Remove variable.
21520 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21522 * sysdeps/unix/sysv/gethostname.c: Move to ...
21523 * sysdeps/posix/gethostname.c: ... here.
21525 * sysdeps/unix/execve.S: Remove file.
21527 * sysdeps/unix/_exit.S: Remove file.
21529 2012-04-23 Andreas Jaeger <aj@suse.de>
21532 * manual/Makefile: Remove make dist support, there's no
21533 need for a stand-alone documentation tar ball.
21534 (TEXI2DVI): Define always, it's not in Makeconfig.
21537 (edition): Removed.
21538 (glibc-doc-$(edition).tar): Removed
21542 (ETAGS): Remove, it's in Makeconfig.
21543 (move-if-change): Remove, it's in Makeconfig.
21545 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21548 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21549 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21550 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21551 (strtod_l, strtof_l, strtold_l): Remove __wur.
21552 It is not necessarily an error to ignore strtol's return value.
21553 One can reliably look at the stored endptr to decide whether
21554 the number had valid syntax.
21556 2012-04-21 Andreas Jaeger <aj@suse.de>
21559 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21561 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21563 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21564 * sysdeps/unix/sysv/Versions: Remove file.
21566 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21571 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21574 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21575 version from __vm86.
21577 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21579 * sysdeps/unix/common/lxstat.c: Remove file.
21580 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21582 * sysdeps/unix/sysv/Makefile: Remove file.
21584 * sysdeps/unix/sysv/direct.h: Remove file.
21586 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21587 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21588 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21589 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21590 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21591 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21592 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21594 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21596 * sysdeps/unix/xmknod.c: Remove file.
21597 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21599 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21601 * sysdeps/unix/sysv/i386/time.S: Remove file.
21603 * sysdeps/unix/fxstat.c: Remove file.
21604 * sysdeps/unix/xstat.c: Likewise.
21605 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21607 * sysdeps/unix/sysv/sigaction.c: Remove file.
21609 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21610 (sysdep_headers): Remove variable.
21611 [termio.h not in sysdep_headers] (generated): Likewise.
21612 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21613 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21614 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21615 * sysdeps/unix/sysv/tcflow.c: Likewise.
21616 * sysdeps/unix/sysv/tcflush.c: Likewise.
21617 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21618 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21619 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21620 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21621 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21623 * sysdeps/unix/siglist.c: Remove file.
21625 * sysdeps/unix/getppid.S: Remove file.
21627 * sysdeps/unix/mkdir.c: Remove file.
21628 * sysdeps/unix/rmdir.c: Likewise.
21630 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21632 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21634 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21635 errlist-compat value.
21637 2012-04-18 David S. Miller <davem@davemloft.net>
21639 * sysdeps/generic/memcopy.h (reg_char): Delete.
21640 * debug/strcat_chk.c: Use char, not reg_char.
21641 * debug/strcpy_chk.c: Likewise.
21642 * debug/strncat_chk.c: Likewise.
21643 * debug/strncpy_chk.c: Likewise.
21644 * string/memchr.c: Likewise.
21645 * string/memrchr.c: Likewise.
21646 * string/rawmemchr.c: Likewise.
21647 * string/strcat.c: Likewise.
21648 * string/strchr.c: Likewise.
21649 * string/strchrnul.c: Likewise.
21650 * string/strcmp.c: Likewise.
21651 * string/strcpy.c: Likewise.
21652 * string/strncat.c: Likewise.
21653 * string/strncmp.c: Likewise.
21654 * string/strncpy.c: Likewise.
21656 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21658 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21659 __builtin_memcopy is called when src and dest ranges are known to not
21662 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21664 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21665 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21666 fwd_align_merge macro call.
21667 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21668 bwd_align_merge macro call.
21669 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21671 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21673 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21674 bwd_align_merge macros.
21675 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21676 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21677 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21679 2012-04-18 David S. Miller <davem@davemloft.net>
21681 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21683 2012-04-18 Andreas Jaeger <aj@suse.de>
21686 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21687 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21688 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21690 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21691 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21692 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21694 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21695 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21696 Adjust for changed ldbl-128 files.
21698 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21699 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21700 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21702 2012-04-17 David S. Miller <davem@davemloft.net>
21704 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21706 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21708 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21709 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21710 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21711 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21712 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21713 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21715 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21718 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21719 * math/libm-test.inc: Add ilogb errno and exception tests.
21720 * math/w_ilogb.c: New file: ilogb wrapper.
21721 * math/w_ilogbf.c: New file: ilogbf wrapper.
21722 * math/w_ilogbl.c: New file: ilogbl wrapper.
21723 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21724 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21725 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21726 exception being thrown with 0.0 as argument.
21727 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21728 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21729 exception being thrown with 0.0 as argument.
21730 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21731 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21732 exception being thrown with 0.0 as argument.
21733 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21734 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21735 exception being thrown with 0.0 as argument.
21736 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21737 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21738 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21739 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21740 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21741 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21742 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21743 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21744 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21746 2012-04-17 Petr Baudis <pasky@ucw.cz>
21748 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21751 2012-04-16 Marek Polacek <polacek@redhat.com>
21753 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21755 2012-04-16 Marek Polacek <polacek@redhat.com>
21757 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21758 operands of fdivp instruction.
21760 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21762 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21763 * elf/tst-auditmod3b.c: Likewise.
21764 * elf/tst-auditmod4b.c: Likewise.
21765 * elf/tst-auditmod5b.c: Likewise.
21766 * elf/tst-auditmod6b.c: Likewise.
21767 * elf/tst-auditmod6c.c: Likewise.
21768 * elf/tst-auditmod7b.c: Likewise.
21769 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21770 * sysdeps/x86_64/preconfigure.in: Likewise.
21771 * sysdeps/x86_64/preconfigure: Regenerated.
21773 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21775 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21778 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21780 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21781 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21783 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21786 * locale/iso-639.def: Fix gl language name. Spotted by
21789 2012-04-12 Roland McGrath <roland@hack.frob.com>
21792 * libio/libio.h (__io_write_fn): Update comment.
21794 2012-04-12 Petr Baudis <pasky@ucw.cz>
21797 * stdio.texi (Hook Functions): The user provided writer function
21798 is not allowed to return -1.
21800 2012-04-11 David S. Miller <davem@davemloft.net>
21802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21804 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21806 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21807 Add a leading slash to rtkaio.
21809 2012-04-11 Jim Meyering <meyering@redhat.com>
21812 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21813 It is not necessarily an error to ignore fwrite's return
21814 value. One can reliably use ferror to test for errors after
21817 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21819 * bits/types.h (__snseconds_t): New type.
21820 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21822 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21824 (__SNSECONDS_T_TYPE): Likewise.
21825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21826 (__SNSECONDS_T_TYPE): Likewise.
21827 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21828 (__SNSECONDS_T_TYPE): Likewise.
21830 2012-04-10 Andreas Jaeger <aj@suse.de>
21833 * manual/time.texi (Processor Time): Return type of times is
21834 elapsed real time since an arbitrary point in the past.
21835 (CPU Time): Move CLK_TCK from here...
21836 (Processor Time): ...to here. Correct description.
21837 * manual/conf.texi (Constants for Sysconf): Correct description of
21840 2012-04-10 David S. Miller <davem@davemloft.net>
21843 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21844 where the is a gap between DT_REL(A) and DT_JMPREL.
21846 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21848 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21849 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21850 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21852 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21854 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21855 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21856 (dl_main): Handle --inhibit-cache.
21857 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21859 * elf/dl-load.c (_dl_map_object): Use it.
21860 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21862 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21865 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21866 (__ieee754_powl): Saturate large exponents rather than testing for
21867 overflow of y*log2(x).
21868 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21869 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21873 * math/s_ctan.c: Include <float.h>.
21874 (__ctan): Avoid internal overflow or cancellation in calculating
21876 * math/s_ctanf.c: Likewise.
21877 * math/s_ctanl.c: Likewise.
21878 * math/s_ctanh.c: Likewise.
21879 * math/s_ctanhf.c: Likewise.
21880 * math/s_ctanhl.c: Likewise.
21881 * math/libm-test.inc (ctan_test): Add more tests.
21882 (ctanh_test): Likewise.
21883 * sysdeps/i386/fpu/libm-test-ulps: Update.
21884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21886 2012-04-09 Andreas Jaeger <aj@suse.de>
21889 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21890 is an optional BSD extension.
21893 * manual/stdio.texi (Opening Streams): Document additional fopen
21896 2012-04-09 Roland McGrath <roland@hack.frob.com>
21898 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21899 %eax without telling the compiler.
21901 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21904 * manual/install.texi: Use sourceware.org.
21906 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21909 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21910 (__ieee754_pow): Generate overflow and underflow using huge*huge
21911 and tiny*tiny rather than just returning constant infinity or zero
21912 for large exponents.
21913 * math/libm-test.inc (pow_test): Require overflow exceptions for
21914 applicable cases of large exponents.
21917 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21918 (__ieee754_pow): Use iterative multiplication algorithm only for
21919 integer exponents with absolute value below 1024. Check for odd
21920 integer exponents when using algorithm for real exponents.
21921 * math/libm-test.inc (pow_test): Add more tests.
21922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21924 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21927 * math/libm-test.inc (exp_test): Do not allow overflow exception
21930 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21933 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21934 instead of __kernel_standard_f.
21936 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21938 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21939 * sysdeps/x86_64/memset_chk.S: Likewise.
21941 2012-04-08 Andreas Jaeger <aj@suse.de>
21944 * manual/startup.texi (Environment Access): Describe return value
21945 for putenv and setenv.
21948 * manual/filesys.texi (Directory Entries): Add description for
21952 * manual/filesys.texi (Directory Entries): Clarify that it's file
21953 system not operating system in the description of DT_UNKNOWN.
21956 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21958 2012-04-08 Stephen Compall <s11@member.fsf.org>
21961 * manual/llio.texi (Opening and Closing Files): Add cross
21962 reference to explain mode argument.
21964 2012-04-07 Mike Frysinger <vapier@gentoo.org>
21966 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21967 * sysdeps/x86_64/memset_chk.S: Likewise.
21969 2012-04-07 David S. Miller <davem@davemloft.net>
21971 * elf/elf.h (R_SPARC_WDISP10): Define.
21972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21975 R_SPARC_SIZE64 and R_SPARC_H34.
21977 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21979 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21980 conditions and remove no longer applicable assertion.
21982 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21984 * bits/byteswap.h: Include <features.h>.
21985 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21986 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21988 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21990 * bits/byteswap.h (__bswap_16): Removed.
21991 Include <bits/byteswap-16.h> to get __bswap_16.
21992 * sysdeps/i386/bits/byteswap.h: Likewise.
21993 * sysdeps/s390/bits/byteswap.h: Likewise.
21994 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21995 * bits/byteswap-16.h: New file.
21996 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21997 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21998 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21999 * string/Makefile (headers): Add bits/byteswap-16.h.
22001 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22004 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22006 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22007 * nss/tst-nss-static.c: New.
22009 2012-04-06 Robert Millan <rmh@gnu.org>
22012 * manual/llio.texi (File Position Primitive): lseek
22013 refers to WHENCE when it really means OFFSET.
22015 2012-04-06 Andreas Jaeger <aj@suse.de>
22017 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22018 strncmp declarations.
22020 * abilist/libc.abilist: Add __poll and __ppoll.
22022 2012-04-05 David S. Miller <davem@davemloft.net>
22024 * scripts/check-local-headers.sh: Accept a host triplet in the
22025 path matched by the exclude regexp.
22027 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22029 * sysdeps/powerpc/powerpc32/dl-machine.h
22030 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22031 * sysdeps/s390/s390-32/dl-machine.h
22032 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22033 * sysdeps/sparc/sparc32/dl-machine.h
22034 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22035 * sysdeps/sparc/sparc64/dl-machine.h
22036 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22038 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22040 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22041 undefined symbol errors.
22043 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22046 2012-04-05 Michael Matz <matz@suse.de>
22049 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22051 2012-04-05 Andreas Jaeger <aj@suse.de>
22054 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22057 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22059 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22060 which ROUND is no valid rounding mode.
22062 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22064 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22066 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22068 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22070 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22071 an exception using FPU order intentionally.
22073 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22075 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22076 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22077 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22078 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22080 2012-04-05 Simon Josefsson <simon@josefsson.org>
22083 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22084 EINVAL when BUFLEN is too smal.
22086 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22089 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22090 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22092 2012-04-03 Andreas Jaeger <aj@suse.de>
22095 * manual/setjmp.texi (System V contexts): Fix sentence.
22098 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22099 New macro for this case.
22100 [!__GNUC__] (__bswap_64): New inline function for this case.
22101 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22102 * bits/byteswap.h: Likewise.
22103 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22104 ull, guard with __GLIBC_HAVE_LONG_LONG.
22106 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22107 __GLIBC_HAVE_LONG_LONG.
22109 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22110 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22112 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22115 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22116 inptr and inend, rather than using last_ch.
22118 2012-04-02 David S. Miller <davem@davemloft.net>
22120 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22121 * stdio-common/printf-parse.h (read_int): Change return type to
22122 'int', return -1 on INT_MAX overflow.
22123 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22124 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22125 overflows INT_MAX. Check for overflow of in-format-string precision
22126 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22127 SIZE_MAX not INT_MAX for integer overflow test.
22128 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22129 skip the construct in the format string but do not record anything.
22130 * stdio-common/bug22.c: Adjust to test both width/prevision
22131 INT_MAX overflow as well as total length INT_MAX overflow. Check
22132 explicitly for proper errno values.
22134 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22136 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22138 * string/test-strcmp.c [! WIDE]: Likewise.
22139 * time/tst-mktime2.c: Likewise for INT_MAX.
22140 * string/test-string.h: #include <sys/param.h> for MIN.
22142 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22143 * sysdeps/i386/init-first.c (init): Likewise.
22144 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22145 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22146 * sysdeps/sh/init-first.c (init): Likewise.
22148 2012-04-01 Ulrich Drepper <drepper@gmail.com>
22150 * po/ru.po: Update from translation team.
22151 * po/vi.po: Likewise.
22153 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22155 * resolv/nss_dns/dns-host.c: Merge copyright years.
22157 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22159 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22160 Optimize memcpy with prefetch if
22161 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22162 src, dst pointers have unequal 16 byte alignments.
22164 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22167 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22168 from a CNAME entry and return the minimum ttl for the query.
22169 (gaih_getanswer_slice): Likewise.
22171 2012-03-30 Jeff Law <law@redhat.com>
22173 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22175 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22176 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22178 * resolv/nss_dns/dns-host.c: Update copyright year.
22180 2012-03-30 Ulrich Drepper <drepper@gmail.com>
22182 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22183 requests to save a system call. Fix check that all bytes are sent.
22185 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22186 comments for sendmmsg.
22188 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22191 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22192 with only 1 character between 0x0041 and 0x01b0.
22193 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22194 * wcsmbs/tst-mbsnrtowcs.c: New file.
22196 2012-03-29 David S. Miller <davem@davemloft.net>
22198 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22199 small copies by hand.
22201 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22204 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22205 _nss_compat_initgroups_dyn): Fall back to malloc/free
22206 for large group memberships.
22208 2012-03-28 David S. Miller <davem@davemloft.net>
22210 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22211 that branches into memcpy.
22212 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22213 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22214 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22215 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22218 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22219 implementation too.
22220 * sysdeps/sparc/mempcpy.S: New file.
22222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22223 the IFUNC routine in the libc case.
22224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22226 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22227 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22228 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22229 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22230 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22231 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22232 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22233 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22235 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22236 loop to 256 bytes instead of 64 bytes and fix test signedness.
22238 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22239 * sysdeps/sparc/sparc32/Makefile: rather than here...
22240 * sysdeps/sparc/sparc64/Makefile: and here.
22242 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22244 * malloc/mallocbug.c: Avoid warnings about unused variables.
22246 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22249 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22250 in the right place. Discard and retry query if response is
22251 larger than input buffer size.
22253 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22258 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22259 x for large integer exponent.
22260 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22261 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22262 sign of result as needed afterwards.
22263 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22264 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22265 result for underflowing pow the same as for overflow.
22266 (__kernel_standard_l): Handle powl overflow and underflow here
22267 rather than calling __kernel_standard.
22268 * math/libm-test.inc (pow_test): Add more tests.
22283 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22284 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22285 (__kernel_standard_l): New function.
22286 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22288 * math/w_acosl.c (__acosl): Likewise.
22289 * math/w_asinl.c (__asinl): Likewise.
22290 * math/w_atan2l.c (__atan2l): Likewise.
22291 * math/w_atanhl.c (__atanhl): Likewise.
22292 * math/w_coshl.c (__coshl): Likewise.
22293 * math/w_exp10l.c (__exp10l): Likewise.
22294 * math/w_exp2l.c (__exp2l): Likewise.
22295 * math/w_fmodl.c (__fmodl): Likewise.
22296 * math/w_hypotl.c (__hypotl): Likewise.
22297 * math/w_j0l.c (__j0l, __y0l): Likewise.
22298 * math/w_j1l.c (__j1l, __y1l): Likewise.
22299 * math/w_jnl.c (__jnl, __ynl): Likewise.
22300 * math/w_lgammal.c (__lgammal): Likewise.
22301 * math/w_log10l.c (__log10l): Likewise.
22302 * math/w_log2l.c (__log2l): Likewise.
22303 * math/w_logl.c (__logl): Likewise.
22304 * math/w_powl.c (__powl): Likewise.
22305 * math/w_remainderl.c (__remainderl): Likewise.
22306 * math/w_scalbl.c (sysv_scalbl): Likewise.
22307 * math/w_sinhl.c (__sinhl): Likewise.
22308 * math/w_sqrtl.c (__sqrtl): Likewise.
22309 * math/w_tgammal.c (__tgammal): Likewise.
22310 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22311 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22312 * math/libm-test.inc (acos_test): Add more tests.
22313 (acosh_test): Likewise.
22314 (asin_test): Likewise.
22315 (atanh_test): Likewise.
22316 (exp_test): Likewise.
22317 (exp10_test): Likewise.
22318 (exp2_test): Likewise.
22319 (expm1_test): Likewise.
22320 (lgamma_test): Likewise.
22321 (log_test): Likewise.
22322 (log10_test): Likewise.
22323 (log1p_test): Likewise.
22324 (log2_test): Likewise.
22325 (pow_test): Do not allow some spurious overflow exceptions.
22326 (sqrt_test): Add more tests.
22327 (tgamma_test): Likewise.
22328 (y0_test): Likewise.
22329 (y1_test): Likewise.
22330 (yn_test): Likewise.
22332 2012-03-27 Anton Blanchard <anton@samba.org>
22334 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22336 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22337 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22338 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22340 2012-03-27 David S. Miller <davem@davemloft.net>
22342 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22344 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22345 have-as-vis3 check.
22347 2012-03-27 Andreas Jaeger <aj@suse.de>
22349 * sysdeps/x86_64/elf/configure.in: Moved to ...
22350 * sysdeps/x86_64/configure.in: ... here.
22351 * sysdeps/x86_64/elf/start.S: Moved to ...
22352 * sysdeps/x86_64/start.S: ... here.
22353 * sysdeps/x86_64/elf/configure: Delete.
22355 * sysdeps/x86_64/configure.in: Merge contents from
22356 sysdeps/i386/configure.in (without i686 check).
22358 * sysdeps/i386/elf/Versions: Merge into ...
22359 * sysdeps/i386/Versions: ... this.
22360 * sysdeps/i386/elf/Versions: Delete file.
22361 * sysdeps/i386/elf/start.S: Moved to ...
22362 * sysdeps/i386/start.S: ...here.
22363 * sysdeps/i386/elf/configure.in: Merge into...
22364 * sysdeps/i386/configure.in: ...here.
22365 * sysdeps/i386/elf/configure.in: Delete file.
22366 * sysdeps/i386/elf/configure: Delete file.
22368 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22369 * debug/backtracesyms.c: ... here.
22370 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22371 * debug/backtracesymsfd.c: ... here.
22372 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22373 * sysdeps/generic/ifunc-sel.h: ... here.
22375 * sysdeps/unix/i386/start.c: Delete file.
22376 * sysdeps/unix/sparc/start.c: Delete file.
22377 * sysdeps/unix/start.c: Delete file.
22379 * sysdeps/sh/elf/configure.in: Moved to ...
22380 * sysdeps/sh/configure.in: ... here.
22381 * sysdeps/sh/elf/start.S: Moved to ...
22382 * sysdeps/sh/start.S: ... here.
22383 * sysdeps/sh/elf/configure: Delete file.
22385 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22386 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22387 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22388 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22389 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22390 * sysdeps/powerpc/powerpc64/start.S: here.
22391 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22392 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22393 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22394 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22395 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22397 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22398 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22399 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22400 * sysdeps/powerpc/powerpc32/start.S: ... here.
22401 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22402 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22403 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22405 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22406 * sysdeps/powerpc/ifunc-sel.h: ... here.
22407 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22408 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22410 * sysdeps/sparc/elf/configure.in: Moved to ...
22411 * sysdeps/sparc/configure.in: ... here.
22412 * sysdeps/sparc/elf/configure: Delete file.
22413 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22414 * sysdeps/sparc/sparc32/start.S: ... here.
22415 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22416 * sysdeps/sparc/sparc64/start.S: ... here.
22417 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22418 * sysdeps/sparc/sparc32/Makefile: ... this.
22419 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22420 * sysdeps/sparc/sparc64/Makefile: ... this.
22422 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22423 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22424 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22425 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22426 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22427 * sysdeps/s390/s390-32/setjmp.S: ... here.
22428 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22429 * sysdeps/s390/s390-32/configure.in: ... here.
22430 * sysdeps/s390/s390-32/elf/configure: Delete file.
22431 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22432 * sysdeps/s390/s390-32/start.S: ... here.
22434 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22435 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22436 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22437 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22438 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22439 * sysdeps/s390/s390-64/setjmp.S: ... here.
22440 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22441 * sysdeps/s390/s390-64/configure.in: ... here
22442 * sysdeps/s390/s390-64/elf/configure: Delete file.
22443 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22444 * sysdeps/s390/s390-64/start.S: ... here.
22445 * sysdeps/s390/s390-64/elf/configure: Delete.
22447 * configure.in: Remove support for elf directories in sysdeps.
22449 * configure: Regenerated.
22450 * sysdeps/i386/configure: Regenerated.
22451 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22452 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22453 * sysdeps/s390/s390-32/configure: Regenerated.
22454 * sysdeps/s390/s390-64/configure: Regenerated.
22455 * sysdeps/sh/configure: Regenerated.
22456 * sysdeps/sparc/configure: Regenerated.
22457 * sysdeps/x86_64/configure: Regenerated.
22459 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22463 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22464 denormal result into account.
22466 2012-03-25 Roland McGrath <roland@hack.frob.com>
22468 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22469 Reported by Allan McRae <allan@archlinux.org>.
22471 2012-03-23 Jeff Law <law@redhat.com>
22473 * nss/getnssent.c (__nss_getent): Fix typo.
22475 2012-03-23 David S. Miller <davem@davemloft.net>
22477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22479 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22481 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22482 to pad to uint64_t for each field.
22483 (dl_tls_index): Replace unsigned long with uint64_t.
22485 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22486 Paul Pluzhnikov <ppluzhnikov@google.com>
22489 * grp/Makefile (otherlibs): Don't set it.
22490 * inet/Makefile (otherlibs): Likewise.
22491 * login/Makefile (otherlibs): Likewise.
22492 * nscd/Makefile (otherlibs): Likewise.
22493 * posix/Makefile (otherlibs): Likewise.
22494 * pwd/Makefile (otherlibs): Likewise.
22495 * rt/Makefile (otherlibs): Likewise.
22496 * sunrpc/Makefile (otherlibs): Likewise.
22497 * nss/Makefile (otherlibs): Likewise.
22498 Add libnss_files to routines and static-only-routines.
22499 ($(objpfx)getent): Remove rule.
22500 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22501 static-only-routines.
22503 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22506 * math/s_cexp.c: Include <float.h>.
22507 (__cexp): Handle exp result overflowing not necessarily
22508 overflowing both real and imaginary parts of result.
22509 * math/s_cexpf.c: Likewise.
22510 * math/s_cexpl.c: Likewise.
22511 * math/libm-test.inc (cexp_test): Add more tests.
22512 * sysdeps/i386/fpu/libm-test-ulps: Update.
22513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22515 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22517 * include/link.h (ELFW): New macro.
22518 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22519 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22521 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22523 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22526 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22528 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22530 (struct La_x32_retval): Likewise.
22532 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22534 * sysdeps/x86_64/preconfigure.in: New file.
22535 * sysdeps/x86_64/preconfigure: New generated file.
22537 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22540 * math/e_exp2l.c: Include <float.h>.
22541 (__ieee754_exp2l): Handle overflow and underflow cases
22542 separately. Only pass fractional part of argument to
22544 * math/libm-test.inc (exp2_test): Add more tests.
22546 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22547 negating x to take absolute value.
22548 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22550 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22551 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22553 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22554 computing low part if x was negated.
22555 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22557 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22559 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22560 la_x32_gnu_pltexit.
22561 (pltexit): Cast int_retval to ptrdiff_t.
22562 * elf/tst-auditmod3b.c: Likewise.
22563 * elf/tst-auditmod4b.c: Likewise.
22564 * elf/tst-auditmod5b.c: Likewise.
22565 * elf/tst-auditmod6b.c: Likewise.
22566 * elf/tst-auditmod6c.c: Likewise.
22567 * elf/tst-auditmod7b.c: Likewise.
22569 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22570 and x32_gnu_pltexit.
22572 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22573 __ELF_NATIVE_CLASS.
22574 (La_x32_regs): New macro.
22575 (La_x32_retval): Likewise.
22576 (la_x32_gnu_pltenter): New function prototype.
22577 (la_x32_gnu_pltexit): Likewise.
22579 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22581 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22586 * configure.in (libc_cv_cc_nofma): Check for option to disable
22587 generation of FMA instructions.
22588 * configure: Regenerate.
22589 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22590 * sysdeps/ieee754/dbl-64/Makefile: New file.
22591 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22592 Remove brandred-fma4.
22593 (CFLAGS-brandred-fma4.c): Remove.
22594 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22595 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22597 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22600 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22602 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22603 LLONG_MAX != LONG_MAX.
22604 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22605 (_fitoa_word): Likewise.
22606 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22607 LLONG_MAX != LONG_MAX.
22608 * stdio-common/_itowa.h: Include <_itoa.h>.
22609 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22610 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22611 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22612 only if not defined.
22613 (_ITOA_WORD_TYPE): Likewise.
22614 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22615 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22617 2012-03-21 David S. Miller <davem@davemloft.net>
22619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22621 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22623 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22624 of x86_64 when setting libc_cv_slibdir, libdir and
22626 * sysdeps/unix/sysv/linux/configure: Regenerated.
22628 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22630 * manual/lang.texi (Old Varargs): Remove section.
22631 (How Variadic): Update menu.
22632 (va_start): Do not mention varargs.h.
22634 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22635 Joseph Myers <joseph@codesourcery.com>
22637 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22639 * configure: Regenerated.
22641 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22643 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22644 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22647 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22650 * Makefile (files-for-dist): Remove NOTES.
22651 (NOTES): Remove rule.
22652 * README: Don't refer to NOTES.
22653 * manual/creature.texi: Don't include macros.texi.
22654 * manual/intro.texi (creature.texi): Remove comment referring to
22657 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22658 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22659 * configure: Regenerated.
22660 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22661 LIBC_TRY_CC_OPTION.
22662 (libc_cv_as_i686): Likewise.
22663 (libc_cv_cc_avx): Likewise.
22664 (libc_cv_cc_sse2avx): Likewise.
22665 (libc_cv_cc_fma4): Likewise.
22666 (libc_cv_cc_novzeroupper): Likewise.
22667 * sysdeps/i386/configure: Regenerated.
22670 * sysdeps/i386/fpu/s_cexp.S: Remove.
22671 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22672 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22673 * math/libm-test.inc (cexp_test): Add more tests.
22674 * sysdeps/i386/fpu/libm-test-ulps: Update.
22675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22677 2012-03-21 Allan McRae <allan@archlinux.org>
22679 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22681 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22684 * math/w_exp2.c: Do not include <float.h>.
22685 (o_threshold, u_threshold): Remove.
22686 (__exp2): Calculate result before checking finiteness and calling
22688 * math/w_exp2f.c: Likewise.
22689 * math/w_exp2l.c: Likewise.
22690 * math/libm-test.inc (exp2_test): Require overflow exception for
22694 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22695 range of signed 64-bit integers before using fistpll. Remove
22696 checks for whether integers fit in mantissa bits.
22697 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22698 the range of signed 32-bit integers before using fistpl. Remove
22699 checks for whether integers fit in mantissa bits.
22700 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22701 (__ieee754_powl): Test for y outside the range of signed 64-bit
22702 integers before using fistpll. Reduce 64-bit values to 63-bit
22704 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22705 divide-by-zero is raised for zero to large negative powers.
22706 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22707 (__ieee754_powl): Test for y outside the range of signed 64-bit
22708 integers before using fistpll. Reduce 64-bit values to 63-bit
22710 * math/libm-test.inc (pow_test): Add more tests.
22712 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22714 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22715 <stdio-common/_itoa.h>.
22716 * debug/segfault.c: Likewise.
22717 * elf/dl-cache.c: Likewise.
22718 * elf/dl-minimal.c: Likewise.
22719 * elf/dl-misc.c: Likewise.
22720 * elf/dl-sysdep.c: Likewise.
22721 * elf/dl-version.c: Likewise.
22722 * elf/rtld.c: Likewise.
22723 * hurd/hurdsock.c: Likewise.
22724 * hurd/lookup-retry.c: Likewise.
22725 * malloc/malloc.c: Likewise.
22726 * malloc/mtrace.c: Likewise.
22727 * nscd/nscd_getgr_r.c: Likewise.
22728 * nscd/nscd_getpw_r.c: Likewise.
22729 * nscd/nscd_getserv_r.c: Likewise.
22730 * posix/getopt_init.c: Likewise.
22731 * posix/wordexp.c: Likewise.
22732 * stdio-common/_itoa.c: Likewise.
22733 * stdio-common/printf_fphex.c: Likewise.
22734 * stdio-common/vfprintf.c: Likewise.
22735 * string/_strerror.c: Likewise.
22736 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22737 * sysdeps/i386/i686/hp-timing.h: Likewise.
22738 * sysdeps/mach/_strerror.c: Likewise.
22739 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22740 * sysdeps/mach/hurd/sethostid.c: Likewise.
22741 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22742 * sysdeps/mach/xpg-strerror.c: Likewise.
22743 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22744 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22745 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22746 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22747 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22748 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22749 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22750 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22751 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22752 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22753 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22754 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22755 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22756 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22757 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22758 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22759 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22760 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22761 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22762 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22763 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22765 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22767 * stdio-common/_itoa.h: Moved to ...
22768 * sysdeps/generic/_itoa.h: Here.
22770 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22772 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22773 instead of "_itoa.h" and "_itowa.h".
22774 * stdio-common/vfprintf.: Likewise.
22776 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22778 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22780 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22781 (__signbit): Likwise.
22782 (llrintf): Likwise.
22785 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22787 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22790 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22792 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22793 OVERFLOW_EXCEPTION_OK.
22794 * math/libm-test.inc ("Philosophy"): Update comment about
22796 (OVERFLOW_EXCEPTION): Define.
22797 (OVERFLOW_EXCEPTION_OK): Likewise.
22798 (INVALID_EXCEPTION_OK): Renumber.
22799 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22800 (IGNORE_ZERO_INF_SIGN): Likewise.
22801 (test_exceptions): Handle FE_OVERFLOW.
22802 (exp10_test): Expect overflow exceptions.
22803 (exp2_test): Likewise.
22804 (expm1_test): Likewise.
22805 (nextafter_test): Likewise.
22806 (pow_test): Likewise.
22807 (scalbn_test): Likewise.
22808 (scalbln_test): Likewise.
22810 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22812 * sysdeps/x86_64/bits/atomic.h
22813 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22815 (atomic_exchange_acq): Likewise.
22816 (__arch_exchange_and_add_body): Likewise.
22817 (__arch_add_body): Likewise.
22818 (atomic_add_negative): Likewise.
22819 (atomic_add_zero): Likewise.
22821 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22823 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22824 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22826 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22828 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22829 Check __x86_64__ instead of __WORDSIZE.
22831 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22833 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22835 2012-03-19 David S. Miller <davem@davemloft.net>
22837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22839 * sysdeps/sparc/fpu/fenv_private.h: New file.
22840 * sysdeps/sparc/fpu/math_private.h: Use it.
22841 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22843 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22844 (libc_feholdexcept_setroundl): Remove.
22845 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22847 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22848 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22850 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22852 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22853 int64_t instead of long int.
22854 (INSERT_WORDS64): Likwise.
22856 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22858 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22859 _Unwind_GetCFA return to _Unwind_Ptr first.
22861 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22864 * math/s_clog.c: Include <float.h>.
22865 (__clog): Scale large or subnormal inputs.
22866 * math/s_clogf.c: Likewise.
22867 * math/s_clogl.c: Likewise.
22868 * math/s_clog10.c: Include <float.h>.
22869 (M_LOG10_2): Define.
22870 (__clog10): Scale large or subnormal inputs.
22871 * math/s_clog10f.c: Likewise.
22872 * math/s_clog10l.c: Likewise.
22873 * math/libm-test.inc (clog_test): Add more tests.
22874 (clog10_test): Likewise.
22875 * sysdeps/i386/fpu/libm-test-ulps: Update.
22876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22879 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22881 * math/libm-test.inc (atan2_test): Add another test.
22883 * Makerules (common-objdir-compile): Remove.
22884 * sysdeps/unix/Makefile (config-generated): Do not add
22885 $(unix-generated) to variable.
22886 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22887 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22889 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22891 [generic bits/local_lim.h] (before-compile): Do not append to
22893 [generic bits/local_lim.h] (common-generated): Likewise.
22894 [generic sys/param.h] (before-compile): Do not append to variable.
22895 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22896 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22897 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22898 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22900 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22901 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22902 [generic sys/param.h] ($(addprefix
22903 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22904 [generic sys/param.h] (common-generated): Do not append to
22906 [generic sys/param.h] (sysdep_headers): Likewise.
22907 [generic bits/errno.h] (before-compile): Do not append to
22909 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22911 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22912 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22913 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22914 [generic bits/errno.h] (common-generated): Do not append to
22916 [generic bits/ioctls.h] (before-compile): Do not append to
22918 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22920 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22921 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22922 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22924 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22925 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22926 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22927 [generic bits/ioctls.h] (common-generated): Do not append to
22929 [generic sys/syscall.h] (syscall.h): Remove variable.
22930 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22932 [generic sys/syscall.h] (before-compile): Do not append to
22934 [generic sys/syscall.h] (common-generated): Likewise.
22935 * sysdeps/unix/errnos-tmpl.c: Remove file.
22936 * sysdeps/unix/errnos.awk: Likewise.
22937 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22938 * sysdeps/unix/ioctls.awk: Likewise.
22939 * sysdeps/unix/mk-local_lim.c: Likewise.
22940 * sysdeps/unix/snarf-ioctls: Likewise.
22942 2012-03-19 Richard Henderson <rth@twiddle.net>
22944 * sysdeps/i386/fpu/fenv_private.h: New file.
22945 * sysdeps/i386/fpu/math_private.h: Use it.
22946 (math_opt_barrier, math_force_eval): Remove.
22947 (libc_feholdexcept_setround_53bit): Remove.
22948 (libc_feupdateenv_53bit): Remove.
22949 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22950 (math_opt_barrier, math_force_eval): Remove.
22951 (libc_feholdexcept): Remove.
22952 (libc_feholdexcept_setround): Remove.
22953 (libc_fetestexcept, libc_fesetenv): Remove.
22954 (libc_feupdateenv_test): Remove.
22955 (libc_feupdateenv, libc_feholdsetround): Remove.
22956 (libc_feresetround): Remove.
22958 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22959 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22961 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22962 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22963 (libc_feupdateenv_testl): New.
22964 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22965 (libc_feupdateenv_testf): New.
22966 (libc_feupdateenv): Use libc_feupdateenv_test.
22967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22968 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22970 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22971 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22972 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22973 (libc_feresetround_noex): New.
22974 (libc_feresetround_noexf): New.
22975 (libc_feresetround_noexl): New.
22976 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22977 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22978 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22979 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22981 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22982 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22984 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22985 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22986 SET_RESTORE_ROUND_NOEX.
22987 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22988 SET_RESTORE_ROUND_NOEXF.
22989 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22990 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22991 (libc_feholdsetroundf): New.
22992 (libc_feresetround, libc_feresetroundf): New.
22994 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22995 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22996 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22998 * sysdeps/generic/math_private.h: Include <fenv.h>.
22999 (default_libc_feholdexcept): New.
23000 (default_libc_feholdexcept_setround): New.
23001 (default_libc_fesetenv, default_libc_feupdateenv): New.
23002 (libc_feholdexcept): Only define if undefined.
23003 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23004 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23005 (libc_feholdexcept_setroundl): Likewise.
23006 (libc_feholdexcept_setround_53bit): Likewise.
23007 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23008 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23009 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23010 (libc_feupdateenv_53bit): Likewise.
23011 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23012 (libc_feholdexcept): Convert from macro to inline function.
23013 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23014 (libc_fesetenv, libc_feupdateenv): Likewise.
23016 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23017 not previously defined.
23018 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23019 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23020 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23021 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23022 * sysdeps/ieee754/flt-32/math_private.h: New file.
23023 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23024 math_private.h below SET_FLOAT_WORD.
23025 (__isnan, __isinf_ns, __finite): Remove.
23026 (__isnanf, __isinf_nsf, __finitef): Remove.
23028 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23032 2012-03-17 David S. Miller <davem@davemloft.net>
23035 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23038 2012-03-16 David S. Miller <davem@davemloft.net>
23040 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23044 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23046 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23047 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23048 sysdep_routines when subdir is sysvipc.
23049 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23050 __getshmlba helper.
23052 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23054 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23056 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23059 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23061 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23062 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23063 (__lround): Renamed to ...
23064 (__llround): This. Replace long int with long long int.
23065 Define lround functions as aliases of llround functions.
23066 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23068 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23070 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23071 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23072 adresses to uintptr_t. Replace "long int" and "unsigned long
23073 int" with "greg_t" on va_arg.
23075 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23077 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23078 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23080 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23081 Move e_machine check before EI_CLASS check. Handle x32
23082 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23083 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23084 SKIP_EM_IA_64 and include
23085 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23087 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23088 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23089 (add_system_dir): New macro.
23091 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23092 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23094 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23105 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23107 * math/w_j0f.c (j0f): Likewise.
23109 * math/w_j0l.c (__j0l): Likewise.
23111 * math/w_j1.c (j1): Likewise.
23113 * math/w_j1f.c (j1f): Likewise.
23115 * math/w_j1l.c (__j1l): Likewise.
23117 * math/w_jn.c (jn): Likewise.
23119 * math/w_jnf.c (jnf): Likewise.
23121 * math/w_jnl.c (__jnl): Likewise.
23123 * math/libm-test.inc (j0_test): Add more tests.
23124 (j1_test): Likewise.
23125 (jn_test): Likewise. Add trailing semicolon to existing test.
23126 (y0_test): Likewise.
23127 (y1_test): Likewise.
23128 * sysdeps/i386/fpu/libm-test-ulps: Update.
23129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23133 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23134 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23135 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23136 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23137 (__tanl): Set errno for infinite argument.
23138 * sysdeps/i386/fpu/mptan.c: Remove.
23139 * sysdeps/i386/fpu/s_tan.S: Likewise.
23140 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23141 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23142 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23143 * math/libm-test.inc (tan_test): Add more tests and enable more
23144 tests for double and long double.
23145 * sysdeps/i386/fpu/libm-test-ulps: Update.
23146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23148 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23150 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23151 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23153 2012-03-16 Roland McGrath <roland@hack.frob.com>
23155 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23156 * configure.in: Use it for both main tree and add-ons.
23157 * configure: Regenerated.
23159 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23161 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23163 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23165 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23169 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23170 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23171 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23172 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23173 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23175 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23176 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23177 != 0 for prec == 2.
23178 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23179 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23180 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23181 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23182 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23183 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23184 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23185 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23186 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23187 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23188 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23189 * math/libm-test.inc (cos_test): Add more tests and enable more
23190 tests for long double.
23191 (sin_test): Likewise.
23192 (sincos_test): Likewise.
23193 * sysdeps/i386/fpu/libm-test-ulps: Update.
23194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23196 2012-03-16 David S. Miller <davem@davemloft.net>
23198 * sysdeps/sparc/fpu/math_private.h: New file.
23200 2012-03-15 David S. Miller <davem@davemloft.net>
23202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23212 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23216 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23217 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23219 * sysdeps/sparc/sparc-ifunc.h: New file.
23220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23246 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23247 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23258 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23259 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23261 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23262 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23263 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23265 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23267 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23271 2012-03-15 Andreas Jaeger <aj@suse.de>
23274 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23275 ieee754/flt-32 implementation for sin, cos and sincos.
23276 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23277 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23278 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23279 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23280 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23281 ieee754/flt-32 implementation for tan.
23283 * math/libm-test.inc (cos_test): Enable some large input tests for
23285 (sin_test): Likewise.
23286 (sincos_test): Likewise.
23287 (tan_test): Add tests for large input.
23289 * sysdeps/i386/fpu/libm-test-ulps: Update.
23291 2012-03-15 Andreas Jaeger <aj@suse.de>
23294 * math/libm-test.inc (cos_test): Add more test cases.
23295 (sin_test): Likewise.
23296 (sincos_test): Likewise.
23298 2012-03-15 Andreas Jaeger <aj@suse.de>
23301 * math/libm-test.inc (cos_test): Add a test case for large input
23303 (sin_test): Likewise.
23304 (sincos_test): Likewise.
23306 2012-03-15 Andreas Jaeger <aj@suse.de>,
23307 Joseph Myers <joseph@codesourcery.com>
23310 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23311 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23312 * sysdeps/i386/fpu/branred.c: Likewise.
23313 * sysdeps/i386/fpu/dosincos.c: Likewise.
23314 * sysdeps/i386/fpu/mpa.c: Likewise.
23315 * sysdeps/i386/fpu/s_cos.S: Likewise.
23316 * sysdeps/i386/fpu/s_sin.S: Likewise.
23317 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23318 * sysdeps/i386/fpu/sincos32.c: Likewise.
23320 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23322 (libc_feupdateenv_53bit): Define.
23323 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23325 (libc_feupdateenv_53bit): Define.
23327 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23328 53 bit (without extend i386 double precision).
23330 * math/libm-test.inc (sincos_test): Add tests for large input.
23334 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23336 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23340 2012-03-15 David S. Miller <davem@davemloft.net>
23342 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23343 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23344 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23345 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23352 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23353 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23369 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23370 fmin/fmax sysdep routines.
23371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23373 2012-03-14 David S. Miller <davem@davemloft.net>
23375 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23376 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23377 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23379 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23380 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23381 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23382 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23384 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23392 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23393 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23394 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23395 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23396 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23397 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23398 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23399 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23400 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23401 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23402 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23447 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23452 * sysdeps/sparc/configure.in: New file.
23453 * sysdeps/sparc/configure: Generate.
23454 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23455 * configure: Regenerate.
23456 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23457 * config.make.in (have-as-vis3): New.
23458 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23459 available use -Av9d instead of -Av9a.
23460 * sysdeps/sparc/sparc64/Makefile: Likewise.
23461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23470 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23471 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23472 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23473 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23474 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23476 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23477 fzeros/fnegs to load 0x80000000 into a float register instead of
23479 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23481 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23485 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23486 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23487 ($(inst_includedir)/bits/syscall.h): Remove rule.
23488 ($(objpfx)bits/syscall.d): Include instead of
23489 $(objpfx)syscall-list.d.
23490 (generated): Change syscall-list.h and syscall-list.d to
23491 bits/syscall.h and bits/syscall.d.
23493 2012-03-14 Roland McGrath <roland@hack.frob.com>
23496 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23498 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23501 * math/s_csqrt.c: Include <float.h>.
23502 (__csqrt): Scale large or subnormal inputs.
23503 * math/s_csqrtf.c: Likewise.
23504 * math/s_csqrtl.c: Likewise.
23505 * math/libm-test.inc (csqrt_test): Add more tests.
23506 * sysdeps/i386/fpu/libm-test-ulps: Update.
23507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23510 * math/libm-test.inc (hypot_test): Add more tests.
23512 2012-03-13 David S. Miller <davem@davemloft.net>
23515 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23516 double-precision for the calculation instead of scaling.
23518 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23520 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23521 manipulate bits before adding and subtracting TWO52[sx].
23522 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23523 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23525 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23527 2012-03-13 David S. Miller <davem@davemloft.net>
23529 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23530 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23532 rtld-global-offsets.h
23533 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23535 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23538 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23540 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23541 'err' in the ifdef scope in which it is actually used.
23543 * nss/nss_db/db-init.c: Include string.h
23545 2012-03-12 David S. Miller <davem@davemloft.net>
23547 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23548 masking out of the most significant byte of random value used.
23549 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23550 Fix coding style in previous change.
23552 * sysdeps/unix/sysv/linux/kernel-features.h
23553 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23554 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23556 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23559 2012-03-11 David S. Miller <davem@davemloft.net>
23561 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23562 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23563 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23564 for 'resultvar' otherwise things get truncated on 64-bit.
23566 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23567 Fix masking out of the most significant byte of random value used.
23569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23571 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23575 2012-03-09 David S. Miller <davem@davemloft.net>
23577 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23578 variables with appropriate CPP guards.
23579 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23580 frame pointer, not the stack pointer. Correct layout comments. Fix test
23581 on resulting framesize and the management of the outregs buffer for pltexit.
23582 Preserve floating point return values across _dl_call_pltexit call.
23583 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23584 framesize and the management of the outregs buffer for pltexit.
23585 Preserve floating point return values across _dl_call_pltexit
23587 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23588 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23589 (print_exit): Fix format string for return register value.
23591 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23593 * sunrpc/Makefile (others): Add rpcgen.
23594 ($(objpfx)rpcgen): Remove special build rule and dependency on
23596 * sunrpc/rpcgen.c: New file.
23598 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23601 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23602 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23603 * sysdeps/i386/crti.S: Likewise.
23604 * sysdeps/i386/crtn.S: Likewise.
23605 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23606 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23607 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23608 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23609 * sysdeps/sh/crti.S: Likewise.
23610 * sysdeps/sh/crtn.S: Likewise.
23611 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23614 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23616 * locale/programs/locfile-kw.gperf: Likewise.
23617 * locale/programs/charmap-kw.h: Regenerated.
23618 * locale/programs/locfile-kw.h: Likewise.
23621 * intl/plural.y: Replace FSF snail mail address with URL.
23622 * intl/plural.c: Regenerated.
23624 2012-03-09 Richard Henderson <rth@twiddle.net>
23626 * include/math_private.h: Remove file.
23627 * math/math_private.h: Move file ...
23628 * sysdeps/generic/math_private.h: ... here.
23630 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23631 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23632 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23634 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23635 and <math_private.h>.
23636 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23637 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23638 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23639 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23640 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23641 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23642 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23643 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23644 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23645 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23647 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23648 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23649 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23650 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23651 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23652 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23653 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23654 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23655 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23656 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23657 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23658 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23660 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23661 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23662 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23663 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23664 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23665 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23666 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23667 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23668 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23669 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23670 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23671 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23672 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23673 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23674 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23675 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23676 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23677 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23678 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23679 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23680 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23681 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23682 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23683 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23684 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23685 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23686 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23687 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23688 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23689 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23690 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23691 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23692 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23693 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23694 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23695 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23696 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23697 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23698 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23699 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23700 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23701 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23702 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23703 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23704 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23705 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23706 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23707 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23708 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23709 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23710 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23711 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23712 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23713 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23715 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23716 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23717 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23718 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23724 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23725 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23726 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23727 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23728 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23729 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23730 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23731 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23732 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23733 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23734 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23735 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23736 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23737 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23738 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23739 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23740 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23741 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23742 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23743 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23744 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23745 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23746 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23747 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23748 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23749 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23750 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23751 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23752 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23753 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23754 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23755 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23756 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23757 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23758 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23759 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23760 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23761 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23762 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23763 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23764 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23765 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23766 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23767 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23768 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23769 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23770 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23771 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23772 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23773 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23774 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23775 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23776 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23777 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23778 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23779 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23780 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23781 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23782 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23783 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23784 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23785 * sysdeps/ieee754/k_standard.c: Likewise.
23786 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23787 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23788 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23789 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23790 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23791 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23792 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23793 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23794 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23795 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23796 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23797 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23798 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23799 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23800 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23801 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23802 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23803 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23804 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23805 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23806 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23807 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23808 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23809 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23810 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23811 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23812 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23813 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23815 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23816 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23817 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23818 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23819 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23820 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23821 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23822 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23823 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23824 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23825 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23826 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23827 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23828 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23829 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23830 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23831 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23832 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23833 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23834 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23835 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23836 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23837 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23838 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23839 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23840 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23841 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23842 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23843 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23844 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23845 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23846 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23847 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23848 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23849 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23850 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23851 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23852 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23853 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23854 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23855 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23856 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23857 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23858 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23859 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23860 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23862 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23863 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23864 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23865 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23866 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23867 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23868 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23869 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23870 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23871 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23872 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23873 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23874 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23875 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23876 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23877 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23878 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23879 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23880 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23881 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23882 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23883 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23884 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23885 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23886 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23887 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23888 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23889 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23890 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23891 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23892 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23893 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23894 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23895 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23896 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23897 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23898 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23899 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23900 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23901 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23902 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23903 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23904 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23905 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23906 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23907 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23908 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23909 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23910 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23911 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23912 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23913 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23914 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23915 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23916 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23917 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23918 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23919 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23920 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23921 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23922 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23923 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23924 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23925 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23926 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23927 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23928 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23929 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23930 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23931 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23932 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23933 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23934 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23935 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23936 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23937 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23938 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23939 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23940 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23941 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23942 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23944 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23945 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23946 * sysdeps/ieee754/s_lib_version.c: Likewise.
23947 * sysdeps/ieee754/s_matherr.c: Likewise.
23948 * sysdeps/ieee754/s_signgam.c: Likewise.
23949 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23950 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23951 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23952 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23953 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23954 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23955 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23956 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23957 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23958 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23959 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23960 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23961 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23962 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23963 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23964 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23965 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23966 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23967 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23968 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23969 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23971 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23973 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23974 * sunrpc/rpc_main.c: Likewise.
23975 * sunrpc/rpc_svcout.c: Likewise.
23977 2012-03-09 David S. Miller <davem@davemloft.net>
23979 * include/math_private.h: New file.
23981 2012-03-09 Joseph Myers <joseph@codesourcery.com>
23983 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23984 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23985 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23986 from <bits/socket_type.h>.
23987 (enum __socket_type): Don't define here.
23988 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23989 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23990 bits/socket_type.h.
23993 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23994 checking __USE_GNU.
23996 * Makerules ($(inst_includedir)/%.h): New rule.
23997 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23998 (install-others): Remove variable setting.
23999 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24001 2012-03-08 Richard Henderson <rth@twiddle.net>
24003 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24004 from macro to inline function; merge with the
24005 !__LIBC_INTERNAL_MATH_INLINES version.
24006 (__ieee754_sqrtf): Likewise.
24008 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24009 to inline function.
24010 (__rintf, __floor, __floorf): Likewise.
24012 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24013 macro to inline function.
24014 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24016 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24017 not <math/math_private.h>.
24019 2012-03-08 David S. Miller <davem@davemloft.net>
24021 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24023 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24025 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24027 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24029 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24030 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24032 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24034 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24035 be defined individually, they must be defined as a block. Define
24036 S for printing a string instead of hidint the different by using a
24037 macro for adding the 'l'.
24038 * stdio-common/tst-fphex-wide.c: Adjust.
24040 2012-03-07 Marek Polacek <polacek@redhat.com>
24042 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24044 2012-03-08 Marek Polacek <polacek@redhat.com>
24047 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24048 * stdio-common/tst-fphex.c: Define a few macros to make the
24049 test reusable. Use them.
24050 * stdio-common/tst-fphex-wide.c: New file.
24052 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24055 * manual/macros.texi (gnusystems): New macro.
24056 (nongnusystems): Likewise.
24057 (gnulinuxhurdsystems): Likewise.
24058 (gnuhurdsystems): Likewise..
24059 (gnulinuxsystems): Likewise.
24060 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24061 variants of the GNU system, not "GNU system".
24062 * manual/conf.texi: Likewise.
24063 * manual/errno.texi: Likewise. Update example of errno macro
24065 * manual/filesys.texi: Likewise.
24066 (getumask): Document as specific to GNU/Hurd.
24067 * manual/install.texi: Likewise. Reword some references to
24069 * manual/intro.texi: Likewise.
24070 * manual/io.texi: Likewise.
24071 (File Name Portability): Detail which constraints are inapplicable
24072 to all GNU systems and which are only inapplicable to GNU/Hurd.
24073 * manual/job.texi: Likewise.
24074 * manual/llio.texi: Likewise.
24075 (O_NOCTTY): Document as present on GNU/Linux.
24076 * manual/maint.texi: Likewise.
24077 * manual/memory.texi: Likewise.
24078 * manual/pattern.texi: Likewise.
24079 * manual/pipe.texi: Likewise.
24080 * manual/process.texi: Likewise.
24081 * manual/resource.texi: Likewise.
24082 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24084 * manual/setjmp.texi: Likewise.
24085 * manual/signal.texi: Likewise.
24086 * manual/startup.texi: Likewise.
24087 * manual/stdio.texi: Likewise.
24088 * manual/terminal.texi: Likewise.
24089 (ONLCR): Document as POSIX.
24090 (OXTABS): Document availability on GNU/Linux as XTABS.
24091 (ONOEOT): Document availability separately from other bits.
24092 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24093 * manual/time.texi: Likewise.
24094 * manual/users.texi: Likewise.
24095 * INSTALL: Regenerated.
24096 * sysdeps/gnu/errlist.c: Regenerated.
24098 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24099 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24100 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24102 * configure: Regenerated.
24104 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24106 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24107 default includes instead of AC_HEADER_CHECK.
24108 * sysdeps/i386/configure: Regenerated.
24111 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24112 * math/s_cacoshf.c (__cacoshf): Likewise.
24113 * math/s_cacoshl.c (__cacoshl): Likewise.
24114 * math/s_casinh.c (__casinh): Set signs of result from argument.
24115 * math/s_casinhf.c (__casinhf): Likewise.
24116 * math/s_casinhl.c (__casinhl): Likewise.
24117 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24118 (casinh_test): Add more tests.
24119 * sysdeps/i386/fpu/libm-test-ulps: Update.
24120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24122 2012-03-07 Ulrich Drepper <drepper@gmail.com>
24124 * po/zh_TW.po: Update from translation team.
24126 * login/Makefile (distribute): Remove variable.
24127 * catgets/Makefile: Likewise.
24128 * mach/Makefile: Likewise.
24129 * malloc/Makefile: Likewise.
24130 * misc/Makefile: Likewise.
24131 * iconv/Makefile: Likewise.
24132 * nscd/Makefile: Likewise.
24133 * hurd/Makefile: Likewise.
24134 * manual/Makefile: Likewise.
24135 * locale/Makefile: Likewise.
24136 * intl/Makefile: Likewise.
24137 * conform/Makefile: Likewise.
24138 * nss/Makefile: Likewise.
24139 * time/Makefile: Likewise.
24140 * soft-fp/Makefile: Likewise.
24141 * dirent/Makefile: Likewise.
24142 * gmon/Makefile: Likewise.
24143 * po/Makefile: Likewise.
24144 * rt/Makefile: Likewise.
24145 * socket/Makefile: Likewise.
24146 * math/Makefile: Likewise.
24147 * signal/Makefile: Likewise.
24148 * debug/Makefile: Likewise.
24149 * elf/Makefile: Likewise.
24150 * timezone/Makefile: Likewise.
24151 * stdlib/Makefile: Likewise.
24152 * iconvdata/Makefile: Likewise.
24153 * sunrpc/Makefile: Likewise.
24154 * io/Makefile: Likewise.
24155 * argp/Makefile: Likewise.
24156 * inet/Makefile: Likewise.
24157 * hesiod/Makefile: Likewise.
24158 * grp/Makefile: Likewise.
24159 * csu/Makefile: Likewise.
24160 * wctype/Makefile: Likewise.
24161 * crypt/Makefile: Likewise.
24162 * libio/Makefile: Likewise.
24163 * string/Makefile: Likewise.
24164 * nis/Makefile: Likewise.
24165 * resolv/Makefile: Likewise.
24166 * stdio-common/Makefile: Likewise.
24167 * wcsmbs/Makefile: Likewise.
24168 * dlfcn/Makefile: Likewise.
24169 * posix/Makefile: Likewise.
24172 * timezone/Makefile: Don't install timezone files, just the programs
24175 2012-03-06 Ulrich Drepper <drepper@gmail.com>
24177 * nss/databases.def: Add missing gshadow entry.
24179 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24181 2012-03-06 Marek Polacek <polacek@redhat.com>
24184 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24185 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24186 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24187 * stdio-common/tst-long-dbl-fphex.c: New file.
24189 2012-03-06 David S. Miller <davem@davemloft.net>
24191 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24192 (set_obp_int): New function.
24193 (get_obp_int): New function.
24194 (__get_clockfreq_via_dev_openprom): Likewise.
24195 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24196 Avoid unused variable warnings on 'val' and use builtin_expect.
24197 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24199 (INLINE_CLONE_SYSCALL): Likewise.
24201 2012-03-05 David S. Miller <davem@davemloft.net>
24203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24205 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24209 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24210 only for |x| >= 40.
24211 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24213 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24215 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24216 Replace gettimeofday with __vdso_gettimeofday.
24218 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24219 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24220 __vdso_clock_gettime and __vdso_getcpu.
24222 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24223 time with __vdso_time.
24225 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24227 * manual/lang.texi (size_t): Note types to which size_t may be
24228 equivalent with the GNU C Library, but do not describe when
24229 differences between them are significant.
24231 2012-03-05 Andreas Jaeger <aj@suse.de>
24233 * sysdeps/i386/fpu/libm-test-ulps: Update.
24235 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24238 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24239 (__ieee754_pow): Save and restore rounding mode and use
24240 round-to-nearest for main computations.
24241 * math/libm-test.inc (pow_test_tonearest): New function.
24242 (pow_test_towardzero): Likewise.
24243 (pow_test_downward): Likewise.
24244 (pow_test_upward): Likewise.
24245 (main): Call the new functions.
24246 * sysdeps/i386/fpu/libm-test-ulps: Update.
24247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24250 * math/libm-test.inc (cosh_test_tonearest): New function.
24251 (cosh_test_towardzero): Likewise.
24252 (cosh_test_downward): Likewise.
24253 (cosh_test_upward): Likewise.
24254 (sinh_test_tonearest): Likewise.
24255 (sinh_test_towardzero): Likewise.
24256 (sinh_test_downward): Likewise.
24257 (sinh_test_upward): Likewise.
24258 (main): Call the new functions.
24259 * sysdeps/i386/fpu/libm-test-ulps: Update.
24260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24262 2012-03-05 Tom de Vries <tom@codesourcery.com>
24264 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24265 default stack guard is set in last bytes.
24266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24268 2012-03-05 Kees Cook <keescook@chromium.org>
24270 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24273 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24274 possibly allocate from heap instead of stack.
24275 * stdio-common/bug-vfprintf-nargs.c: New file.
24276 * stdio-common/Makefile (tests): Add nargs overflow test.
24278 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24282 2012-03-03 Marek Polacek <polacek@redhat.com>
24284 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24285 * math/math_private.h: Likewise.
24286 * stdlib/tst-strtod.c: Likewise.
24287 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24288 * sysdeps/x86_64/bits/atomic.h: Likewise.
24290 2012-03-02 David S. Miller <davem@davemloft.net>
24292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24296 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24297 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24298 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24299 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24301 2012-03-02 Roland McGrath <roland@hack.frob.com>
24304 * manual/examples/README: New file, says the example source files
24305 can be used under GPL>=2.
24306 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24307 line containing just "*/".
24308 * manual/examples/add.c: Add copyright header (GPL>=2).
24309 * manual/examples/argp-ex1.c: Likewise.
24310 * manual/examples/argp-ex2.c: Likewise.
24311 * manual/examples/argp-ex3.c: Likewise.
24312 * manual/examples/argp-ex4.c: Likewise.
24313 * manual/examples/atexit.c: Likewise.
24314 * manual/examples/db.c: Likewise.
24315 * manual/examples/dir.c: Likewise.
24316 * manual/examples/dir2.c: Likewise.
24317 * manual/examples/execinfo.c: Likewise.
24318 * manual/examples/filecli.c: Likewise.
24319 * manual/examples/filesrv.c: Likewise.
24320 * manual/examples/fmtmsgexpl.c: Likewise.
24321 * manual/examples/genpass.c: Likewise.
24322 * manual/examples/inetcli.c: Likewise.
24323 * manual/examples/inetsrv.c: Likewise.
24324 * manual/examples/isockad.c: Likewise.
24325 * manual/examples/longopt.c: Likewise.
24326 * manual/examples/memopen.c: Likewise.
24327 * manual/examples/memstrm.c: Likewise.
24328 * manual/examples/mkfsock.c: Likewise.
24329 * manual/examples/mkisock.c: Likewise.
24330 * manual/examples/mygetpass.c: Likewise.
24331 * manual/examples/pipe.c: Likewise.
24332 * manual/examples/popen.c: Likewise.
24333 * manual/examples/rprintf.c: Likewise.
24334 * manual/examples/search.c: Likewise.
24335 * manual/examples/select.c: Likewise.
24336 * manual/examples/setjmp.c: Likewise.
24337 * manual/examples/sigh1.c: Likewise.
24338 * manual/examples/sigusr.c: Likewise.
24339 * manual/examples/stpcpy.c: Likewise.
24340 * manual/examples/strdupa.c: Likewise.
24341 * manual/examples/strftim.c: Likewise.
24342 * manual/examples/strncat.c: Likewise.
24343 * manual/examples/subopt.c: Likewise.
24344 * manual/examples/swapcontext.c: Likewise.
24345 * manual/examples/termios.c: Likewise.
24346 * manual/examples/testopt.c: Likewise.
24347 * manual/examples/testpass.c: Likewise.
24348 * manual/examples/timeval_subtract.c: Likewise.
24351 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24353 * manual/timeval_subtract.c.texi: ... here, new file.
24355 2012-03-02 David S. Miller <davem@davemloft.net>
24357 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24359 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24362 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24363 (__sin): Save and restore rounding mode and use round-to-nearest
24364 for all computations.
24365 (__cos): Save and restore rounding mode and use round-to-nearest
24366 for all computations.
24367 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24369 (tan): Save and restore rounding mode and use round-to-nearest for
24371 * math/libm-test.inc (cos_test_tonearest): New function.
24372 (cos_test_towardzero): Likewise.
24373 (cos_test_downward): Likewise.
24374 (cos_test_upward): Likewise.
24375 (sin_test_tonearest): Likewise.
24376 (sin_test_towardzero): Likewise.
24377 (sin_test_downward): Likewise.
24378 (sin_test_upward): Likewise.
24379 (tan_test_tonearest): Likewise.
24380 (tan_test_towardzero): Likewise.
24381 (tan_test_downward): Likewise.
24382 (tan_test_upward): Likewise.
24383 (main): Call the new functions.
24384 * sysdeps/i386/fpu/libm-test-ulps: Update.
24385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24388 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24389 small n, then large n, before computing and testing k+n.
24390 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24391 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24393 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24395 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24396 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24397 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24398 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24399 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24400 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24401 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24402 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24403 * math/libm-test.inc (scalbn_test): Add more tests.
24404 (scalbln_test): Likewise.
24406 * manual/filesys.texi (mode_t): Describe constraints on size and
24407 signedness, not exact equivalence to a particular type.
24409 (ino64_t): Likewise.
24411 (nlink_t): Likewise.
24412 (blkcnt_t): Likewise.
24413 (blkcnt64_t): Likewise.
24414 * manual/llio.texi (off_t): Likewise.
24417 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24418 (__ieee754_exp): Save and restore rounding mode and use
24419 round-to-nearest for all computations.
24420 * math/libm-test.inc (exp_test_tonearest): New function.
24421 (exp_test_towardzero): Likewise.
24422 (exp_test_downward): Likewise.
24423 (exp_test_upward): Likewise.
24424 (main): Call the new functions.
24425 * sysdeps/i386/fpu/libm-test-ulps: Update.
24426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24428 2012-03-01 Chris Demetriou <cgd@google.com>
24430 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24431 have predictable order.
24433 2012-03-01 David S. Miller <davem@davemloft.net>
24435 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24437 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24438 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24439 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24440 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24442 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24443 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24444 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24446 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24447 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24448 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24449 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24450 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24454 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24455 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24456 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24458 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24459 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24460 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24461 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24462 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24463 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24464 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24465 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24466 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24467 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24468 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24469 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24470 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24471 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24472 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24473 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24474 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24475 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24476 * sysdeps/sparc/elf/configure: Regenerated.
24478 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24480 * configure.in (AS, LD): Require binutils 2.20 or later.
24481 * configure: Regenerated.
24482 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24483 as required minimum version.
24484 * INSTALL: Regenerated.
24488 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24489 before squaring exponent.
24490 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24491 bottom long double and 27 bits of top long double before squaring
24493 * math/libm-test.inc (erfc_test): Add more tests.
24494 * sysdeps/i386/fpu/libm-test-ulps: Update.
24495 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24498 2012-03-01 Kai Tietz <ktietz@redhat.com>
24500 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24501 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24502 containing bit-fields.
24503 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24504 * soft-fp/single.h (_FP_UNION_S): Likewise.
24505 * soft-fp/double.h (_FP_UNION_D): Likewise.
24507 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24510 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24511 not include ../strcmp.S.
24512 [USE_AS_STRNCASECMP_L]: Likewise.
24513 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24514 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24515 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24516 (__strncasecmp_l_ia32): Define as alias to
24517 __strncasecmp_l_nonascii.
24520 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24521 * sysdeps/i386/fpu/libm-test-ulps: Update.
24522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24524 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24527 2012-02-29 Jeff Law <law@redhat.com>
24529 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24530 out of bounds read.
24532 2012-02-29 Marek Polacek <polacek@redhat.com>
24535 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24536 * elf/Makefile: Add rules to run tst-unused-dep.out.
24538 2012-02-28 David S. Miller <davem@davemloft.net>
24540 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24541 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24542 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24543 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24544 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24545 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24547 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24549 * math/libm-test.inc (llround_test): Move one test from
24550 lround_test. Use TEST_f_L in moved test.
24551 (lround_test): Move misplaced test to llround_test. Add testcase
24554 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24556 * sysdeps/x86_64/fpu/e_expf.S: New file.
24557 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24559 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24562 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24563 of remain_len that may cause incomplete multi-byte character and
24565 * posix/bug-regex33.c: New file.
24566 * posix/Makefile (tests): Add bug-regex33.
24568 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24570 * manual/macros.texi: New file.
24571 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24572 * manual/libc.texinfo: Include macros.texi.
24573 * manual/creatute.texi: Likewise.
24574 * manual/install.texi: Likewise.
24575 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24576 @glibcadj{} in references to the GNU C Library.
24577 * manual/charset.texi: Likewise.
24578 * manual/conf.texi: Likewise.
24579 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24580 when not using those macros.
24581 * manual/creature.texi: Likewise.
24582 * manual/crypt.texi: Likewise.
24583 * manual/errno.texi: Likewise.
24584 * manual/filesys.texi: Likewise.
24585 * manual/header.texi: Likewise.
24586 * manual/install.texi: Likewise.
24587 * manual/intro.texi: Likewise.
24588 * manual/io.texi: Likewise.
24589 * manual/job.texi: Likewise.
24590 * manual/lang.texi: Likewise.
24591 * manual/libc.texiinfo: Likewise.
24592 * manual/llio.texi: Likewise.
24593 * manual/locale.texi: Likewise.
24594 * manual/maint.texi: Likewise.
24595 * manual/math.texi: Likewise.
24596 * manual/memory.texi: Likewise.
24597 * manual/message.texi: Likewise.
24598 * manual/nss.texi: Likewise.
24599 * manual/pattern.texi: Likewise.
24600 * manual/process.texi: Likewise.
24601 * manual/resource.texi: Likewise.
24602 * manual/search.texi: Likewise.
24603 * manual/setjmp.texi: Likewise.
24604 * manual/signal.texi: Likewise.
24605 * manual/socket.texi: Likewise.
24606 * manual/startup.texi: Likewise.
24607 * manual/stdio.texi: Likewise.
24608 * manual/string.texi: Likewise.
24609 * manual/sysinfo.texi: Likewise.
24610 * manual/syslog.texi: Likewise.
24611 * manual/terminal.texi: Likewise.
24612 * manual/time.texi: Likewise.
24613 * manual/users.texi: Likewise.
24614 * INSTALL: Regenerated.
24615 * NOTES: Regenerated.
24616 * sysdeps/gnu/errlist.c: Regenerated.
24618 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24620 * include/dirent.h: Include <dirstream.h> before
24623 2012-02-28 David S. Miller <davem@davemloft.net>
24625 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24626 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24627 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24628 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24630 2012-02-27 David S. Miller <davem@davemloft.net>
24632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24634 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24635 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24638 frame pointer instead of stack pointer relative arg slot.
24639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24640 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24641 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24643 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24646 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24648 2012-02-27 David S. Miller <davem@davemloft.net>
24650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24654 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24655 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24656 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24657 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24659 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24661 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24662 later. Allow versions 5-9.
24663 * configure: Regenerated.
24664 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24665 required minimum version and 4.6 as recommended version. Do not
24666 mention bugs in GCC 2.7 and 2.8.
24667 * INSTALL: Regenerated.
24669 2012-02-27 David S. Miller <davem@davemloft.net>
24671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24675 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24676 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24677 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24678 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24680 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24681 manipulate bits before adding and subtracting TWO112[sx].
24682 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24684 2012-02-27 Roland McGrath <roland@hack.frob.com>
24687 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24688 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24689 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24690 being in POSIX, because they are in 1003.1-2008.
24692 * rt/tst-aio.c: Include <fcntl.h>.
24693 * rt/tst-aio7.c: Likewise.
24694 * rt/tst-aio64.c: Likewise.
24696 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24698 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24700 * manual/install.texi (--with-headers): Describe headers as
24701 interface headers, not private headers.
24702 (Specific advice for GNU/Linux systems): Describe use of headers
24703 from "make headers_install", not private headers from older
24705 * INSTALL: Regenerated.
24706 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24708 * sysdeps/unix/sysv/linux/configure: Regenerated.
24710 * manual/llio.texi (fclean): Remove documentation.
24712 * manual/Makefile (libc-texi-generated): New variable. Include
24714 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24715 $(libc-texi-generated), not duplicated list of files.
24716 (version.texi, stamp-version): New rules.
24717 (realclean): Remove $(libc-texi-generated), not individual files
24718 from that list. Do not remove dir-add.texinfo.
24719 * manual/libc.texinfo: Comment out uses of edition numbers and
24720 references to printed manual. Remove last-updated dates.
24721 (EDITION): Comment out.
24723 (VERSION, UPDATED): Remove.
24724 (version.texi): Include.
24726 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24728 * sysdeps/posix/spawni.c: Include <signal.h>.
24729 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24730 * sysdeps/pthread/aio_fsync.c: Likewise.
24732 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24734 * conform/Makefile (tests): Run only when not cross-compiling and
24735 when fast-check is not defined.
24737 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24738 * conform/data/limits.h-data: Fixes for POSIX2008.
24739 * conform/run-conformtest.sh: Run all tests.
24740 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24742 * include/bits/dlfcn.h: Likewise.
24743 * include/langinfo.h: Likewise.
24744 * include/monetary.h: Likewise.
24745 * include/sys/poll.h: Likewise.
24747 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24749 * posix/spawn.h: Define __need_sigset_t.
24750 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24751 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24752 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24753 to get sigevent_t only.
24754 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24755 only for __USE_GNU.
24756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24757 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24758 process_vm_writev only for __USE_GNU.
24759 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24761 * conform/Makefile: For now ignore errors from run-conformtest.
24762 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24763 POSIX to avoid namespace pollution. Don't prepend headers.
24764 * conform/data/aio.h-data: Fixes for POSIX testing.
24765 * conform/data/fcntl.h-data: Likewise.
24766 * conform/data/glob.h-data: Likewise.
24767 * conform/data/grp.h-data: Likewise.
24768 * conform/data/pthread.h-data: Likewise.
24769 * conform/data/pwd.h-data: Likewise.
24770 * conform/data/signal.h-data: Likewise.
24771 * conform/data/spawn.h-data: Likewise.
24772 * conform/data/stdio.h-data: Likewise.
24773 * conform/data/stdlib.h-data: Likewise.
24774 * conform/data/stropts.h-data: Likewise.
24775 * conform/data/sys/mman.h-data: Likewise.
24776 * conform/data/sys/stat.h-data: Likewise.
24777 * conform/data/sys/types.h-data: Likewise.
24778 * conform/data/sys/wait.h-data: Likewise.
24779 * conform/data/time.h-data: Likewise.
24780 * conform/data/unistd.h-data: Likewise.
24781 * conform/data/utime.h-data: Likewise.
24783 * io/sys/stat.h: fchmod was always in POSIX.
24784 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24785 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24786 * rt/aio.h: Define __need_timespec before including <time.h>.
24787 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24788 struct. Add forward declaration of pthread_attr_t and use it in
24790 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24791 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24792 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24793 always remove CLK_TCK definition.
24795 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24797 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24799 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24801 * conform/run-conformtest.sh: New file.
24802 * conform/Makefile: Run run-conformtest for tests.
24803 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24806 * conform/data/uchar.h-data: New file.
24807 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24808 * conform/data/arpa/inet.h-data: Likewise.
24809 * conform/data/assert.h-data: Likewise.
24810 * conform/data/complex.h-data: Likewise.
24811 * conform/data/cpio.h-data: Likewise.
24812 * conform/data/ctype.h-data: Likewise.
24813 * conform/data/dirent.h-data: Likewise.
24814 * conform/data/dlfcn.h-data: Likewise.
24815 * conform/data/errno.h-data: Likewise.
24816 * conform/data/fcntl.h-data: Likewise.
24817 * conform/data/float.h-data: Likewise.
24818 * conform/data/fmtmsg.h-data: Likewise.
24819 * conform/data/fnmatch.h-data: Likewise.
24820 * conform/data/ftw.h-data: Likewise.
24821 * conform/data/glob.h-data: Likewise.
24822 * conform/data/grp.h-data: Likewise.
24823 * conform/data/iconv.h-data: Likewise.
24824 * conform/data/inttypes.h-data: Likewise.
24825 * conform/data/langinfo.h-data: Likewise.
24826 * conform/data/libgen.h-data: Likewise.
24827 * conform/data/limits.h-data: Likewise.
24828 * conform/data/locale.h-data: Likewise.
24829 * conform/data/math.h-data: Likewise.
24830 * conform/data/monetary.h-data: Likewise.
24831 * conform/data/mqueue.h-data: Likewise.
24832 * conform/data/ndbm.h-data: Likewise.
24833 * conform/data/net/if.h-data: Likewise.
24834 * conform/data/netdb.h-data: Likewise.
24835 * conform/data/netinet/in.h-data: Likewise.
24836 * conform/data/nl_types.h-data: Likewise.
24837 * conform/data/poll.h-data: Likewise.
24838 * conform/data/pthread.h-data: Likewise.
24839 * conform/data/pwd.h-data: Likewise.
24840 * conform/data/regex.h-data: Likewise.
24841 * conform/data/sched.h-data: Likewise.
24842 * conform/data/search.h-data: Likewise.
24843 * conform/data/semaphore.h-data: Likewise.
24844 * conform/data/setjmp.h-data: Likewise.
24845 * conform/data/signal.h-data: Likewise.
24846 * conform/data/spawn.h-data: Likewise.
24847 * conform/data/stdarg.h-data: Likewise.
24848 * conform/data/stdio.h-data: Likewise.
24849 * conform/data/stdlib.h-data: Likewise.
24850 * conform/data/string.h-data: Likewise.
24851 * conform/data/strings.h-data: Likewise.
24852 * conform/data/stropts.h-data: Likewise.
24853 * conform/data/sys/ipc.h-data: Likewise.
24854 * conform/data/sys/mman.h-data: Likewise.
24855 * conform/data/sys/msg.h-data: Likewise.
24856 * conform/data/sys/resource.h-data: Likewise.
24857 * conform/data/sys/select.h-data: Likewise.
24858 * conform/data/sys/sem.h-data: Likewise.
24859 * conform/data/sys/shm.h-data: Likewise.
24860 * conform/data/sys/socket.h-data: Likewise.
24861 * conform/data/sys/stat.h-data: Likewise.
24862 * conform/data/sys/statvfs.h-data: Likewise.
24863 * conform/data/sys/time.h-data: Likewise.
24864 * conform/data/sys/timeb.h-data: Likewise.
24865 * conform/data/sys/times.h-data: Likewise.
24866 * conform/data/sys/types.h-data: Likewise.
24867 * conform/data/sys/uio.h-data: Likewise.
24868 * conform/data/sys/un.h-data: Likewise.
24869 * conform/data/sys/utsname.h-data: Likewise.
24870 * conform/data/sys/wait.h-data: Likewise.
24871 * conform/data/syslog.h-data: Likewise.
24872 * conform/data/tar.h-data: Likewise.
24873 * conform/data/termios.h-data: Likewise.
24874 * conform/data/utime.h-data: Likewise.
24875 * conform/data/utmpx.h-data: Likewise.
24876 * conform/data/varargs.h-data: Likewise.
24877 * conform/data/wchar.h-data: Likewise.
24878 * conform/data/wctype.h-data: Likewise.
24879 * conform/data/wordexp.h-data: Likewise.
24881 * include/stropts.h: New file.
24882 * include/uchar.h: New file.
24883 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24884 * include/assert.h: Likewise.
24885 * include/ctype.h: Likewise.
24886 * include/dirent.h: Likewise.
24887 * include/dlfcn.h: Likewise.
24888 * include/fcntl.h: Likewise.
24889 * include/fnmatch.h: Likewise.
24890 * include/glob.h: Likewise.
24891 * include/grp.h: Likewise.
24892 * include/libio.h: Likewise.
24893 * include/locale.h: Likewise.
24894 * include/math.h: Likewise.
24895 * include/net/if.h: Likewise.
24896 * include/netdb.h: Likewise.
24897 * include/netinet/in.h: Likewise.
24898 * include/pthread.h: Likewise.
24899 * include/pwd.h: Likewise.
24900 * include/regex.h: Likewise.
24901 * include/sched.h: Likewise.
24902 * include/search.h: Likewise.
24903 * include/setjmp.h: Likewise.
24904 * include/signal.h: Likewise.
24905 * include/stdio.h: Likewise.
24906 * include/stdlib.h: Likewise.
24907 * include/string.h: Likewise.
24908 * include/sys/cdefs.h: Likewise.
24909 * include/sys/mman.h: Likewise.
24910 * include/sys/msg.h: Likewise.
24911 * include/sys/resource.h: Likewise.
24912 * include/sys/select.h: Likewise.
24913 * include/sys/socket.h: Likewise.
24914 * include/sys/stat.h: Likewise.
24915 * include/sys/statvfs.h: Likewise.
24916 * include/sys/time.h: Likewise.
24917 * include/sys/times.h: Likewise.
24918 * include/sys/uio.h: Likewise.
24919 * include/sys/utsname.h: Likewise.
24920 * include/sys/wait.h: Likewise.
24921 * include/termios.h: Likewise.
24922 * include/time.h: Likewise.
24923 * include/ulimit.h: Likewise.
24924 * include/unistd.h: Likewise.
24925 * include/utime.h: Likewise.
24926 * include/wchar.h: Likewise.
24927 * include/wctype.h: Likewise.
24928 * include/wordexp.h: Likewise.
24930 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24932 * time/time.h: TIME_UTC must be a macro.
24933 Make timespec_get available for ISO C11 only as well.
24935 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24937 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24938 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24940 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24942 * configure.in: Use -o not -a in test for unsupported multi-arch.
24944 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24946 * manual/texinfo.tex: Update to version 2012-01-19.16.
24948 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24950 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24952 2012-02-24 Roland McGrath <roland@hack.frob.com>
24955 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24956 * manual/fdl-1.3.texi: New file.
24957 * manual/fdl-1.1.texi: File removed.
24960 * manual/libc.texinfo (FDL_VERSION): New @set.
24961 Use it for mention of FDL in cover text.
24962 (Documentation License): Use it in @include file name.
24964 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24965 Roland McGrath <roland@hack.frob.com>
24968 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24969 not LONG_LONG_MAX and LONG_LONG_MIN.
24970 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24971 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24973 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24975 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24979 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24980 manipulate bits before adding and subtracting TWO23[sx].
24981 * math/libm-test.inc (nearbyint_test): Add more tests.
24983 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24986 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24987 bits before adding and subtracting TWO23[sx].
24988 * math/libm-test.inc (rint_test): Add more tests.
24989 (rint_test_tonearest): Likewise.
24990 (rint_test_towardzero): Likewise.
24991 (rint_test_downward): Likewise.
24992 (rint_test_upward: Likewise.
24994 2012-02-22 Joseph Myers <joseph@codesourcery.com>
24997 * include/stdc-predef.h: New file. Extracted from features.h.
24998 * include/features.h: Include stdc-predef.h.
24999 * Makefile (headers): Add stdc-predef.h.
25000 * CONFORMANCE (Compiler limitations): Update.
25002 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25004 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25006 2012-02-21 David S. Miller <davem@davemloft.net>
25008 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25009 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25011 2012-02-20 David S. Miller <davem@davemloft.net>
25013 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25014 using a normal save/restore sequence, rather than allocating a
25015 dummy stack frame just to store a frame pointer and restore.
25016 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25018 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25020 * manual/install.texi: Fix stray word in line-wrapped comment.
25022 2012-02-20 David S. Miller <davem@davemloft.net>
25024 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25025 both binutils and gcc support GOTDATA.
25027 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25028 "rd %pc" in the PIC register setup sequences.
25030 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25031 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25032 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25033 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25034 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25035 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25036 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25037 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25039 (SYSCALL_ERROR_HANDLER): Likewise.
25040 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25041 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25042 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25043 (SYSCALL_ERROR_HANDLER): Likewise.
25045 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25046 (HAVE_GCC_GOTDATA): New.
25047 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25048 relocation support in both binutils and gcc.
25049 * sysdeps/sparc/elf/configure: Regenerate.
25051 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25052 * sysdeps/sparc/sparc32/elf/configure: Delete.
25053 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25054 * sysdeps/sparc/sparc64/elf/configure: Delete.
25055 * sysdeps/sparc/elf/configure.in: New file.
25056 * sysdeps/sparc/elf/configure: Generate.
25058 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25059 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25060 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25061 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25062 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25064 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25066 * manual/install.texi: Do not mention specific glibc version
25068 * manual/libc.texinfo (VERSION, UPDATED): Update.
25069 (@copying): Use @copyright{} and range of years.
25071 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25074 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25075 [crti.S not in sysdirs] (generated): Do not append.
25076 [crti.S not in sysdirs] (omit-deps): Likewise.
25077 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25078 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25079 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25080 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25081 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25083 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25084 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25085 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25086 * csu/defs.awk: Remove file.
25087 * sysdeps/generic/initfini.c: Likewise.
25088 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25090 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25093 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25095 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25096 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25097 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25098 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25099 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25100 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25102 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25103 (__EPOLL_PACKED): Define to empty if not defined by
25105 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25106 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25109 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25111 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25112 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25113 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25114 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25116 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25120 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25122 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25124 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25125 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25126 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25129 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25131 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25132 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25134 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25136 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25137 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25139 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25141 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25144 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25146 * math/w_acos.c: Use non-signaling floating-point comparisons.
25147 * math/w_acosf.c: Likewise.
25148 * math/w_acosh.c: Likewise.
25149 * math/w_acoshf.c: Likewise.
25150 * math/w_acoshl.c: Likewise.
25151 * math/w_acosl.c: Likewise.
25152 * math/w_asin.c: Likewise.
25153 * math/w_asinf.c: Likewise.
25154 * math/w_asinl.c: Likewise.
25155 * math/w_atanh.c: Likewise.
25156 * math/w_atanhf.c: Likewise.
25157 * math/w_atanhl.c: Likewise.
25158 * math/w_exp2.c: Likewise.
25159 * math/w_exp2f.c: Likewise.
25160 * math/w_exp2l.c: Likewise.
25161 * math/w_j0.c: Likewise.
25162 * math/w_j0f.c: Likewise.
25163 * math/w_j0l.c: Likewise.
25164 * math/w_j1.c: Likewise.
25165 * math/w_j1f.c: Likewise.
25166 * math/w_j1l.c: Likewise.
25167 * math/w_jn.c: Likewise.
25168 * math/w_jnf.c: Likewise.
25169 * math/w_log.c: Likewise.
25170 * math/w_log10.c: Likewise.
25171 * math/w_log10f.c: Likewise.
25172 * math/w_log10l.c: Likewise.
25173 * math/w_log2.c: Likewise.
25174 * math/w_log2f.c: Likewise.
25175 * math/w_log2l.c: Likewise.
25176 * math/w_logf.c: Likewise.
25177 * math/w_logl.c: Likewise.
25178 * math/w_sqrt.c: Likewise.
25179 * math/w_sqrtf.c: Likewise.
25180 * math/w_sqrtl.c: Likewise.
25181 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25182 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25183 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25184 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25185 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25187 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25190 * manual/string.texi (strnlen): Use correct parameter name in
25191 equivalent expression.
25193 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25196 * manual/users.texi (seteuid): Consistently use neweuid for
25199 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25202 * manual/nss.texi (Services in the NSS configuration): Correct
25203 list of services in example configuration file.
25205 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25208 * manual/arith.texi: Remove statements about negative zero
25209 behaving identically to zero.
25211 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25214 * manual/install.texi: Do not document upgrading from libc5.
25216 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25219 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25221 2012-02-18 David S. Miller <davem@davemloft.net>
25223 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25224 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25225 %o7 across the call.
25226 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25229 SETUP_PIC_REG_LEAF.
25230 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25231 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25232 * sysdeps/sparc/crtn.S: Likewise.
25234 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25236 * aout/Makefile: Remove.
25238 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25241 * manual/examples/argp-ex1.c (main): Format definition in GNU
25243 * manual/examples/argp-ex2.c (main): Likewise.
25244 * manual/examples/argp-ex3.c (main): Likewise.
25245 * manual/examples/argp-ex4.c (main): Likewise.
25246 * manual/examples/longopt.c (main): Use new-style prototype
25248 * manual/examples/strncat.c (main): Specify return type and use
25249 (void) for arguments.
25250 * manual/examples/subopt.c (main): Use char **argv argument.
25252 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25255 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25258 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25261 * manual/string.texi (strchr): Change when strchrnul is
25264 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25267 * manual/locale.texi (setlocale): Document LOCPATH.
25269 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25272 * manual/process.texi (execle): Move @dots{} before last argument.
25274 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25277 * manual/charset.texi (Generic Charset Conversion): Fix typo
25278 (LC_TYPE -> LC_CTYPE).
25280 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25283 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25284 (scalbnf): Likewise.
25285 (scalbnl): Likewise.
25286 (scalbln): Likewise.
25287 (scalblnf): Likewise.
25288 (scalblnl): Likewise.
25289 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25290 (vwarnx): Likewise.
25293 * manual/filesys.texi (telldir): Use braces around return type.
25294 * manual/llio.texi (mmap): Add space after comma.
25295 (mmap64): Likewise.
25296 * manual/math.texi (jn): Use @var{} on parameter names.
25302 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25304 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25306 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25307 (sched_get_priority_max): Likewise.
25308 * manual/signal.texi (sigvec): Add space after comma.
25309 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25311 (if_indextoname): Likewise.
25312 (if_freenameindex): Likewise.
25313 (sendto): Use ',' instead of '.' in prototype.
25314 * manual/startup.texi (syscall): Use @dots{} instead of literal
25316 * manual/stdio.texi (__fpending): Separate initial words of
25317 paragraph from @deftypefun line.
25318 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25320 (vsyslog): Use @var{} on parameter names.
25321 * manual/terminal.texi (stty): Use @var{} on parameter names.
25322 * manual/users.texi (getutmp): Use @var{} on parameter names.
25323 (getutmpx): Likewise.
25325 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25328 * manual/stdio.texi (fopen): Fix typos in description of
25331 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25334 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25335 get clock_id definition.
25337 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25340 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25341 (madvise): Cast every argument to void on its own.
25343 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25346 * manual/startup.texi (Exit Status): Fix typo.
25348 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25351 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25352 * manual/examples/argp-ex2.c: Likewise.
25353 * manual/examples/argp-ex3.c: Likewise.
25355 2012-02-16 Richard Henderson <rth@redhat.com>
25357 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25358 * sysdeps/s390/s390-32/initfini.c: Remove.
25359 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25360 * sysdeps/s390/s390-64/initfini.c: Remove.
25362 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25364 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25365 compiler output for sysdeps/generic/initfini.c.
25366 * sysdeps/sh/elf/initfini.c: Remove file.
25368 2012-02-16 David S. Miller <davem@davemloft.net>
25371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25373 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25374 * sysdeps/sparc/crti.S: New file.
25375 * sysdeps/sparc/crtn.S: New file.
25376 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25377 * sysdeps/sparc/sparc64/Makefile: Likewise.
25379 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25382 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25384 2012-02-15 Roland McGrath <roland@hack.frob.com>
25387 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25389 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25390 (write, read, close): Likewise.
25391 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25393 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25395 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25396 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25397 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25398 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25400 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25404 2012-02-14 Marek Polacek <polacek@redhat.com>
25406 * sysdeps/x86_64/crti.S: New file.
25407 * sysdeps/x86_64/crtn.S: New file.
25408 * sysdeps/x86_64/elf/initfini.c: Remove file.
25410 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25412 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25413 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25414 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25415 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25417 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25421 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25423 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25424 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25425 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25426 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25428 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25432 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25434 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25435 __feraiseexcept instead of feraiseexcept.
25437 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25438 nanosleep invocations.
25439 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25440 strings, and add error checking for a nanosleep invocations.
25442 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25444 Replace FSF snail mail address with URLs, as per GNU coding standards.
25445 Most of the snail mail addresses were wrong anyway, and omitting
25446 them makes the source code easier to maintain. Almost all of the
25447 changes are to license notices and to locale LC_IDENTIFICATION
25448 addresses, except for this one:
25449 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25450 not its snail mail address.
25452 2012-02-09 Richard Henderson <rth@twiddle.net>
25454 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25455 of kernel-features.h.
25457 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25459 2012-02-08 Marek Polacek <polacek@redhat.com>
25461 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25462 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25463 * sysdeps/gnu/_G_config.h: Likewise.
25464 * sysdeps/generic/_G_config.h: Likewise.
25466 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25468 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25472 * sysdeps/powerpc/powerpc32/crti.S: New file.
25473 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25474 * sysdeps/powerpc/powerpc64/crti.S: New file.
25475 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25477 * Makeconfig (have-initfini): Don't set.
25478 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25479 * configure.in (nopic_initfini): Don't substitute.
25480 * config.h.in (HAVE_INITFINI): Don't #undef.
25481 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25482 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25484 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25486 Support crti.S and crtn.S provided directly by architectures.
25487 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25488 [crti.S in sysdirs] (omit-deps): Likewise.
25489 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25490 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25491 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25492 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25493 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25494 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25495 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25496 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25497 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25498 compiler output for sysdeps/generic/initfini.c.
25499 * sysdeps/i386/elf/Makefile: Remove file.
25500 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25502 2012-02-07 Marek Polacek <polacek@redhat.com>
25504 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25505 * sysdeps/gnu/_G_config.h: Likewise.
25506 * sysdeps/mach/hurd/_G_config.h: Likewise.
25508 2012-02-07 Marek Polacek <polacek@redhat.com>
25510 * math/Makefile (tests): Add tst-CMPLX2.
25511 * math/tst-CMPLX2.c: New file.
25513 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25515 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25517 * math/libm-test.inc (jn_test): Add missing L suffix.
25519 2012-02-06 Marek Polacek <polacek@redhat.com>
25521 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25522 * sysdeps/i386/fpu/e_powf.S: Likewise.
25523 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25524 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25525 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25526 * sysdeps/i386/fpu/e_pow.S: Likewise.
25527 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25528 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25529 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25530 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25531 * sysdeps/i386/fpu/e_log2.S: Likewise.
25532 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25533 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25534 * sysdeps/i386/fpu/e_powl.S: Likewise.
25535 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25536 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25537 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25538 * sysdeps/i386/fpu/e_logl.S: Likewise.
25539 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25540 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25541 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25542 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25543 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25544 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25545 * sysdeps/i386/fpu/e_log.S: Likewise.
25546 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25547 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25548 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25549 * sysdeps/i386/fpu/e_logf.S: Likewise.
25550 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25551 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25552 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25553 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25554 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25555 * sysdeps/i386/fpu/e_log10.S: Likewise.
25556 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25557 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25558 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25559 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25560 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25561 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25562 * sysdeps/i386/asm-syntax.h: Likewise.
25563 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25564 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25565 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25566 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25567 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25568 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25569 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25570 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25571 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25572 * sysdeps/powerpc/sysdep.h: Likewise.
25573 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25574 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25576 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25579 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25581 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25583 * sysdeps/i386/sysdep.h: Include <features.h>.
25584 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25587 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25589 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25591 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25594 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25596 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25597 (SETUP_PIC_REG): Use GET_PC_THUNK.
25598 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25601 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25603 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25604 for non-PIC compilation.
25605 (SETUP_PIC_REG): Add .p2align directive.
25606 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25607 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25608 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25609 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25610 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25611 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25612 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25613 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25614 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25615 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25616 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25617 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25618 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25619 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25620 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25621 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25622 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25623 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25624 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25625 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25626 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25627 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25628 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25629 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25630 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25632 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25633 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25634 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25635 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25636 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25637 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25638 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25639 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25640 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25641 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25642 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25643 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25644 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25645 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25646 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25648 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25650 * math/tst-CMPLX.c: Include <stdio.h>.
25652 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25654 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25656 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25657 * sysdeps/sparc/bits/mathdef.h: Likewise.
25659 2012-01-31 Marek Polacek <polacek@redhat.com>
25661 * libio/libio.h: Don't define _PARAMS.
25662 * locale/programs/config.h: Don't define PARAMS.
25663 * stdlib/strtol_l.c: Likewise.
25664 (__strtol_l): Remove PARAMS from the prototype.
25666 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25668 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25669 names. Just use the correct names. Remove unnecessary wrapper
25671 * malloc/arena.c: Likewise.
25672 * malloc/hooks.c: Likewise.
25674 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25675 ARENA_TEST says not to. Simplify test for creation of a new arena.
25676 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25678 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25680 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25682 (update_get_addr): New function.
25683 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25684 GET_ADDR_MODULE parameter.
25686 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25688 * crypt/cert.c: Remove __STDC__ conditionals.
25689 * crypt/crypt-entry.c: Likewise.
25690 * crypt/crypt_util.c: Likewise.
25691 * libio/filedoalloc.c: Likewise.
25692 * libio/fileops.c: Likewise.
25693 * libio/genops.c: Likewise.
25694 * libio/iofclose.c: Likewise.
25695 * libio/iofdopen.c: Likewise.
25696 * libio/iofopen.c: Likewise.
25697 * libio/iofopen64.c: Likewise.
25698 * libio/iogetdelim.c: Likewise.
25699 * libio/iopopen.c: Likewise.
25700 * libio/obprintf.c: Likewise.
25701 * libio/oldfileops.c: Likewise.
25702 * libio/oldiofclose.c: Likewise.
25703 * libio/oldiofdopen.c: Likewise.
25704 * libio/oldiofopen.c: Likewise.
25705 * libio/oldiopopen.c: Likewise.
25706 * libio/wfiledoalloc.c: Likewise.
25707 * libio/wgenops.c: Likewise.
25708 * locale/programs/xmalloc.c: Likewise.
25709 * misc/syslog.c: Likewise.
25710 * stdio-common/xbug.c: Likewise.
25711 * string/memchr.c: Likewise.
25712 * string/memcmp.c: Likewise.
25713 * string/memrchr.c: Likewise.
25714 * string/rawmemchr.c: Likewise.
25715 * sysdeps/posix/getcwd.c: Likewise.
25716 * time/strftime_l.c: Likewise.
25718 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25720 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25721 * config.make.in (config-cflags-sse2avx): Define.
25722 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25725 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25727 * scripts/config.guess: Update from upstream config git repository.
25728 * scripts/config.sub: Likewise.
25730 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25732 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25734 (R_TILEPRO_*, R_TILEGX_*): New macros.
25736 * scripts/firstversions.awk: Fix bug in version range handling.
25738 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25740 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25742 * include/sys/epoll.h: New file.
25743 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25746 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25748 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25749 Avoid unnecessary __WORDSIZE == 64 test.
25750 (fmaxf): Use VEX format if possible.
25755 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25756 * math/math_private.h: Remove libc_fegetround* and
25758 * sysdeps/i386/configure.in: Check for -msse2avx.
25759 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25760 also if SSE2AVX is defined.
25761 Remove libc_fegetround* and libc_fesetround*.
25762 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25763 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25764 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25766 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25767 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25768 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25769 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25770 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25772 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25774 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25776 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25778 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25780 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25783 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25785 * Makeconfig (libm): Define.
25786 * elf/Makefile: Add rules to build and run tst-relsort1.
25787 * elf/tst-relsort1.c: New file.
25788 * elf/tst-relsort1mod1.c: New file.
25789 * elf/tst-relsort1mod2.c: New file.
25791 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25793 * math/s_ldexp.c: Remove __STDC__ conditionals.
25794 * math/s_ldexpf.c: Likewise.
25795 * math/s_ldexpl.c: Likewise.
25796 * math/s_nextafter.c: Likewise.
25797 * math/s_nexttowardf.c: Likewise.
25798 * math/s_significand.c: Likewise.
25799 * math/s_significandf.c: Likewise.
25800 * math/s_significandl.c: Likewise.
25801 * math/w_jnl.c: Likewise.
25802 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25803 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25804 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25805 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25806 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25807 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25808 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25809 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25811 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25812 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25813 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25814 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25815 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25816 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25817 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25818 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25819 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25820 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25821 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25822 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25823 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25824 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25825 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25826 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25827 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25828 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25829 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25830 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25831 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25832 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25833 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25834 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25835 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25836 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25837 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25838 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25839 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25840 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25841 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25842 * sysdeps/ieee754/k_standard.c: Likewise.
25843 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25844 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25845 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25846 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25847 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25848 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25849 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25850 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25851 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25852 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25853 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25854 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25855 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25856 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25857 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25858 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25859 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25860 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25861 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25862 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25863 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25864 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25865 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25866 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25867 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25868 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25869 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25870 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25871 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25872 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25873 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25874 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25875 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25876 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25877 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25878 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25879 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25880 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25881 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25882 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25883 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25885 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25886 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25887 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25888 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25889 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25890 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25891 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25892 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25893 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25903 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25904 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25905 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25908 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25909 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25910 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25914 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25917 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25918 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25919 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25921 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25922 * sysdeps/ieee754/s_matherr.c: Likewise.
25923 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25924 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25925 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25926 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25928 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25930 * crypt/md5.h: Remove __STDC__ conditionals.
25931 * libio/libioP.h: Likewise.
25932 * locale/programs/config.h: Likewise.
25933 * sysdeps/generic/sysdep.h: Likewise.
25934 * sysdeps/i386/asm-syntax.h: Likewise.
25935 * sysdeps/s390/asm-syntax.h: Likewise.
25936 * sysdeps/unix/sysdep.h: Likewise.
25937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25940 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25942 * libio/libio.h: Remove __STDC__ conditionals.
25943 * malloc/obstack.h: Likewise.
25944 * math/complex.h: Likewise.
25945 * math/math.h: Likewise.
25946 * sysdeps/generic/_G_config.h: Likewise.
25947 * sysdeps/gnu/_G_config.h: Likewise.
25948 * sysdeps/mach/hurd/_G_config.h: Likewise.
25949 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25950 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25951 * sysdeps/sparc/bits/mathdef.h: Likewise.
25953 2012-01-26 Ulrich Drepper <drepper@gmail.com>
25956 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25957 Clean up HAS_* macros.
25958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25959 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25961 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25963 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25964 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25965 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25966 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25967 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25969 2012-01-25 Joseph Myers <joseph@codesourcery.com>
25971 * elf/tst-unique3.cc (gets): Remove declaration.
25972 * elf/tst-unique3lib.cc (gets): Likewise.
25973 * elf/tst-unique3lib2.cc (gets): Likewise.
25974 * elf/tst-unique4.cc (gets): Likewise.
25976 2012-01-24 Ulrich Drepper <drepper@gmail.com>
25978 * include/stdio.h: Add C++ protection. Add gets declarations and
25980 * debug/tst-chk1.c: Don't declare gets here.
25981 * stdio-common/tst-gets.c: Likewise.
25983 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25985 * posix/glob: Remove directory.
25987 2012-01-24 Joseph Myers <joseph@codesourcery.com>
25989 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25991 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25993 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25994 of the non-standard EPFNOSUPPORT.
25996 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25998 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25999 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26000 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26002 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26004 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26006 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26008 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26010 * nscd/grpcache.c (cache_addgr): Likewise.
26011 * nscd/hstcache.c (cache_addhst): Likewise.
26012 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26013 * nscd/pwdcache.c (cache_addpw): Likewise.
26014 * nscd/servicescache.c (cache_addserv): Likewise.
26016 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26018 * malloc/malloc.c: Various cleanups.
26019 * malloc/hooks.c: Likewise.
26021 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26022 * stdlib/bug-fmtmsg1.c: New file.
26024 * stdlib/fmtmsg.c (init): Add missing unlock.
26025 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26027 2012-01-12 Marek Polacek <polacek@redhat.com>
26029 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26032 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26034 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26035 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26036 macro to ensure uniqueness of label name.
26037 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26038 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26040 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26042 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26044 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26045 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26046 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26047 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26049 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26051 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26053 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26054 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26055 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26057 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26059 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26060 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26061 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26062 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26064 * math/bits/math-finite.h: Add ldexp support.
26066 2012-01-10 Marek Polacek <polacek@redhat.com>
26068 * locale/programs/localedef.h (show_archive_content): Add noreturn
26071 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26073 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26075 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26077 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26079 * io/Makefile (headers): Add bits/poll2.h.
26081 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26084 typo #include statement.
26086 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26088 * include/sys/cdefs.h: Define __attribute_alloc_size.
26089 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26090 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26091 * elf/pldd.c: Likewise.
26092 * iconv/iconv_charmap.c: Likewise.
26093 * iconv/iconvconfig.c: Likewise.
26094 * iconv/strtab.c: Likewise.
26095 * locale/programs/locale.c: Likewise.
26096 * locale/programs/localedef.h: Likewise.
26097 * locale/programs/simple-hash.c: Likewise.
26098 * nscd/nscd.h: Likewise.
26099 * nss/makedb.c: Likewise.
26100 * sysdeps/generic/ldconfig.h: Likewise.
26101 * locale/programs/localedef.c: Remove xmalloc prototype.
26102 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26104 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26106 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26109 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26111 * math/Makefile (tests): Add tst-CMPLX.
26112 * math/tst-CMPLX.c: New file.
26114 * math/complex.h (CMPLXL): Fix typo.
26116 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26117 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26119 * debug/tst-chk1.c: Add poll and ppoll tests.
26120 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26121 * include/sys/poll.h: Add hidden proto for ppoll.
26122 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26123 * sysdeps/mach/hurd/ppoll.c: Likewise.
26124 * io/ppoll.c: Likewise.
26125 * debug/poll_chk.c: New file.
26126 * debug/ppoll_chk.c: New file.
26127 * include/bits/poll2.h: New file.
26128 * io/bits/poll2.h: New file.
26131 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26133 * configure.in: static is always set to yes. Remove.
26134 * config.make.in: Don't set build-static.
26135 * Makeconfig: Remove use of build-static.
26136 * dlfcn/Makefile: Likewise.
26137 * elf/Makefile: Likewise.
26138 * math/Makefile: Likewise.
26139 * misc/Makefile: Likewise.
26140 * nptl/Makefile: Likewise.
26141 * sysdeps/mach/hurd/Makefile: Likewise.
26143 * configure.in: PWD_P is not used anymore.
26144 * config.make.in: Remove PWD_P entry.
26146 * configure.in: Remove last remnants of RANLIB.
26147 No need to check for signed size_t anymore.
26148 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26150 Remove __builtin_expect test because we require at least gcc 3.4.
26151 * aclocal.m4: Likewise.
26153 * wcsmbs/mbrtoc16.c: Implement using towc function.
26154 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26155 * wcsmbs/wcsmbsload.c: Likewise.
26156 * iconv/gconv_simple.c: Likewise.
26157 * iconv/gconv_int.h: Likewise.
26158 * iconv/gconv_builtin.h: Likewise.
26159 * iconv/iconv_prog.c: Remove CHAR16 handling.
26161 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26163 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26165 * configure.in: Remove --with-elf and --enable-bounded options.
26166 Dont set base_machine for ia64. More non-ELF conditions removed.
26167 Remove testing and setting of leading underscore information.
26168 * config.make.in (build-bounded): Set to no.
26169 * config.h.in: Remove NO_UNDERSCORES entry.
26170 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26172 * csu/start.c: Remove !NO_UNDERSCORE code.
26173 * locale/localeinfo.h: Likewise.
26174 * sysdeps/generic/machine-gmon.h: Likewise.
26175 * sysdeps/generic/sysdep.h: Likewise.
26176 * sysdeps/i386/sysdep.h: Likewise.
26177 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26178 * sysdeps/mach/sysdep.h: Likewise.
26179 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26180 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26181 * sysdeps/sh/sysdep.h: Likewise.
26182 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26183 * sysdeps/unix/i386/sysdep.S: Likewise.
26184 * sysdeps/unix/sparc/start.c: Likewise.
26185 * sysdeps/unix/sparc/sysdep.S: Likewise.
26186 * sysdeps/unix/sparc/sysdep.h: Likewise.
26187 * sysdeps/unix/start.c: Likewise.
26188 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26189 * sysdeps/x86_64/sysdep.h: Likewise.
26191 2012-01-07 Ulrich Drepper <drepper@gmail.com>
26194 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26196 * argp/argp-fmtstream.h: Use const instead __const.
26197 * argp/argp.h: Likewise.
26198 * assert/assert.h: Likewise.
26199 * bits/fenv.h: Likewise.
26200 * bits/sched.h: Likewise.
26201 * bits/sigset.h: Likewise.
26202 * bits/sigthread.h: Likewise.
26203 * catgets/nl_types.h: Likewise.
26204 * conform/data/pthread.h-data: Likewise.
26205 * crypt/crypt-private.h: Likewise.
26206 * crypt/crypt.h: Likewise.
26207 * crypt/crypt_util.c: Likewise.
26208 * ctype/ctype.h: Likewise.
26209 * debug/execinfo.h: Likewise.
26210 * debug/mbsnrtowcs_chk.c: Likewise.
26211 * debug/mbsrtowcs_chk.c: Likewise.
26212 * debug/wcsnrtombs_chk.c: Likewise.
26213 * debug/wcsrtombs_chk.c: Likewise.
26214 * debug/wcstombs_chk.c: Likewise.
26215 * dirent/dirent.h: Likewise.
26216 * dlfcn/dlfcn.h: Likewise.
26217 * elf/neededtest4.c: Likewise.
26218 * grp/grp.h: Likewise.
26219 * gshadow/gshadow.h: Likewise.
26220 * iconv/gconv.h: Likewise.
26221 * iconv/gconv_int.h: Likewise.
26222 * iconv/gconv_simple.c: Likewise.
26223 * iconv/iconv.h: Likewise.
26224 * iconv/loop.c: Likewise.
26225 * iconv/skeleton.c: Likewise.
26226 * include/aio.h: Likewise.
26227 * include/aliases.h: Likewise.
26228 * include/argz.h: Likewise.
26229 * include/arpa/inet.h: Likewise.
26230 * include/assert.h: Likewise.
26231 * include/dirent.h: Likewise.
26232 * include/dlfcn.h: Likewise.
26233 * include/execinfo.h: Likewise.
26234 * include/fcntl.h: Likewise.
26235 * include/fenv.h: Likewise.
26236 * include/glob.h: Likewise.
26237 * include/grp.h: Likewise.
26238 * include/libintl.h: Likewise.
26239 * include/mntent.h: Likewise.
26240 * include/netdb.h: Likewise.
26241 * include/pwd.h: Likewise.
26242 * include/rpc/netdb.h: Likewise.
26243 * include/sched.h: Likewise.
26244 * include/search.h: Likewise.
26245 * include/shadow.h: Likewise.
26246 * include/signal.h: Likewise.
26247 * include/stdio.h: Likewise.
26248 * include/stdlib.h: Likewise.
26249 * include/string.h: Likewise.
26250 * include/sys/socket.h: Likewise.
26251 * include/sys/stat.h: Likewise.
26252 * include/sys/statfs.h: Likewise.
26253 * include/sys/statvfs.h: Likewise.
26254 * include/sys/syslog.h: Likewise.
26255 * include/sys/time.h: Likewise.
26256 * include/sys/uio.h: Likewise.
26257 * include/time.h: Likewise.
26258 * include/unistd.h: Likewise.
26259 * include/utmp.h: Likewise.
26260 * include/wchar.h: Likewise.
26261 * include/wctype.h: Likewise.
26262 * inet/aliases.h: Likewise.
26263 * inet/arpa/inet.h: Likewise.
26264 * inet/netinet/ether.h: Likewise.
26265 * inet/netinet/in.h: Likewise.
26266 * intl/libintl.h: Likewise.
26267 * io/bits/fcntl2.h: Likewise.
26268 * io/fcntl.h: Likewise.
26269 * io/ftw.h: Likewise.
26270 * io/sys/poll.h: Likewise.
26271 * io/sys/stat.h: Likewise.
26272 * io/sys/statfs.h: Likewise.
26273 * io/sys/statvfs.h: Likewise.
26274 * io/utime.h: Likewise.
26275 * libio/bits/stdio.h: Likewise.
26276 * libio/bits/stdio2.h: Likewise.
26277 * libio/libio.h: Likewise.
26278 * libio/libioP.h: Likewise.
26279 * libio/stdio.h: Likewise.
26280 * locale/lc-ctype.c: Likewise.
26281 * locale/locale.h: Likewise.
26282 * login/utmp.h: Likewise.
26283 * malloc/arena.c: Likewise.
26284 * malloc/malloc.c: Likewise.
26285 * malloc/malloc.h: Likewise.
26286 * malloc/mcheck.c: Likewise.
26287 * malloc/mtrace.c: Likewise.
26288 * math/bits/mathcalls.h: Likewise.
26289 * math/fenv.h: Likewise.
26290 * math/math_private.h: Likewise.
26291 * misc/bits/error.h: Likewise.
26292 * misc/bits/syslog.h: Likewise.
26293 * misc/err.h: Likewise.
26294 * misc/error.h: Likewise.
26295 * misc/fstab.h: Likewise.
26296 * misc/mntent.h: Likewise.
26297 * misc/regexp.h: Likewise.
26298 * misc/search.h: Likewise.
26299 * misc/sgtty.h: Likewise.
26300 * misc/sys/mman.h: Likewise.
26301 * misc/sys/syslog.h: Likewise.
26302 * misc/sys/uio.h: Likewise.
26303 * misc/sys/xattr.h: Likewise.
26304 * misc/ttyent.h: Likewise.
26305 * nis/rpcsvc/ypclnt.h: Likewise.
26306 * nss/nss.h: Likewise.
26307 * posix/bits/unistd.h: Likewise.
26308 * posix/fnmatch.h: Likewise.
26309 * posix/glob.h: Likewise.
26310 * posix/sched.h: Likewise.
26311 * posix/spawn.h: Likewise.
26312 * posix/sys/wait.h: Likewise.
26313 * posix/unistd.h: Likewise.
26314 * posix/wordexp.h: Likewise.
26315 * pwd/pwd.h: Likewise.
26316 * resolv/netdb.h: Likewise.
26317 * resource/sys/resource.h: Likewise.
26318 * rt/aio.h: Likewise.
26319 * rt/bits/mqueue2.h: Likewise.
26320 * rt/mqueue.h: Likewise.
26321 * shadow/shadow.h: Likewise.
26322 * signal/signal.h: Likewise.
26323 * socket/send.c: Likewise.
26324 * socket/sendto.c: Likewise.
26325 * socket/sys/socket.h: Likewise.
26326 * stdio-common/printf.h: Likewise.
26327 * stdlib/bits/stdlib.h: Likewise.
26328 * stdlib/fmtmsg.h: Likewise.
26329 * stdlib/monetary.h: Likewise.
26330 * stdlib/stdlib.h: Likewise.
26331 * stdlib/ucontext.h: Likewise.
26332 * streams/stropts.h: Likewise.
26333 * string/argz.h: Likewise.
26334 * string/bits/string2.h: Likewise.
26335 * string/string.h: Likewise.
26336 * string/strings.h: Likewise.
26337 * sunrpc/rpc/auth.h: Likewise.
26338 * sunrpc/rpc/auth_des.h: Likewise.
26339 * sunrpc/rpc/clnt.h: Likewise.
26340 * sunrpc/rpc/netdb.h: Likewise.
26341 * sunrpc/rpc/pmap_clnt.h: Likewise.
26342 * sunrpc/rpc/xdr.h: Likewise.
26343 * sysdeps/generic/inttypes.h: Likewise.
26344 * sysdeps/generic/net/if.h: Likewise.
26345 * sysdeps/generic/sys/swap.h: Likewise.
26346 * sysdeps/gnu/net/if.h: Likewise.
26347 * sysdeps/gnu/utmpx.h: Likewise.
26348 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26349 * sysdeps/i386/i486/bits/string.h: Likewise.
26350 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26351 * sysdeps/s390/bits/string.h: Likewise.
26352 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26353 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26354 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26355 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26356 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26357 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26358 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26359 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26360 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26361 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26362 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26363 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26364 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26365 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26366 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26367 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26368 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26370 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26371 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26372 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26373 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26374 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26375 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26376 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26377 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26378 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26379 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26380 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26381 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26382 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26383 * sysvipc/sys/ipc.h: Likewise.
26384 * sysvipc/sys/msg.h: Likewise.
26385 * sysvipc/sys/sem.h: Likewise.
26386 * sysvipc/sys/shm.h: Likewise.
26387 * termios/termios.h: Likewise.
26388 * time/sys/time.h: Likewise.
26389 * time/time.h: Likewise.
26390 * wcsmbs/bits/wchar2.h: Likewise.
26391 * wcsmbs/uchar.h: Likewise.
26392 * wcsmbs/wchar.h: Likewise.
26393 * wctype/wctype.h: Likewise.
26396 * Makeconfig: Remove all but ELF support including AIX support.
26397 * Makerules: Likewise.
26398 * config.h.in: Likewise.
26399 * config.make.in: Likewise.
26400 * configure: Likewise.
26401 * configure.in: Likewise.
26402 * csu/Makefile: Likewise.
26403 * csu/version.c: Likewise.
26404 * debug/Makefile: Likewise.
26405 * dlfcn/Makefile: Likewise.
26406 * elf/Makefile: Likewise.
26407 * extra-lib.mk: Likewise.
26408 * iconv/Makefile: Likewise.
26409 * include/libc-symbols.h: Likewise.
26410 * include/shlib-compat.h: Likewise.
26411 * resolv/Makefile: Likewise.
26412 * resolv/res_libc.c: Likewise.
26413 * rt/Makefile: Likewise.
26414 * sysdeps/i386/asm-syntax.h: Likewise.
26415 * sysdeps/i386/sysdep.h: Likewise.
26416 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26417 * sysdeps/mach/sysdep.h: Likewise.
26418 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26419 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26420 * sysdeps/s390/asm-syntax.h: Likewise.
26421 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26422 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26423 * sysdeps/sh/sysdep.h: Likewise.
26424 * sysdeps/unix/sparc/sysdep.h: Likewise.
26425 * sysdeps/wordsize-32/divdi3.c: Likewise.
26426 * sysdeps/x86_64/sysdep.h: Likewise.
26428 * argp/Versions: Remove _argp_unlock_xxx.
26431 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26432 * abilist/libBrokenLocale.abilist: Likewise.
26433 * abilist/libanl.abilist: Likewise.
26434 * abilist/libc.abilist: Likewise.
26435 * abilist/libcrypt.abilist: Likewise.
26436 * abilist/libdl.abilist: Likewise.
26437 * abilist/libm.abilist: Likewise.
26438 * abilist/libnsl.abilist: Likewise.
26439 * abilist/libpthread.abilist: Likewise.
26440 * abilist/libresolv.abilist: Likewise.
26441 * abilist/librt.abilist: Likewise.
26442 * abilist/libthread_db.abilist: Likewise.
26443 * abilist/libutil.abilist: Likewise.
26444 * abilist/libnss_db.abilist: New file.
26446 * scripts/abilist.awk: Add support for indirect functions.
26448 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26450 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26452 * shlib-versions: Remove entries for ports architectures.
26454 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26456 * elf/stackguard-macros.h: Remove support for IA-64.
26457 * elf/tst-auditmod1.c: Likewise.
26458 * sysdeps/generic/ldsodefs.h: Likewise.
26460 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26461 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26465 * configure.in: Remove --enable-omitfp support.
26467 * config.make.in: Likewise.
26468 * Makeconfig: Likewise.
26469 * manual/install.texi: Likewise.
26471 In case anyone cares, the IA-64 architecture could move to ports.
26472 * sysdeps/ia64/*: Removed.
26473 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26474 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26477 * configure.in: Remove entries for unsupported architectures.
26480 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26481 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26483 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26484 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26485 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26486 fall back to using wcrtomb.
26487 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26488 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26490 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26491 * wcsmbs/tst-c16c32-1.c: New file.
26493 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26496 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26498 * elf/tst-unique3.cc: Add explicit declaration of gets.
26499 * elf/tst-unique3lib.cc: Likewise.
26500 * elf/tst-unique3lib2.cc: Likewise.
26501 * elf/tst-unique4.cc: Likewise.
26503 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26505 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26508 * assert/assert.h (static_assert): Don't define for C++.
26509 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26510 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26512 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26514 * iconv/loop.c (single loop): Fix assertion in storing of
26517 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26519 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26521 * posix/getconf.c: Update copyright year.
26522 * nss/getent.c: Likewise.
26523 * nss/makedb.c: Likewise.
26524 * iconv/iconvconfig.c: Likewise.
26525 * iconv/iconv_prog.c: Likewise.
26526 * elf/ldconfig.c: Likewise.
26527 * elf/pldd.c: Likewise.
26528 * elf/sotruss.ksh: Likewise.
26529 * catgets/gencat.c: Likewise.
26530 * csu/version.c: Likewise.
26531 * elf/ldd.bash.in: Likewise.
26532 * elf/sprof.c (print_version): Likewise.
26533 * locale/programs/locale.c: Likewise.
26534 * locale/programs/localedef.c: Likewise.
26535 * login/programs/pt_chown.c: Likewise.
26536 * nscd/nscd.c (print_version): Likewise.
26537 * debug/xtrace.sh: Likewise.
26538 * malloc/memusage.sh: Likewise.
26539 * malloc/mtrace.pl: Likewise.
26540 * debug/catchsegv.sh: Likewise.
26542 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26544 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26547 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26550 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26551 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26553 * iconv/gconv_int.h: Likewise.
26554 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26555 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26556 from libc for GLIBC_2.16.
26557 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26558 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26559 * wcsmbs/uchar.h: Really define mbstate_t.
26560 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26561 * wcsmbs/c16rtomb.c: New file.
26562 * wcsmbs/mbrtoc16.c: New file.
26563 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26564 for C/POSIX locale.
26565 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26566 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26568 * wcsmbs/wchar.h: Add missing __restrict.
26570 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26573 * time/Makefile (routines): Add timespec_get.
26574 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26575 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26576 timespec for ISO C11.
26577 * time/timespec_get.c: New file.
26578 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26579 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26582 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26583 * stdlib/stdlib.h: Declare aligned_alloc.
26584 * Versions.def: Add GLIBC_2.16 for libc.
26585 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26588 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26591 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26595 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26598 * assert/assert.h (static_assert): Define.
26600 * version.h: Update for 2.16 development version.
26603 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26606 * version.h (RELEASE): Bump for 2.15 release.
26607 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26609 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26610 Patch by Marek Polacek <mpolacek@redhat.com>.
26612 * bits/byteswap.h: Protect long long constants with __extension__.
26613 * sysdeps/i386/bits/byteswap.h: Likewise.
26614 * sysdeps/ia64/bits/byteswap.h: Likewise.
26615 * sysdeps/s390/bits/byteswap.h: Likewise.
26616 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26618 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26621 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26622 destination buffer.
26623 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26625 2011-12-23 Marek Polacek <polacek@redhat.com>
26627 * elf/dl-addr.c (determine_info): Add inline keyword.
26628 * elf/tst-auditmod4b.c (check_avx): Likewise.
26629 * elf/tst-auditmod6b.c (check_avx): Likewise.
26630 * elf/tst-auditmod6c.c (check_avx): Likewise.
26631 * elf/tst-auditmod7b.c (check_avx): Likewise.
26633 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26635 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26638 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26641 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26642 processing for last bytes.
26644 2011-08-06 Bruno Haible <bruno@clisp.org>
26647 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26648 U+0385, not to U+1FEE.
26651 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26652 entry for U+00A5 U+0301.
26654 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26657 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26658 buffer for the output is too small.
26660 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26664 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26665 SSE flags if possible.
26667 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26670 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26671 processing for last bytes.
26673 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26675 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26676 (syscall-list-default-options, syscall-list-default-condition)
26677 (syscall-list-includes): Define.
26678 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26679 list of ABIs and options and #if conditions for each ABI. Do not
26680 handle common syscalls between ABIs specially.
26681 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26683 (syscall-list-variants, syscall-list-32bit-options)
26684 (syscall-list-32bit-condition, syscall-list-64bit-options)
26685 (syscall-list-64bit-condition): Define.
26686 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26687 (syscall-list-variants, syscall-list-32bit-options)
26688 (syscall-list-32bit-condition, syscall-list-64bit-options)
26689 (syscall-list-64bit-condition): Define.
26690 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26692 (syscall-list-variants, syscall-list-32bit-options)
26693 (syscall-list-32bit-condition, syscall-list-64bit-options)
26694 (syscall-list-64bit-condition): Define.
26695 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26697 (syscall-list-variants, syscall-list-32bit-options)
26698 (syscall-list-32bit-condition, syscall-list-64bit-options)
26699 (syscall-list-64bit-condition): Define.
26701 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26703 * locale/iso-639.def: Add brx entry.
26706 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26707 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26709 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26710 __feraiseexcept_renamed.
26712 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26715 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26716 EPOLLET with unsigned values.
26717 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26718 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26720 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26721 to large cancellation.
26722 * math/s_cacoshf.c: Likewise.
26723 * math/s_cacoshl.c: Likewise.
26725 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26729 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26730 * math/s_cacoshf.c: Likewise.
26731 * math/s_cacoshl.c: Likewise.
26733 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26736 * iconv/gconv.h: Define __GCONV_SWAP.
26737 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26738 * iconvdata/utf-16.c: Likewise.
26739 * iconvdata/utf-32.c: Likewise.
26741 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26744 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26745 numerator after shifting it by one limb.
26747 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26749 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26750 under [__USE_EXTERN_INLINES].
26752 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26755 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26757 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26759 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26760 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26762 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26763 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26764 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26765 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26766 for strncasecmp/strncasecmp_l compilation.
26767 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26768 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26770 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26773 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26776 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26779 * time/tzfile.c (__tzfile_read): Check values from file header.
26781 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26783 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26784 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26785 * powerpc/powerpc32/dl-start.S: Likewise.
26786 * powerpc/powerpc32/elf/start.S: Likewise.
26787 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26788 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26789 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26790 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26791 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26792 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26793 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26794 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26795 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26796 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26797 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26798 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26799 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26800 * powerpc/powerpc32/memset.S: Likewise.
26801 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26802 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26803 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26804 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26805 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26806 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26807 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26808 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26809 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26810 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26811 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26812 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26813 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26815 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26817 * math/libm-test.inc: Added more nearbyint tests.
26818 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26819 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26820 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26821 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26823 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26825 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26828 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26830 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26831 Add wcscpy-ssse3 wcscpy-c.
26832 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26833 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26834 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26835 * sysdeps/x86_64/wcschr.S: New file.
26836 * sysdeps/x86_64/wcsrchr.S: New file.
26837 * string/test-strcmp.c: Remove checking of wcscmp function for
26839 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26840 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26841 wcsrchr-sse2 wcsrchr-c.
26842 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26843 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26844 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26845 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26846 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26847 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26848 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26849 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26850 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26851 * wcsmbc/wcschr.c (WCSCHR): New macro.
26853 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26855 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26856 * wcsmbs/test-wcsrchr.c: New file.
26857 * string/test-strrchr.c: Add wcsrchr support.
26859 * wcsmbs/test-wcscpy.c: New file.
26860 * string/test-strcpy.c: Add wcscpy support.
26863 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26865 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26868 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26871 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26873 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26875 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26876 Minor optimizations.
26878 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26879 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26880 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26882 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26884 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26885 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26886 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26887 for gcc to avoid warnings.
26888 * inet/Makefile (tests): Add tst-checks.
26889 * inet/tst-checks.c: New file.
26891 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26894 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26897 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26898 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26900 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26902 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26904 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26907 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26909 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26911 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26912 conditional on GCC version.
26913 (__arch_compare_and_exchange_val_8_acq)
26914 (__arch_compare_and_exchange_val_16_acq)
26915 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26916 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26917 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26919 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26921 * sysdeps/sh/backtrace.c: New file.
26923 2011-12-02 Andreas Schwab <schwab@redhat.com>
26925 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26928 2011-12-01 Andreas Schwab <schwab@redhat.com>
26930 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26931 falling back to utime.
26933 2011-11-30 Andreas Schwab <schwab@redhat.com>
26935 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26936 expectations for float.
26938 2011-11-29 Andreas Schwab <schwab@redhat.com>
26940 * locale/weight.h (findidx): Add parameter len.
26941 * locale/weightwc.h (findidx): Likewise.
26942 * posix/fnmatch_loop.c (FCT): Adjust caller.
26943 * posix/regcomp.c (build_equiv_class): Likewise.
26944 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26945 * posix/regexec.c (check_node_accept_bytes): Likewise.
26946 * string/strcoll_l.c (STRCOLL): Likewise.
26947 * string/strxfrm_l.c (STRXFRM): Likewise.
26949 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26951 * Makefile.in: Remove CVSOPT handling.
26952 * configure.in: Remove use of AC_REVISION.
26953 * iconvdata/Makefile (distribute): No need to filter out CVS.
26954 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26957 2011-11-16 Andreas Schwab <schwab@redhat.com>
26959 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26960 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26961 [USE_AS_STRNCASECMP_L]: Likewise.
26962 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26963 NO_TLS_DIRECT_SEG_REFS.
26964 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26965 Fix argument offsets for non-PIC.
26966 [USE_AS_STRNCASECMP_L]: Likewise.
26967 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26968 NO_TLS_DIRECT_SEG_REFS.
26970 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26972 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26974 * locale/loadlocale.c (_nl_load_locale): Likewise.
26976 2011-11-15 Andreas Schwab <schwab@redhat.com>
26978 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26979 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26980 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26981 (SYSCALL_GETTIME): Set errno on error.
26983 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26984 count references to noai6ai_cached.
26986 2011-11-15 Ulrich Drepper <drepper@gmail.com>
26988 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26990 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26991 FD_CLOEXEC for /proc/self/maps.
26993 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26994 FD_CLOEXEC for /proc/meminfo.
26996 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26999 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27000 FD_CLOEXEC for given file.
27002 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27004 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27005 FD_CLOEXEC for /etc/hosts.
27006 (_gethtent): Likewise.
27008 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27010 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27011 cancellation and set FD_CLOEXEC for /etc/netgroup.
27013 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27014 reading /etc/publickey.
27016 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27017 allow cancellation when reading /etc/group.
27019 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27021 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27023 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27024 when using data file.
27026 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27028 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27029 (write_nis_obj): Use "c" and "e" in fopen.
27031 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27033 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27035 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27037 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27039 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27042 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27044 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27046 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27048 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27049 file parsing and set FD_CLOEXEC.
27051 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27053 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27055 2011-11-14 Andreas Schwab <schwab@redhat.com>
27057 * malloc/arena.c (arena_get2): Don't call reused_arena when
27058 _int_new_arena failed.
27060 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27062 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27063 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27064 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27065 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27066 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27067 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27068 to compile strcasecmp and strncasecmp.
27069 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27070 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27072 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27074 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27076 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27077 locale-defines.sym to gen-as-const-headers.
27078 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27079 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27081 to compile strcasecmp and strncasecmp.
27082 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27083 strcasecmp_l and strncasecmp_l.
27084 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27085 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27086 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27087 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27088 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27089 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27090 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27091 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27092 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27093 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27094 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27096 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27098 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27099 result of SYSDEP_GETTIME_CPU to retval.
27100 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27101 parameter list to macro. Remove trailing semicolon. Adjust users.
27103 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27106 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27108 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27110 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27111 from unused variable.
27113 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27115 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27118 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27121 * sunrpc/rpc_prot.c (rejected): Fix case value.
27123 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27124 unsigned long long int to avoid warnings in shift.
27126 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27128 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27131 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27132 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27133 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27135 * nis/nis_table.c (nis_list): Use variable of correct type for
27136 result of __follow_path call.
27138 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27140 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27141 of math functions ceil, trunc, floor, round, and sqrt, when
27142 avaliable on the platform.
27143 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27145 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27146 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27147 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27149 2011-10-30 Marek Polacek <mpolacek@redhat.com>
27151 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27152 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27154 2011-11-11 Roland McGrath <roland@hack.frob.com>
27156 * include/unistd.h: Fix __readlink return type.
27157 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27159 2011-11-11 Ulrich Drepper <drepper@gmail.com>
27161 * stdlib/ucontext.h: Undo last change for makecontext.
27163 2011-11-11 Andreas Schwab <schwab@redhat.com>
27165 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27167 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27168 * setjmp/setjmp.h: Mark functions as non-leaf.
27169 * setjmp/bits/setjmp2.h: Likewise.
27170 * stdlib/ucontext.h: Likewise.
27172 2011-11-10 Andreas Schwab <schwab@redhat.com>
27174 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27175 (reused_arena): Don't check arena limit.
27176 (arena_get2): Atomically check arena limit.
27178 2011-11-08 Ulrich Drepper <drepper@gmail.com>
27180 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27181 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27183 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27186 2011-11-07 Andreas Schwab <schwab@redhat.com>
27188 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27189 handler when locking.
27191 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27192 Fix size of allocated buffer.
27194 2011-11-04 Andreas Schwab <schwab@redhat.com>
27197 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27198 declarations for long double functions.
27199 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27201 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27203 2011-11-03 Andreas Schwab <schwab@redhat.com>
27205 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27208 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27211 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27213 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27215 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27217 * include/alloca.h (stackinfo_alloca_round): Define.
27218 (extend_alloca): Use it.
27219 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27220 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27223 * scripts/check-local-headers.sh: Ignore libaudit.h.
27225 * nscd/Makefile (extra-objs): Make recursively expanded.
27227 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27229 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27230 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27232 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27233 * posix/tst-rfc3484-2.c: Likewise.
27234 * posix/tst-rfc3484-3.c: Likewise.
27236 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27238 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27240 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27241 process_vm_writev from libc using GLIBC_2.15 version.
27243 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27245 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27247 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27250 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27253 * nss/getent.c (initgroups_keys): Show error message in case no group
27256 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27257 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27258 __bump_nl_timestamp.
27259 * nscd/connections (nscd_init): When host database is served open
27260 netlink socket and request notification about configuration changes.
27261 (main_loop_poll): Track netlink file descriptor and bump timestamp
27262 in case data becomes available.
27263 (main_loop_epoll): Likewise.
27264 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27265 (database_pers_head): Add extra_data fileds.
27266 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27267 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27268 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27270 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27271 in6ai data, call __free_in6ai.
27272 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27273 Add -DHAVE_NETLINK.
27274 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27275 interface information. Reuse previous data if netlink timestamp
27277 (__bump_nl_timestamp): New function.
27278 (__free_in6ai): New function.
27280 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27282 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27283 close_not_cancel_no_status here.
27284 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27286 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27289 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27292 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27293 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27294 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27296 2011-07-03 Andreas Jaeger <aj@suse.de>
27299 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27300 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27301 * math/libm-test.inc (sin_test): Add test case.
27303 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27306 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27307 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27309 * elf/chroot_canon.c (chroot_canon): Cleanups.
27311 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27314 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27315 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27317 * string/test-strchr.c: Make usable for strchrnul testing.
27318 * string/test-strchrnul.c: New file.
27319 * string/Makefile (strop-tests): Add strchrnul.
27321 * po/it.po: Update from translation team.
27322 * po/es.po: Likewise.
27324 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27326 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27327 the three constants needed as parameters. Drop the others.
27328 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27329 __m128i_strloadu_tolower.
27330 Create and initialize variable zero and use it in all the places
27331 where _mm_setzero_si128 was used.
27333 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27334 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27335 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27336 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27338 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27339 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27340 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27341 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27342 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27343 __mpranred, __mptan.
27344 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27345 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27346 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27347 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27348 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27349 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27350 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27351 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27352 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27354 2011-10-28 Andreas Schwab <schwab@redhat.com>
27356 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27357 redefine if SHARED.
27358 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27360 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27361 wide char related routines to wcsmbs subdir.
27363 2011-10-27 Andreas Schwab <schwab@redhat.com>
27366 * misc/sys/cdefs.h (__THROWNL): Define.
27367 * posix/unistd.h: Use __THREADNL instead of __THREAD
27368 for memory synchronization functions.
27370 2011-10-26 Roland McGrath <roland@hack.frob.com>
27373 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27375 * manual/stdio.texi (Obstack Streams): Node removed.
27377 2011-10-26 Andreas Schwab <schwab@redhat.com>
27379 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27380 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27381 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27383 * math/math_private.h (math_force_eval): Allow non-addressable
27385 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27387 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27389 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27390 file is not needed.
27392 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27393 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27394 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27395 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27396 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27397 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27398 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27399 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27401 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27402 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27403 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27404 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27405 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27406 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27407 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27408 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27409 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27410 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27411 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27412 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27413 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27414 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27415 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27416 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27417 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27418 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27419 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27421 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27422 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27424 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27425 place. Use VEX encoding when compiling for AVX.
27427 2011-10-25 Andreas Schwab <schwab@redhat.com>
27429 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27430 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27432 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27434 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27436 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27437 useless if() expression.
27438 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27439 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27440 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27441 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27442 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27443 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27444 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27445 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27446 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27447 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27448 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27449 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27450 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27451 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27452 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27453 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27454 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27455 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27456 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27458 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27460 2011-10-25 Andreas Schwab <schwab@redhat.com>
27462 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27464 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27466 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27468 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27469 .text section. Avoid duplicate constants.
27470 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27471 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27472 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27473 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27474 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27476 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27477 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27478 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27479 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27480 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27481 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27482 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27483 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27484 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27485 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27486 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27487 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27488 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27489 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27490 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27491 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27492 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27493 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27494 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27495 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27496 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27497 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27498 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27499 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27500 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27501 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27502 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27503 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27504 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27505 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27506 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27507 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27508 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27509 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27510 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27511 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27512 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27513 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27514 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27516 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27518 * sysdeps/x86_64/dla.h: Move to ...
27519 * sysdeps/x86_64/fpu/dla.h: ...here.
27520 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27521 situations. Use __builtin_fma only for gcc 4.6 and up.
27523 * config.make.in: Add have-mfma4 entry.
27524 * configure.in: Substitute libc_cv_cc_fma4.
27525 * math/Makefile (dbl-only-routines): Add sincostab.
27526 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27527 Use __sincostab not sincos.
27528 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27530 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27531 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27532 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27533 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27535 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27536 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27537 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27538 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27540 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27541 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27543 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27544 define aliases when function name is a macro.
27545 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27546 sysdeps/ieee754/dbl-64/sincos.tbl.
27547 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27548 fma4-enabled routines.
27549 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27550 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27551 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27552 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27553 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27554 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27555 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27556 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27557 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27558 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27559 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27560 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27561 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27562 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27563 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27564 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27565 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27566 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27567 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27568 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27569 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27570 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27571 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27572 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27573 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27574 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27575 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27576 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27577 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27578 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27580 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27582 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27583 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27584 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27585 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27586 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27588 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27589 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27591 2011-10-24 Andreas Schwab <schwab@redhat.com>
27593 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27595 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27597 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27599 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27601 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27603 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27604 Remove unused variable magic_bits.
27605 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27607 * string/strnlen.c: Define and use STRNLEN macro.
27608 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27609 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27610 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27611 * wcsmbs/wcslen.c: Define and use WCSLEN.
27612 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27613 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27614 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27615 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27616 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27617 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27618 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27620 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27623 strnlen-sse2-no-bsf.
27624 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27625 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27626 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27627 Add strnlen support.
27628 (USE_AS_STRNLEN): New macro.
27629 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27630 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27631 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27632 * sysdeps/x86_64/wcslen.S: New file.
27634 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27636 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27637 XMM-moves are used for copying on small sizes.
27639 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27641 * wcsmbs/Makefile (strop-tests): Add wcschr.
27642 * wcsmbs/test-wcschr.c: New file.
27643 * string/test-strchr.c: Update.
27644 Add wcschr support.
27647 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27649 * wcsmbs/Makefile (strop-tests): Add wcslen.
27650 * wcsmbs/test-wcslen.c: New file.
27651 * string/test-strlen.c: Update.
27652 Add wcslen support.
27655 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27657 * po/it.po: Update from translation team.
27659 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27661 * sysdeps/x86_64/wcscmp.S: Update.
27662 Fix wrong comparison semantics.
27663 wcscmp shall use signed comparison not unsigned.
27664 Don't use substraction to avoid overflow bug.
27665 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27666 * wcsmbc/wcscmp.c: Likewise.
27667 * string/test-strcmp.c: Likewise.
27668 Add new tests to check cases with negative values.
27670 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27672 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27673 * sysdeps/x86_64/dla.h: ...here. New file.
27674 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27675 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27676 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27677 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27678 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27679 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27681 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27682 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27684 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27687 __ynl_finite aliases.
27689 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27693 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27695 [DLA_FMA] (EMULV): Use DLA_FMA.
27696 [DLA_FMA] (MUL12): Use EMULV.
27697 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27698 that are not needed.
27699 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27700 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27702 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27703 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27704 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27705 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27707 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27709 * math/s_nan.c: Undef __nan.
27710 * math/s_nanf.c: Undef __nanf.
27711 * math/s_nanl.c: Undef __nanl.
27712 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27715 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27717 * math/s_catan.c: Add branch predictions.
27718 * math/s_catanf.c: Likewise.
27719 * math/s_catanh.c: Likewise.
27720 * math/s_catanhf.c: Likewise.
27721 * math/s_catanhl.c: Likewise.
27722 * math/s_catanl.c: Likewise.
27723 * math/s_cexp.c: Likewise.
27724 * math/s_cexpf.c: Likewise.
27725 * math/s_cexpl.c: Likewise.
27726 * math/s_clog.c: Likewise.
27727 * math/s_clog10.c: Likewise.
27728 * math/s_clog10f.c: Likewise.
27729 * math/s_clog10l.c: Likewise.
27730 * math/s_clogf.c: Likewise.
27731 * math/s_clogl.c: Likewise.
27732 * math/s_csqrt.c: Likewise.
27733 * math/s_csqrtf.c: Likewise.
27734 * math/s_csqrtl.c: Likewise.
27735 * math/s_ctanf.c: Likewise.
27736 * math/s_ctanh.c: Likewise.
27737 * math/s_ctanhf.c: Likewise.
27738 * math/s_ctanhl.c: Likewise.
27739 * math/s_ctanl.c: Likewise.
27741 * math/math_private.h: Define __nan, __nanf, __nanl.
27742 * math/s_cacosh.c: Include <math_private.h>.
27743 * math/s_cacoshl.c: Likewise.
27744 * math/s_casinh.c: Likewise.
27745 * math/s_casinhf.c: Likewise.
27746 * math/s_casinhl.c: Likewise.
27747 * math/s_ccos.c: Rely entire on ccosh.
27748 * math/s_ccosf.c: Rely entire on ccoshf.
27749 * math/s_ccosl.c: Rely entirely on ccoshl.
27750 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27751 Remove tests for FE_INVALID.
27752 * math/s_ccoshf.c: Likewise.
27753 * math/s_ccoshl.c: Likewise.
27754 * math/s_csin.c: Likewise.
27755 * math/s_csinf.c: Likewise.
27756 * math/s_csinh.c Likewise.
27757 * math/s_csinhf.c: Likewise.
27758 * math/s_csinhl.c: Likewise.
27759 * math/s_csinl.c: Likewise.
27760 * math/s_ctan.c: Likewise.
27761 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27762 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27763 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27765 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27768 compilation problems.
27770 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27773 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27775 * sysdeps/i386/configure.in: Test for -mfma4 option.
27776 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27777 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27778 COMMON_CPUID_INDEX_80000001.
27779 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27780 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27781 use it if FMA3 is not supported.
27782 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27784 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27785 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27787 2011-10-20 Andreas Schwab <schwab@redhat.com>
27790 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27791 it would create a cycle with a link time dependency.
27793 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27795 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27797 * string/Makefile (strop-tests): Add rawmemchr.
27798 * string/test-rawmemchr.c: New file.
27800 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27801 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27802 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27803 when compiling str{,n}casecmp and when AVX is available. Hook up
27804 new optimized code in initializers.
27806 2011-10-19 Andreas Schwab <schwab@redhat.com>
27808 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27809 __feraiseexcept instead of feraiseexcept.
27811 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27813 * math/math_private.h: Define defaults for libc_fetestexcept and
27815 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27816 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27817 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27818 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27819 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27820 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27821 libc_fetestexcept and libc_feupdateenv.
27823 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27824 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27825 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27826 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27827 libc_feholdexcept_setround.
27829 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27830 Add s_nearbyint-c and s_nearbyintf-c.
27831 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27832 nearbyintf inlines.
27833 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27834 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27835 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27836 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27838 * math/math_private.h: Define defaults for libc_fegetround,
27839 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27840 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27841 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27842 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27843 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27844 standard functions.
27845 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27846 Remove comments and hacks for old compiler versions.
27847 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27848 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27849 libc_feholdexceptl.
27851 2011-10-18 Andreas Schwab <schwab@redhat.com>
27853 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27854 (__feraiseexcept_renamed): Add __NTH.
27855 (feraiseexcept): Add __NTH. Rename local variables to fix
27856 namespace violations.
27858 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27860 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27862 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27864 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27865 recently added interfaces.
27866 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27868 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27869 about macro parameter expansion.
27871 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27872 __NO_MATH_INLINES is defined. Cleanups.
27874 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27875 and __floorf is target has SSE4.1.
27876 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27877 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27878 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27879 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27881 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27883 (floorf): Likewise.
27885 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27887 2011-10-17 Andreas Schwab <schwab@redhat.com>
27889 * misc/sys/cdefs.h: Fix last change.
27891 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27894 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27896 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27898 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27899 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27900 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27901 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27902 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27903 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27904 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27905 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27906 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27907 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27908 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27909 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27910 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27911 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27912 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27913 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27914 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27915 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27916 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27917 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27918 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27919 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27921 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27922 ceil, ceilf, floor, floorf.
27924 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27925 Perform IRELATIVE relocations last.
27927 * elf/do-rel.h: Add another parameter nrelative, replacing the
27928 local variable with the same name. Change name of the function
27929 to end in Rel or Rela (uppercase).
27930 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27931 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27932 elf_dynamic_do_##reloc function.
27934 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27936 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27937 is sufficient, at least on modern CPUs.
27939 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27941 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27942 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27944 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27946 * math/bits/math-finite.h: Add entries for exp.
27947 * math/e_expl.c: Add __*_finite alias.
27948 * sysdeps/i386/fpu/e_exp.S: Likewise.
27949 * sysdeps/i386/fpu/e_expf.S: Likewise.
27950 * sysdeps/i386/fpu/e_expl.c: Likewise.
27951 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27952 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27953 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27954 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27955 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27956 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27957 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27959 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27960 is sufficient, at least on modern CPUs.
27962 * ctype/ctype-info.c (__ctype_init): Define.
27963 * include/ctype.h (__ctype_init): Declare.
27964 (__ctype_b_loc): The variable is always initialized.
27965 (__ctype_toupper_loc): Likewise.
27966 (__ctype_tolower_loc): Likewise.
27967 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27968 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27970 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27972 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27974 * configure.in: Also look in $cxxmachine/include for C++ system
27977 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27979 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27980 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27981 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27982 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27983 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27984 (USE_AS_WMEMCMP): New macro.
27986 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27987 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27988 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27989 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27990 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27991 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27992 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27993 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27994 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27995 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27996 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27997 (USE_AS_WMEMCMP): New macro.
27998 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27999 * sysdeps/string/test-memcmp.c: Update.
28000 Fix simple_wmemcmp.
28002 * wcsmbs/wmemcmp.c: Update.
28003 (WMEMCMP): New macro.
28006 2011-10-12 Andreas Jaeger <aj@suse.de>
28009 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28011 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28013 * libio/iofwide.c (do_length): Avoid warning.
28015 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28017 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28019 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28021 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28022 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28023 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28024 * sysdeps/i386/i686/fpu/e_log.S: New file.
28025 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28026 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28028 * ctype/ctype.h: Add support for inlined isXXX functions when
28029 compiling C++ code.
28031 2011-10-14 Andreas Schwab <schwab@redhat.com>
28033 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28035 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28037 2011-10-13 Roland McGrath <roland@hack.frob.com>
28040 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28042 2011-10-13 Andreas Schwab <schwab@redhat.com>
28044 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28045 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28048 * sysdeps/x86_64/memrchr.S: Check for zero size.
28050 * string/stratcliff.c: Add memrchr tests.
28052 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28054 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28055 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28056 rawmemchr-sse2 rawmemchr-sse2-bsf.
28057 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28058 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28059 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28060 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28061 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28062 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28063 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28064 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28065 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28066 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28067 * string/memrchr.c (MEMRCHR): New macro.
28069 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28071 Add integration with gcc's -ffinite-math-only and optimize wrapper
28073 * Versions.def: Define GLIBC_2.15 version for libm.
28074 * math/Makefile (headers): Add bits/math-finite.h.
28075 * math/bits/math-finite.h: New file.
28076 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28077 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28078 * math/e_acoshl.c: Add __*_finite alias.
28079 * math/e_acosl.c: Likewise.
28080 * math/e_asinl.c: Likewise.
28081 * math/e_atan2l.c: Likewise.
28082 * math/e_atanhl.c: Likewise.
28083 * math/e_coshl.c: Likewise.
28084 * math/e_exp10.c: Likewise.
28085 * math/e_exp10f.c: Likewise.
28086 * math/e_exp10l.c: Likewise.
28087 * math/e_exp2l.c: Likewise.
28088 * math/e_fmodl.c: Likewise.
28089 * math/e_gammal_r.c: Likewise.
28090 * math/e_hypotl.c: Likewise.
28091 * math/e_j0l.c: Likewise.
28092 * math/e_j1l.c: Likewise.
28093 * math/e_jnl.c: Likewise.
28094 * math/e_lgammal_r.c: Likewise.
28095 * math/e_log10l.c: Likewise.
28096 * math/e_log2l.c: Likewise.
28097 * math/e_logl.c: Likewise.
28098 * math/e_powl.c: Likewise.
28099 * math/e_sinhl.c: Likewise.
28100 * math/e_sqrtl.c: Likewise.
28101 * math/e_scalb.c: Completely rewritten and optimized.
28102 * math/e_scalbf.c: Likewise.
28103 * math/e_scalbl.c: Likewise.
28104 * math/w_acos.c: Likewise.
28105 * math/w_acosf.c: Likewise.
28106 * math/w_acosl.c: Likewise.
28107 * math/w_acosh.c: Likewise.
28108 * math/w_acoshf.c: Likewise.
28109 * math/w_acoshl.c: Likewise.
28110 * math/w_asin.c: Likewise.
28111 * math/w_asinf.c: Likewise.
28112 * math/w_asinl.c: Likewise.
28113 * math/w_atan2.c: Likewise.
28114 * math/w_atan2f.c: Likewise.
28115 * math/w_atan2l.c: Likewise.
28116 * math/w_atanh.c: Likewise.
28117 * math/w_atanhf.c: Likewise.
28118 * math/w_atanhl.c: Likewise.
28119 * math/w_exp10.c: Likewise.
28120 * math/w_exp10f.c: Likewise.
28121 * math/w_exp10l.c: Likewise.
28122 * math/w_fmod.c: Likewise.
28123 * math/w_fmodf.c: Likewise.
28124 * math/w_fmodl.c: Likewise.
28125 * math/w_j0.c: Likewise.
28126 * math/w_j0f.c: Likewise.
28127 * math/w_j0l.c: Likewise.
28128 * math/w_j1.c: Likewise.
28129 * math/w_j1f.c: Likewise.
28130 * math/w_j1l.c: Likewise.
28131 * math/w_jn.c: Likewise.
28132 * math/w_jnf.c: Likewise.
28133 * math/w_log.c: Likewise.
28134 * math/w_logf.c: Likewise.
28135 * math/w_logl.c: Likewise.
28136 * math/w_log10.c: Likewise.
28137 * math/w_log10f.c: Likewise.
28138 * math/w_log10l.c: Likewise.
28139 * math/w_log2.c: Likewise.
28140 * math/w_log2f.c: Likewise.
28141 * math/w_log2l.c: Likewise.
28142 * math/w_pow.c: Likewise.
28143 * math/w_powf.c: Likewise.
28144 * math/w_powl.c: Likewise.
28145 * math/w_remainder.c: Likewise.
28146 * math/w_remainderf.c: Likewise.
28147 * math/w_remainderl.c: Likewise.
28148 * math/w_scalb.c: Likewise.
28149 * math/w_scalbf.c: Likewise.
28150 * math/w_scalbl.c: Likewise.
28151 * math/w_sqrt.c: Likewise.
28152 * math/w_sqrtf.c: Likewise.
28153 * math/w_sqrtl.c: Likewise.
28154 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28155 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28157 * math/math_private.h: Declare __kernel_standard_f.
28158 * math/w_cosh.c: Remove cruft and optimize a bit.
28159 * math/w_coshf.c: Likewise.
28160 * math/w_coshl.c: Likewise.
28161 * math/w_exp2.c: Likewise.
28162 * math/w_exp2f.c: Likewise.
28163 * math/w_exp2l.c: Likewise.
28164 * math/w_hypot.c: Likewise.
28165 * math/w_hypotf.c: Likewise.
28166 * math/w_hypotl.c: Likewise.
28167 * math/w_lgamma.c: Likewise.
28168 * math/w_lgamma_r.c: Likewise.
28169 * math/w_lgammaf.c: Likewise.
28170 * math/w_lgammaf_r.c: Likewise.
28171 * math/w_lgammal.c: Likewise.
28172 * math/w_lgammal_r.c: Likewise.
28173 * math/w_sinh.c: Likewise.
28174 * math/w_sinhf.c: Likewise.
28175 * math/w_sinhl.c: Likewise.
28176 * math/w_tgamma.c: Likewise.
28177 * math/w_tgammaf.c: Likewise.
28178 * math/w_tgammal.c: Likewise.
28179 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28180 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28181 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28182 Minor optimizations. Pretty printing. Remove cruft.
28183 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28184 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28185 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28186 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28187 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28188 * sysdeps/i386/fpu/e_asin.S: Likewise.
28189 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28190 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28191 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28192 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28193 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28194 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28195 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28196 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28197 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28198 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28199 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28200 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28201 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28202 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28203 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28204 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28205 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28206 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28207 * sysdeps/i386/fpu/e_log.S: Likewise.
28208 * sysdeps/i386/fpu/e_log10.S: Likewise.
28209 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28210 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28211 * sysdeps/i386/fpu/e_log2.S: Likewise.
28212 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28213 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28214 * sysdeps/i386/fpu/e_logf.S: Likewise.
28215 * sysdeps/i386/fpu/e_logl.S: Likewise.
28216 * sysdeps/i386/fpu/e_pow.S: Likewise.
28217 * sysdeps/i386/fpu/e_powf.S: Likewise.
28218 * sysdeps/i386/fpu/e_powl.S: Likewise.
28219 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28220 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28221 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28222 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28223 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28224 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28225 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28226 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28227 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28228 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28229 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28231 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28232 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28233 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28234 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28235 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28236 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28237 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28238 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28239 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28240 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28241 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28242 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28243 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28244 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28245 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28246 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28247 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28248 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28249 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28250 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28251 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28252 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28253 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28254 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28255 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28256 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28257 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28258 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28259 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28260 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28261 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28262 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28263 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28264 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28265 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28266 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28267 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28268 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28269 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28270 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28271 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28272 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28273 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28274 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28275 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28276 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28277 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28278 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28279 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28280 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28281 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28282 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28283 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28284 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28285 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28286 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28287 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28288 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28289 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28290 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28291 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28292 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28293 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28294 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28295 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28296 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28297 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28298 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28299 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28300 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28301 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28302 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28303 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28305 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28306 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28307 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28308 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28309 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28310 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28311 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28312 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28313 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28314 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28315 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28316 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28317 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28319 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28320 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28321 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28322 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28323 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28324 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28325 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28326 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28327 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28328 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28329 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28330 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28331 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28332 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28333 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28334 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28335 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28336 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28337 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28338 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28339 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28340 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28341 (__isnanf): Likewise.
28342 (__isinf_ns): Likewise.
28343 (__isinf_nsf): Likewise.
28344 (__finite): Likewise.
28345 (__finitef): Likewise.
28346 (__ieee754_sqrt): Define as macro.
28347 (__ieee754_sqrtf): Define as macro.
28348 (__ieee754_sqrtl): Define as macro.
28349 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28351 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28352 __FINITE_MATH_ONLY__ consistent.
28353 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28355 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28357 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28360 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28362 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28364 * po/ja.po: Update from translation team.
28366 2011-10-08 Roland McGrath <roland@hack.frob.com>
28368 * locale/programs/locarchive.c (prepare_address_space): New function.
28369 (create_archive, enlarge_archive, open_archive): Use it.
28371 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28372 inside [SHARED], where it is used.
28374 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28376 * nss/getent.c (netgroup_keys): Remove unused variable.
28377 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28379 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28381 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28382 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28383 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28384 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28385 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28386 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28387 * math/Makefile (libm-calls): Add s_isinf_ns.
28388 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28389 * math/multc3.c: Likewise.
28390 * math/s_casin.c: Likewise.
28391 * math/s_casinf.c: Likewise.
28392 * math/s_casinl.c: Likewise.
28393 * math/s_ccos.c: Likewise.
28394 * math/s_ccosf.c: Likewise.
28395 * math/s_ccosl.c: Likewise.
28396 * math/s_ctan.c: Likewise.
28397 * math/s_ctanf.c: Likewise.
28398 * math/s_ctanh.c: Likewise.
28399 * math/s_ctanhf.c: Likewise.
28400 * math/s_ctanhl.c: Likewise.
28401 * math/s_ctanl.c: Likewise.
28402 * math/w_fmod.c: Likewise.
28403 * math/w_fmodf.c: Likewise.
28404 * math/w_fmodl.c: Likewise.
28405 * math/w_remainder.c: Likewise.
28406 * math/w_remainderf.c: Likewise.
28407 * math/w_remainderl.c: Likewise.
28408 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28409 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28410 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28411 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28412 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28413 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28414 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28415 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28417 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28419 * stdio-common/printf_fphex.c: Likewise.
28420 * stdio-common/printf_size.c: Likewise.
28422 * math/e_exp10.c: Include math_private.h using <...> not "...".
28423 * math/e_exp10f.c: Likewise.
28424 * math/e_exp10l.c: Likewise.
28425 * math/e_exp2l.c: Likewise.
28426 * math/e_j0l.c: Likewise.
28427 * math/e_j1l.c: Likewise.
28428 * math/e_jnl.c: Likewise.
28429 * math/e_lgammal_r.c: Likewise.
28430 * math/e_rem_pio2l.c: Likewise.
28431 * math/e_scalb.c: Likewise.
28432 * math/e_scalbf.c: Likewise.
28433 * math/e_scalbl.c: Likewise.
28434 * math/k_cosl.c: Likewise.
28435 * math/k_sinl.c: Likewise.
28436 * math/k_tanl.c: Likewise.
28437 * math/s_cacoshf.c: Likewise.
28438 * math/s_catan.c: Likewise.
28439 * math/s_catanf.c: Likewise.
28440 * math/s_catanh.c: Likewise.
28441 * math/s_catanhf.c: Likewise.
28442 * math/s_catanhl.c: Likewise.
28443 * math/s_catanl.c: Likewise.
28444 * math/s_ccosh.c: Likewise.
28445 * math/s_ccoshf.c: Likewise.
28446 * math/s_ccoshl.c: Likewise.
28447 * math/s_cexp.c: Likewise.
28448 * math/s_cexpf.c: Likewise.
28449 * math/s_cexpl.c: Likewise.
28450 * math/s_clog.c: Likewise.
28451 * math/s_clog10.c: Likewise.
28452 * math/s_clog10f.c: Likewise.
28453 * math/s_clog10l.c: Likewise.
28454 * math/s_clogf.c: Likewise.
28455 * math/s_clogl.c: Likewise.
28456 * math/s_csin.c: Likewise.
28457 * math/s_csinf.c: Likewise.
28458 * math/s_csinh.c: Likewise.
28459 * math/s_csinhf.c: Likewise.
28460 * math/s_csinhl.c: Likewise.
28461 * math/s_csinl.c: Likewise.
28462 * math/s_csqrt.c: Likewise.
28463 * math/s_csqrtf.c: Likewise.
28464 * math/s_csqrtl.c: Likewise.
28465 * math/s_ctan.c: Likewise.
28466 * math/s_ctanf.c: Likewise.
28467 * math/s_ctanh.c: Likewise.
28468 * math/s_ctanhf.c: Likewise.
28469 * math/s_ctanhl.c: Likewise.
28470 * math/s_ctanl.c: Likewise.
28471 * math/s_ldexp.c: Likewise.
28472 * math/s_ldexpf.c: Likewise.
28473 * math/s_ldexpl.c: Likewise.
28474 * math/s_significand.c: Likewise.
28475 * math/s_significandf.c: Likewise.
28476 * math/s_significandl.c: Likewise.
28477 * math/w_acos.c: Likewise.
28478 * math/w_acosf.c: Likewise.
28479 * math/w_acosh.c: Likewise.
28480 * math/w_acoshf.c: Likewise.
28481 * math/w_acoshl.c: Likewise.
28482 * math/w_acosl.c: Likewise.
28483 * math/w_asin.c: Likewise.
28484 * math/w_asinf.c: Likewise.
28485 * math/w_asinl.c: Likewise.
28486 * math/w_atan2.c: Likewise.
28487 * math/w_atan2f.c: Likewise.
28488 * math/w_atan2l.c: Likewise.
28489 * math/w_atanh.c: Likewise.
28490 * math/w_atanhf.c: Likewise.
28491 * math/w_atanhl.c: Likewise.
28492 * math/w_cosh.c: Likewise.
28493 * math/w_coshf.c: Likewise.
28494 * math/w_coshl.c: Likewise.
28495 * math/w_dremf.c: Likewise.
28496 * math/w_exp10.c: Likewise.
28497 * math/w_exp10f.c: Likewise.
28498 * math/w_exp10l.c: Likewise.
28499 * math/w_exp2.c: Likewise.
28500 * math/w_exp2f.c: Likewise.
28501 * math/w_fmod.c: Likewise.
28502 * math/w_fmodf.c: Likewise.
28503 * math/w_fmodl.c: Likewise.
28504 * math/w_hypot.c: Likewise.
28505 * math/w_hypotf.c: Likewise.
28506 * math/w_hypotl.c: Likewise.
28507 * math/w_j0.c: Likewise.
28508 * math/w_j0f.c: Likewise.
28509 * math/w_j0l.c: Likewise.
28510 * math/w_j1.c: Likewise.
28511 * math/w_j1f.c: Likewise.
28512 * math/w_j1l.c: Likewise.
28513 * math/w_jn.c: Likewise.
28514 * math/w_jnf.c: Likewise.
28515 * math/w_jnl.c: Likewise.
28516 * math/w_lgamma.c: Likewise.
28517 * math/w_lgamma_r.c: Likewise.
28518 * math/w_lgammaf.c: Likewise.
28519 * math/w_lgammaf_r.c: Likewise.
28520 * math/w_lgammal.c: Likewise.
28521 * math/w_lgammal_r.c: Likewise.
28522 * math/w_log.c: Likewise.
28523 * math/w_log10.c: Likewise.
28524 * math/w_log10f.c: Likewise.
28525 * math/w_log10l.c: Likewise.
28526 * math/w_log2.c: Likewise.
28527 * math/w_log2f.c: Likewise.
28528 * math/w_log2l.c: Likewise.
28529 * math/w_logf.c: Likewise.
28530 * math/w_logl.c: Likewise.
28531 * math/w_pow.c: Likewise.
28532 * math/w_powf.c: Likewise.
28533 * math/w_powl.c: Likewise.
28534 * math/w_remainder.c: Likewise.
28535 * math/w_remainderf.c: Likewise.
28536 * math/w_remainderl.c: Likewise.
28537 * math/w_scalb.c: Likewise.
28538 * math/w_scalbf.c: Likewise.
28539 * math/w_scalbl.c: Likewise.
28540 * math/w_sinh.c: Likewise.
28541 * math/w_sinhf.c: Likewise.
28542 * math/w_sinhl.c: Likewise.
28543 * math/w_sqrt.c: Likewise.
28544 * math/w_sqrtf.c: Likewise.
28545 * math/w_sqrtl.c: Likewise.
28546 * math/w_tgamma.c: Likewise.
28547 * math/w_tgammaf.c: Likewise.
28548 * math/w_tgammal.c: Likewise.
28550 * po/ja.po: Update from translation team.
28552 2011-09-29 Andreas Jaeger <aj@suse.de>
28555 * sunrpc/netname.c (netname2host): Fix logic.
28559 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28561 * math/w_remainder.c (__remainder): Likewise.
28562 * math/w_remainderf.c (__remainderf): Likewise.
28563 * math/libm-test.inc (remainder_test): Add test cases.
28565 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28567 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28570 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28572 * string/test-memcmp.c: Avoid unncessary #defines.
28573 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28575 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28577 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28578 Use new sse2 version for core i3 - i7 as it's faster
28579 than sse42 version.
28580 (bit_Prefer_PMINUB_for_stringop): New.
28581 * sysdeps/x86_64/rawmemchr.S: Update.
28582 Replace with faster SSE2 version.
28583 * sysdeps/x86_64/memrchr.S: New file.
28584 * sysdeps/x86_64/memchr.S: Update.
28585 Replace with faster SSE2 version.
28587 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28589 * elf/dl-load.c (lose): Add cast to avoid warning.
28591 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28593 * po/ca.po: Update from translation team.
28595 * inet/getnetgrent_r.c: Hook up nscd.
28596 * nscd/Makefile (routines): Add nscd_netgroup.
28597 (nscd-modules): Add netgroupcache.
28598 (CFLAGS-netgroupcache.c): Define.
28599 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28600 (cache_search): Add const to second parameter.
28601 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28603 (dbs): Add netgrdb entry.
28604 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28605 (verify_persistent_db): Handle netgrdb.
28606 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28607 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28609 (netgroup_response_header): Define.
28610 (innetgroup_response_header): Define.
28611 (datahead): Add netgroup_response_header and innetgroup_response_header
28613 * nscd/nscd.conf: Add entries for netgroup cache.
28614 * nscd/nscd.h (dbtype): Add netgrdb.
28615 (_PATH_NSCD_NETGROUP_DB): Define.
28616 (netgroup_iov_disabled): Declare.
28617 (xmalloc, xcalloc, xrealloc): Move declarations here.
28618 (cache_search): Adjust prototype.
28619 Add netgroup-related prototypes.
28620 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28621 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28622 (__nscd_innetgr): Declare.
28623 * nscd/selinux.c (perms): Use access_vector_t as element type and
28624 add netgroup-related initializers.
28625 * nscd/netgroupcache.c: New file.
28626 * nscd/nscd_netgroup.c: New file.
28627 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28628 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28629 For four parameters use innetgr.
28630 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28631 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28632 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28633 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28635 * nscd/connections.c (register_traced_file): Don't register file
28636 for disabled databases.
28638 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28640 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28642 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28643 from tree and freeing node.
28645 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28647 * nss/nsswitch.c (__nss_database_lookup): Handle
28648 nss_parse_service_list out of memory case.
28650 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28652 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28653 out of memory case.
28655 2011-10-04 Andreas Schwab <schwab@redhat.com>
28657 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28658 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28660 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28661 elf_machine_rela, elf_machine_lazy_rel.
28662 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28663 (ELF_DYNAMIC_DO_REL): Likewise.
28664 (ELF_DYNAMIC_DO_RELA): Likewise.
28665 (ELF_DYNAMIC_RELOCATE): Likewise.
28666 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28667 to ELF_DYNAMIC_DO_REL.
28668 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28669 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28670 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28672 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28673 skip_ifunc, don't call ifunc function if non-zero.
28674 (elf_machine_rela): Likewise.
28675 (elf_machine_lazy_rel): Likewise.
28676 (elf_machine_lazy_rela): Likewise.
28677 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28678 (elf_machine_lazy_rel): Likewise.
28679 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28681 (elf_machine_lazy_rel): Likewise.
28682 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28684 (elf_machine_lazy_rel): Likewise.
28685 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28686 (elf_machine_lazy_rel): Likewise.
28687 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28688 (elf_machine_lazy_rel): Likewise.
28689 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28690 (elf_machine_lazy_rel): Likewise.
28691 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28692 (elf_machine_lazy_rel): Likewise.
28693 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28694 (elf_machine_lazy_rel): Likewise.
28695 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28696 (elf_machine_lazy_rel): Likewise.
28698 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28700 * nss/nss_files/files-init.c (_nss_files_init): Use static
28701 initialization for all the *_traced_file variables.
28703 2011-09-28 Andreas Schwab <schwab@redhat.com>
28705 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28707 2011-09-27 Roland McGrath <roland@hack.frob.com>
28710 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28712 2011-09-27 Andreas Schwab <schwab@redhat.com>
28714 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28715 Reread the line before reparsing it.
28717 2011-09-26 Andreas Schwab <schwab@redhat.com>
28719 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28721 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28722 Maxim Kuvyrkov <maxim@codesourcery.com>
28723 Joseph Myers <joseph@codesourcery.com>
28725 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28726 if needed for __stack_chk_guard.
28728 2011-09-19 Roland McGrath <roland@hack.frob.com>
28730 * sysdeps/posix/spawni.c (script_execute): Always define it.
28731 It will be optimized away if unused.
28732 (maybe_script_execute): New function.
28733 (__spawni): Call it.
28735 * Makerules: Don't include tls.make.
28736 (config-tls): Always set to thread.
28737 * tls.make.c: File removed.
28739 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28741 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28742 * config.make.in (CPPFLAGS-config): New substituted variable.
28744 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28746 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28749 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28750 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28752 2011-09-15 Roland McGrath <roland@hack.frob.com>
28754 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28755 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28756 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28757 (CALL_FAIL): Likewise.
28758 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28759 (CALL_FAIL): Macro removed.
28760 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28762 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28764 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28765 for __FINITE_MATH_ONLY__ == 1.
28767 2011-09-15 Andreas Schwab <schwab@redhat.com>
28769 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28770 __ieee754_sqrt instead of sqrt.
28771 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28772 __ieee754_sqrtf instead of sqrtf.
28773 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28774 __floorf instead of floorf.
28775 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28776 __floorf, __truncf instead of floorf, truncf.
28778 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28780 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28782 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28783 __extern_always_inline.
28784 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28787 2011-09-14 Andreas Schwab <schwab@redhat.com>
28789 * elf/rtld.c (dl_main): Also relocate in dependency order when
28790 doing symbol dependency testing.
28792 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28794 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28795 Always define `refsym'.
28797 2011-09-13 Andreas Schwab <schwab@redhat.com>
28799 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28800 (__FD_ELT): Renamed from __FDELT.
28801 * misc/bits/select2.h (__FD_ELT): Likewise.
28802 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28803 __FD_MASK instead of __FDELT, __FDMASK.
28804 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28806 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28809 * elf/Makefile (gen-ldd): Fix pattern.
28811 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28812 (init_tls): Likewise.
28814 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28816 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28818 2011-09-12 Andreas Schwab <schwab@redhat.com>
28820 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28821 `struct cmsghdr *' instead of `void *'.
28822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28825 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28827 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28829 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28830 ldd_rewrite_script.
28832 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28834 * configure.in: Remove --with-tls option.
28835 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28836 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28837 out in case it is missing.
28838 * sysdeps/ia64/elf/configure.in: Likewise.
28839 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28840 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28841 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28842 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28843 * sysdeps/sh/elf/configure.in: Likewise.
28844 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28845 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28846 * sysdeps/x86_64/elf/configure.in: Likewise.
28847 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28848 * sysdeps/mach/hurd/tls.h: Likewise.
28851 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28854 * configure.in: Fix use of AC_INIT.
28856 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28858 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28860 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28862 * malloc/hooks.c: Likewise.
28865 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28866 variables statically.
28867 (narenas): Initialize.
28868 (list_lock): Initialize.
28869 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28870 initializtion of main_arena and list_lock. Small cleanups.
28871 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28872 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28873 Add initializers to main_arena and mp_.
28874 (malloc_state): Remove pagesize member. Change all users to use
28877 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28878 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28879 is always initialized.
28881 * malloc/malloc.c: Removed unused configurations and dead code.
28882 * malloc/arena.c: Likewise.
28883 * malloc/hooks.c: Likewise.
28884 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28886 * include/tls.h: Removed. USE___THREAD must always be defined.
28887 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28888 * elf/dl-libc.c: Likewise.
28889 * elf/dl-tsd.c: Likewise.
28890 * include/errno.h: Likewise.
28891 * include/netdb.h: Likewise.
28892 * include/resolv.h: Likewise.
28893 * inet/herrno-loc.c: Likewise.
28894 * inet/herrno.c: Likewise.
28895 * malloc/arena.c: Likewise.
28896 * malloc/hooks.c: Likewise.
28897 * malloc/malloc.c: Likewise.
28898 * resolv/res-state.c: Likewise.
28899 * resolv/res_libc.c: Likewise.
28900 * sysdeps/i386/dl-machine.h: Likewise.
28901 * sysdeps/ia64/dl-machine.h: Likewise.
28902 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28903 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28904 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28905 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28906 * sysdeps/sh/dl-machine.h: Likewise.
28907 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28908 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28909 * sysdeps/unix/i386/sysdep.S: Likewise.
28910 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28911 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28913 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28914 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28915 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28916 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28917 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28920 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28921 * sysdeps/x86_64/dl-machine.h: Likewise.
28922 * tls.make.c: Likewise.
28924 * configure.in: Remove --with-__thread option. Make tests for
28925 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28926 tls_model attribute fail if no support is available. Remove
28928 * Makeconfig: Adjust for dropped configure option. All features are
28930 * Makerules: Likewise.
28931 * Versions.def: Likewise.
28932 * argp/argp-fmtstream.c: Likewise.
28933 * argp/argp-fmtstream.h: Likewise.
28934 * argp/argp-help.c: Likewise.
28935 * assert/assert.c: Likewise.
28936 * config.h.in: Likewise.
28937 * config.make.in: Likewise.
28938 * configure: Likewise.
28939 * configure.in: Likewise.
28940 * csu/Versions: Likewise.
28941 * csu/init.c: Likewise.
28942 * elf/tst-audit2.c: Likewise.
28943 * elf/tst-tls10.c: Likewise.
28944 * elf/tst-tls10.h: Likewise.
28945 * elf/tst-tls11.c: Likewise.
28946 * elf/tst-tls12.c: Likewise.
28947 * elf/tst-tls14.c: Likewise.
28948 * elf/tst-tlsmod11.c: Likewise.
28949 * elf/tst-tlsmod12.c: Likewise.
28950 * elf/tst-tlsmod13.c: Likewise.
28951 * elf/tst-tlsmod13a.c: Likewise.
28952 * elf/tst-tlsmod14a.c: Likewise.
28953 * elf/tst-tlsmod15b.c: Likewise.
28954 * elf/tst-tlsmod16a.c: Likewise.
28955 * elf/tst-tlsmod16b.c: Likewise.
28956 * elf/tst-tlsmod7.c: Likewise.
28957 * elf/tst-tlsmod8.c: Likewise.
28958 * elf/tst-tlsmod9.c: Likewise.
28959 * gmon/gmon.c: Likewise.
28960 * grp/fgetgrent_r.c: Likewise.
28961 * grp/putgrent.c: Likewise.
28962 * hurd/fopenport.c: Likewise.
28963 * include/libc-symbols.h: Likewise.
28964 * include/tls.h: Likewise.
28965 * intl/gettextP.h: Likewise.
28966 * intl/loadinfo.h: Likewise.
28967 * locale/global-locale.c: Likewise.
28968 * locale/localeinfo.h: Likewise.
28969 * mach/devstream.c: Likewise.
28970 * malloc/arena.c: Likewise.
28971 * malloc/set-freeres.c: Likewise.
28972 * misc/err.c: Likewise.
28973 * misc/getttyent.c: Likewise.
28974 * misc/mntent_r.c: Likewise.
28975 * posix/getopt.c: Likewise.
28976 * posix/wordexp.c: Likewise.
28977 * pwd/fgetpwent_r.c: Likewise.
28978 * resolv/Versions: Likewise.
28979 * resolv/res_hconf.c: Likewise.
28980 * shadow/fgetspent_r.c: Likewise.
28981 * shadow/putspent.c: Likewise.
28982 * stdio-common/printf_fphex.c: Likewise.
28983 * stdio-common/tmpfile.c: Likewise.
28984 * stdlib/abort.c: Likewise.
28985 * stdlib/fmtmsg.c: Likewise.
28986 * sunrpc/auth_unix.c: Likewise.
28987 * sunrpc/clnt_perr.c: Likewise.
28988 * sunrpc/clnt_tcp.c: Likewise.
28989 * sunrpc/clnt_udp.c: Likewise.
28990 * sunrpc/clnt_unix.c: Likewise.
28991 * sunrpc/openchild.c: Likewise.
28992 * sunrpc/svc_simple.c: Likewise.
28993 * sunrpc/svc_tcp.c: Likewise.
28994 * sunrpc/svc_udp.c: Likewise.
28995 * sunrpc/svc_unix.c: Likewise.
28996 * sunrpc/xdr.c: Likewise.
28997 * sunrpc/xdr_array.c: Likewise.
28998 * sunrpc/xdr_rec.c: Likewise.
28999 * sunrpc/xdr_ref.c: Likewise.
29000 * sunrpc/xdr_stdio.c: Likewise.
29002 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29004 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29006 2011-07-03 Andreas Jaeger <aj@suse.de>
29008 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29009 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29010 regenerate with gen-libm-tests.pl.
29012 2010-05-12 Petr Baudis <pasky@suse.cz>
29015 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29016 around j0() zero points by switching to j1().
29017 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29018 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29020 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29022 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29024 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29026 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29028 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29029 Patch in part by Pavel Roskin <proski@gnu.org>.
29032 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29034 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29035 Free memory block if necessary.
29038 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29039 be NULL. Don't lock in this case.
29041 2011-09-09 Roland McGrath <roland@hack.frob.com>
29043 * elf/elf.h (ELFOSABI_GNU): New macro.
29044 (ELFOSABI_LINUX): Define to that.
29046 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29048 * string/strncat.c (strncat): Undef the symbol in case it has been
29049 defined in bits/string.h.
29051 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29053 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29055 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29058 2011-08-17 Andreas Jaeger <aj@suse.de>
29060 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29062 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29063 Ian Lance Taylor <iant@google.com>
29065 * math/libm-test.inc (lround_test): New testcase.
29066 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29068 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29070 * Makefile: Remove support for automatic cvs check-ins.
29071 * Makerules: Likewise.
29072 * config.make.in: Likewise.
29073 * configure.in: Likewise.
29074 * intl/Makefile: Likewise.
29075 * locale/Makefile: Likewise.
29076 * po/Makefile: Likewise.
29077 * posix/Makefile: Likewise.
29078 * sysdeps/gnu/Makefile: Likewise.
29079 * sysdeps/mach/hurd/Makefile: Likewise.
29080 * sysdeps/sparc/sparc32/Makefile: Likewise.
29083 * posix/Makefile (bug-regex32-ENV): Define.
29084 Patch by John Stanley <jpsinthemix@verizon.net>.
29086 * misc/Makefile (headers): Add bits/select2.h.
29087 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29088 * misc/bits/select2.h: New file.
29089 * include/bits/select2.h: New file.
29090 * debug/Makefile (routines): Add fdelt_chk.
29091 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29092 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29094 * debug/fdelt_chk.c: New file.
29096 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29097 * wcsmbs/test-wmemcmp.c: Likewise.
29098 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29099 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29101 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29103 * string/Makefile (strop-tests): Add memcmp.
29104 * string/test-wmemcmp.c: New file.
29105 * string/test-memcmp.c: Add wmemcmp support.
29107 2011-09-08 Roland McGrath <roland@hack.frob.com>
29110 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29113 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29114 garbage value in a __mach_port_mod_refs call in the cases of the
29115 task-self and thread-self ports.
29117 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29119 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29121 2011-09-08 Andreas Schwab <schwab@redhat.com>
29123 * elf/dl-load.c (lose): Check for non-null L.
29125 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29127 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29129 * elf/dl-libc.c (dlerror_run): Pass back error code from
29133 * elf/dl-load.c (lose): Free l_origin if it is valid.
29135 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29137 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29138 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29139 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29140 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29141 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29142 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29144 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29146 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29147 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29148 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29149 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29150 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29151 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29152 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29153 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29154 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29155 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29157 2011-08-15 Alan Modra <amodra@gmail.com>
29160 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29161 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29162 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29163 ppc_mcount to static-only-routines.
29164 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29166 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29167 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29169 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29171 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29172 for finite and infinity parameters.
29174 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29176 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29177 and add nop instructions for throughput optimization.
29178 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29180 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29182 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29183 aligned copy for power7 with vector-scalar instructions.
29184 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29186 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29188 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29191 2011-09-07 Andreas Schwab <schwab@redhat.com>
29194 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29197 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29199 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29200 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29201 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29202 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29205 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29207 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29208 Forgot to demangle the pointer.
29210 * sysdeps/i386/sysdep.h: Define atom_text_section.
29211 * sysdeps/x86_64/sysdep.h: Likewise.
29212 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29213 section with atom_text_section.
29214 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29215 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29216 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29217 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29218 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29220 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29221 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29222 already be defined. Change to take two parameters and don't assign
29223 result to variable. Adjust all users.
29224 Define INTERNAL_GETTIME if not already defined.
29225 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29228 HAVE_CLOCK_GETTIME_VSYSCALL.
29229 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29231 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29232 gettimeofday vsyscall, just use time.
29234 2011-09-06 Andreas Schwab <schwab@redhat.com>
29236 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29239 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29241 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29243 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29245 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29246 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29247 syscall if possible.
29249 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29251 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29252 e_ident. Don't pass to find_mapsXX.
29253 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29255 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29258 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29259 * sysdeps/x86_64/multiarch/strchr.S: Update.
29260 Check bit_slow_BSF bit.
29261 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29262 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29263 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29265 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29268 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29270 (tryshell): Define.
29271 (__spawni): Change last parameter to be flag. Test
29272 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29273 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29274 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29275 * posix/spawni.c: Likewise.
29276 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29277 * posix/spawnp.c: Likewise. Change normal version to use
29278 SPAWN_XFLAGS_USE_PATH.
29279 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29280 SPAWN_XFLAGS_TRY_SHELL.
29283 * posix/glob.h: Remove gcc 1.x support.
29286 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29288 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29291 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29293 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29294 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29295 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29296 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29297 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29298 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29300 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29302 * sysdeps/x86_64/wcscmp.S: New file.
29304 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29305 wcscmp-c wcscmp-sse2
29306 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29307 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29308 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29309 * wcsmbs/wcscmp.c: Allow renaming.
29311 2011-09-05 David S. Miller <davem@davemloft.net>
29313 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29314 stack slot, rather than the struct return pointer slot.
29315 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29316 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29318 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29320 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29322 * po/ja.po: Update from translation team.
29325 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29326 kernel in 64-bit binaries.
29328 2011-09-01 David S. Miller <davem@davemloft.net>
29330 * elf/elf.h (HWCAP_SPARC_*): Move to..
29331 * sysdeps/sparc/sysdep.h: this new file and add new values.
29332 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29333 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29334 _DL_HWCAP_COUNT to 24.
29335 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29337 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29338 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29339 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29340 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29341 instead of magic constants.
29342 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29344 2011-08-31 David S. Miller <davem@davemloft.net>
29346 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29347 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29348 Reimplement to do errno handling inline.
29349 (SYSCALL_ERROR_HANDLER): New macro.
29350 (__SYSCALL_STRING): Do not do errno handling in asm.
29351 (__CLONE_SYSCALL_STRING): Delete.
29352 (__INTERNAL_SYSCALL_STRING): Delete.
29353 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29354 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29355 (PSEUDO): Reimplement to do errno handling inline.
29356 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29357 (SYSCALL_ERROR_HANDLER): New macro.
29358 (__SYSCALL_STRING): Do not do errno handling in asm.
29359 (__CLONE_SYSCALL_STRING): Delete.
29360 (__INTERNAL_SYSCALL_STRING): Delete.
29361 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29362 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29364 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29365 (inline_syscall*): Add 'err' argument.
29366 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29367 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29368 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29369 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29371 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29372 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29374 2011-08-30 Andreas Schwab <schwab@redhat.com>
29376 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29378 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29380 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29383 2011-08-24 David S. Miller <davem@davemloft.net>
29385 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29387 2011-08-24 Andreas Schwab <schwab@redhat.com>
29389 * elf/Makefile: Add rules to build and run unload8 test.
29390 * elf/unload8.c: New file.
29391 * elf/unload8mod1.c: New file.
29392 * elf/unload8mod1x.c: New file.
29393 * elf/unload8mod2.c: New file.
29394 * elf/unload8mod3.c: New file.
29396 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29399 2011-08-23 David S. Miller <davem@davemloft.net>
29401 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29402 subtract stack bias.
29403 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29404 %sp not %fp in calculations.
29405 (_JMPBUF_UNWINDS_ADJ): Likewise.
29407 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29408 (aio_suspend): Call it to force an exception region around the
29409 AIO_MISC_WAIT() invocation.
29411 2011-08-23 Andreas Schwab <schwab@redhat.com>
29413 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29416 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29418 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29420 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29421 and <dl-machine.h>.
29422 (Elf64_FuncDesc): Remove.
29424 2011-08-22 David S. Miller <davem@davemloft.net>
29426 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29427 sigaltstack check, add missing cfi directives.
29428 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29429 missing cfi directives, and sigaltstack handling.
29431 2011-08-16 Andreas Schwab <schwab@redhat.com>
29434 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29435 object is seen twice.
29436 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29438 * elf/Makefile (distribute): Add tst-initorder2.c.
29439 (tests): Add tst-initorder2.
29440 (modules-names): Add tst-initorder2a tst-initorder2b
29441 tst-initorder2c tst-initorder2d. Add rules to build them.
29442 ($(objpfx)tst-initorder2.out): New rule.
29443 * elf/tst-initorder2.c: New file.
29444 * elf/tst-initorder2.exp: New file.
29446 2011-08-22 Andreas Schwab <schwab@redhat.com>
29448 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29450 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29451 dependencies back to end of function.
29453 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29454 $(elfobjdir)/ld.so.
29456 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29458 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29459 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29460 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29461 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29462 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29463 of __vdso_gettimeofday.
29464 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29465 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29467 (_libc_vdso_platform_setup): Remove initialization of
29468 __vdso_gettimeofday and __vdso_time.
29470 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29472 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29473 and fgetc_unlocked.
29474 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29477 * elf/dl-open.c (add_to_global): Report additions to the global scope
29478 for LD_DEBUG=scopes.
29479 (dl_open_worker): Also print scope of newly loaded dependencies.
29480 (_dl_show_scope): Indicate if there is no scope.
29483 * stdio-common/Makefile (tests): Add bug24.
29484 * stdio-common/bug24.c: New file.
29486 2011-08-19 Andreas Jaeger <aj@suse.de>
29489 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29490 non-existant file when using close-on-exec mode.
29492 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29494 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29495 the very first instruction.
29497 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29498 the CFI state in the end.
29499 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29500 inclusion of dl-trampoline.h.
29501 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29503 2011-08-19 Andreas Schwab <schwab@redhat.com>
29505 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29506 expectations for long double.
29508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29509 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29511 2011-08-14 David S. Miller <davem@davemloft.net>
29513 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29514 artificual limit depends upon the system page size.
29516 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29518 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29519 * resolv/Makefile: Define CFLAGS-libresolv.
29521 2011-08-17 Andreas Schwab <schwab@redhat.com>
29523 * nss/makedb.c (compute_tables): Make variables used in nested
29526 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29528 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29529 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29530 if buffer was too small.
29532 * elf/pldd.c (main): Attach to all threads in the process.
29533 Rewrite /proc handling to use *at functions.
29535 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29537 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29538 specifies first scope to show.
29539 (dl_open_worker): Update callers. Move printing scope of new
29540 object to before the relocation.
29541 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29542 * sysdeps/generic/ldsodefs.h: Update declaration.
29544 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29545 string for the scope number.
29547 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29549 * nscd/servicescache.c (cache_addserv): Make sure written is always
29552 2011-08-14 Roland McGrath <roland@hack.frob.com>
29554 * sysdeps/i386/i486/bits/atomic.h
29555 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29556 statement expression, so as to suppress "set but not used" warning.
29557 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29559 * string/strncat.c (STRNCAT): Use prototype definition.
29561 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29562 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29564 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29565 (localedef-modules): Add localedef.
29566 (locale-modules): Add locale.
29568 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29569 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29570 to avoid a warning.
29572 2011-08-14 David S. Miller <davem@davemloft.net>
29574 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29575 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29577 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29579 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29580 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29581 * elf/rtld.c (dl_main): Set l_name of vDSO.
29582 Call _dl_show_scope when DL_DEBUG_SCOPES.
29583 (process_dl_debug): Recognize scopes flag and also set it for all.
29584 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29585 Declare _dl_show_scope.
29587 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29588 (do_dlopen): Pass caller_dlopen to dl_open.
29589 (__libc_dlopen_mode): Initialize caller_dlopen.
29591 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29592 of libc. Make tolower call locale-independent. Optimize a bit by
29593 using isdigit instead of isalnum.
29594 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29596 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29598 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29599 was a dependency or dynamically loaded.
29601 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29603 * intl/l10nflist.c: Allow architecture-specific pop function.
29604 * sysdeps/x86_64/l10nflist.c: New file.
29606 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29609 2011-08-10 Andreas Schwab <schwab@redhat.com>
29611 * include/dirent.h: Add libc_hidden_proto for scandirat and
29612 scandirat64. Don't declare __scandirat64.
29613 * dirent/scandirat.c: Add libc_hidden_def.
29614 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29615 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29617 2011-08-10 David S. Miller <davem@davemloft.net>
29619 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29621 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29622 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29623 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29625 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29627 * Versions.def [libc]: Add GLIBC_2.15.
29628 * dirent/Makefile (routines): Add scandirat and scandirat64.
29629 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29631 * dirent/dirent.h: Declare scandirat and scandirat64.
29632 * dirent/scandirat.c: New file.
29633 * dirent/scandirat64.c: New file.
29634 * sysdeps/wordsize-64/scandirat.c: New file.
29635 * sysdeps/wordsize-64/scandirat64.c: New file.
29636 * dirent/opendir.c: Define opendirat.
29637 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29639 * dirent/scandir64.c: Adjust for scandir.c change.
29640 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29641 __scandirat64, and __scandir_cancel_handler.
29642 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29643 additional parameter and use openat instead of open (outside of ld.so).
29644 Add new __opendir as wrapper around __opendirat.
29645 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29646 here without requiring old scandirat implementation.
29648 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29650 * dirent/scandir.c (cancel_handler): Renamed to
29651 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29652 defined. Adjust users.
29653 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29654 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29656 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29658 * string/test-string.h (IMPL): Use __STRING to expand name and then
29661 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29664 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29666 * string/Makefile: Update.
29667 (strop-tests): Append strncat.
29668 * string/test-wcscmp.c: New file.
29669 New comprehensive test for wcscmp.
29670 * string/test-strcmp.c: Update.
29671 (WIDE): New define.
29673 2011-07-22 Andreas Schwab <schwab@redhat.com>
29675 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29678 2011-07-26 Andreas Schwab <schwab@redhat.com>
29680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29681 encoding to ACE if AI_IDN.
29683 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29685 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29686 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29688 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29690 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29691 Fix overflow bug in strncat.
29692 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29694 * string/test-strncat.c: Update.
29695 Add new tests for checking overflow bugs.
29697 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29699 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29700 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29701 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29702 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29703 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29704 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29705 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29706 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29707 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29709 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29710 (USE_AS_STRCAT): Define.
29711 Add strcat and strncat support.
29712 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29714 2011-07-25 Andreas Schwab <schwab@redhat.com>
29716 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29717 __n bigger than INT_MAX+1.
29718 (__strncmp_g): Likewise.
29720 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29722 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29723 * libio/stido.h: Likewise.
29725 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29730 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29731 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29732 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29733 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29734 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29737 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29740 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29742 (_dl_x86_64_save_sse): Likewise.
29744 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29746 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29748 (_dl_x86_64_save_sse): Likewise.
29750 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29752 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29754 2011-07-21 Andreas Schwab <schwab@redhat.com>
29756 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29758 (_dl_x86_64_save_sse): Use correct AVX check.
29760 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29762 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29763 bug in strncpy/strncat.
29764 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29766 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29768 * string/tester.c (test_strcat): Add tests for different alignments
29769 of source and destination.
29770 (test_strncat): Likewise.
29772 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29775 * posix/glob.c (glob): Check passed in values before using them in
29776 expressions to avoid some overflows.
29777 (glob_in_dir): Likewise.
29780 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29781 check for AVX enablement so that we don't crash with old kernels and
29783 * elf/tst-audit4.c: Add same checks here.
29784 * elf/tst-audit6.c: Likewise.
29786 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29788 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29790 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29792 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29794 * po/cs.po: Update from translation team.
29795 * po/bg.po: Likewise.
29797 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29799 * misc/sys/cdefs.h: Add support for const attribute.
29800 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29801 to gnu_dev_{major,minor,makedev} functions.
29803 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29805 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29807 2011-07-20 Andreas Schwab <schwab@redhat.com>
29809 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29812 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29814 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29815 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29816 register in order to avoid conflicts with the soft frame pointer
29817 being held in r11 when necessary.
29818 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29819 (INTERNAL_VSYSCALL_NCS): Likewise.
29821 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29823 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29824 * elf/dl-fini.c (_dl_fini): Adjust caller.
29825 * elf/dl-close.c (_dl_close_worker): Likewise.
29826 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29828 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29830 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29831 "aux_cache->nlibs < 0".
29833 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29834 in the reload-count case.
29836 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29839 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29840 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29841 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29842 * sysdeps/x86_64/multiarch/strcat.S: New file.
29843 * sysdeps/x86_64/multiarch/strncat.S: New file.
29844 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29845 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29846 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29847 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29848 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29849 (USE_AS_STRCAT): Define.
29850 Add strcat and strncat support.
29851 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29852 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29853 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29854 * string/strncat.c: Update.
29855 (USE_AS_STRNCAT): Define.
29856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29857 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29859 * sysdeps/x86_64/multiarch/init-arch.h
29860 (bit_Prefer_PMINUB_for_stringop): New.
29861 (index_Prefer_PMINUB_for_stringop): Likewise.
29862 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29863 bit_Prefer_PMINUB_for_stringop.
29865 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29867 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29869 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29870 of casting of buffer.
29871 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29872 buffer32 and buffer64.
29873 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29874 writes instead of casting of buffer.
29875 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29877 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29880 2011-07-19 Andreas Schwab <schwab@redhat.com>
29882 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29884 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29886 * nscd/nscd.c (termination_handler): Don't do anything for a database
29887 if it has not yet been initialized.
29889 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29891 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29893 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29895 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29897 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29899 * po/nl.po: Update from translation team.
29900 * po/sv.po: Likewise.
29902 2011-07-16 Roland McGrath <roland@hack.frob.com>
29904 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29905 now disallowed by GCC.
29907 * configure.in (use-default-link): Default to yes if a test -shared
29908 link meets our qualifications.
29909 * configure: Regenerated.
29911 * config.make.in (output-format): New variable.
29912 * configure.in: Check for ld --print-output-format support.
29913 * configure: Regenerated.
29914 * Makerules ($(common-objpfx)format.lds)
29915 [$(output-format) != unknown]: Just use $(output-format),
29916 instead of the linker-script munging.
29918 2011-07-14 Roland McGrath <roland@hack.frob.com>
29920 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29921 of $(common-objpfx)shlib.lds.
29922 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29924 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29925 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29927 * configure.in (-z relro check): Adjust test code to add a large
29928 writable data section after it.
29929 * configure: Regenerated.
29931 2011-07-11 Roland McGrath <roland@hack.frob.com>
29933 * configure.in (-z relro check): Fix test code to make the variable
29935 * configure: Regenerated.
29937 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29939 * nscd/nscd.h (struct traced_file): Define.
29940 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29941 elements. Add traced_files.
29942 (inotify_fd): Declare.
29943 (register_traced_file): Declare.
29944 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29945 (inotify_fd): Export.
29946 (resolv_conf_descr): Remove.
29947 (nscd_init): Move inotify descriptor creation to main.
29948 Don't register files for notification here.
29949 (register_traced_file): New function.
29950 (invalidate_cache): Don't use reset_res to determine whether to call
29951 res_init, go through the list of registered files.
29952 (main_loop_poll): The inotify descriptors are now stored in the
29953 structures for the traced files.
29954 (main_loop_epoll): Likewise
29955 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29956 to __nss_disable_nscd.
29957 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29958 for a database anymore. Check the records for all the registered
29960 * nss/Makefile (libnss_files-routines): Add files-init.
29961 (libnss_db-routines): Add db-init.
29962 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29963 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29964 * nss/nss_db/db-init.c: New file.
29965 * nss/nss_files/files-init.c: New file.
29966 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29967 __nss_lookup_function.
29968 (__nss_lookup_function): Call nss_load_library.
29969 (nss_load_all_libraries): New function.
29970 (__nss_disable_nscd): Take parameter with callback function for files
29971 to register. Set is_nscd. Load all the DSOs for the NSS modules
29972 used for the cached services.
29973 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29974 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29975 options for features to all the files in nscd.
29977 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29979 2011-07-10 Roland McGrath <roland@hack.frob.com>
29981 * csu/elf-init.c (__libc_csu_init): Comment typo.
29983 2011-07-09 Ulrich Drepper <drepper@gmail.com>
29985 * po/pl.po: Update from translation team.
29986 * po/ja.po: Likewise.
29987 * po/ru.po: Likewise.
29988 * po/ko.po: Likewise.
29989 * po/fr.po: Likewise.
29991 2011-07-09 Roland McGrath <roland@hack.frob.com>
29993 * configure.in (.ctors/.dtors header and trailer check):
29994 Use an empirical test on a built program.
29995 * configure: Regenerated.
29997 * configure.in (-z relro check): Use an empirical test on a built DSO.
29998 Detect, but do not require, on ia64.
29999 * configure: Regenerated.
30001 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30002 Update tests that use readelf to use $READELF instead.
30003 * configure: Regenerated.
30005 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30007 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30008 if the result is not used.
30010 2011-07-05 Andreas Jaeger <aj@suse.de>
30013 * stdlib/tst-strtod.c: Add testcase.
30015 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30017 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30018 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30019 The latter has a higher limit. Take additional parameter to pass to
30021 (__pathconf): Pass file to __statfs_link_max.
30022 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30024 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30028 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30029 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30031 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30032 (__statfs_filesize_max): Likewise.
30033 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30035 2011-07-05 Andreas Jaeger <aj@suse.de>
30037 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30039 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30041 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30043 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30046 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30048 * Makefile (strop-tests): Add strncat.
30049 * string/test-strncat.c: New file.
30051 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30053 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30055 2011-06-21 Andreas Jaeger <aj@suse.de>
30057 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30058 Copy rule from iconvdata/Makefile.
30060 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30063 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30064 but no long options are defined, just return 'W'.
30066 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30069 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30071 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30073 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30075 (innetgr): Likewise.
30077 2011-07-05 Roland McGrath <roland@hack.frob.com>
30079 * config.make.in (install_root): Default to $(DESTDIR).
30081 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30083 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30085 2011-07-02 Roland McGrath <roland@hack.frob.com>
30087 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30089 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30090 containing directory rather than embedding absolute directory names.
30092 * scripts/check-local-headers.sh: Rewritten using awk.
30093 Match by word, not by line. Print error messages for matches.
30094 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30096 * Makerules [shlib-lds-flags empty]:
30097 ($(common-objpfx)libc_pic.opts): New target.
30098 ($(common-objpfx)libc_pic.os.clean): New target.
30099 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30101 * config.make.in (OBJCOPY): New variable.
30102 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30103 * configure: Regenerated.
30105 * config.make.in (use-default-link): New variable.
30106 * configure.in (use_default_link): Grok --with-default-link to set it.
30107 * configure: Regenerated.
30108 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30109 (shlib-lds, shlib-lds-flags): Define to empty.
30111 * Makerules (shlib-lds): New variable.
30112 (shlib-lds-flags): New variable.
30113 (build-shlib, build-moduile, build-module-asneeded): Use it.
30114 ($(common-objpfx)libc.so): Use $(shlib-lds).
30115 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30116 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30118 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30119 DT_FLAGS/DT_FLAGS_1 with zero flags.
30121 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30122 linker script munging.
30124 2011-07-02 Ulrich Drepper <drepper@gmail.com>
30126 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30128 * crypt/sha512.c (sha512_process_block): Perform total addition using
30129 128-bit if possible.
30130 (__sha512_finish_ctx): Likewise.
30131 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30133 * crypt/sha256.c (SWAP64): Define.
30134 (sha256_process_block): Perform total addition using 64-bit if
30136 (__sha256_finish_ctx): Likewise.
30138 2011-07-01 Ulrich Drepper <drepper@gmail.com>
30140 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30141 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30142 * nscd/hstcache.c (cache_addhst): Likewise.
30143 * nscd/grpcache.c (cache_addgr): Likewise.
30144 * nscd/aicache.c (addhstaiX): Likewise
30145 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30147 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
30149 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30150 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30151 * nscd/hstcache.c (cache_addhst): Likewise.
30152 * nscd/grpcache.c (cache_addgr): Likewise.
30153 * nscd/aicache.c (addhstaiX): Likewise
30155 2011-07-01 Andreas Schwab <schwab@redhat.com>
30157 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30158 domain only when needed.
30160 2011-06-30 Andreas Schwab <schwab@redhat.com>
30162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30163 is always restored.
30165 2011-06-29 Ulrich Drepper <drepper@gmail.com>
30167 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30168 are re-adding the entry.
30169 * nscd/servicescache.c (cache_addserv): Likewise.
30171 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30173 * sysdeps/generic/dl-irel.h: fix protection against multiple
30175 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30177 2011-06-28 Ulrich Drepper <drepper@gmail.com>
30180 * malloc/memusage.sh: Fix quoting in message.
30181 * debug/xtrace.sh: Likewise.
30183 * configure.in: Remove support for --experimental-malloc option, make
30185 * config.make.in: Likewise.
30186 * malloc/Makefile: Likewise.
30188 2011-06-27 Andreas Schwab <schwab@redhat.com>
30190 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30191 two-byte characters.
30193 2011-06-27 Roland McGrath <roland@hack.frob.com>
30195 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30196 AC_CACHE_CHECK invocation.
30197 * configure: Regenerated.
30199 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30201 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30204 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30205 bit from old_res_options.
30207 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30209 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30210 value type for setfct.
30212 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30214 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30215 __gettimeofday instead of gettimeofday.
30217 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30219 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30221 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30223 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30225 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30228 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30230 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30231 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30232 strcpy-sse2-unaligned strncpy-sse2-unaligned
30233 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30234 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30235 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30236 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30237 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30238 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30239 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30240 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30241 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30242 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30243 (STRCPY): Support SSE2 and SSSE3 versions.
30245 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30248 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30249 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30250 kernels which artificially limit size of requests.
30252 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30255 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30256 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30257 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30258 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30259 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30260 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30261 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30262 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30263 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30264 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30265 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30266 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30267 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30268 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30270 Enable unaligned load optimization for Intel Core i3, i5 and i7
30272 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30274 (index_Fast_Unaligned_Load): Define.
30275 (HAS_FAST_UNALIGNED_LOAD): Define.
30277 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30279 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30281 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30284 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30285 until it is clear that the information is realy needed.
30286 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30288 2011-06-22 Andreas Schwab <schwab@redhat.com>
30290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30292 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30294 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30295 /sys/devices/system/cpu/online if it is usable.
30297 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30298 reading the information from the /proc filesystem to once a second.
30300 2011-06-21 Andreas Jaeger <aj@suse.de>
30302 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30303 NULL after inclusion of kernel headers.
30305 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30307 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30308 calls to internal_setent.
30311 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30312 addresses using gethostbyname4_r ignore IPv4 addresses.
30314 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30315 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30317 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30319 2011-06-20 David S. Miller <davem@davemloft.net>
30321 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30323 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30325 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30326 (elf_irel): Use it.
30327 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30328 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30329 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30330 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30331 * sysdeps/x86_64/dl-irel.h: Likewise.
30333 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30334 * elf/dl-sym.c: Likewise.
30336 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30338 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30339 need to dereference resplen2.
30341 2011-06-14 Andreas Schwab <schwab@redhat.com>
30343 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30345 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30347 * Makeconfig: Define vardbdir and inst_vardbdir.
30348 * nss/Makefile: Add rules to install db-Makefile.
30350 * nss/nss_db/db-XXX.c: Cleanup.
30352 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30353 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30355 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30356 * nss/makedb.c: Implement -g option to specify that value strings
30357 are generated and should not be added to table iterated over for
30359 * nss/nss_db/db-initgroups.c: New file.
30361 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30364 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30365 (internal_getgrouplist): Adjust to name change.
30366 Update use_initgroups_entry if this is not the first call.
30367 * nss/databases.def: Add initgroups entry.
30369 * nss/makedb.c (compute_tables): Check result of multiple hash table
30370 sizes to minimize maximum chain length.
30372 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30374 * Versions.def: Add entry for libnss_db.
30375 * shlib-versions: Likewise.
30376 * nss/Makefile: Add rules to build libnss_db.
30377 * nss/Versions: Add libnss_db information. Organize libnss_files
30379 * nss/db-Makefile: Add gshadow support. Change rules for the new
30380 makedb progra. Some minor improvements to generate smaller files.
30381 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30383 * nss/makedb.c: ...here.
30384 Improve database format to be smaller and require less memory at
30386 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30388 * nss/nss_db/db-netgrp.c: Likewise.
30389 * nss/nss_db/db-open.c: Likewise.
30390 * nss/nss_files/flies-XXX.x: Adjust comments.
30391 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30392 * nss/nss_files/files-grp.c: Likewise.
30393 * nss/nss_files/files-hosts.c: Likewise.
30394 * nss/nss_files/files-network.c: Likewise.
30395 * nss/nss_files/files-proto.c: Likewise.
30396 * nss/nss_files/files-pwd.c: Likewise.
30397 * nss/nss_files/files-rpc.c: Likewise.
30398 * nss/nss_files/files-service.c: Likewise.
30399 * nss/nss_files/files-sgrp.c: Likewise.
30400 * nss/nss_files/files-spwd.c: Likewise.
30401 * nss/nss_db/db-alias.c: Removed.
30402 * nss/nss_db/dummy-db.h: Removed.
30404 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30406 * nss/makedb.c: Rewritten to not use database library.
30407 * nss/Makefile: Update to build new makedb program.
30409 2011-06-14 Andreas Jaeger <aj@suse.de>
30411 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30412 memset declaration.
30414 2011-06-10 Andreas Schwab <schwab@redhat.com>
30416 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30419 2011-06-10 Roland McGrath <roland@hack.frob.com>
30421 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30422 * elf/Makefile ($(objpfx)ld.so): Likewise.
30424 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30425 Don't list ld.so twice in dependencies.
30427 * posix/bug-regex31.c: Include <stdlib.h>.
30429 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30431 * nis/nss_compat/compat-spwd.c
30432 (getspent_next_nss_netgr): Remove unused variable.
30433 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30435 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30436 nonmembers" output to use the right array.
30438 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30440 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30442 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30443 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30444 * catgets/gencat.c (read_input_file): Likewise.
30445 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30447 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30448 variable definition inside #if's controlling its use.
30450 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30452 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30454 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30456 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30459 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30461 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30462 * configure: Regenerated.
30464 * Makerules: Revert last change.
30465 * elf/Makefile: Likewise.
30467 2011-06-09 Roland McGrath <roland@hack.frob.com>
30469 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30470 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30471 (reloc-link): Likewise.
30473 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30475 * elf/Makefile: Add rules to build pldd.
30476 * elf/pldd.c: New file.
30477 * elf/pldd-xx.c: New file.
30479 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30481 * version.h: Update for 2.15 development version.
30483 2011-06-07 David S. Miller <davem@davemloft.net>
30485 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30487 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30488 elf_machine_lazy_rel): Likewise.
30489 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30490 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30491 elf_machine_lazy_rel): Likewise.
30492 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30493 dl_hwcap via passed in argument.
30494 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30497 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30499 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30501 2011-06-06 Roland McGrath <roland@hack.frob.com>
30504 * manual/fdl-1.1.texi: New file, verbatim from:
30505 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30506 * manual/lgpl-2.1.texi: New file, verbatim from:
30507 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30508 * manual/Makefile (licenses): New variable, list those new file names.
30510 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30512 * manual/fdl.texi: File removed.
30513 * manual/lesser.texi: File removed.
30514 * manual/libc.texinfo (Copying, Documentation License):
30515 Use new @include file names, put @appendix directive before @include.
30517 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30520 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30521 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30522 (mq_open): Add __NTH.
30524 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30527 Assume Intel Core i3/i5/i7 processor if AVX is available.
30529 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30534 2011-05-31 Andreas Schwab <schwab@redhat.com>
30536 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30537 memory. Use alloca_account. Fix memory leak when retrying.
30539 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30541 * version.h (RELEASE): Bump for 2.14 release.
30542 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30544 * config.make.in (RANLIB): Remove entry.
30546 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30548 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30549 (libc.pot): Work around missing support for .ksh extension in xgettext.
30552 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30553 if both request failed.
30554 (send_dg): In case of server errors clear resplen or *resplen2.
30557 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30558 when there are multiple maps.
30559 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30560 (_dl_fini): Remove test here.
30562 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30564 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30567 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30568 bit from old_res_options.
30569 (gaih_inet): Likewise.
30572 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30575 * resolv/res_init.c (res_setoptions): Make the code more compact.
30578 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30582 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30584 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30587 * malloc/malloc.h: Declare malloc hook variables as volatile.
30589 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30593 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30594 raise in the comment.
30595 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30596 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30597 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30599 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30602 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30603 grow the buffers more if it already has to be sufficient.
30604 (build_wcs_upper_buffer): Likewise.
30605 * posix/regexec.c (check_matching): Likewise.
30606 (clean_state_log_if_needed): Likewise.
30607 (extend_buffers): Don't enlarge buffers beyond size of the input
30609 Patches mostly by Emil Wojak <emil@wojak.eu>.
30610 * posix/bug-regex32.c: New file.
30611 * posix/Makefile (tests): Add bug-regex32.
30613 * locale/findlocale.c (_nl_find_locale): Return right away if
30614 _nl_explode_name failed.
30615 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30617 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30619 * debug/xtrace.sh: Unify messages.
30620 * malloc/memusage.sh: Likewise.
30623 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30624 time symbol from vDSO. Substitute with vsyscall if not available.
30625 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30628 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30629 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30630 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30631 Add sendmmsg and internal_sendmmsg.
30632 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30633 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30634 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30636 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30637 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30638 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30640 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30643 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30644 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30646 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30650 * iconvdata/Makefile (tests): Add bug-iconv9.
30651 * iconvdata/bug-iconv9.c: New file.
30653 2011-05-27 Andreas Schwab <schwab@redhat.com>
30656 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30658 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30660 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30661 (struct user_regs_struct): Change intcs field back to cs.
30663 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30665 * po/ja.po: Update from translation team.
30667 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30670 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30671 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30673 2011-05-20 Andreas Schwab <schwab@redhat.com>
30675 * stdlib/longlong.h: Update from GCC.
30677 2011-05-23 Andreas Schwab <schwab@redhat.com>
30679 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30681 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30682 Add parameter name.
30683 (__sysconf): Pass it down.
30685 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30688 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30690 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30691 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30692 add in in __libc_use_alloca calls. Adjust callers.
30693 (glob): Use malloc in some situations.
30695 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30696 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30699 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30701 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30702 and CLOCK_BOOTTIME_ALARM.
30705 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30708 * string/_strerror.c (__strerror_r): Print negative errors as signed
30712 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30713 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30714 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30716 * configure.in: Fix typo in redirection and correct removal of test
30717 files in two cases.
30720 * locale/setlocale.c (new_composite_name): Fix test to check for
30721 identical name of all categories.
30724 * libio/filedoalloc.c (local_isatty): New function.
30725 (_IO_file_doallocate): Use local_isatty.
30726 * stdio-common/perror.c (perror): In case a new stream is used
30727 forward the stream error.
30728 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30731 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30736 * include/alloca.h (extend_alloca_account): Define.
30739 * posix/regex.h: Fix comments with documentation of user-accessible
30740 fields after compilation and describe correct free'ing of pattern
30741 after re_compile_pattern.
30742 Patch by Reuben Thomas <rrt@sc3d.org>.
30744 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30746 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30747 and -mno-altivec to prevent the compiler from using Altivec and/or
30748 VSX instructions when the corresponding registers are not available.
30750 2011-05-19 Andreas Schwab <schwab@redhat.com>
30752 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30754 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30756 * libio/freopen.c (freopen): Use __dup2, not dup2.
30757 * libio/freopen64.c (freopen64): Likewise.
30759 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30762 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30763 * math/Makefile (tests): Add test-powl.
30764 (CFLAGS-test-powl.c): Define.
30765 * math/test-powl.c: New file.
30767 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30769 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30771 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30774 * iconvdata/gb18030.c: Update to GB18020-2005.
30776 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30778 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30779 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30780 Patch by Aharon Robbins <arnold@skeeve.com>.
30783 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30787 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30788 through underflows.
30791 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30792 point to strings before performing equality test for error_one_per_line
30796 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30799 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30800 (struct user_fpregs_struct): Avoid __uint*_t types.
30803 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30804 symbol info. Use it instead of calling _dl_addr locally.
30805 (lock_and_info): New function.
30806 (tr_freehook): Call lock_and_info and pass symbol info as additional
30807 parameter to tr_where.
30808 (tr_mallochook): Likewise.
30809 (tr_reallochook): Likewise.
30810 (tr_memalignhook): Likewise.
30812 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30813 used and couldn't be at all thread-safe.
30815 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30817 * libio/freopen.c (freopen): Don't close old file descriptor
30818 before the new one is opened. Instead dup the new file descriptor
30819 to the old one after the new stream is created.
30820 * libio/freopen64.c (freopen64): Likewise.
30821 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30822 * libio/fileops.c (_IO_new_file_close_it): Handle new
30823 _IO_FLAGS2_NOCLOSE flag.
30824 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30825 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30826 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30827 _IO_FLAGS2_NOCLOSE flag.
30828 * include/unistd.h: Add hidden_proto for dup3.
30829 Define __have_dup3.
30830 * io/dup3.c: Define hidden symbol.
30831 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30834 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30835 when an incomplete long option is used.
30836 * posix/tst-getopt_long1.c: New file.
30837 * posix/Makefile (tests): Add tst-getopt_long1.
30840 * scripts/config.guess: Update from autoconf-2.68.
30841 * scripts/config.sub: Likewise.
30844 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30846 (has_cpuclock): ...this. New function.
30847 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30848 macro here based on has_cpuclock code.
30851 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30852 First byte (not low byte) is now always NUL.
30853 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30855 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30856 Use non-cancelable interfaces.
30859 * locale/iso-639.def: Add entry for Sorani.
30862 * include/stdlib.h: Move include protection to the right place.
30863 Define abort_msg_s. Declare __abort_msg with it.
30864 * stdlib/abort.c (__abort_msg): Adjust type.
30865 * assert/assert.c (__assert_fail_base): New function. Majority
30866 of code from __assert_fail. Allocate memory for __abort_msg with
30868 (__assert_fail): Now call __assert_fail_base.
30869 * assert/assert-perr.c: Remove bulk of implementation. Use
30870 __assert_fail_base.
30871 * include/assert.hL Declare __assert_fail_base.
30872 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30874 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30876 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30880 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30881 until all modules are registered in the DTV.
30882 * elf/Makefile: Add rules to build and run tst-tls19.
30883 * elf/tst-tls19.c: New file.
30884 * elf/tst-tls19mod1.c: New file.
30885 * elf/tst-tls19mod2.c: New file.
30886 * elf/tst-tls19mod3.c: New file.
30887 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30890 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30894 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30895 two-byte sequence errors.
30896 * iconvdata/Makefile (tests): Add bug-iconv8.
30897 * iconvdata/bug-iconv8.c: New file.
30900 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30903 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30906 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30907 (dummy_getcfa): New function.
30908 (init): Get _Unwind_GetCFA address, use dummy if not found.
30909 (backtrace_helper): In recursion check, also check whether CFA changes.
30910 (__backtrace): Completely initialize arg.
30912 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30913 storing incomplete byte sequence in state object. Avoid testing for
30914 guaranteed too small input if we know there is enough data available.
30916 2011-05-11 Andreas Schwab <schwab@redhat.com>
30918 * Makeconfig (+link-pie): Indent.
30919 * Rules (binaries-pie): Define if $(have-fpie) and
30921 (binaries-shared): Also filter out $(binaries-pie).
30922 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30923 * nscd/Makefile (others-pie): Add nscd.
30924 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30925 ($(objpfx)nscd): Remove command override.
30926 * login/Makefile (others-pie): Add pt_chown.
30927 ($(objpfx)pt_chown): Remove command override.
30928 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30929 remove command overrides.
30931 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30933 * libio/tst_putwc.c: Fix error messages.
30936 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30937 currently writing and seek to current position when not.
30938 * libio/Makefile (tests): Add bug-fclose1.
30939 * libio/bug-fclose1.c: New file.
30941 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30944 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30945 don't set DF_1_NODELETE here.
30946 (do_lookup_x): When entering new entry test for copy relocation
30947 and if necessary set DF_1_NODELETE flag.
30948 * elf/tst-unique4.cc: New file.
30949 * elf/tst-unique4.h: New file.
30950 * elf/tst-unique4lib.cc: New file.
30951 * elf/Makefile: Add rules to build and run tst-unique4.
30952 Patch by Piotr Bury <pbury@goahead.com>.
30954 2011-05-11 Ulrich Drepper <drepper@gmail.com>
30957 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30960 * misc/mntent_r.c (addmntent): Flush the stream after the output
30963 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30964 (is_trusted_path_normalize): Skip initial colon. Append slash
30965 to empty buffer. Duplicate is_trusted_path code but allow
30966 constructed patch to be prefix.
30967 (is_dst): Allow $ORIGIN followed by /.
30968 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30969 Correct testing of result of is_trusted_path_normalize
30970 (decompose_rpath): Fix warning.
30972 2011-05-10 Ulrich Drepper <drepper@gmail.com>
30975 * grp/initgroups.c (internal_getgrouplist): When we found the service
30976 list through the initgroups entry in nsswitch.conf do not always
30977 continue on a successful lookup. Don't always use the
30978 __nss_group_database value if it is set.
30979 * nss/nsswitch.conf (initgroups): Change action for successful db
30980 lookup to continue for compatibility.
30982 2011-05-09 Ulrich Drepper <drepper@gmail.com>
30985 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30987 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30989 * iconvdata/tst-tables.sh: Likewise.
30990 * iconvdata/cp770.c: New file.
30991 * iconvdata/cp771.c: New file.
30992 * iconvdata/cp772.c: New file.
30993 * iconvdata/cp773.c: New file.
30994 * iconvdata/cp774.c: New file.
30995 * iconvdata/testdata/CP770: New file.
30996 * iconvdata/testdata/CP770..UTF8: New file.
30997 * iconvdata/testdata/CP771: New file.
30998 * iconvdata/testdata/CP771..UTF8: New file.
30999 * iconvdata/testdata/CP772: New file.
31000 * iconvdata/testdata/CP772..UTF8: New file.
31001 * iconvdata/testdata/CP773: New file.
31002 * iconvdata/testdata/CP773..UTF8: New file.
31003 * iconvdata/testdata/CP774: New file.
31004 * iconvdata/testdata/CP774..UTF8: New file.
31006 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31008 * iconvdata/gen-8bit-gap.sh: Likewise.
31009 * iconvdata/gen-8bit.sh: Likewise.
31011 * locale/iso-639.def: Add ary entry.
31014 * locale/C-translit.h.in: Add U20A1 transliteration.
31017 * locale/iso-639.def: Add wae entry.
31018 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31021 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31025 * locale/C-translit.h.in: Add entry for U20B9.
31026 Patch by pravin.d.s@gmail.com.
31028 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31031 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31032 ENAMETOOLONG use generic getcwd.
31033 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31034 in rtld. Use *stat64.
31035 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31036 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31037 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31038 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31039 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31040 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31041 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31042 __fstatat64 macros.
31043 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31044 * dirent/rewinddir.c: Add libc_hidden_def.
31045 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31046 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31048 * include/dirent.h (__alloc_dir): Add flags parameter.
31049 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31050 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31052 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31053 from fdopendir if O_CLOEXEC is already set.
31055 2011-03-15 Alan Modra <amodra@gmail.com>
31057 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31058 l_tls_firstbyte_offset non-zero. Save padding offset in
31059 l_tls_firstbyte_offset for later use.
31060 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31061 freeing static tls block.
31063 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31065 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31066 where #ifdef was intended. The intent is to prevent ARG_MAX from
31067 being defined by the kernel headers.
31069 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31072 * resolv/resolv.h: Define RES_NOTLDQUERY.
31073 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31074 no-tld-query and set RES_NOTLDQUERY.
31075 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31076 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31077 modern BIND to search name as TLD unless forbidden.
31079 2011-05-07 Petr Baudis <pasky@suse.cz>
31080 Ulrich Drepper <drepper@gmail.com>
31083 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31084 (is_trusted_path): ...to here.
31085 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31086 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31087 using is_trusted_path_normalize() in setuid scripts.
31089 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31091 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31092 __BEGIN/__END_DECLS.
31094 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31096 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31097 NSS_STATUS_NOTFOUND if no record was found.
31099 2011-05-05 Andreas Schwab <schwab@redhat.com>
31101 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31102 (headers-not-in-tirpc): Remove rpc/netdb.h
31103 * resolv/netdb.h: Revert last change.
31105 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31107 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31108 circular dependency between libgcc.a and libc.a.
31110 2011-05-05 Andreas Schwab <schwab@redhat.com>
31112 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31113 * nis/Makefile: Don't install rpcsvc/*.
31114 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31115 instead of <rpc/types.h>.
31116 (MAXHOSTNAMELEN): Define.
31118 2011-05-03 Andreas Schwab <schwab@redhat.com>
31120 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31122 2011-04-28 Maciej Babinski <mbabinski@google.com>
31125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31126 gethostbyname4_r when IPv6 results are possible.
31128 2011-05-02 Ulrich Drepper <drepper@gmail.com>
31131 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31132 _PC_PIPE_BUF handling.
31134 2011-04-30 Bruno Haible <bruno@clisp.org>
31137 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31138 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31140 * inet/getnameinfo.c (getnameinfo): Likewise.
31142 2011-04-29 Ulrich Drepper <drepper@gmail.com>
31144 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31145 to groups setting in database lookup.
31146 * nss/nsswitch.conf: Add initgroups entry.
31148 2011-04-22 Ulrich Drepper <drepper@gmail.com>
31151 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31153 Patch by Eric Blake <eblake@redhat.com>.
31155 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31157 * sunrpc/Makefile (need-export-routines): Add svc_run.
31158 (routines): Remove svc_run.
31159 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31160 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31161 * sunrpc/svc_run.c (svc_run): Likewise.
31162 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31164 2011-04-21 Ulrich Drepper <drepper@gmail.com>
31166 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31167 problem in reallocation in last patch.
31169 2011-04-20 Ulrich Drepper <drepper@gmail.com>
31171 * sunrpc/Makefile: Move inclusion of Rules.
31173 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31175 * nss/nss_files/files-initgroups.c: New file.
31176 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31177 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31178 _nss_files_initgroups_dyn.
31180 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31182 * elf/elf.h (R_ARM_IRELATIVE): Define.
31184 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31186 * po/ru.po: Update from translation team.
31188 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31190 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31193 2011-02-06 Mike Frysinger <vapier@gentoo.org>
31196 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31197 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31198 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31199 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31200 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31202 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31204 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31206 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31207 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31208 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31210 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31213 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31215 * stdlib/bug-getcontext.c: New file.
31216 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31218 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31220 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31221 instructions into .machine "z9-109".
31222 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31223 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31225 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31227 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31228 between environment variables and auxiliary vector.
31230 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31232 * Makefile: Add rules to build linkobj/libc.so.
31233 * include/libc-symbols.h: Define libc_hidden_nolink.
31234 * include/rpc/auth.h: Mark functions which are to be hidden.
31235 * include/rpc/auth_des.h: Likewise.
31236 * include/rpc/auth_unix.h: Likewise.
31237 * include/rpc/clnt.h: Likewise.
31238 * include/rpc/des_crypt.h: Likewise.
31239 * include/rpc/key_prot.h: Likewise.
31240 * include/rpc/pmap_clnt.h: Likewise.
31241 * include/rpc/pmap_prot.h: Likewise.
31242 * include/rpc/pmap_rmt.h: Likewise.
31243 * include/rpc/rpc_msg.h: Likewise.
31244 * include/rpc/svc.h: Likewise.
31245 * include/rpc/svc_auth.h: Likewise.
31246 * include/rpc/xdr.h: Likewise.
31247 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31248 * nss/Makefile: Likewise.
31249 * sunrpc/Makefile: Don't install headers. Build library with normal
31250 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31251 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31252 for the compat linking library. Remove use of INTDEF/INTUSE.
31253 * sunrpc/auth_none.c: Likewise.
31254 * sunrpc/auth_unix.c: Likewise.
31255 * sunrpc/authdes_prot.c: Likewise.
31256 * sunrpc/authuxprot.c: Likewise.
31257 * sunrpc/clnt_gen.c: Likewise.
31258 * sunrpc/clnt_perr.c: Likewise.
31259 * sunrpc/clnt_raw.c: Likewise.
31260 * sunrpc/clnt_simp.c: Likewise.
31261 * sunrpc/clnt_tcp.c: Likewise.
31262 * sunrpc/clnt_udp.c: Likewise.
31263 * sunrpc/clnt_unix.c: Likewise.
31264 * sunrpc/des_crypt.c: Likewise.
31265 * sunrpc/des_soft.c: Likewise.
31266 * sunrpc/get_myaddr.c: Likewise.
31267 * sunrpc/key_call.c: Likewise.
31268 * sunrpc/key_prot.c: Likewise.
31269 * sunrpc/netname.c: Likewise.
31270 * sunrpc/pm_getmaps.c: Likewise.
31271 * sunrpc/pm_getport.c: Likewise.
31272 * sunrpc/pmap_clnt.c: Likewise.
31273 * sunrpc/pmap_prot.c: Likewise.
31274 * sunrpc/pmap_prot2.c: Likewise.
31275 * sunrpc/pmap_rmt.c: Likewise.
31276 * sunrpc/publickey.c: Likewise.
31277 * sunrpc/rpc_cmsg.c: Likewise.
31278 * sunrpc/rpc_common.c: Likewise.
31279 * sunrpc/rpc_dtable.c: Likewise.
31280 * sunrpc/rpc_prot.c: Likewise.
31281 * sunrpc/rpc_thread.c: Likewise.
31282 * sunrpc/rtime.c: Likewise.
31283 * sunrpc/svc.c: Likewise.
31284 * sunrpc/svc_auth.c: Likewise.
31285 * sunrpc/svc_authux.c: Likewise.
31286 * sunrpc/svc_raw.c: Likewise.
31287 * sunrpc/svc_run.c: Likewise.
31288 * sunrpc/svc_simple.c: Likewise.
31289 * sunrpc/svc_tcp.c: Likewise.
31290 * sunrpc/svc_udp.c: Likewise.
31291 * sunrpc/svc_unix.c: Likewise.
31292 * sunrpc/svcauth_des.c: Likewise.
31293 * sunrpc/xcrypt.c: Likewise.
31294 * sunrpc/xdr.c: Likewise.
31295 * sunrpc/xdr_array.c: Likewise.
31296 * sunrpc/xdr_float.c: Likewise.
31297 * sunrpc/xdr_intXX_t.c: Likewise.
31298 * sunrpc/xdr_mem.c: Likewise.
31299 * sunrpc/xdr_rec.c: Likewise.
31300 * sunrpc/xdr_ref.c: Likewise.
31301 * sunrpc/xdr_sizeof.c: Likewise.
31302 * sunrpc/xdr_stdio.c: Likewise.
31304 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31307 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31308 * sysdeps/ia64/dl-tls.h: Likewise.
31309 * sysdeps/powerpc/dl-tls.h: Likewise.
31310 * sysdeps/s390/dl-tls.h: Likewise.
31311 * sysdeps/sh/dl-tls.h: Likewise.
31312 * sysdeps/sparc/dl-tls.h: Likewise.
31313 * sysdeps/x86_64/dl-tls.h: Likewise.
31314 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31316 2011-03-14 Andreas Schwab <schwab@redhat.com>
31318 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31319 rpath element also skip the following colon.
31320 (expand_dynamic_string_token): Add is_path parameter and pass
31321 down to DL_DST_REQUIRED and _dl_dst_substitute.
31322 (decompose_rpath): Call expand_dynamic_string_token with
31323 non-zero is_path. Ignore empty rpaths.
31324 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31327 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31332 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31335 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31336 Patch by Filipe David Manana <fdmanana@apache.org>.
31338 2011-04-07 Andreas Schwab <schwab@redhat.com>
31340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31341 Maintain aligned stack.
31342 (CHECK_RSP): Remove unused macro.
31344 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31346 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31347 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31349 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31351 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31353 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31355 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31358 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31359 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31360 * sysdeps/x86_64/memmove.c: New file.
31361 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31362 (memcpy): Renamed to ...
31363 (__new_memcpy): This.
31364 (memcpy): Provide GLIBC_2_14 memcpy.
31365 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31366 (memcpy): Provide GLIBC_2_2_5 memcpy.
31368 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31371 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31373 2011-03-30 Andreas Schwab <schwab@redhat.com>
31375 * misc/syncfs.c: New file.
31376 * misc/Makefile (routines): Add syncfs.
31377 * posix/unistd.h: Declare syncfs.
31378 * sysdeps/unix/syscalls.list: Add syncfs.
31380 2011-04-01 Andreas Schwab <schwab@redhat.com>
31382 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31384 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31385 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31387 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31388 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31389 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31390 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31392 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31394 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31395 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31396 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31397 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31398 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31399 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31400 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31402 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31403 sync_file_range.c with -fexceptions.
31404 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31405 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31406 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31407 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31408 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31409 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31410 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31411 sync_file_range as cancellation point
31412 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31413 now a wrapper around __call_sync_file_range with cancellation handling.
31414 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31415 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31416 function name to __call_sync_file_range.
31417 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31418 Add call_sync_file_range.
31420 2011-04-01 Andreas Schwab <schwab@redhat.com>
31422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31425 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31427 * iconv/iconv.h: Fix typo in comment.
31428 * io/fcntl.h: Likewise.
31429 * libio/stdio.h: Likewise.
31430 * posix/spawn.h: Likewise.
31431 * posix/unistd.h: Likewise.
31432 * stdlib/stdlib.h: Likewise.
31433 * time/time.h: Likewise.
31434 * wcsmbs/wchar.h: Likewise.
31436 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31437 open_by_handle): Add.
31438 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31439 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31440 Augment a few comments.
31441 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31442 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31443 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31445 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31446 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31449 * io/fcntl.h (AT_EMPTY_PATH): Define.
31451 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31453 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31454 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31455 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31457 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31458 * Versions.def: Add GLIBC_2.14.
31459 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31462 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31464 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31466 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31468 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31471 * string/test-strncmp.c (do_page_test): New function.
31472 (check2): Likewise.
31473 (test_main): Call check2.
31474 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31476 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31479 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31480 Handle cache information in CPU leaf 4.
31481 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31483 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31486 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31487 character representation.
31488 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31490 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31492 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31493 END(__isnan) to END(__isnanf) to match function entry point/label
31494 EALIGN(__isnanf,...).
31496 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31498 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31500 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31503 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31504 copy from the symbol referenced in the relocation to initialize the
31506 Patch by Piotr Bury <pbury@goahead.com>.
31507 * elf/Makefile: Add rules to build and tst-unique3.
31508 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31509 * elf/tst-unique3.cc: New file.
31510 * elf/tst-unique3.h: New file.
31511 * elf/tst-unique3lib.cc: New file.
31512 * elf/tst-unique3lib2.cc: New file.
31514 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31516 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31518 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31519 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31522 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31524 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31525 to-be-loaded object along a path to loader is ld.so.
31527 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31528 Ulrich Drepper <drepper@gmail.com>
31530 * sysdeps/x86_64/memset.S: After aligning destination, code
31531 branches to different locations depending on the value of
31532 misalignment, when multiarch is enabled. Fix this.
31534 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31536 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31537 Set _x86_64_preferred_memory_instruction for AMD processsors.
31538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31539 Set bit_Prefer_SSE_for_memop for AMD processors.
31541 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31543 * libio/fmemopen.c (fmemopen): Optimize a bit.
31545 2011-03-03 Andreas Schwab <schwab@redhat.com>
31547 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31549 2011-03-03 Roland McGrath <roland@redhat.com>
31551 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31553 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31555 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31556 __bzero_ultra1 instead of __memset_ultra1.
31558 2011-02-23 Andreas Schwab <schwab@redhat.com>
31559 Ulrich Drepper <drepper@gmail.com>
31562 * include/link.h (struct link_map): Add l_orig_initfini.
31563 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31564 returning unsuccessfully.
31565 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31566 close of a file loaded at startup, restore the original l_initfini
31568 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31569 list, store the pointer.
31570 * elf/Makefile ($(objpfx)noload-mem): New rule.
31571 (noload-ENV): Define.
31572 (tests): Add $(objpfx)noload-mem.
31573 * elf/noload.c: Include <memcheck.h>.
31574 (main): Call mtrace. Close all opened handles.
31576 2011-02-17 Andreas Schwab <schwab@redhat.com>
31579 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31580 dependencies are missing.
31582 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31584 Fix __if_freereq crash: Unlike the generic version which uses free,
31586 * sysdeps/mach/hurd/ifreq.h: New file.
31588 2011-01-27 Petr Baudis <pasky@suse.cz>
31589 Ulrich Drepper <drepper@gmail.com>
31592 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31593 to extend_alloca().
31594 * stdio-common/bug23.c: New file.
31595 * stdio-common/Makefile (tests): Add bug23.
31597 2010-09-28 Andreas Schwab <schwab@redhat.com>
31598 Ulrich Drepper <drepper@gmail.com>
31601 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31602 before performing relro protection. At old place add assertion
31603 to make sure nothing changed.
31605 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31606 Glauber de Oliveira Costa <glommer@gmail.com>
31608 * elf/elf.h: Add new ARM TLS relocs.
31610 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31613 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31615 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31617 * sysdeps/wordsize-64/tst-writev.c: New file.
31619 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31621 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31622 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31623 insns in _dl_start to prevent a TOC reference before relocs are
31626 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31629 * Makeconfig: Remove RANLIB definition.
31630 * Makerules: Don't use RANLIB.
31631 * aclocal.m4: Remove ranlib test.
31632 * configure.in: No need to check for ranlib.
31633 * elf/rtld-Rules: Don't use RANLIB.
31635 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31637 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31639 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31640 inclusion protection macro.
31642 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31643 SIGRTMIN and SIGRTMAX and print information in that case only when
31644 SIGRTMIN is defined.
31646 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31648 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31649 arginfo fn returning -1.
31651 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31652 and thousands string is zero terminated.
31654 2011-02-03 Andreas Schwab <schwab@redhat.com>
31656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31657 sysdeps/unix/sysv/linux/bits/socket.h.
31659 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31661 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31662 (__CPU_COUNT): Remove old macros.
31663 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31664 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31665 (__CPU_ALLOC, __CPU_FREE): Add macros.
31666 (__sched_cpualloc, __sched_cpufree): Add declarations.
31668 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31670 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31671 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31672 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31673 (readdhstai): Return value of addhstaiX call.
31674 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31675 (addgrbyX): Return value returned by cache_addgr.
31676 (readdgrbyname): Return value returned by addgrbyX.
31677 (readdgrbygid): Likewise.
31678 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31679 (addpwbyX): Return value returned by cache_addpw.
31680 (readdpwbyname): Return value returned by addhstbyX.
31681 (readdpwbyuid): Likewise.
31682 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31683 (addservbyX): Return value returned by cache_addserv.
31684 (readdservbyname): Return value returned by addservbyX:
31685 (readdservbyport): Likewise.
31686 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31687 (addhstbyX): Return value returned by cache_addhst.
31688 (readdhstbyname): Return value returned by addhstbyX.
31689 (readdhstbyaddr): Likewise.
31690 (readdhstbynamev6): Likewise.
31691 (readdhstbyaddrv6): Likewise.
31692 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31693 (readdinitgroups): Return value returned by addinitgroupsX.
31694 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31695 (prune_cache): Keep track of timeout value of re-added entries.
31696 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31697 * nscd/nscd.h: Adjust prototypes of readd* functions.
31699 2011-02-04 Roland McGrath <roland@redhat.com>
31701 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31702 (nis_stats): Likewise.
31703 * nis/nis_modify.c (nis_modify): Likewise.
31704 * nis/nis_remove.c (nis_remove): Likewise.
31705 * nis/nis_add.c (nis_add): Likewise.
31707 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31709 * posix/fnmatch_loop.c: Add some consts.
31711 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31713 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31716 * config.make.in (config-cflags-novzeroupper): Define.
31717 * configure.in: Substitute libc_cv_cc_novzeroupper.
31718 * elf/Makefile (AVX-CFLAGS): Define.
31719 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31720 (CFLAGS-tst-auditmod4a.c): Likewise.
31721 (CFLAGS-tst-auditmod4b.c): Likewise.
31722 (CFLAGS-tst-auditmod6b.c): Likewise.
31723 (CFLAGS-tst-auditmod6c.c): Likewise.
31724 (CFLAGS-tst-auditmod7b.c): Likewise.
31725 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31727 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31729 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31730 function to the callback.
31731 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31733 2011-02-02 Andreas Schwab <schwab@redhat.com>
31735 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31738 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31741 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31743 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31745 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31748 * elf/Makefile: Add rules to build and run new test.
31749 * elf/tst-initorder.c: New file.
31750 * elf/tst-initorder.exp: New file.
31751 * elf/tst-initordera1.c: New file.
31752 * elf/tst-initordera2.c: New file.
31753 * elf/tst-initordera3.c: New file.
31754 * elf/tst-initordera4.c: New file.
31755 * elf/tst-initorderb1.c: New file.
31756 * elf/tst-initorderb2.c: New file.
31757 * elf/tst-order-a1.c: New file.
31758 * elf/tst-order-a2.c: New file.
31759 * elf/tst-order-a3.c: New file.
31760 * elf/tst-order-a4.c: New file.
31761 * elf/tst-order-b1.c: New file.
31762 * elf/tst-order-b2.c: New file.
31763 * elf/tst-order-main.c: New file.
31764 New test case by George Gensure <werkt0@gmail.com>.
31766 2010-10-01 Andreas Schwab <schwab@redhat.com>
31768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31769 decoding ACE if AI_CANONIDN.
31771 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31773 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31775 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31777 * version.h (RELEASE): Bump for 2.13 release.
31778 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31780 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31782 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31784 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31785 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31786 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31787 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31788 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31789 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31791 * posix/getconf.c: Update copyright year.
31792 * catgets/gencat.c: Likewise.
31793 * csu/version.c: Likewise.
31794 * debug/catchsegv.sh: Likewise.
31795 * debug/xtrace.sh: Likewise.
31796 * elf/ldconfig.c: Likewise.
31797 * elf/ldd.bash.in: Likewise.
31798 * elf/sprof.c (print_version): Likewise.
31799 * iconv/iconv_prog.c: Likewise.
31800 * iconv/iconvconfig.c: Likewise.
31801 * locale/programs/locale.c: Likewise.
31802 * locale/programs/localedef.c: Likewise.
31803 * malloc/memusage.sh: Likewise.
31804 * malloc/mtrace.pl: Likewise.
31805 * nscd/nscd.c (print_version): Likewise.
31806 * nss/getent.c: Likewise.
31808 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31809 PF_CAIF, and PF_ALG.
31810 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31812 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31814 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31815 (modules-names): Use them.
31816 (ifunc-test-modules, ifunc-pie-tests): Define.
31817 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31818 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31819 (test-extras): Likewise.
31820 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31821 $(compile-command.c).
31822 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31823 (all-built-dso): Define.
31824 (check-textrel.out, check-execstack.out): Depend on it.
31826 * configure.in: Don't override --enable-multi-arch.
31828 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31831 * nscd/hstcache.c (tryagain): Define.
31832 (cache_addhst): Return tryagain not notfound for temporary errors.
31833 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31836 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31839 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31840 to make the syscall.
31841 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31844 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31845 and fall back to matching as normal character if the string ends before
31846 the matching ']' is found. This is what POSIX requires.
31847 * posix/testfnm.c: Adjust test result.
31848 * posix/globtest.sh: Adjust test result. Add new test.
31849 * posix/tst-fnmatch.input: Likewise.
31850 * posix/tst-fnmatch2.c: Add new test.
31852 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31854 * elf/Makefile (check-execstack): Revert last change. Depend on
31856 (check-execstack.h): New target.
31857 (generated): Add check-execstack.h.
31858 * elf/check-execstack.c: Include "check-execstack.h".
31859 (main): Revert last change.
31860 (handle_file): Return zero if GNU_STACK is absent and
31861 DEFAULT_STACK_PERMS doesn't include PF_X.
31863 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31865 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31866 in child fails because the descriptor is already closed.
31867 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31868 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31869 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31872 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31876 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31877 temporary buffer used to handle multi lookups locally.
31878 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31880 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31882 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31885 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31887 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31888 alignment for SSE2.
31890 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31893 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31894 characters. When rounding increased number of integer digits recompute
31896 * stdio-common/tst-grouping.c: New file.
31897 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31899 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31901 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31902 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31904 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31906 * bits/select.h: Likewise.
31908 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31910 * po/ja.po: Update from translation team.
31912 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31915 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31916 implementation just like for lxstat, fxstatat, et al.
31918 2010-12-27 Jim Meyering <meyering@redhat.com>
31921 * posix/regexec.c (build_trtable): Return failure indication upon
31922 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31924 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31927 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31928 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31929 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31930 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31933 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31936 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31937 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31939 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31941 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31942 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31943 script has SORT_BY_INIT_PRIORITY.
31944 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31945 NO_CTORS_DTORS_SECTIONS is defined.
31946 * elf/soinit.c: Likewise.
31947 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31948 NO_CTORS_DTORS_SECTIONS is defined.
31949 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31950 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31951 * sysdeps/sh/init-first.c: Likewise.
31952 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31954 2010-12-24 Ulrich Drepper <drepper@gmail.com>
31956 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31957 always use the slow path.
31959 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31961 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31962 similar rule which adds the sysdep directories to the header search in
31963 order to pick up the correct platform stackinfo.h.
31964 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31965 perform test if it is, otherwise return successfully without testing.
31966 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31967 DEFAULT_STACK_PERMS define in stackinfo.h.
31968 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31969 defined in stackinfo.h.
31970 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31971 DEFAULT_STACK_PERMS defined in stackinfo.h.
31972 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31973 * sysdeps/ia64/stackinfo.h: Likewise.
31974 * sysdeps/s390/stackinfo.h: Likewise.
31975 * sysdeps/sh/stackinfo.h: Likewise.
31976 * sysdeps/sparc/stackinfo.h: Likewise.
31977 * sysdeps/x86_64/stackinfo.h: Likewise.
31978 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31979 PF_X for powerpc64. Retain PF_X for powerpc32.
31981 2010-12-19 Ulrich Drepper <drepper@gmail.com>
31983 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31985 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31986 GETDENTS_64BIT_ALIGNED.
31988 2010-12-14 Ulrich Drepper <dreper@gmail.com>
31990 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31992 2010-12-10 Andreas Schwab <schwab@redhat.com>
31994 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31997 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31998 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32000 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32001 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32003 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32006 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32009 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32011 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32013 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32015 * po/it.po: Update from translation team.
32017 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32019 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32022 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32024 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32026 2010-11-24 Andreas Schwab <schwab@redhat.com>
32028 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32030 (gaih_getanswer_slice): Likewise.
32032 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32034 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32036 2010-05-31 Petr Baudis <pasky@suse.cz>
32039 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32040 silently even in the chroot mode.
32042 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32044 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32045 last patch a bit. Pretty printing
32047 2010-05-31 Petr Baudis <pasky@suse.cz>
32050 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32051 initialization of skip_initgroups_dyn.
32053 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32055 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32056 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32058 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32060 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32062 2010-11-11 Andreas Schwab <schwab@redhat.com>
32064 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32065 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32066 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32067 ($(objpfx)tst-fnmatch-mem): New rule.
32068 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32069 * posix/tst-fnmatch.c (main): Call mtrace.
32071 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32074 Support Intel processor model 6 and model 0x2c.
32076 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32078 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32081 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32084 * string/test-strncasecmp.c (check_result): New function.
32085 (do_one_test): Use it.
32086 (check1): New function.
32087 (test_main): Use it.
32088 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32089 Support strcasecmp and strncasecmp.
32091 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32094 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32095 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32097 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32099 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32103 * sysdeps/x86_64/multiarch/bzero.S: New file.
32104 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32105 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32106 * sysdeps/x86_64/multiarch/memset.S: New file.
32107 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32109 Set bit_Prefer_SSE_for_memop for Intel processors.
32110 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32112 (index_Prefer_SSE_for_memop): Define.
32113 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32115 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32117 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32118 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32120 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32123 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32124 (__x86_64_raw_data_cache_size_half): Likewise.
32125 (__x86_64_raw_shared_cache_size): Likewise.
32126 (__x86_64_raw_shared_cache_size_half): Likewise.
32128 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32129 (__x86_64_raw_data_cache_size_half): Likewise.
32130 (__x86_64_raw_shared_cache_size): Likewise.
32131 (__x86_64_raw_shared_cache_size_half): Likewise.
32132 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32133 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32134 and __x86_64_raw_shared_cache_size_half. Round
32135 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32136 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32137 to multiple of 256 bytes.
32139 2010-11-03 Ulrich Drepper <drepper@gmail.com>
32142 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32143 of inacessible symlinks. Verify result of symlink before returning it.
32144 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32145 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32147 2010-10-28 Erich Ritz <erichritz@gmail.com>
32149 * math/math.h (isinf): Fix typo in comment.
32151 2010-11-01 Ulrich Drepper <drepper@gmail.com>
32153 * po/da.po: Update from translation team.
32155 2010-10-26 Ulrich Drepper <drepper@gmail.com>
32157 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32158 is added to the list.
32160 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32161 Ulrich Drepper <drepper@gmail.com>
32163 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32164 the global list here. Move code to...
32165 (_dl_add_to_namespace_list): ...here. New function.
32166 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32167 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32168 * elf/dl-load.c (lose): Don't remove the element from the list.
32169 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32170 (_dl_map_object): Likewise.
32172 2010-10-25 Ulrich Drepper <drepper@gmail.com>
32175 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32176 into all bytes of SSE register.
32177 Patch by Richard Li <richardpku@gmail.com>.
32179 2010-10-24 Ulrich Drepper <drepper@gmail.com>
32182 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32185 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32187 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32188 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32189 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32190 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32195 2010-10-22 Andreas Schwab <schwab@redhat.com>
32197 * include/dlfcn.h (__RTLD_SECURE): Define.
32198 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32199 mode & __RTLD_SECURE instead.
32200 (open_path): Rename preloaded parameter to secure.
32201 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32202 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32203 * elf/dl-deps.c (openaux): Likewise.
32204 * elf/rtld.c (struct map_args): Remove is_preloaded.
32205 (map_doit): Don't use it.
32206 (dl_main): Likewise.
32207 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32208 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32210 2010-09-09 Andreas Schwab <schwab@redhat.com>
32212 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32213 (sysd-rules-targets): Remove duplicates.
32214 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32215 rtld-%.$o dependency.
32217 2010-10-18 Andreas Schwab <schwab@redhat.com>
32219 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32220 _dl_map_object do it.
32222 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32224 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32225 fast fma builtins, define the macros in the C99 standard.
32226 (FP_FAST_FMAF): Likewise.
32227 (FP_FAST_FMAL): Likewise.
32228 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32230 * bits/mathdef.h: Update copyright year.
32231 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32233 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32235 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32236 builtins, define the macros in the C99 standard.
32237 (FP_FAST_FMAF): Likewise.
32238 (FP_FAST_FMAL): Likewise.
32239 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32241 (FP_FAST_FMAF): Likewise.
32243 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32246 * math/libm-test.inc (fma_test): Some new testcases.
32247 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32248 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32249 y and infinite z. Do multiplication by C already in long double.
32250 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32252 y and infinite z. Do bitwise or of inexact bit into u.d.
32253 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32254 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32255 * sysdeps/i386/fpu/s_fma.S: Removed.
32256 * sysdeps/i386/fpu/s_fmal.S: Removed.
32258 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32261 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32262 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32263 computation is not scheduled after fetestexcept. Fix value
32264 of minimum denormal long double.
32266 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32269 * math/libm-test.inc (fma_test): Add some more tests.
32270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32273 2010-10-15 Andreas Schwab <schwab@redhat.com>
32275 * scripts/data/localplt-s390-linux-gnu.data: New file.
32276 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32278 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32281 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32282 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32284 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32286 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32288 if one of x and y is very large and the other is subnormal.
32289 * sysdeps/s390/fpu/s_fmaf.c: New file.
32290 * sysdeps/s390/fpu/s_fma.c: New file.
32291 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32292 * sysdeps/powerpc/fpu/s_fma.S: New file.
32293 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32294 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32295 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32297 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32300 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32302 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32303 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32304 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32305 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32306 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32307 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32308 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32310 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32313 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32314 * posix/bug-regex31.input: Add test case.
32316 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32318 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32319 * posix/bug-regex31.input: New file.
32322 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32323 (parse_sub_exp): Fix last change, use postorder.
32325 * posix/bug-regex31.c: New file.
32326 * posix/Makefile: Add rules to build and run bug-regex31.
32328 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32331 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32334 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32335 to have entries in sys_siglist.
32338 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32341 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32344 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32345 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32346 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32347 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32348 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32349 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32350 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32351 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32352 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32353 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32354 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32355 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32356 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32357 * math/ftestexcept.c (fetestexcept): Likewise.
32358 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32359 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32360 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32361 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32362 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32363 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32364 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32366 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32369 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32372 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32374 * string/bug-strstr1.c: New file.
32375 * string/Makefile: Add rules to build and run bug-strstr1.
32377 2010-10-05 Eric Blake <eblake@redhat.com>
32380 * string/str-two-way.h (two_way_long_needle): Always clear memory
32381 when skipping input due to the shift table.
32383 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32386 * malloc/mcheck.c: Handle large requests.
32389 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32390 for strncmp and strncasecmp.
32391 * string/stratcliff.c: Add tests for strcmp and strncmp.
32392 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32394 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32396 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32399 2010-09-30 Andreas Jaeger <aj@suse.de>
32401 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32402 (CGROUP_SUPER_MAGIC): Define.
32403 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32404 Handle btrfs and cgroup file systems.
32405 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32408 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32410 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32411 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32413 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32416 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32417 trying to locate the ELF header.
32419 2010-09-27 Andreas Schwab <schwab@redhat.com>
32422 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32423 Mask out sign-bit copies when constructing f_fsid.
32425 2010-09-24 Petr Baudis <pasky@suse.cz>
32427 * debug/stack_chk_fail_local.c: Add missing licence exception.
32428 * debug/warning-nop.c: Likewise.
32430 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32432 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32433 implementing getdents64 using getdents syscall, set d_type if
32434 __ASSUME_GETDENTS32_D_TYPE.
32436 2010-09-16 Andreas Schwab <schwab@redhat.com>
32438 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32439 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32441 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32444 * posix/unistd.h: Undo change of feature selection for ftruncate from
32447 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32449 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32452 2010-09-20 Andreas Schwab <schwab@redhat.com>
32454 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32456 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32458 2010-09-14 Andreas Schwab <schwab@redhat.com>
32460 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32461 variables after CHECK_SP call.
32462 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32464 2010-09-13 Andreas Schwab <schwab@redhat.com>
32465 Ulrich Drepper <drepper@redhat.com>
32467 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32468 re-relocationg ld.so.
32469 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32470 _dl_init_paths call.
32471 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32474 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32476 * resolv/res_init.c (__res_vinit): Count the default server we added.
32478 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32479 Ulrich Drepper <drepper@redhat.com>
32482 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32483 (____longjmp_chk): Use %ebx for saving value across system call.
32486 2010-09-06 Andreas Schwab <schwab@redhat.com>
32488 * manual/Makefile: Don't mix pattern rules with normal rules.
32490 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32492 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32494 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32495 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32496 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32497 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32498 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32501 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32504 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32505 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32507 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32509 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32510 * sysdeps/x86_64/addmul_1.S: Likewise.
32511 * sysdeps/x86_64/lshift.S: Likewise.
32512 * sysdeps/x86_64/mul_1.S: Likewise.
32513 * sysdeps/x86_64/rshift.S: Likewise.
32514 * sysdeps/x86_64/sub_n.S: Likewise.
32515 * sysdeps/x86_64/submul_1.S: Likewise.
32517 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32519 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32520 Define __sched_param instead of SCHED_* and sched_param when
32521 <bits/sched.h> is included with __need_schedparam defined.
32522 * bits/sched.h [__need_schedparam]
32523 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32524 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32525 (__defined_schedparam): Define to 1.
32526 (__sched_param): New structure, identical to sched_param.
32527 (__need_schedparam): Undefine.
32529 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32531 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32532 (epoll_create1): Declare.
32534 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32536 2010-08-31 Andreas Schwab <schwab@redhat.com>
32539 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32540 shifting retval into place.
32542 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32544 * nis/rpcsvc/nis.h: Update copyright notice.
32545 * nis/rpcsvc/nis.x: Likewise.
32546 * nis/rpcsvc/nis_callback.h: Likewise.
32547 * nis/rpcsvc/nis_callback.x: Likewise.
32548 * nis/rpcsvc/nis_object.x: Likewise.
32549 * nis/rpcsvc/nis_tags.h: Likewise.
32550 * nis/rpcsvc/yp.h: Likewise.
32551 * nis/rpcsvc/yp.x: Likewise.
32552 * nis/rpcsvc/ypupd.h: Likewise.
32553 * nis/yp_xdr.c: Likewise.
32554 * nis/ypupdate_xdr.c: Likewise.
32556 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32557 mainly the body of pmap_getport. Add parameters to specify timeouts.
32558 (pmap_getport): Use __libc_rpc_getport.
32559 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32560 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32561 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32563 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32568 2010-08-27 Roland McGrath <roland@redhat.com>
32570 * sysdeps/i386/i686/multiarch/Makefile
32571 (CFLAGS-varshift.c): New variable.
32573 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32575 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32576 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32578 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32580 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32582 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32584 * sysdeps/x86_64/strlen.S: Unroll the loop.
32585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32586 strlen-sse2 strlen-sse2-bsf.
32587 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32588 __strlen_no_bsf if bit_Slow_BSF is set.
32589 (__strlen_sse42): Removed.
32590 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32591 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32593 2010-08-25 Roland McGrath <roland@redhat.com>
32595 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32596 * sysdeps/x86_64/multiarch/varshift.c: New file.
32597 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32598 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32599 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32600 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32602 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32604 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32605 strlen-sse2 strlen-sse2-bsf.
32606 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32607 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32608 (__strlen_sse2): Removed.
32609 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32610 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32612 bit_Slow_BSF for Atom.
32613 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32614 (index_Slow_BSF): Define.
32615 (HAS_SLOW_BSF): Define.
32617 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32620 * resolv/res_init.c (__res_vinit): When no server address at all
32621 is given default to loopback.
32623 2010-08-24 Roland McGrath <roland@redhat.com>
32625 * configure.in: Remove config-name.h generation.
32626 * configure: Regenerated.
32627 * config-name.in: File removed.
32628 * scripts/config-uname.sh: New file.
32629 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32630 ($(objdir)config-name.h): New target.
32632 * sunrpc/rpc_parse.h: Avoid nested comment.
32634 2010-08-24 Richard Henderson <rth@redhat.com>
32635 Ulrich Drepper <drepper@redhat.com>
32636 H.J. Lu <hongjiu.lu@intel.com>
32638 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32639 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32640 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32641 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32642 _mm_alignr_epi8 with _mm_loadu_si128.
32643 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32644 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32645 (__m128i_shift_right): Removed.
32646 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32647 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32648 * sysdeps/x86_64/multiarch/varshift.h: New file.
32649 * sysdeps/x86_64/multiarch/varshift.S: New file.
32651 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32653 * configure.in: Move assembler checks to before sysdep dir checking.
32655 2010-08-20 Petr Baudis <pasky@suse.cz>
32657 * LICENSES: Sync the sunrpc license.
32659 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32661 * sunrpc/auth_des.c: Update copyright notice once again.
32662 * sunrpc/auth_none.c: Likewise.
32663 * sunrpc/auth_unix.c: Likewise.
32664 * sunrpc/authdes_prot.c: Likewise.
32665 * sunrpc/authuxprot.c: Likewise.
32666 * sunrpc/bindrsvprt.c: Likewise.
32667 * sunrpc/clnt_gen.c: Likewise.
32668 * sunrpc/clnt_perr.c: Likewise.
32669 * sunrpc/clnt_raw.c: Likewise.
32670 * sunrpc/clnt_simp.c: Likewise.
32671 * sunrpc/clnt_tcp.c: Likewise.
32672 * sunrpc/clnt_udp.c: Likewise.
32673 * sunrpc/clnt_unix.c: Likewise.
32674 * sunrpc/des_crypt.c: Likewise.
32675 * sunrpc/des_soft.c: Likewise.
32676 * sunrpc/get_myaddr.c: Likewise.
32677 * sunrpc/getrpcport.c: Likewise.
32678 * sunrpc/key_call.c: Likewise.
32679 * sunrpc/key_prot.c: Likewise.
32680 * sunrpc/openchild.c: Likewise.
32681 * sunrpc/pm_getmaps.c: Likewise.
32682 * sunrpc/pm_getport.c: Likewise.
32683 * sunrpc/pmap_clnt.c: Likewise.
32684 * sunrpc/pmap_prot.c: Likewise.
32685 * sunrpc/pmap_prot2.c: Likewise.
32686 * sunrpc/pmap_rmt.c: Likewise.
32687 * sunrpc/rpc/auth.h: Likewise.
32688 * sunrpc/rpc/auth_unix.h: Likewise.
32689 * sunrpc/rpc/clnt.h: Likewise.
32690 * sunrpc/rpc/des_crypt.h: Likewise.
32691 * sunrpc/rpc/key_prot.h: Likewise.
32692 * sunrpc/rpc/netdb.h: Likewise.
32693 * sunrpc/rpc/pmap_clnt.h: Likewise.
32694 * sunrpc/rpc/pmap_prot.h: Likewise.
32695 * sunrpc/rpc/pmap_rmt.h: Likewise.
32696 * sunrpc/rpc/rpc.h: Likewise.
32697 * sunrpc/rpc/rpc_des.h: Likewise.
32698 * sunrpc/rpc/rpc_msg.h: Likewise.
32699 * sunrpc/rpc/svc.h: Likewise.
32700 * sunrpc/rpc/svc_auth.h: Likewise.
32701 * sunrpc/rpc/types.h: Likewise.
32702 * sunrpc/rpc/xdr.h: Likewise.
32703 * sunrpc/rpc_clntout.c: Likewise.
32704 * sunrpc/rpc_cmsg.c: Likewise.
32705 * sunrpc/rpc_common.c: Likewise.
32706 * sunrpc/rpc_cout.c: Likewise.
32707 * sunrpc/rpc_dtable.c: Likewise.
32708 * sunrpc/rpc_hout.c: Likewise.
32709 * sunrpc/rpc_main.c: Likewise.
32710 * sunrpc/rpc_parse.c: Likewise.
32711 * sunrpc/rpc_parse.h: Likewise.
32712 * sunrpc/rpc_prot.c: Likewise.
32713 * sunrpc/rpc_sample.c: Likewise.
32714 * sunrpc/rpc_scan.c: Likewise.
32715 * sunrpc/rpc_scan.h: Likewise.
32716 * sunrpc/rpc_svcout.c: Likewise.
32717 * sunrpc/rpc_tblout.c: Likewise.
32718 * sunrpc/rpc_util.c: Likewise.
32719 * sunrpc/rpc_util.h: Likewise.
32720 * sunrpc/rpcinfo.c: Likewise.
32721 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32722 * sunrpc/rpcsvc/key_prot.x: Likewise.
32723 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32724 * sunrpc/rpcsvc/mount.x: Likewise.
32725 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32726 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32727 * sunrpc/rpcsvc/rex.x: Likewise.
32728 * sunrpc/rpcsvc/rstat.x: Likewise.
32729 * sunrpc/rpcsvc/rusers.x: Likewise.
32730 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32731 * sunrpc/rpcsvc/spray.x: Likewise.
32732 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32733 * sunrpc/rtime.c: Likewise.
32734 * sunrpc/svc.c: Likewise.
32735 * sunrpc/svc_auth.c: Likewise.
32736 * sunrpc/svc_authux.c: Likewise.
32737 * sunrpc/svc_raw.c: Likewise.
32738 * sunrpc/svc_run.c: Likewise.
32739 * sunrpc/svc_simple.c: Likewise.
32740 * sunrpc/svc_tcp.c: Likewise.
32741 * sunrpc/svc_udp.c: Likewise.
32742 * sunrpc/svc_unix.c: Likewise.
32743 * sunrpc/svcauth_des.c: Likewise.
32744 * sunrpc/xcrypt.c: Likewise.
32745 * sunrpc/xdr.c: Likewise.
32746 * sunrpc/xdr_array.c: Likewise.
32747 * sunrpc/xdr_float.c: Likewise.
32748 * sunrpc/xdr_mem.c: Likewise.
32749 * sunrpc/xdr_rec.c: Likewise.
32750 * sunrpc/xdr_ref.c: Likewise.
32751 * sunrpc/xdr_sizeof.c: Likewise.
32752 * sunrpc/xdr_stdio.c: Likewise.
32754 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32757 2010-08-19 Andreas Schwab <schwab@redhat.com>
32759 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32761 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32763 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32764 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32765 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32766 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32767 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32768 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32769 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32770 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32771 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32772 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32773 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32774 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32775 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32776 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32778 2010-07-26 Anton Blanchard <anton@samba.org>
32780 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32781 * malloc/arena.c (heap_trim): Likewise.
32783 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32785 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32787 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32788 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32790 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32792 * sysdeps/i386/elf/Makefile: New file.
32794 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32796 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32797 from fanotify_init.
32798 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32799 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32801 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32803 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32805 * sysdeps/multiarch/strcmp.S: Likewise.
32807 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32809 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32810 strncase_l-nonascii.
32811 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32812 Add strncase_l-ssse3.
32813 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32814 * sysdeps/x86_64/strcmp.S: Likewise.
32815 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32816 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32817 * sysdeps/x86_64/strncase.S: New file.
32818 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32819 * sysdeps/x86_64/strncase_l.S: New file.
32820 * string/Makefile (strop-tests): Add strncasecmp.
32821 * string/test-strncasecmp.c: New file.
32823 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32826 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32827 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32829 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32831 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32833 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32835 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32836 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32837 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32839 2010-05-01 Alan Modra <amodra@gmail.com>
32841 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32842 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32843 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32844 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32845 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32846 tidying. Don't tail-call __sigjmp_save for static lib.
32847 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32849 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32850 (CALL_MCOUNT): Add eh info, and nop after bl.
32851 (TAIL_CALL_SYSCALL_ERROR): New macro.
32852 (PSEUDO_RET): Use it.
32853 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32854 Correct save location of integer regs and cr.
32855 (_dl_profile_resolve): Correct cr save location. Delete nops
32856 after bl when SHARED. Reduce cfi size a little by better
32857 placement of cfi directives.
32858 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32859 make a stack frame. Instead use parm save area as a temp.
32860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32861 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32863 Don't make a stack frame for parent, use parm save area.
32864 Increase child stack frame to 112 bytes. Don't save unused reg,
32865 and adjust reg usage. Set up cfi on error recovery and
32866 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32868 (__makecontext): Add dummy nop after jump to exit.
32869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32870 Use correct parm save area and cr save, reduce stack frame.
32871 Correct cfi for possible PSEUDO_RET frame setup.
32872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32873 Branch to local label emitted by PSEUDO_RET rather than
32876 2010-08-12 Andreas Schwab <schwab@redhat.com>
32879 * locale/programs/locale.c (print_assignment): New function.
32880 (show_locale_vars): Use it.
32882 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32884 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32886 (struct statfs64): Likewise.
32887 (_STATFS_F_FLAGS): Define.
32888 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32889 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32890 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32891 (ST_VALID): Define locally.
32892 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32893 __statvfs_getflags, use the provided value.
32894 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32895 __ASSUME_STATFS_F_FLAGS.
32897 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32899 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32900 Add sys/fanotify.h.
32901 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32902 fanotify_mask for GLIBC_2.13.
32903 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32904 fanotify_init and fanotify_mark.
32905 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32906 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32908 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32910 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32911 prlimit64 for GLIBC_2.13.
32912 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32914 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32917 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32918 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32919 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32920 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32922 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32925 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32926 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32928 * nss/Makefile: Add rules to build and run tst-nss-test1.
32929 * shlib-versions: Add entry for libnss_test1.
32930 * nss/nss_test1.c: New file.
32931 * nss/tst-nss-test1.c: New file.
32933 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32934 (__nss_configure_lookup): Set appropriate entry in
32935 __nss_configure_lookup to true.
32936 * nss/nsswitch.h: Define enum with indeces of databases in
32937 databases and __nss_database_custom arrays. Declare
32938 __nss_database_custom.
32939 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32940 to avoid using nscd when custom rules are installed.
32941 * nss/getXXbyYY_r.c: Likewise.
32942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32944 * nss/nss_files/files-parse.c: Whitespace fixes.
32946 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32949 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32950 * posix/fnmatch_loop.c: Likewise.
32952 2010-07-17 Andi Kleen <ak@linux.intel.com>
32954 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32955 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32956 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32957 * Versions.def [GLIBC_2.13]: Add.
32959 2010-08-06 Ulrich Drepper <drepper@redhat.com>
32961 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32962 Also fail if tpwd after pwuid call is NULL.
32964 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32966 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32967 when converting to ms.
32969 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32971 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32972 EOPNOTSUPP errors with ENOTTY.
32973 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32974 EOPNOTSUPP errors with ENOTTY.
32976 2010-07-31 Ulrich Drepper <drepper@redhat.com>
32978 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32979 Add strcasecmp_l-ssse3.
32980 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32982 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32983 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32984 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32986 2010-07-30 Ulrich Drepper <drepper@redhat.com>
32988 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32990 * string/Makefile (strop-tests): Add strcasecmp.
32991 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32992 strcasecmp_l-nonascii.
32993 (gen-as-const-headers): Add locale-defines.sym.
32994 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32995 * sysdeps/x86_64/strcasecmp.S: New file.
32996 * sysdeps/x86_64/strcasecmp_l.S: New file.
32997 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32998 * sysdeps/x86_64/locale-defines.sym: New file.
32999 * string/test-strcasecmp.c: New file.
33001 * string/test-strcasestr.c: Test both ends of the range of characters.
33002 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33004 2010-07-29 Roland McGrath <roland@redhat.com>
33007 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33009 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33011 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33014 2010-07-27 Andreas Schwab <schwab@redhat.com>
33016 * manual/memory.texi (Malloc Tunable Parameters): Document
33019 2010-07-26 Roland McGrath <roland@redhat.com>
33022 * configure.in (-fgnu89-inline check): Set and substitute
33023 gnu89_inline, not libc_cv_gnu89_inline.
33024 * configure: Regenerated.
33025 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33027 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33029 * string/test-strnlen.c: New file.
33030 * string/Makefile (strop-tests): Add strnlen.
33031 * string/tester.c (test_strnlen): Add a few more test cases.
33032 * string/tst-strlen.c: Better error reporting.
33034 * sysdeps/x86_64/strnlen.S: New file.
33036 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33038 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33039 lower-latency instructions.
33041 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33043 * string/test-strcasestr.c: New file.
33044 * string/test-strstr.c: New file.
33045 * string/Makefile (strop-tests): Add strstr and strcasestr.
33046 * string/str-two-way.h: Don't undefine MAX.
33047 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33049 2010-07-21 Andreas Schwab <schwab@redhat.com>
33051 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33052 strcasestr-nonascii.
33053 (CFLAGS-strcasestr-nonascii.c): Define.
33054 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33055 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33056 Remove unused attribute.
33058 2010-07-20 Roland McGrath <roland@redhat.com>
33060 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33061 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33062 ld.so.cache was broken. With it, there is no way to disable dsocaps
33063 like LD_HWCAP_MASK can disable hwcaps.
33065 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33067 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33069 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33071 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33072 call in strcasestr.
33073 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33074 __strcasestr_sse42_nonascii.
33075 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33076 strcasestr-nonascii.c.
33077 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33079 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33081 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33082 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33083 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33084 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33086 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33088 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33091 2010-07-06 Andreas Schwab <schwab@redhat.com>
33094 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33097 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33099 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33100 _PC_PIPE_BUF using F_GETPIPE_SZ.
33102 2010-07-05 Roland McGrath <roland@redhat.com>
33104 * manual/arith.texi (Rounding Functions): Fix rint description
33105 implicit in round description.
33107 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33109 * elf/Makefile: Fix linking for a few tests to make recent linker
33112 2010-06-30 Andreas Schwab <schwab@redhat.com>
33114 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33115 $(common-objpfx)libc_nonshared.a.
33117 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33119 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33120 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33121 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33122 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33123 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33124 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33125 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33126 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33141 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33142 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33143 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33144 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33145 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33146 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33147 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33148 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33149 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33150 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33151 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33152 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33168 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33170 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33171 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33172 * string/memmove.c (memmove): Renamed to ...
33173 (MEMMOVE): ...this. Default to memmove.
33174 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33175 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33178 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33179 mempcpy-ssse3-back memmove-ssse3-back.
33180 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33182 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33183 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33184 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33185 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33186 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33187 * sysdeps/x86_64/multiarch/memmove.c: New file.
33188 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33189 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33190 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33191 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33192 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33193 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33195 (index_Fast_Copy_Backward): Define.
33196 (HAS_ARCH_FEATURE): Define.
33197 (HAS_FAST_REP_STRING): Define.
33198 (HAS_FAST_COPY_BACKWARD): Define.
33200 2010-06-21 Andreas Schwab <schwab@redhat.com>
33202 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33203 Restore proper fallback handling.
33205 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33208 * posix/group_member.c (__group_member): Correct checking loop.
33210 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33211 OOM in getpwuid_r correctly. Return error number when the caller
33212 should return, otherwise -1.
33213 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33214 call returning > 0 value.
33215 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33217 2010-06-07 Andreas Schwab <schwab@redhat.com>
33219 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33220 libc_nonshared.a from targets in modules-names.
33222 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33224 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33227 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33229 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33230 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33231 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33232 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33234 2010-06-02 Andreas Schwab <schwab@redhat.com>
33236 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33238 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33240 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33242 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33243 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33245 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33246 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33247 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33249 2010-06-14 Roland McGrath <roland@redhat.com>
33251 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33253 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33255 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33256 __REDIRECT followed by __THROW.
33257 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33258 * posix/getopt.h (getopt): Likewise.
33260 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33262 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33263 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33264 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33266 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33267 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33269 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33271 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33273 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33277 Properly check family and model.
33279 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33281 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33283 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33285 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33287 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33289 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33292 2010-05-19 Andreas Schwab <schwab@redhat.com>
33294 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33297 2010-05-21 Andreas Schwab <schwab@redhat.com>
33299 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33300 and internal_recvmmsg.
33301 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33302 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33303 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33304 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33306 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33307 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33308 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33310 2010-05-20 Andreas Schwab <schwab@redhat.com>
33312 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33314 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33316 POWER7 optimizations.
33317 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33318 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33320 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33322 * version.h: Update for 2.13 development version.
33324 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33326 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33327 exceptions. Return 0.
33329 2010-05-07 Roland McGrath <roland@redhat.com>
33331 * elf/ldconfig.c (main): Add a const.
33333 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33335 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33336 (args_options): Add no-idn option.
33337 (ahosts_keys_int): Add idn_flags to ai_flags.
33338 (parse_option): Handle 'i' option to clear idn_flags.
33340 * malloc/malloc.c (_int_free): Possible race in the most recently
33341 added check. Only act on the data if no current modification
33344 See ChangeLog.17 for earlier changes.