1 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4 trampoline stack frame information.
5 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11 (_libc_vdso_platform_setup): Initialize the signal trampolines.
12 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15 interrupting a syscall and set with option SA_SIGINFO.
17 2013-08-03 David S. Miller <davem@davemloft.net>
19 * po/ko.po: Update Korean translation from translation project.
21 2013-08-01 David S. Miller <davem@davemloft.net>
23 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27 2012-07-06 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29 * elf/get-dynamic-info.h (elf_get_dynamic_info): Remove assert()
30 around DT_RUNPATH and DT_RPATH which prevents running a dynamic
31 linker with an embedded RPATH flag, which is what a compiler
32 modified to embed a non-default INTERP section would do.
35 2013-07-30 David S. Miller <davem@davemloft.net>
37 * po/fr.po: Update French translation from translation project.
39 2013-07-28 David S. Miller <davem@davemloft.net>
41 * po/cs.po: Update Czech translation from translation project.
43 * po/sv.po: Update Swedish translation from translation project.
45 2013-07-27 David S. Miller <davem@davemloft.net>
47 * po/eo.po: Update Esperanto translation from translation project.
49 * po/vi.po: Update Vietnamese translation from translation project.
51 * po/de.po: Update German translation from translation project.
53 2013-07-26 David S. Miller <davem@davemloft.net>
55 * po/bg.po: Update Bulgarian translation from translation project.
57 * po/nl.po: Update Dutch translation from translation project.
58 * po/pl.po: Update Polish translation from translation project.
59 * po/ru.po: Update Russian translation from translation project.
61 2013-07-24 David S. Miller <davem@davemloft.net>
63 * po/libc.pot: Update.
65 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
69 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
70 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
71 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
73 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
77 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
78 Andreas Schwab <schwab@suse.de>
79 Roland McGrath <roland@hack.frob.com>
80 Joseph Myers <joseph@codesourcery.com>
81 Carlos O'Donell <carlos@redhat.com>
84 * config.h.in: Define HAVE_PT_CHOWN.
85 * config.make.in (build-pt-chown): New variable.
86 * configure.in (--enable-pt_chown): New configure option.
87 * configure: Regenerate.
88 * login/Makefile: Include Makeconfig. Build pt_chown only if
89 build-pt-chown is enabled.
90 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
91 pt_chown to fix pty ownership.
92 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
94 * manual/install.texi (Configuring and compiling): Mention
95 --enable-pt_chown. Add @findex for grantpt.
96 * INSTALL: Regenerate.
98 2013-07-20 David S. Miller <davem@davemloft.net>
100 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
101 difference between 32-bit and 64-bit.
103 2013-07-15 Carlos O'Donell <carlos@redhat.com>
106 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
107 Avoid system header dependency with -ffreestanding.
108 ($(objpfx)bits/syscall%d): Likewise.
110 2013-07-13 David S. Miller <davem@davemloft.net>
112 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
113 underflows from atanl/atan2l due to bug 15319.
114 (casinh_test_data): Likewise.
116 2013-07-07 David S. Miller <davem@davemloft.net>
118 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
120 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
122 * sysdeps/i386/fpu/libm-test-ulps: Update.
123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
125 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
127 * configure.in (--enable-lock-elision): Fix message text.
128 * INSTALL: Regenerate.
129 * configure: Regenerate.
131 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
135 2013-07-03 Andreas Jaeger <aj@suse.de>
137 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
139 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
140 (ptrace_peeksiginfo_args): Add.
141 (__ptrace_peeksiginfo_flags): Add.
142 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
144 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
146 2013-07-03 Allan McRae <allan@archlinux.org>
148 * sysdeps/i386/fpu/libm-test-ulps: Update.
150 2013-07-02 David S. Miller <davem@davemloft.net>
152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
154 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
158 2013-07-02 Joseph Myers <joseph@codesourcery.com>
160 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
163 2013-07-02 Andi Kleen <ak@linux.intel.com>
165 * config.h.in (ENABLE_LOCK_ELISION): Add.
166 * configure.in (--enable-lock-elision): Add option.
167 * manual/install.texi: Document --enable lock elision.
168 * configure: Regenerate
169 * INSTALL: Regenerate.
171 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
173 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
174 SSE4.2 strcasecmp for libc.a.
175 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
177 2013-07-02 Joseph Myers <joseph@codesourcery.com>
180 * soft-fp/op-common.h (_FP_FMA): New macro.
181 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
182 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
183 (_FP_MUL_MEAT_1_imm): ... here.
184 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
185 (_FP_MUL_MEAT_1_wide): ... here.
186 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
187 (_FP_MUL_MEAT_1_hard): ... here.
188 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
189 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
190 (_FP_MUL_MEAT_2_wide): ... here.
191 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
192 (_FP_MUL_MEAT_2_wide_3mul): ... here.
193 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
194 (_FP_MUL_MEAT_2_gmp): ... here.
195 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
196 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
197 (_FP_MUL_MEAT_4_wide): ... here.
198 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
199 (_FP_MUL_MEAT_4_gmp): ... here.
200 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
201 (_FP_WFRACBITS_DW_S): Likewise.
202 (_FP_WFRACXBITS_DW_S): Likewise.
203 (_FP_HIGHBIT_DW_S): Likewise.
204 (FP_FMA_S): Likewise.
205 (_FP_FRAC_HIGH_DW_S): Likewise.
206 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
207 (_FP_WFRACBITS_DW_D): Likewise.
208 (_FP_WFRACXBITS_DW_D): Likewise.
209 (_FP_HIGHBIT_DW_D): Likewise.
210 (FP_FMA_D): Likewise.
211 (_FP_FRAC_HIGH_DW_D): Likewise.
212 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
213 (_FP_WFRACBITS_DW_E): Likewise.
214 (_FP_WFRACXBITS_DW_E): Likewise.
215 (_FP_HIGHBIT_DW_E): Likewise.
216 (FP_FMA_E): Likewise.
217 (_FP_FRAC_HIGH_DW_E): Likewise.
218 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
219 (_FP_WFRACBITS_DW_Q): Likewise.
220 (_FP_WFRACXBITS_DW_Q): Likewise.
221 (_FP_HIGHBIT_DW_Q): Likewise.
222 (FP_FMA_Q): Likewise.
223 (_FP_FRAC_HIGH_DW_Q): Likewise.
224 * soft-fp/fmasf4.c: New file.
225 * soft-fp/fmadf4.c: Likewise.
226 * soft-fp/fmatf4.c: Likewise.
228 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
231 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
233 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
235 (index_Slow_SSE4_2): Likewise.
236 (index_Prefer_PMINUB_for_stringop): Likewise.
237 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
238 bit_Slow_SSE4_2 is set.
239 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
240 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
242 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
244 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
245 rtld_global._dl_hwcap2.
246 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
248 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
249 POWER8 feature descriptions defined in _dl_hwcap2.
250 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
251 string handling for POWER8 feature bits.
252 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
253 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
254 _dl_powerpc_cap_flags.
255 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
256 * sysdeps/powerpc/rtld-global-offsets.sym
257 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
258 _dl_hwcap2 in the rtld_global_ro structure.
260 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
262 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
263 hardware capabilities in support of AT_HWCAP2.
264 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
265 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
267 (_dl_show_auxv): Add support for calling _dl_procinfo to display
268 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
269 explicitly the unknown a_type display mechanism is used.
270 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
271 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
273 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
274 to macro prototype for AT_HWCAP2 support.
275 * sysdeps/i386/dl-procinfo.h: Likewise.
276 * sysdeps/s390/dl-procinfo.h: Likewise.
277 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
278 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
279 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
280 return -1 for unknown a_type display fallback.
281 * sysdeps/sparc/dl-procinfo.h: Likewise.
282 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
283 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
285 2013-06-28 Joseph Myers <joseph@codesourcery.com>
287 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
288 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
290 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
293 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
294 mprotect making __stack_prot writable.
296 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
297 Joseph Myers <joseph@codesourcery.com>
299 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
300 as being properly aligned.
302 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
304 * dlfcn/modstatic5.c: New file.
305 * dlfcn/tststatic5.c: New file.
306 * dlfcn/Makefile (tests): Add tststatic5.
307 (tests-static): Likewise.
308 (modules-names): Add modstatic5.
309 (tststatic5-ENV): New variable.
310 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
313 * elf/dl-support.c (_dl_main_map): New variable.
314 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
315 (_dl_nns, _dl_load_adds): Set to 1.
316 (_dl_initial_searchlist): Refer to _dl_main_map.
317 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
318 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
319 call to _dl_get_origin.
320 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
322 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
323 * dlfcn/modstatic3.c: New file.
324 * dlfcn/tststatic3.c: New file.
325 * dlfcn/tststatic4.c: New file.
326 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
327 (tests-static): Likewise.
328 (modules-names): Add modstatic3.
329 (tststatic3-ENV, tststatic4-ENV): New variables.
330 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
331 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
333 2013-06-26 Joseph Myers <joseph@codesourcery.com>
335 * configure.in (CC): Require GCC version 4.4 or later.
336 * configure: Regenerated.
337 * manual/install.texi (Tools for Compilation): Update GCC version
339 * INSTALL: Regenerated.
341 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
344 * string/test-memcmp.c (check2): New.
347 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
349 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
352 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
354 (dl_open_worker) [!SHARED]: ... here.
356 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
358 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
360 2013-06-25 Richard Henderson <rth@redhat.com>
362 * locale/programs/locarchive.c: Include <libc-internal.h>
364 2013-06-25 Joseph Myers <joseph@codesourcery.com>
366 * manual/texinfo.tex: Update to version 2013-06-21.17, with
367 trailing whitespace removed.
369 2013-06-24 Mike Frysinger <vapier@gentoo.org>
372 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
373 * locale/programs/locarchive.c: Include libc-mmap.h.
374 (prepare_address_space): Take two new outputs (the mmap base and len).
375 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
377 (create_archive): Declare new mmap base and len values for
378 prepare_address_space, and store the result in ah.
379 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
380 (enlarge_archive): If ah->mmap_base is not NULL, use that and
381 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
382 Declare new mmap base and len values for
383 prepare_address_space, and store the result in new_ah.
384 (open_archive): Declare new mmap base and len values for
385 prepare_address_space, and store the result in ah.
386 (close_archive): If ah->mmap_base is not NULL, use that and
387 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
388 * sysdeps/generic/libc-mmap.h: New file.
390 2013-06-24 Mike Frysinger <vapier@gentoo.org>
392 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
393 (ALIGN_UP): Likewise.
394 (PTR_ALIGN_DOWN): Likewise.
395 (PTR_ALIGN_UP): Likewise.
397 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
399 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
400 entry mapped to PPC_PLATFORM_POWER8.
401 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
403 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
404 (_dl_string_platform): Add case for exporting platform position for
406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
407 search path to sysdeps/powerpc/powerpc32/power8 directory.
408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
409 search path to sysdeps/powerpc/powerpc64/power8 directory.
410 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
412 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
415 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
417 * INSTALL: Regenerate.
419 * nscd/connections.c (nscd_init): Fix comment.
421 2013-06-22 Joseph Myers <joseph@codesourcery.com>
423 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
426 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
427 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
429 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
431 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
433 (DL_DST_REQ_STATIC): Remove macro.
435 2013-06-21 Joseph Myers <joseph@codesourcery.com>
438 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
439 with a shift of 0 bits.
441 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
443 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
446 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
449 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
451 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
453 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
454 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
455 accepts -fno-tree-loop-distribute-patterns.
456 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
457 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
459 * string/memset.c (memset): Likewise.
460 * string/test-memmove.c (simple_memmove): Disable loop transformation
462 * string/test-memset.c (simple_memset): Likewise.
463 * benchtests/bench-memmove.c (simple_memmove): Likewise.
464 * benchtests/bench-memset.c (simple_memset): Likewise.
465 * configure: Regenerated.
467 2013-06-20 Joseph Myers <joseph@codesourcery.com>
469 * math/test-misc.c (main): Ignore fesetround failure when failures
470 of subsequent rounding tests would be ignored.
473 * math/fedisblxcpt.c (fedisableexcept): Return 0.
474 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
475 * math/fegetenv.c (__fegetenv): Return 0.
476 * math/fegetexcept.c (fegetexcept): Return 0.
477 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
479 * math/feholdexcpt.c (feholdexcept): Return 0.
480 * math/fesetenv.c (__fesetenv): Return 0.
481 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
482 argument FE_TONEAREST.
483 * math/feupdateenv.c (__feupdateenv): Return 0.
484 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
486 2013-06-18 Roland McGrath <roland@hack.frob.com>
488 * elf/rtld-Rules (rtld-compile-command.S): New variable.
489 (rtld-compile-command.s, rtld-compile-command.c): New variables.
490 ($(objpfx)rtld-%.os rules): Use them.
492 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
494 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
497 2013-06-17 Roland McGrath <roland@hack.frob.com>
499 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
500 length of target pattern, then descending length of dependency pattern.
501 * configure.in (AWK): Require gawk 3.1.2 or newer.
502 * manual/install.texi (Tools for Compilation): Say that we do.
503 * configure: Regenerated.
505 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
506 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
507 * scripts/sysd-rules.awk: ... this new script.
508 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
509 than a glob-style pattern.
511 2013-06-17 Joseph Myers <joseph@codesourcery.com>
513 * math/test-misc.c (main): Do not treat incorrectly rounded
514 conversions as failure unless ROUNDING_TESTS passes.
516 2013-06-15 Joseph Myers <joseph@codesourcery.com>
519 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
520 restore exception state around main square root computation, then
521 check for inexactness explicitly.
523 * math/libm-test.inc (fma_test_data): Add another test.
525 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
527 * manual/threads.texi (Non-POSIX Extensions): New document
528 node. Document pthread_getattr_default_np and
529 pthread_setattr_default_np.
531 * Versions.def (libpthread): Add GLIBC_2.18.
532 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
541 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
552 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
555 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
557 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
558 H.J. Lu <hjl.tools@gmail.com>
561 * sysdeps/x86_64/rtld-memset.c: Remove file.
562 * sysdeps/x86_64/rtld-memset.S: New file.
564 2013-06-14 Joseph Myers <joseph@codesourcery.com>
566 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
567 (test_in_one_mode): Take arguments for whether the rounding mode
568 is supported for each floating-point type.
569 (do_test): Pass new arguments to test_in_one_mode using
572 2013-06-13 Roland McGrath <roland@hack.frob.com>
574 * posix/tst-waitid.c (do_test): Distinguish different instances of
575 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
576 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
577 before entering the kernel for waitpid.
579 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
581 * NEWS: Fix note on clock function precision. Text by Roland
584 2013-06-13 Roland McGrath <roland@hack.frob.com>
586 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
587 it into place only when and if the sanity check passes.
589 2013-06-13 Joseph Myers <joseph@codesourcery.com>
591 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
592 output for whether conversion result is exact. Take argument
593 indicating whether type is IBM long double.
594 (round_for_all): Change need_exact field to ibm_ld.
595 * stdlib/tst-strtod-round.c (struct exactness): New type.
596 (struct test): Change bool ld_ok field to struct exactness exact.
597 (TEST): Update all definitions for change to field.
598 (tests): Regenerate array contents.
599 (test_in_one_mode): Take pointer to new field instead of old ld_ok
600 field value. Check for IBM long double here.
601 (do_test): Update calls to test_in_one_mode.
603 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
606 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
607 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
609 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
612 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
613 generated by the compiler on loop optimizations.
614 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
617 2013-06-12 Joseph Myers <joseph@codesourcery.com>
619 * math/bug-nextafter.c: Include <math-tests.h>.
620 (main): Only test for exceptions if EXCEPTION_TESTS is true for
622 * math/bug-nexttoward.c: Include <math-tests.h>.
623 (main): Only test for exceptions if EXCEPTION_TESTS is true for
625 * math/test-misc.c: Include <math-tests.h>.
626 (main): Only test for exceptions if EXCEPTION_TESTS is true for
629 2013-06-12 Andreas Jaeger <aj@suse.de>
631 * po/ia.po: Update Interlingua translation from translation
634 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
636 * include/fenv.h: Include stdbool.h.
637 (struct rm_ctx): New structure.
638 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
640 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
641 (SET_RESTORE_ROUNDF): Likewise.
642 (SET_RESTORE_ROUNDL): Likewise.
643 (SET_RESTORE_ROUND_NOEX): Likewise.
644 (SET_RESTORE_ROUND_NOEXF): Likewise.
645 (SET_RESTORE_ROUND_NOEXL): Likewise.
646 (SET_RESTORE_ROUND_53BIT): Likewise.
647 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
648 (libc_feresetround_noexf_ctx): Likewise.
649 (libc_feresetround_noexl_ctx): Likewise.
650 (libc_feholdsetround_53bit_ctx): Likewise.
651 (libc_feresetround_53bit_ctx): Likewise.
652 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
653 (libc_feholdexcept_setround_sse_ctx): New function.
654 (libc_fesetenv_sse_ctx): Likewise.
655 (libc_feupdateenv_sse_ctx): Likewise.
656 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
657 (libc_feholdexcept_setround_387_ctx): Likewise.
658 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
659 (libc_feholdsetround_387_prec_ctx): Likewise.
660 (libc_feholdsetround_387_ctx): Likewise.
661 (libc_feholdsetround_387_53bit_ctx): Likewise.
662 (libc_feholdsetround_sse_ctx): Likewise.
663 (libc_feresetround_sse_ctx): Likewise.
664 (libc_feresetround_387_ctx): Likewise.
665 (libc_feupdateenv_387_ctx): Likewise.
666 (libc_feholdexcept_setroundf_ctx): Define macro.
667 (libc_fesetenvf_ctx): Likewise.
668 (libc_feupdateenvf_ctx): Likewise.
669 (libc_feholdsetroundf_ctx): Likewise.
670 (libc_feresetroundf_ctx): Likewise.
671 (libc_feholdexcept_setround_ctx): Likewise.
672 (libc_fesetenv_ctx): Likewise.
673 (libc_feupdateenv_ctx): Likewise.
674 (libc_feholdsetround_ctx): Likewise.
675 (libc_feresetround_ctx): Likewise.
676 (libc_feholdexcept_setroundl_ctx): Likewise.
677 (libc_feupdateenvl_ctx): Likewise.
678 (libc_feholdsetroundl_ctx): Likewise.
679 (libc_feresetroundl_ctx): Likewise.
680 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
681 (libc_feresetround_53bit_ctx): Likewise.
683 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
685 * locale/iso-639.def: Convert to UTF-8.
687 2013-06-11 Joseph Myers <joseph@codesourcery.com>
689 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
690 (EXCEPTION_TESTS_double): Likewise.
691 (EXCEPTION_TESTS_long_double): Likewise.
692 (EXCEPTION_TESTS): Likewise.
693 * math/libm-test.inc (test_exceptions): Only test exceptions if
694 EXCEPTION_TESTS (FLOAT).
696 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
698 * benchtests/Makefile (string-bench): Add strcpy_chk and
700 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
701 * benchtests/bench-stpcpy_chk.c: New file.
702 * benchtests/bench-strcpy_chk-ifunc.c: New file.
703 * benchtests/bench-strcpy_chk.c: New file.
704 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
708 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
710 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
711 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
712 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
713 with tabs where appropriate.
714 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
716 [PPC_PLATFORM_PPC440]: Likewise.
717 [PPC_PLATFORM_PPC464]: Likewise.
718 [PPC_PLATFORM_PPC476]: Likewise.
719 (_dl_string_platform): Add support for detecting ppc405, ppc440,
720 ppc464, and ppc476 platform strings merging from ports/
723 2013-06-11 Andreas Schwab <schwab@suse.de>
726 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
727 (from_ucs4_idx): Regenerate.
728 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
729 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
730 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
731 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
732 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
733 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
734 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
735 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
736 from FROM_LOOP and TO_LOOP specific macros.
737 (BODY): Handle combining characters.
738 * iconvdata/BIG5HKSCS.irreversible: Update.
739 * iconvdata/BIG5HKSCS.precomposed: New file.
740 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
742 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
744 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
746 * include/sys/time.h: Fix indentation and add copyright header.
748 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
750 * string/test-memchr.c (do_one_test): Likewise.
752 * string/test-memcmp.c (do_one_test): Likewise.
754 * string/test-memcpy.c (do_one_test): Likewise.
756 * string/test-memmem.c (do_one_test): Likewise.
758 (do_random_tests): Likewise.
759 * string/test-memmove.c (do_one_test): Likewise.
761 * string/test-memset.c (do_one_test): Likewise.
763 * string/test-rawmemchr.c (do_one_test): Likewise.
765 * string/test-strcasecmp.c (do_one_test): Likewise.
767 * string/test-strcasestr.c (do_one_test): Likewise.
769 * string/test-strcat.c (do_one_test): Likewise.
771 * string/test-strchr.c (do_one_test): Likewise.
773 * string/test-strcmp.c (do_one_test): Likewise.
775 * string/test-strcpy.c (do_one_test): Likewise.
777 * string/test-string.h: Likewise.
778 (test_init): Likewise.
779 * string/test-strlen.c (do_one_test): Likewise.
781 * string/test-strncasecmp.c (do_one_test): Likewise.
783 * string/test-strncat.c (do_one_test): Likewise.
785 * string/test-strncmp.c (do_one_test): Likewise.
786 (do_test_limit): Likewise.
788 * string/test-strncpy.c (do_one_test): Likewise.
790 * string/test-strnlen.c (do_one_test): Likewise.
792 * string/test-strpbrk.c (do_one_test): Likewise.
794 * string/test-strrchr.c (do_one_test): Likewise.
796 * string/test-strspn.c (do_one_test): Likewise.
798 * string/test-strstr.c (do_one_test): Likewise.
801 * benchtests/Makefile (string-bench): Add string benchmarks.
802 * benchtests/bench-bcopy-ifunc.c: New file.
803 * benchtests/bench-bcopy.c: New file.
804 * benchtests/bench-bzero-ifunc.c: New file.
805 * benchtests/bench-bzero.c: New file.
806 * benchtests/bench-memccpy-ifunc.c: New file.
807 * benchtests/bench-memccpy.c: New file.
808 * benchtests/bench-memchr-ifunc.c: New file.
809 * benchtests/bench-memchr.c: New file.
810 * benchtests/bench-memcmp-ifunc.c: New file.
811 * benchtests/bench-memcmp.c: New file.
812 * benchtests/bench-memmem-ifunc.c: New file.
813 * benchtests/bench-memmem.c: New file.
814 * benchtests/bench-memmove-ifunc.c: New file.
815 * benchtests/bench-memmove.c: New file.
816 * benchtests/bench-mempcpy-ifunc.c: New file.
817 * benchtests/bench-mempcpy.c: New file.
818 * benchtests/bench-memset-ifunc.c: New file.
819 * benchtests/bench-memset.c: New file.
820 * benchtests/bench-rawmemchr-ifunc.c: New file.
821 * benchtests/bench-rawmemchr.c: New file.
822 * benchtests/bench-stpcpy-ifunc.c: New file.
823 * benchtests/bench-stpcpy.c: New file.
824 * benchtests/bench-stpncpy-ifunc.c: New file.
825 * benchtests/bench-stpncpy.c: New file.
826 * benchtests/bench-strcasecmp-ifunc.c: New file.
827 * benchtests/bench-strcasecmp.c: New file.
828 * benchtests/bench-strcasestr-ifunc.c: New file.
829 * benchtests/bench-strcasestr.c: New file.
830 * benchtests/bench-strcat-ifunc.c: New file.
831 * benchtests/bench-strcat.c: New file.
832 * benchtests/bench-strchr-ifunc.c: New file.
833 * benchtests/bench-strchr.c: New file.
834 * benchtests/bench-strchrnul-ifunc.c: New file.
835 * benchtests/bench-strchrnul.c: New file.
836 * benchtests/bench-strcmp-ifunc.c: New file.
837 * benchtests/bench-strcmp.c: New file.
838 * benchtests/bench-strcpy-ifunc.c: New file.
839 * benchtests/bench-strcpy.c: New file.
840 * benchtests/bench-strcspn-ifunc.c: New file.
841 * benchtests/bench-strcspn.c: New file.
842 * benchtests/bench-strlen-ifunc.c: New file.
843 * benchtests/bench-strlen.c: New file.
844 * benchtests/bench-strncasecmp-ifunc.c: New file.
845 * benchtests/bench-strncasecmp.c: New file.
846 * benchtests/bench-strncat-ifunc.c: New file.
847 * benchtests/bench-strncat.c: New file.
848 * benchtests/bench-strncmp-ifunc.c: New file.
849 * benchtests/bench-strncmp.c: New file.
850 * benchtests/bench-strncpy-ifunc.c: New file.
851 * benchtests/bench-strncpy.c: New file.
852 * benchtests/bench-strnlen-ifunc.c: New file.
853 * benchtests/bench-strnlen.c: New file.
854 * benchtests/bench-strpbrk-ifunc.c: New file.
855 * benchtests/bench-strpbrk.c: New file.
856 * benchtests/bench-strrchr-ifunc.c: New file.
857 * benchtests/bench-strrchr.c: New file.
858 * benchtests/bench-strspn-ifunc.c: New file.
859 * benchtests/bench-strspn.c: New file.
860 * benchtests/bench-strstr-ifunc.c: New file.
861 * benchtests/bench-strstr.c: New file.
863 * benchtests/Makefile: Disable parallel execution of targets.
864 (string-bench): Add memcpy.
865 (benchset): New variable to store a list of benchmark sets.
866 (bench-func): Renamed from bench.
867 (bench-set): New target.
868 (bench): Depend on bench-func and bench-set.
869 * benchtests/README: Add section on benchmark sets.
870 * benchtests/bench-memcpy-ifunc.c: New file.
871 * benchtests/bench-memcpy.c: New file.
872 * benchtests/bench-string.h: New file.
874 2013-06-11 Andreas Schwab <schwab@suse.de>
877 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
878 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
879 values in the triple.
880 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
881 terminator in the group key.
883 2013-06-11 Andreas Jaeger <aj@suse.de>
885 * po/zh_TW.po: Update Chinese (traditional) translation from
888 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
890 * include/time.h (__clock_gettime): Add libc_hidden_proto.
891 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
892 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
893 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
894 (clock_getcpuclockid): Likewise.
895 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
896 Add weak_alias and libc_hidden_def.
897 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
898 * rt/clock_gettime.c (clock_gettime): Rename to
899 __clock_gettime. Add weak_alias and libc_hidden_def.
900 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
901 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
902 __clock_nanosleep. Add weak_alias and libc_hidden_def.
903 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
904 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
906 * rt/clock_settime.c (clock_settime): Rename to
907 __clock_settime. Add weak_alias and libc_hidden_def.
908 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
910 2013-06-10 Joseph Myers <joseph@codesourcery.com>
912 * mach/err_boot.sub: Remove trailing whitespace.
913 * mach/err_ipc.sub: Likewise.
914 * mach/err_mach.sub: Likewise.
916 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
917 (ROUNDING_TESTS_double): Likewise.
918 (ROUNDING_TESTS_long_double): Likewise.
919 (ROUNDING_TESTS): Likewise.
920 * math/libm-test.inc: Include <math-tests.h>.
921 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
922 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
923 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
924 (IF_ROUND_INIT_FE_UPWARD): Likewise.
926 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
928 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
931 2013-06-08 Joseph Myers <joseph@codesourcery.com>
933 * sysdeps/gnu/errlist.awk: Do not generate space at end of
934 otherwise empty TRANS lines.
935 * sysdeps/gnu/errlist.c: Regenerated.
937 * catgets/gencat.c (error_print): Use (void) in function
939 * crypt/crypt_util.c (__init_des): Likewise.
940 * crypt/speeds.c (Stop): Likewise.
942 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
943 * inet/ruserpass.c (token): Likewise.
944 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
945 * intl/localealias.c (extend_alias_table): Likewise.
946 * intl/plural-exp.c (init_germanic_plural): Likewise.
947 * libio/fcloseall.c (__fcloseall): Likewise.
948 * libio/genops.c (_IO_flush_all): Likewise.
949 (_IO_flush_all_linebuffered): Likewise.
950 (_IO_cleanup): Likewise.
951 (_IO_iter_begin): Likewise.
952 (_IO_iter_end): Likewise.
953 (_IO_list_lock): Likewise.
954 (_IO_list_unlock): Likewise.
955 (_IO_list_resetlock): Likewise.
956 * libio/getchar.c (getchar): Likewise.
957 * libio/getchar_u.c (getchar_unlocked): Likewise.
958 * libio/getwchar.c (getwchar): Likewise.
959 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
960 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
961 * login/getpt.c (__getpt): Likewise.
962 * login/tst-utmp.c (main): Likewise.
963 * malloc/hooks.c (__malloc_check_init): Likewise.
964 * malloc/malloc.c (__malloc_stats): Likewise.
965 * malloc/mtrace.c (tr_break): Likewise.
967 (muntrace): Likewise.
968 * misc/fstab.c (endfsent): Likewise.
969 * misc/getclktck.c (__getclktck): Likewise.
970 * misc/getdtsz.c (__getdtablesize): Likewise.
971 * misc/gethostid.c (gethostid): Likewise.
972 * misc/getpagesize.c (__getpagesize): Likewise.
973 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
974 (__get_nprocs): Likewise.
975 (__get_phys_pages): Likewise.
976 (__get_avphys_pages): Likewise.
977 * misc/getttyent.c (getttyent): Likewise.
978 (setttyent): Likewise.
979 (endttyent): Likewise.
980 * misc/getusershell.c (getusershell): Likewise.
981 (endusershell): Likewise.
982 (setusershell): Likewise.
983 (initshells): Likewise.
984 * misc/hsearch.c (__hdestroy): Likewise.
985 * misc/sync.c (sync): Likewise.
986 * misc/syslog.c (closelog_internal): Likewise.
987 (closelog): Likewise.
988 * misc/ttyslot.c (ttyslot): Likewise.
989 * misc/vhangup.c (vhangup): Likewise.
990 * posix/fork.c (__fork): Likewise.
991 * posix/getegid.c (__getegid): Likewise.
992 * posix/geteuid.c (__geteuid): Likewise.
993 * posix/getgid.c (__getgid): Likewise.
994 * posix/getpid.c (__getpid): Likewise.
995 * posix/getppid.c (__getppid): Likewise.
996 * posix/getuid.c (__getuid): Likewise.
997 * posix/pause.c (pause): Likewise.
998 * posix/setpgrp.c (setpgrp): Likewise.
999 * posix/setsid.c (__setsid): Likewise.
1000 * posix/test-vfork.c (noop): Likewise.
1001 * resolv/gethnamaddr.c (_endhtent): Likewise.
1002 (_gethtent): Likewise.
1003 (ht_endhostent): Likewise.
1004 (gethostent): Likewise.
1005 (dns_service): Likewise.
1006 * stdlib/drand48.c (drand48): Likewise.
1007 * stdlib/lrand48.c (lrand48): Likewise.
1008 * stdlib/mrand48.c (mrand48): Likewise.
1009 * stdlib/rand.c (rand): Likewise.
1010 * stdlib/random.c (__random): Likewise.
1011 * stdlib/setenv.c (clearenv): Likewise.
1012 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1013 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1014 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1015 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1016 (__get_nprocs): Likewise.
1017 (__get_phys_pages): Likewise.
1018 (__get_avphys_pages): Likewise.
1019 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1020 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1021 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1022 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1023 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1024 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1025 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1026 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1027 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1028 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1029 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1030 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1031 * sysdeps/posix/clock.c (clock): Likewise.
1032 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1033 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1034 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1035 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1036 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1037 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1038 (__get_nprocs_conf): Likewise.
1039 (__get_phys_pages): Likewise.
1040 (__get_avphys_pages): Likewise.
1041 * time/clock.c (clock): Likewise.
1042 * time/tzset.c (__tzname_max): Likewise.
1044 2013-06-07 Joseph Myers <joseph@codesourcery.com>
1046 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1047 (__bswap_32): Do not use "register".
1048 * crypt/crypt.c (_ufc_doit_r): Likewise.
1049 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1050 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1051 * gmon/gmon.c (__monstartup): Likewise.
1052 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1053 * hurd/hurdmalloc.c (more_memory): Likewise.
1056 (realloc): Likewise.
1057 (malloc_fork_prepare): Likewise.
1058 (malloc_fork_parent): Likewise.
1059 (malloc_fork_child): Likewise.
1060 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1061 (_svcauth_des): Likewise.
1062 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1063 * inet/inet_net.c (inet_network): Likewise.
1064 * inet/inet_netof.c (inet_netof): Likewise.
1065 * inet/rcmd.c (__validuser2_sa): Likewise.
1066 * io/fts.c (fts_open): Likewise.
1067 (fts_load): Likewise.
1068 (fts_close): Likewise.
1069 (fts_read): Likewise.
1070 (fts_children): Likewise.
1071 (fts_build): Likewise.
1072 (fts_stat): Likewise.
1073 (fts_sort): Likewise.
1074 (fts_alloc): Likewise.
1075 (fts_lfree): Likewise.
1076 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1077 (_IO_file_xsgetn): Likewise.
1078 (_IO_file_xsgetn_mmap): Likewise.
1079 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1080 (_IO_cookie_write): Likewise.
1081 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1082 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1083 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1084 * malloc/obstack.c (_obstack_begin): Likewise.
1085 (_obstack_begin_1): Likewise.
1086 (_obstack_newchunk): Likewise.
1087 (_obstack_allocated_p): Likewise.
1088 (obstack_free): Likewise.
1089 (_obstack_memory_used): Likewise.
1090 * misc/getttyent.c (getttynam): Likewise.
1091 (getttyent): Likewise.
1094 * misc/getusershell.c (initshells): Likewise.
1095 * misc/syslog.c (__vsyslog_chk): Likewise.
1096 * misc/ttyslot.c (ttyslot): Likewise.
1097 * nis/nis_hash.c (__nis_hash): Likewise.
1098 * posix/fnmatch_loop.c (FCT): Likewise.
1099 * posix/getconf.c (print_all): Likewise.
1101 * posix/getopt.c (exchange): Likewise.
1102 * posix/glob.c (globfree): Likewise.
1103 (prefix_array): Likewise.
1104 (__glob_pattern_type): Likewise.
1105 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1106 (NS_GET32): Likewise.
1107 (NS_PUT16): Likewise.
1108 (NS_PUT32): Likewise.
1109 * resolv/gethnamaddr.c (getanswer): Likewise.
1110 (gethostbyname2): Likewise.
1111 (gethostbyaddr): Likewise.
1112 (_gethtent): Likewise.
1113 (_gethtbyname2): Likewise.
1114 (_gethtbyaddr): Likewise.
1115 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1116 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1117 * resolv/res_init.c (__res_vinit): Likewise.
1118 (net_mask): Likewise.
1119 * resolv/res_mkquery.c (outchar): Likewise.
1121 * stdio-common/printf_fp.c (outchar): Likewise.
1123 * stdio-common/printf_fphex.c (outchar): Likewise.
1125 * stdio-common/printf_size.c (outchar): Likewise.
1127 * stdio-common/test_rdwr.c (main): Likewise.
1128 * stdio-common/tfformat.c (matches): Likewise.
1129 * stdio-common/vfprintf.c (outchar): Likewise.
1130 (printf_unknown): Likewise.
1131 (buffered_vfprintf): Likewise.
1132 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1133 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1134 (ReadFile): Likewise.
1135 * stdlib/qsort.c (SWAP): Likewise.
1136 (_quicksort): Likewise.
1137 * stdlib/setenv.c (__add_to_environ): Likewise.
1138 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1139 * stdlib/strtol_l.c (__strtol_l): Likewise.
1140 * stdlib/tst-strtod.c (main): Likewise.
1141 * stdlib/tst-strtol.c (main): Likewise.
1142 * stdlib/tst-strtoll.c (main): Likewise.
1143 * string/bits/string2.h (__strcmp_cc): Likewise.
1144 (__strcmp_cg): Likewise.
1145 (__strcspn_c1): Likewise.
1146 (__strcspn_c2): Likewise.
1147 (__strcspn_c3): Likewise.
1148 (__strspn_c1): Likewise.
1149 (__strspn_c2): Likewise.
1150 (__strspn_c3): Likewise.
1151 (__strsep_1c): Likewise.
1152 (__strsep_2c): Likewise.
1153 (__strsep_3c): Likewise.
1154 * string/memccpy.c (__memccpy): Likewise.
1155 * string/stpcpy.c (__stpcpy): Likewise.
1156 * string/strcmp.c (strcmp): Likewise.
1157 * string/strrchr.c (strrchr): Likewise.
1158 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1160 * sysdeps/mach/hurd/getcwd.c
1161 (_hurd_canonicalize_directory_name_internal): Likewise.
1162 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1163 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1164 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1165 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1166 Likewise, in both definitions.
1167 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1169 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1170 64] (__bswap_64): Likewise.
1171 * time/test_time.c (main): Likewise.
1172 * time/tzfile.c (__tzfile_read): Likewise.
1173 (__tzfile_compute): Likewise.
1174 * time/tzset.c (__tzset_parse_tz): Likewise.
1175 (tzset_internal): Likewise.
1176 (compute_change): Likewise.
1177 * wcsmbs/wcscat.c (__wcscat): Likewise.
1178 * wcsmbs/wcschr.c (wcschr): Likewise.
1179 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1180 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1181 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1182 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1183 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1184 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1185 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1186 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1187 * wcsmbs/wmemset.c (wmemset): Likewise.
1189 2013-06-06 Joseph Myers <joseph@codesourcery.com>
1191 * scripts/config.guess: Update to version 2013-05-16.
1192 * scripts/config.sub: Update to version 2013-04-24.
1193 * scripts/install-sh: Update to version 2011-11-20.07.
1194 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1195 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1197 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
1199 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1200 * elf/sln.c: Likewise.
1201 * hurd/hurd/ioctl.h: Likewise.
1202 * hurd/hurdmalloc.c: Likewise.
1203 * hurd/xattr.c: Likewise.
1204 * include/shlib-compat.h: Likewise.
1205 * inet/ruserpass.c: Likewise.
1206 * libio/iofgets_u.c: Likewise.
1207 * libio/iofgetws_u.c: Likewise.
1208 * locale/programs/ld-identification.c: Likewise.
1209 * locale/programs/ld-time.c: Likewise.
1210 * mach/msg-destroy.c: Likewise.
1211 * nss/nss_files/files-netgrp.c: Likewise.
1212 * resolv/res_data.c: Likewise.
1213 * soft-fp/op-1.h: Likewise.
1214 * soft-fp/op-2.h: Likewise.
1215 * soft-fp/op-4.h: Likewise.
1216 * soft-fp/op-common.h: Likewise.
1217 * stdio-common/printf_fphex.c: Likewise.
1218 * stdlib/strtod_l.c: Likewise.
1219 * sunrpc/rpc/clnt.h: Likewise.
1220 * sysdeps/generic/framestate.c: Likewise.
1221 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1222 * sysdeps/i386/bsd-setjmp.S: Likewise.
1223 * sysdeps/i386/__longjmp.S: Likewise.
1224 * sysdeps/i386/setjmp.S: Likewise.
1225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1226 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1227 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1228 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1229 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1230 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1231 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1233 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1234 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1235 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1236 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1237 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1238 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1239 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1240 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1241 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1242 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1243 * sysdeps/ieee754/support.c: Likewise.
1244 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1245 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1246 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1247 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1248 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1249 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1250 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1251 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1252 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1253 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1254 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1255 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1256 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1257 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1258 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1259 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1260 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1263 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
1265 * posix/transbug.c: Remove executable mode.
1267 2013-06-05 Joseph Myers <joseph@codesourcery.com>
1269 * crypt/speeds.c: Remove trailing whitespace.
1270 * dlfcn/default.c: Likewise.
1271 * elf/ifuncdep2.c: Likewise.
1272 * elf/ifuncmain1.c: Likewise.
1273 * elf/ifuncmain1vis.c: Likewise.
1274 * elf/testobj.h: Likewise.
1275 * elf/tst-stackguard1.c: Likewise.
1276 * gmon/sys/gmon.h: Likewise.
1277 * hurd/hurdmsg.c: Likewise.
1278 * hurd/new-fd.c: Likewise.
1279 * hurd/ports-get.c: Likewise.
1280 * iconvdata/ibm1008_420.c: Likewise.
1281 * inet/tst-getni1.c: Likewise.
1282 * inet/tst-getni2.c: Likewise.
1283 * libio/ioungetc.c: Likewise.
1284 * libio/wfiledoalloc.c: Likewise.
1285 * manual/libm-err-tab.pl: Likewise.
1286 * math/w_dremf.c: Likewise.
1287 * misc/ftruncate.c: Likewise.
1288 * posix/bug-glob2.c: Likewise.
1289 * posix/tst-pcre.c: Likewise.
1290 * posix/wait4.c: Likewise.
1291 * resolv/README: Likewise.
1292 * resolv/res_debug.h: Likewise.
1293 * resolv/tst-inet_ntop.c: Likewise.
1294 * setjmp/bug269-setjmp.c: Likewise.
1295 * soft-fp/extended.h: Likewise.
1296 * soft-fp/op-1.h: Likewise.
1297 * soft-fp/op-2.h: Likewise.
1298 * soft-fp/op-4.h: Likewise.
1299 * soft-fp/op-8.h: Likewise.
1300 * soft-fp/testit.c: Likewise.
1301 * stdio-common/bug16.c: Likewise.
1302 * stdlib/random.c: Likewise.
1303 * sunrpc/rpcsvc/rquota.x: Likewise.
1304 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1305 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1306 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1307 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1308 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1309 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1310 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1311 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1312 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1313 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1314 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1315 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1316 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1317 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1318 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1319 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1320 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1321 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1322 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1323 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1324 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1326 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1327 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1328 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1329 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1330 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1331 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1332 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1333 * sysdeps/ieee754/s_lib_version.c: Likewise.
1334 * sysdeps/mach/hurd/check_fds.c: Likewise.
1335 * sysdeps/mach/hurd/getsockname.c: Likewise.
1336 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1337 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1338 * sysdeps/powerpc/bits/link.h: Likewise.
1339 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1340 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1341 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1342 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1343 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1344 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1345 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1346 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1347 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1348 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1349 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1350 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1351 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1352 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1353 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1354 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1355 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1356 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1357 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1358 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1359 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1360 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1362 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1363 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1364 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1365 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1366 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1367 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1368 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1369 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1370 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1371 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1372 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1373 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1374 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1375 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1376 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1377 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1378 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1379 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1380 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1381 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1382 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1383 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1384 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1385 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1386 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1387 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1388 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1389 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1390 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1391 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1392 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1393 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1394 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1395 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1396 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1397 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1398 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1399 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1400 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1401 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1402 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1403 * sysdeps/powerpc/sysdep.h: Likewise.
1404 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1405 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1406 * sysdeps/sh/dl-trampoline.S: Likewise.
1407 * sysdeps/sh/memset.S: Likewise.
1408 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1409 * sysdeps/sh/strlen.S: Likewise.
1410 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1411 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1412 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1413 * sysdeps/sparc/sparc32/rem.S: Likewise.
1414 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1415 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1416 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1417 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1418 * sysdeps/sparc/sparc32/urem.S: Likewise.
1419 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1420 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1421 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1422 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1423 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1424 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1425 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1426 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1427 * sysdeps/unix/bsd/times.c: Likewise.
1428 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1429 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1433 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1434 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1435 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1436 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1437 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1438 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1439 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1440 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1441 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1442 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1443 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1444 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1445 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1446 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1447 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1448 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1449 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1450 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1451 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1452 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1453 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1454 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1455 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1456 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1457 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1458 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1459 * sysdeps/x86_64/strcspn.S: Likewise.
1461 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1463 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1464 generated file. Regenerate properly from gen-translit.pl.
1465 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1466 locale/C-translit.h.
1468 2013-06-05 Andreas Schwab <schwab@suse.de>
1471 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1472 week as 6 instead of -1.
1473 * time/tst-strptime.c (day_tests): Add test case.
1475 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1477 * sysdeps/generic/math_private.h
1478 (libc_feholdexcept_setround_53bit): Replace with
1479 libc_feholdsetround_53bit.
1480 (libc_feupdateenv_53bit): Replace with
1481 libc_feresetround_53bit.
1482 (SET_RESTORE_ROUND_53BIT): Adjust.
1484 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1486 * string/test-strchrnul.c: Add copyright header.
1488 * posix/tst-getaddrinfo4.c: Increase test timeout.
1490 2013-06-03 Carlos O'Donell <carlos@redhat.com>
1493 * math/libm-test.inc (MAX_EXP): Remove
1495 (ulp): Use MIN_EXP - MANT_DIG.
1496 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1498 2013-05-31 Carlos O'Donell <carlos@redhat.com>
1500 * po/be.po: Revert last change.
1501 * po/zh_CN.po: Likewise.
1502 * po/header.pot: Likewise.
1504 2013-05-31 Joseph Myers <joseph@codesourcery.com>
1506 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1507 link-libc-deps to empty as target-specific variable.
1508 * Makerules (link-libc-args): New variable.
1509 (libc-for-link): Likewise.
1510 (link-libc-deps): Likewise.
1511 (lib%.so): Depend on $(link-libc-deps). Link with
1513 (build-module): Link with $(link-libc-args).
1514 (build-module-asneeded): Likewise.
1515 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1517 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1518 target-specific variable.
1519 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1520 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1521 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1523 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1525 ($(objpfx)libpcprofile.so): Likewise.
1526 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1528 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1529 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1530 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1532 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1533 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1534 * login/Makefile ($(objpfx)libutil.so): Likewise.
1535 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1536 * math/Makefile ($(objpfx)libm.so): Likewise.
1537 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1538 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1539 variable instead of depending directly on libc.
1540 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1541 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1543 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1545 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1546 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1547 ($(objpfx)libanl.so): Likewise.
1548 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1550 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1552 * sysdeps/i386/fpu/Makefile: Remove file.
1553 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1554 ($(objpfx)libm.so): Remove dependency on ld.so.
1556 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
1559 * nis/yp_xdr.c (XDRMAXNAME): Define.
1560 (XDRMAXRECORD): Define.
1561 (xdr_domainname): Use XDRMAXNAME.
1562 (xdr_mapname): Likewise.
1563 (xdr_peername): Likewise.
1564 (xdr_keydat): Use XDRMAXRECORD.
1565 (xdr_valdat): Likewise.
1567 2013-05-30 Jeff Law <law@redhat.com>
1570 * manual/errno.texi (ESTALE): Update to account for more than
1571 just NFS file systems.
1572 * sysdeps/gnu/errlist.c: Regenerated.
1574 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1577 * elf/Makefile (tests): Add tst-null-argv.
1578 (modules-names): Add tst-null-argv-lib.
1579 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1580 (tst-null-argv-ENV): Set environment for tst-null-argv.
1581 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1582 (RTLD_PROGNAME): New macro.
1583 * elf/tst-null-argv.c: New test case.
1584 * elf/tst-null-argv-lib.c: Library for test case.
1585 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1586 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1587 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1588 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1589 * elf/dl-init.c (call_init): Likewise.
1590 (_dl_init): Likewise.
1591 * elf/dl-load.c (print_search_path): Likewise.
1592 (_dl_map_object): Likewise.
1593 * elf/dl-lookup.c (do_lookup_x): Likewise.
1594 (add_dependency): Likewise.
1595 (_dl_lookup_symbol_x): Likewise.
1596 (_dl_debug_bindings): Likewise.
1597 * elf/dl-open.c (_dl_show_scope): Likewise.
1598 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1599 * elf/dl-version.c (match_symbol): Likewise.
1600 (_dl_check_map_versions): Likewise.
1601 * elf/rtld.c (dl_main): Likewise.
1602 (print_unresolved): Use RTLD_PROGNAME.
1603 (print_missing_version): Likewise.
1604 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1605 (elf_machine_rela): Likewise.
1606 * sysdeps/powerpc/powerpc32/dl-machine.c
1607 (__process_machine_rela): Likewise.
1608 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1610 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1612 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1614 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1615 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1617 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1619 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1621 2013-05-28 Carlos O'Donell <carlos@redhat.com>
1623 * po/be.po: Add descriptive title.
1624 * po/zh_CN.po: Likewise.
1625 * po/header.pot: Likewise.
1627 2013-05-28 Mike Frysinger <vapier@gentoo.org>
1629 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1631 (enlarge_archive): Likewise.
1633 2013-05-28 Ben North <ben@redfrontdoor.org>
1635 * manual/arith.texi (frexp): It is the magnitude of the return
1636 value which lies in [0.5, 1), not the return value itself.
1638 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1642 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1644 * stdio-common/bug26.c (main): Correct fscanf template.
1646 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1647 declare _dl_skip_args.
1649 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1652 * manual/platform.texi: Add missing @end deftypefun.
1654 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1657 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1658 bit of mantissa of 2^16382.
1659 * math/libm-test.inc (hypot_test_data): Add more tests.
1661 * math/libm-test.inc: Add drem and pow10 to list of tested
1663 (pow10_test): New function.
1664 (drem_test): Likewise.
1665 (drem_test_tonearest): Likewise.
1666 (drem_test_towardzero): Likewise.
1667 (drem_test_downward): Likewise.
1668 (drem_test_upward): Likewise.
1669 (main): Call the new functions.
1671 * math/libm-test.inc (finite_test_data): Remove.
1672 (finite_test): Run tests from isfinite_test_data.
1673 (gamma_test_data): Remove.
1674 (gamma_test): Run tests from lgamma_test_data.
1675 * sysdeps/i386/fpu/libm-test-ulps: Update.
1676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1678 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1680 * manual/platform.texi: Add PowerPC PPR function set documentation.
1681 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1684 2013-05-24 Carlos O'Donell <carlos@redhat.com>
1686 * math/libm-test.inc (MAX_EXP): Define.
1688 (ulp): New function.
1689 (check_float_internal): Use ULPDIFF.
1690 (cpow_test): Disable failing test.
1691 (check_ulp): Test ulp() implemetnation.
1692 (main): Call check_ulp before starting tests.
1694 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1696 * math/gen-libm-test.pl (generate_testfile): Do not handle
1697 START_DATA and END_DATA.
1698 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1700 (acos_tonearest_test_data): Likewise.
1701 (acos_towardzero_test_data): Likewise.
1702 (acos_downward_test_data): Likewise.
1703 (acos_upward_test_data): Likewise.
1704 (acosh_test_data): Likewise.
1705 (asin_test_data): Likewise.
1706 (asin_tonearest_test_data): Likewise.
1707 (asin_towardzero_test_data): Likewise.
1708 (asin_downward_test_data): Likewise.
1709 (asin_upward_test_data): Likewise.
1710 (asinh_test_data): Likewise.
1711 (atan_test_data): Likewise.
1712 (atanh_test_data): Likewise.
1713 (atan2_test_data): Likewise.
1714 (cabs_test_data): Likewise.
1715 (cacos_test_data): Likewise.
1716 (cacosh_test_data): Likewise.
1717 (carg_test_data): Likewise.
1718 (casin_test_data): Likewise.
1719 (casinh_test_data): Likewise.
1720 (catan_test_data): Likewise.
1721 (catanh_test_data): Likewise.
1722 (cbrt_test_data): Likewise.
1723 (ccos_test_data): Likewise.
1724 (ccosh_test_data): Likewise.
1725 (ceil_test_data): Likewise.
1726 (cexp_test_data): Likewise.
1727 (cimag_test_data): Likewise.
1728 (clog_test_data): Likewise.
1729 (clog10_test_data): Likewise.
1730 (conj_test_data): Likewise.
1731 (copysign_test_data): Likewise.
1732 (cos_test_data): Likewise.
1733 (cos_tonearest_test_data): Likewise.
1734 (cos_towardzero_test_data): Likewise.
1735 (cos_downward_test_data): Likewise.
1736 (cos_upward_test_data): Likewise.
1737 (cosh_test_data): Likewise.
1738 (cosh_tonearest_test_data): Likewise.
1739 (cosh_towardzero_test_data): Likewise.
1740 (cosh_downward_test_data): Likewise.
1741 (cosh_upward_test_data): Likewise.
1742 (cpow_test_data): Likewise.
1743 (cproj_test_data): Likewise.
1744 (creal_test_data): Likewise.
1745 (csin_test_data): Likewise.
1746 (csinh_test_data): Likewise.
1747 (csqrt_test_data): Likewise.
1748 (ctan_test_data): Likewise.
1749 (ctan_tonearest_test_data): Likewise.
1750 (ctan_towardzero_test_data): Likewise.
1751 (ctan_downward_test_data): Likewise.
1752 (ctan_upward_test_data): Likewise.
1753 (ctanh_test_data): Likewise.
1754 (ctanh_tonearest_test_data): Likewise.
1755 (ctanh_towardzero_test_data): Likewise.
1756 (ctanh_downward_test_data): Likewise.
1757 (ctanh_upward_test_data): Likewise.
1758 (erf_test_data): Likewise.
1759 (erfc_test_data): Likewise.
1760 (exp_test_data): Likewise.
1761 (exp_tonearest_test_data): Likewise.
1762 (exp_towardzero_test_data): Likewise.
1763 (exp_downward_test_data): Likewise.
1764 (exp_upward_test_data): Likewise.
1765 (exp10_test_data): Likewise.
1766 (exp2_test_data): Likewise.
1767 (expm1_test_data): Likewise.
1768 (fabs_test_data): Likewise.
1769 (fdim_test_data): Likewise.
1770 (finite_test_data): Likewise.
1771 (floor_test_data): Likewise.
1772 (fma_test_data): Likewise.
1773 (fma_towardzero_test_data): Likewise.
1774 (fma_downward_test_data): Likewise.
1775 (fma_upward_test_data): Likewise.
1776 (fmax_test_data): Likewise.
1777 (fmin_test_data): Likewise.
1778 (fmod_test_data): Likewise.
1779 (fpclassify_test_data): Likewise.
1780 (frexp_test_data): Likewise.
1781 (gamma_test_data): Likewise.
1782 (hypot_test_data): Likewise.
1783 (ilogb_test_data): Likewise.
1784 (isfinite_test_data): Likewise.
1785 (isgreater_test_data): Likewise.
1786 (isgreaterequal_test_data): Likewise.
1787 (isinf_test_data): Likewise.
1788 (isless_test_data): Likewise.
1789 (islessequal_test_data): Likewise.
1790 (islessgreater_test_data): Likewise.
1791 (isnan_test_data): Likewise.
1792 (isnormal_test_data): Likewise.
1793 (issignaling_test_data): Likewise.
1794 (isunordered_test_data): Likewise.
1795 (j0_test_data): Likewise.
1796 (j1_test_data): Likewise.
1797 (jn_test_data): Likewise.
1798 (ldexp_test_data): Likewise.
1799 (lgamma_test_data): Likewise.
1800 (lrint_test_data): Likewise.
1801 (lrint_tonearest_test_data): Likewise.
1802 (lrint_towardzero_test_data): Likewise.
1803 (lrint_downward_test_data): Likewise.
1804 (lrint_upward_test_data): Likewise.
1805 (llrint_test_data): Likewise.
1806 (llrint_tonearest_test_data): Likewise.
1807 (llrint_towardzero_test_data): Likewise.
1808 (llrint_downward_test_data): Likewise.
1809 (llrint_upward_test_data): Likewise.
1810 (log_test_data): Likewise.
1811 (log10_test_data): Likewise.
1812 (log1p_test_data): Likewise.
1813 (log2_test_data): Likewise.
1814 (logb_test_data): Likewise.
1815 (logb_downward_test_data): Likewise.
1816 (lround_test_data): Likewise.
1817 (llround_test_data): Likewise.
1818 (modf_test_data): Likewise.
1819 (nearbyint_test_data): Likewise.
1820 (nextafter_test_data): Likewise.
1821 (nexttoward_test_data): Likewise.
1822 (pow_test_data): Likewise.
1823 (pow_tonearest_test_data): Likewise.
1824 (pow_towardzero_test_data): Likewise.
1825 (pow_downward_test_data): Likewise.
1826 (pow_upward_test_data): Likewise.
1827 (remainder_test_data): Likewise.
1828 (remainder_tonearest_test_data): Likewise.
1829 (remainder_towardzero_test_data): Likewise.
1830 (remainder_downward_test_data): Likewise.
1831 (remainder_upward_test_data): Likewise.
1832 (remquo_test_data): Likewise.
1833 (rint_test_data): Likewise.
1834 (rint_tonearest_test_data): Likewise.
1835 (rint_towardzero_test_data): Likewise.
1836 (rint_downward_test_data): Likewise.
1837 (rint_upward_test_data): Likewise.
1838 (round_test_data): Likewise.
1839 (scalb_test_data): Likewise.
1840 (scalbn_test_data): Likewise.
1841 (scalbln_test_data): Likewise.
1842 (signbit_test_data): Likewise.
1843 (sin_test_data): Likewise.
1844 (sin_tonearest_test_data): Likewise.
1845 (sin_towardzero_test_data): Likewise.
1846 (sin_downward_test_data): Likewise.
1847 (sin_upward_test_data): Likewise.
1848 (sincos_test_data): Likewise.
1849 (sinh_test_data): Likewise.
1850 (sinh_tonearest_test_data): Likewise.
1851 (sinh_towardzero_test_data): Likewise.
1852 (sinh_downward_test_data): Likewise.
1853 (sinh_upward_test_data): Likewise.
1854 (sqrt_test_data): Likewise.
1855 (tan_test_data): Likewise.
1856 (tan_tonearest_test_data): Likewise.
1857 (tan_towardzero_test_data): Likewise.
1858 (tan_downward_test_data): Likewise.
1859 (tan_upward_test_data): Likewise.
1860 (tanh_test_data): Likewise.
1861 (tgamma_test_data): Likewise.
1862 (trunc_test_data): Likewise.
1863 (y0_test_data): Likewise.
1864 (y1_test_data): Likewise.
1865 (yn_test_data): Likewise.
1866 (significand_test_data): Likewise.
1868 * math/gen-libm-test.pl (@functions): Remove variable.
1869 (generate_testfile): Don't handle START and END lines.
1870 * math/libm-test.inc (START): New macro.
1872 (END_COMPLEX): Likewise.
1873 (acos_test): Use END macro without arguments.
1874 (acos_test_tonearest): Likewise.
1875 (acos_test_towardzero): Likewise.
1876 (acos_test_downward): Likewise.
1877 (acos_test_upward): Likewise.
1878 (acosh_test): Likewise.
1879 (asin_test): Likewise.
1880 (asin_test_tonearest): Likewise.
1881 (asin_test_towardzero): Likewise.
1882 (asin_test_downward): Likewise.
1883 (asin_test_upward): Likewise.
1884 (asinh_test): Likewise.
1885 (atan_test): Likewise.
1886 (atanh_test): Likewise.
1887 (atan2_test): Likewise.
1888 (cabs_test): Likewise.
1889 (cacos_test): Use END_COMPLEX macro without arguments.
1890 (cacosh_test): Likewise.
1891 (carg_test): Use END macro without arguments.
1892 (casin_test): Use END_COMPLEX macro without arguments.
1893 (casinh_test): Likewise.
1894 (catan_test): Likewise.
1895 (catanh_test): Likewise.
1896 (cbrt_test): Use END macro without arguments.
1897 (ccos_test): Use END_COMPLEX macro without arguments.
1898 (ccosh_test): Likewise.
1899 (ceil_test): Use END macro without arguments.
1900 (cexp_test): Use END_COMPLEX macro without arguments.
1901 (cimag_test): Use END macro without arguments.
1902 (clog_test): Use END_COMPLEX macro without arguments.
1903 (clog10_test): Likewise.
1904 (conj_test): Likewise.
1905 (copysign_test): Use END macro without arguments.
1906 (cos_test): Likewise.
1907 (cos_test_tonearest): Likewise.
1908 (cos_test_towardzero): Likewise.
1909 (cos_test_downward): Likewise.
1910 (cos_test_upward): Likewise.
1911 (cosh_test): Likewise.
1912 (cosh_test_tonearest): Likewise.
1913 (cosh_test_towardzero): Likewise.
1914 (cosh_test_downward): Likewise.
1915 (cosh_test_upward): Likewise.
1916 (cpow_test): Use END_COMPLEX macro without arguments.
1917 (cproj_test): Likewise.
1918 (creal_test): Use END macro without arguments.
1919 (csin_test): Use END_COMPLEX macro without arguments.
1920 (csinh_test): Likewise.
1921 (csqrt_test): Likewise.
1922 (ctan_test): Likewise.
1923 (ctan_test_tonearest): Likewise.
1924 (ctan_test_towardzero): Likewise.
1925 (ctan_test_downward): Likewise.
1926 (ctan_test_upward): Likewise.
1927 (ctanh_test): Likewise.
1928 (ctanh_test_tonearest): Likewise.
1929 (ctanh_test_towardzero): Likewise.
1930 (ctanh_test_downward): Likewise.
1931 (ctanh_test_upward): Likewise.
1932 (erf_test): Use END macro without arguments.
1933 (erfc_test): Likewise.
1934 (exp_test): Likewise.
1935 (exp_test_tonearest): Likewise.
1936 (exp_test_towardzero): Likewise.
1937 (exp_test_downward): Likewise.
1938 (exp_test_upward): Likewise.
1939 (exp10_test): Likewise.
1940 (exp2_test): Likewise.
1941 (expm1_test): Likewise.
1942 (fabs_test): Likewise.
1943 (fdim_test): Likewise.
1944 (finite_test): Likewise.
1945 (floor_test): Likewise.
1946 (fma_test): Likewise.
1947 (fma_test_towardzero): Likewise.
1948 (fma_test_downward): Likewise.
1949 (fma_test_upward): Likewise.
1950 (fmax_test): Likewise.
1951 (fmin_test): Likewise.
1952 (fmod_test): Likewise.
1953 (fpclassify_test): Likewise.
1954 (frexp_test): Likewise.
1955 (gamma_test): Likewise.
1956 (hypot_test): Likewise.
1957 (ilogb_test): Likewise.
1958 (isfinite_test): Likewise.
1959 (isgreater_test): Likewise.
1960 (isgreaterequal_test): Likewise.
1961 (isinf_test): Likewise.
1962 (isless_test): Likewise.
1963 (islessequal_test): Likewise.
1964 (islessgreater_test): Likewise.
1965 (isnan_test): Likewise.
1966 (isnormal_test): Likewise.
1967 (issignaling_test): Likewise.
1968 (isunordered_test): Likewise.
1969 (j0_test): Likewise.
1970 (j1_test): Likewise.
1971 (jn_test): Likewise.
1972 (ldexp_test): Likewise.
1973 (lgamma_test): Likewise.
1974 (lrint_test): Likewise.
1975 (lrint_test_tonearest): Likewise.
1976 (lrint_test_towardzero): Likewise.
1977 (lrint_test_downward): Likewise.
1978 (lrint_test_upward): Likewise.
1979 (llrint_test): Likewise.
1980 (llrint_test_tonearest): Likewise.
1981 (llrint_test_towardzero): Likewise.
1982 (llrint_test_downward): Likewise.
1983 (llrint_test_upward): Likewise.
1984 (log_test): Likewise.
1985 (log10_test): Likewise.
1986 (log1p_test): Likewise.
1987 (log2_test): Likewise.
1988 (logb_test): Likewise.
1989 (logb_test_downward): Likewise.
1990 (lround_test): Likewise.
1991 (llround_test): Likewise.
1992 (modf_test): Likewise.
1993 (nearbyint_test): Likewise.
1994 (nextafter_test): Likewise.
1995 (nexttoward_test): Likewise.
1996 (pow_test): Likewise.
1997 (pow_test_tonearest): Likewise.
1998 (pow_test_towardzero): Likewise.
1999 (pow_test_downward): Likewise.
2000 (pow_test_upward): Likewise.
2001 (remainder_test): Likewise.
2002 (remainder_test_tonearest): Likewise.
2003 (remainder_test_towardzero): Likewise.
2004 (remainder_test_downward): Likewise.
2005 (remainder_test_upward): Likewise.
2006 (remquo_test): Likewise.
2007 (rint_test): Likewise.
2008 (rint_test_tonearest): Likewise.
2009 (rint_test_towardzero): Likewise.
2010 (rint_test_downward): Likewise.
2011 (rint_test_upward): Likewise.
2012 (round_test): Likewise.
2013 (scalb_test): Likewise.
2014 (scalbn_test): Likewise.
2015 (scalbln_test): Likewise.
2016 (signbit_test): Likewise.
2017 (sin_test): Likewise.
2018 (sin_test_tonearest): Likewise.
2019 (sin_test_towardzero): Likewise.
2020 (sin_test_downward): Likewise.
2021 (sin_test_upward): Likewise.
2022 (sincos_test): Likewise.
2023 (sinh_test): Likewise.
2024 (sinh_test_tonearest): Likewise.
2025 (sinh_test_towardzero): Likewise.
2026 (sinh_test_downward): Likewise.
2027 (sinh_test_upward): Likewise.
2028 (sqrt_test): Likewise.
2029 (tan_test): Likewise.
2030 (tan_test_tonearest): Likewise.
2031 (tan_test_towardzero): Likewise.
2032 (tan_test_downward): Likewise.
2033 (tan_test_upward): Likewise.
2034 (tanh_test): Likewise.
2035 (tgamma_test): Likewise.
2036 (trunc_test): Likewise.
2037 (y0_test): Likewise.
2038 (y1_test): Likewise.
2039 (yn_test): Likewise.
2040 (significand_test): Likewise.
2042 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
2045 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2047 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2050 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2051 __ppc_mdoio and __ppc_mdoom.
2052 * manual/platform.texi: Document new functions __ppc_yield,
2053 __ppc_mdoio and __ppc_mdoom.
2055 2013-05-22 Carlos O'Donell <carlos@redhat.com>
2057 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2058 (main): Mention "tls" pseudo-hwcap is legacy.
2059 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2061 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2063 * math/gen-libm-test.pl (parse_args): Output only string of
2064 arguments as text for test name, not full call or descriptions of
2065 tests for extra outputs.
2066 (generate_testfile): Do not pass function name to parse_args.
2067 Generate this_func variable from START.
2068 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2070 (struct test_ff_f_data): Likewise.
2071 (test_ff_f_data_nexttoward): Likewise.
2072 (struct test_fi_f_data): Likewise.
2073 (struct test_fl_f_data): Likewise.
2074 (struct test_if_f_data): Likewise.
2075 (struct test_fff_f_data): Likewise.
2076 (struct test_c_f_data): Likewise.
2077 (struct test_f_f1_data): Likewise. Remove field extra_name.
2078 (struct test_fF_f1_data): Likewise.
2079 (struct test_ffI_f1_data): Likewise.
2080 (struct test_c_c_data): Rename test_name field to arg_str.
2081 (struct test_cc_c_data): Likewise.
2082 (struct test_f_i_data): Likewise.
2083 (struct test_ff_i_data): Likewise.
2084 (struct test_f_l_data): Likewise.
2085 (struct test_f_L_data): Likewise.
2086 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2088 (COMMON_TEST_SETUP): New macro.
2089 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2090 (COMMON_TEST_CLEANUP): Likewise.
2091 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2092 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2094 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2095 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2097 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2098 (RUN_TEST_fff_f): Take argument string. Call new setup and
2100 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2101 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2103 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2104 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2106 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2107 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2109 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2110 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2112 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2113 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2115 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2116 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2118 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2119 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2121 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2122 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2124 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2125 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2127 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2128 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2130 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2131 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2133 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2134 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2136 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2137 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2139 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2140 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2142 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2143 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2145 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2147 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2149 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2150 to _sifields.sigfault.
2151 (si_addr_lsb): Define new macro.
2152 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2153 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2154 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2156 2013-05-03 Carlos O'Donell <carlos at redhat.com>
2159 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2161 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2163 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2166 2013-05-22 Joseph Myers <joseph@codesourcery.com>
2168 * math/gen-libm-test.pl (parse_args): Do not include expected
2169 result in test name.
2170 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2171 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2172 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2173 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2174 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2177 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2179 * benchtests/Makefile: Sort function entries.
2181 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2182 tanh, asinh, acosh, atanh.
2183 * benchtests/acos-inputs: New file.
2184 * benchtests/acosh-inputs: New file.
2185 * benchtests/asin-inputs: New file.
2186 * benchtests/asinh-inputs: New file.
2187 * benchtests/atanh-inputs: New file.
2188 * benchtests/cosh-inputs: New file.
2189 * benchtests/log-inputs: New file.
2190 * benchtests/sinh-inputs: New file.
2191 * benchtests/tanh-inputs: New file.
2193 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2196 * posix/tst-getaddrinfo4.c: New test.
2197 * posix/Makefile (tests): Add it.
2199 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2202 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2203 when no services were used.
2204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2205 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2207 2013-05-21 Andreas Schwab <schwab@suse.de>
2210 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2211 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2213 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2214 redundant variable declarations and reallocation of buffer when
2215 parsing as IPv6 address. Always set NSS status when called from
2216 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2217 buffer too small. Correct computation of needed size.
2218 * nss/Makefile (tests): Add test-digits-dots.
2219 * nss/test-digits-dots.c: New test.
2221 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2223 * benchtests/Makefile: Remove instructions for adding
2225 * benchtests/README: New file to explain how to execute and
2226 enhance the benchmark tests.
2228 2013-05-21 Andreas Schwab <schwab@suse.de>
2231 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2232 * setjmp/tst-sigsetjmp.c: New test.
2234 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2236 * sysdeps/x86_64/memset.S (memset): New implementation.
2237 (__bzero): Likewise.
2238 (__memset_tail): New function.
2240 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
2242 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2243 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2244 __memcpy_sse2_unaligned ifunc selection.
2245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2246 Add memcpy-sse2-unaligned.S.
2247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2248 Add: __memcpy_sse2_unaligned.
2250 2013-05-19 Joseph Myers <joseph@codesourcery.com>
2253 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2254 math_force_eval before restoring floating-point envrionment.
2255 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2258 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2260 (__nearbyintl): Use math_force_eval before restoring
2261 floating-point environment.
2262 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2264 * math/gen-libm-test.pl (special_functions): Remove.
2265 (parse_args): Don't handle TEST_extra. Handle functions with no
2267 * math/libm-test.inc (struct test_sincos_data): Replace with
2268 struct test_fFF_11_data.
2269 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2270 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2271 (sincos_test_data): Change element type to struct
2272 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2273 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2274 RUN_TEST_LOOP_sincos.
2275 * math/README.libm-test: Don't mention special handling of
2276 individual functions.
2277 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2278 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2279 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2280 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2281 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2284 * math/gen-libm-test.pl (get_variable): Remove function.
2285 (parse_args): Don't show pointer parameters to call in test
2286 names. Use "extra output N" in test names for extra outputs
2287 rather than naming variables.
2289 2013-05-18 Joseph Myers <joseph@codesourcery.com>
2292 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2293 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2294 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2296 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2298 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2301 * math/gen-libm-test.pl (@tests): Remove variable.
2303 (new_test): Remove function.
2304 (show_exceptions): New function.
2305 (special_functions): Use show_exceptions instead of new_test.
2306 (parse_args): Likewise.
2307 (generate_testfile): Pass only function name in generated call to
2308 print_max_error or print_complex_max_error.
2309 (get_ulps): Do not handle complex tests specially.
2310 (output_test): Rename to ...
2311 (get_all_ulps_for_test): ... this. Return a string rather than
2312 printing to a file. Require ulps to be present.
2313 (output_ulps): Generate arrays rather than #defines.
2314 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2315 (struct ulp_data): New type.
2316 (BUILD_COMPLEX_ULP): Remove macro.
2317 (compare_ulp_data): New function.
2318 (find_ulps): Likewise.
2319 (find_test_ulps): Likewise.
2320 (find_function_ulps): Likewise.
2321 (find_complex_function_ulps): Likewise.
2322 (print_max_error): Determine allowed ulps using
2324 (print_complex_max_error): Determine allowed ulps using
2325 find_complex_function_ulps.
2326 (check_float_internal): Determine max ulps using find_test_ulps.
2327 (check_float): Do not take max_ulp parameter. Update call to
2328 check_float_internal.
2329 (check_complex): Likewise.
2330 (check_int): Do not take max_ulp parameter.
2331 (check_long): Likewise.
2332 (check_bool): Likewise.
2333 (check_longlong): Likewise.
2334 (struct test_f_f_data): Remove max_ulp field.
2335 (struct test_ff_f_data): Likewise.
2336 (struct test_ff_f_data_nexttoward): Likewise.
2337 (struct test_fi_f_data): Likewise.
2338 (struct test_fl_f_data): Likewise.
2339 (struct test_if_f_data): Likewise.
2340 (struct test_fff_f_data): Likewise.
2341 (struct test_c_f_data): Likewise.
2342 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2343 (struct test_fF_f1_data): Likewise.
2344 (struct test_ffI_f1_data): Likewise.
2345 (struct test_c_c_data): Remove max_ulp field.
2346 (struct test_cc_c_data): Likewise.
2347 (struct test_f_i_data): Likewise.
2348 (struct test_ff_i_data): Likewise.
2349 (struct test_f_l_data): Likewise.
2350 (struct test_f_L_data): Likewise.
2351 (struct test_sincos_data): Likewise.
2352 (RUN_TEST_f_f): Do not handle ulps.
2353 (RUN_TEST_LOOP_f_f): Likewise.
2354 (RUN_TEST_2_f): Likewise.
2355 (RUN_TEST_LOOP_2_f): Likewise.
2356 (RUN_TEST_fff_f): Likewise.
2357 (RUN_TEST_LOOP_fff_f): Likewise.
2358 (RUN_TEST_c_f): Likewise.
2359 (RUN_TEST_LOOP_c_f): Likewise.
2360 (RUN_TEST_f_f1): Likewise.
2361 (RUN_TEST_LOOP_f_f1): Likewise.
2362 (RUN_TEST_fF_f1): Likewise.
2363 (RUN_TEST_LOOP_fF_f1): Likewise.
2364 (RUN_TEST_fI_f1): Likewise.
2365 (RUN_TEST_LOOP_fI_f1): Likewise.
2366 (RUN_TEST_ffI_f1): Likewise.
2367 (RUN_TEST_LOOP_ffI_f1): Likewise.
2368 (RUN_TEST_c_c): Likewise.
2369 (RUN_TEST_LOOP_c_c): Likewise.
2370 (RUN_TEST_cc_c): Likewise.
2371 (RUN_TEST_LOOP_cc_c): Likewise.
2372 (RUN_TEST_f_i): Likewise.
2373 (RUN_TEST_LOOP_f_i): Likewise.
2374 (RUN_TEST_f_i_tg): Likewise.
2375 (RUN_TEST_LOOP_f_i_tg): Likewise.
2376 (RUN_TEST_ff_i_tg): Likewise.
2377 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2378 (RUN_TEST_f_b): Likewise.
2379 (RUN_TEST_LOOP_f_b): Likewise.
2380 (RUN_TEST_f_b_tg): Likewise.
2381 (RUN_TEST_LOOP_f_b_tg): Likewise.
2382 (RUN_TEST_f_l): Likewise.
2383 (RUN_TEST_LOOP_f_l): Likewise.
2384 (RUN_TEST_f_L): Likewise.
2385 (RUN_TEST_LOOP_f_L): Likewise.
2386 (RUN_TEST_sincos): Likewise.
2387 (RUN_TEST_LOOP_sincos): Likewise.
2389 2013-05-17 Joseph Myers <joseph@codesourcery.com>
2393 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2394 main case of finite arguments, set rounding mode to FE_TONEAREST
2395 and discard exceptions.
2396 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2398 (remainder_tonearest_test_data): New variable.
2399 (remainder_test_tonearest): New function.
2400 (remainder_towardzero_test_data): New variable.
2401 (remainder_test_towardzero): New function.
2402 (remainder_downward_test_data): New variable.
2403 (remainder_test_downward): New function.
2404 (remainder_upward_test_data): New variable.
2405 (remainder_test_upward): New function.
2406 (main): Call the new test functions.
2408 * math/libm-test.inc (struct test_f_f1_data): Remove field
2410 (struct test_fF_f1_data): Likewise.
2411 (struct test_ffI_f1_data): Likewise.
2412 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2413 based on value of EXTRA_EXPECTED.
2414 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2415 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2416 EXTRA_VAR based on value of EXTRA_EXPECTED.
2417 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2418 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2419 EXTRA_VAR based on value of EXTRA_EXPECTED.
2420 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2421 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2422 EXTRA_VAR based on value of EXTRA_EXPECTED.
2423 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2424 * math/gen-libm-test.pl (parse_args): Don't output initializers
2425 for extra output values.
2427 * math/libm-test.inc (check_int): Expect result to be exactly
2428 equal to expected value and do not handle ulps.
2429 (check_long): Likewise.
2430 (check_longlong): Likewise.
2432 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2434 (cimag_test_data): Likewise.
2435 (conj_test_data): Likewise.
2436 (copysign_test_data): Likewise.
2437 (cproj_test_data): Likewise.
2438 (creal_test_data): Likewise.
2439 (fabs_test_data): Likewise.
2440 (fdim_test_data): Likewise.
2441 (finite_test_data): Likewise.
2442 (floor_test_data): Likewise.
2443 (fmax_test_data): Likewise.
2444 (fmin_test_data): Likewise.
2445 (fmod_test_data): Likewise.
2446 (fpclassify_test_data): Likewise.
2447 (frexp_test_data): Likewise.
2448 (ilogb_test_data): Likewise.
2449 (isfinite_test_data): Likewise.
2450 (isgreater_test_data): Likewise.
2451 (isgreaterequal_test_data): Likewise.
2452 (isinf_test_data): Likewise.
2453 (isless_test_data): Likewise.
2454 (islessequal_test_data): Likewise.
2455 (islessgreater_test_data): Likewise.
2456 (isnan_test_data): Likewise.
2457 (isnormal_test_data): Likewise.
2458 (issignaling_test_data): Likewise.
2459 (isunordered_test_data): Likewise.
2460 (ldexp_test_data): Likewise.
2461 (lrint_test_data): Likewise.
2462 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2463 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2464 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2465 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2466 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2467 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2469 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2470 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2471 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2472 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2474 (lrint_downward_test_data): Test for "inexact" exceptions.
2475 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2476 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2477 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2479 (lrint_upward_test_data): Test for "inexact" exceptions.
2480 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2482 (llrint_test_data): Test for "inexact" exceptions.
2483 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2484 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2485 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2486 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2487 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2488 (llrint_downward_test_data): Test for "inexact" exceptions.
2489 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2490 (llrint_upward_test_data): Test for "inexact" exceptions.
2491 (logb_test_data): Likewise.
2492 (logb_downward_test_data): Likewise.
2493 (nextafter_test_data): Likewise.
2494 (nexttoward_test_data): Likewise.
2495 (remainder_test_data): Likewise.
2496 (remquo_test_data): Likewise.
2497 (scalbn_test_data): Likewise.
2498 (scalbln_test_data): Likewise.
2499 (signbit_test_data): Likewise.
2500 (sqrt_test_data): Likewise.
2501 (significand_test_data): Likewise.
2503 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2506 * benchtests/bench-modf.c (struct args): Mark arg0 as
2508 * scripts/bench.pl: Mark members of struct args as volatile.
2510 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2513 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2514 negative infinity on POWER6 or lower.
2515 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2517 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2520 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2521 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2522 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2523 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2524 (_FP_SETQNAN): New macro.
2525 (_FP_SETQNAN_SEMIRAW): Likewise.
2526 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2527 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2528 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2529 (FP_EXTEND): Use _FP_FRAC_SNANP.
2530 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2531 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2533 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2535 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2538 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2540 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2541 with DIVIDE_BY_ZERO_EXCEPTION.
2542 (gamma_test_data): Likewise.
2543 (lgamma_test_data): Likewise.
2544 (log_test_data): Likewise.
2545 (log10_test_data): Likewise.
2546 (log2_test_data): Likewise.
2547 (tgamma_test_data): Likewise.
2549 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2550 (acos_test_tonearest): Likewise.
2551 (acos_test_towardzero): Likewise.
2552 (acos_test_downward): Likewise.
2553 (acos_test_upward): Likewise.
2554 (acosh_test): Likewise.
2555 (asin_test): Likewise.
2556 (asin_test_tonearest): Likewise.
2557 (asin_test_towardzero): Likewise.
2558 (asin_test_downward): Likewise.
2559 (asin_test_upward): Likewise.
2560 (asinh_test): Likewise.
2561 (atan_test): Likewise.
2562 (atanh_test): Likewise.
2563 (atan2_test): Likewise.
2564 (cabs_test): Likewise.
2565 (cacos_test): Likewise.
2566 (cacosh_test): Likewise.
2567 (casin_test): Likewise.
2568 (casinh_test): Likewise.
2569 (catan_test): Likewise.
2570 (catanh_test): Likewise.
2571 (cbrt_test): Likewise.
2572 (ccos_test): Likewise.
2573 (ccosh_test): Likewise.
2574 (cexp_test): Likewise.
2575 (clog_test): Likewise.
2576 (clog10_test): Likewise.
2577 (cos_test): Likewise.
2578 (cos_test_tonearest): Likewise.
2579 (cos_test_towardzero): Likewise.
2580 (cos_test_downward): Likewise.
2581 (cos_test_upward): Likewise.
2582 (cosh_test): Likewise.
2583 (cosh_test_tonearest): Likewise.
2584 (cosh_test_towardzero): Likewise.
2585 (cosh_test_downward): Likewise.
2586 (cosh_test_upward): Likewise.
2587 (cpow_test): Likewise.
2588 (csin_test): Likewise.
2589 (csinh_test): Likewise.
2590 (csqrt_test): Likewise.
2591 (ctan_test): Likewise.
2592 (ctan_test_tonearest): Likewise.
2593 (ctan_test_towardzero): Likewise.
2594 (ctan_test_downward): Likewise.
2595 (ctan_test_upward): Likewise.
2596 (ctanh_test): Likewise.
2597 (ctanh_test_tonearest): Likewise.
2598 (ctanh_test_towardzero): Likewise.
2599 (ctanh_test_downward): Likewise.
2600 (ctanh_test_upward): Likewise.
2601 (erf_test): Likewise.
2602 (erfc_test): Likewise.
2603 (exp_test): Likewise.
2604 (exp_test_tonearest): Likewise.
2605 (exp_test_towardzero): Likewise.
2606 (exp_test_downward): Likewise.
2607 (exp_test_upward): Likewise.
2608 (exp10_test): Likewise.
2609 (exp2_test): Likewise.
2610 (expm1_test): Likewise.
2611 (fmod_test): Likewise.
2612 (gamma_test): Likewise.
2613 (hypot_test): Likewise.
2614 (j0_test): Likewise.
2615 (j1_test): Likewise.
2616 (jn_test): Likewise.
2617 (lgamma_test): Likewise.
2618 (log_test): Likewise.
2619 (log10_test): Likewise.
2620 (log1p_test): Likewise.
2621 (log2_test): Likewise.
2622 (logb_test_downward): Likewise.
2623 (pow_test): Likewise.
2624 (pow_test_tonearest): Likewise.
2625 (pow_test_towardzero): Likewise.
2626 (pow_test_downward): Likewise.
2627 (pow_test_upward): Likewise.
2628 (remainder_test): Likewise.
2629 (remquo_test): Likewise.
2630 (sin_test): Likewise.
2631 (sin_test_tonearest): Likewise.
2632 (sin_test_towardzero): Likewise.
2633 (sin_test_downward): Likewise.
2634 (sin_test_upward): Likewise.
2635 (sincos_test): Likewise.
2636 (sinh_test): Likewise.
2637 (sinh_test_tonearest): Likewise.
2638 (sinh_test_towardzero): Likewise.
2639 (sinh_test_downward): Likewise.
2640 (sinh_test_upward): Likewise.
2641 (sqrt_test): Likewise.
2642 (tan_test): Likewise.
2643 (tan_test_tonearest): Likewise.
2644 (tan_test_towardzero): Likewise.
2645 (tan_test_downward): Likewise.
2646 (tan_test_upward): Likewise.
2647 (tanh_test): Likewise.
2648 (tgamma_test): Likewise.
2649 (y0_test): Likewise.
2650 (y1_test): Likewise.
2651 (yn_test): Likewise.
2653 * math/gen-libm-test.pl (adjust_arg): Remove function.
2654 (special_function): Remove argument $in_func. Only handle
2655 generating output for tables of tests, not inside functions.
2656 (parse_args): Likewise.
2657 (generate_testfile): Remove variable $in_func. Update call to
2659 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2660 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2661 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2662 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2663 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2664 (MAX_VALUE_INIT): Rename macro to max_value.
2665 (MIN_VALUE_INIT): Rename macro to min_value.
2666 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2667 (plus_zero): Remove variable.
2668 (minus_zero): Likewise.
2669 (plus_infty): Likewise.
2670 (minus_infty): Likewise.
2671 (qnan_value): Likewise.
2672 (max_value): Likewise.
2673 (min_value): Likewise.
2674 (min_subnorm_value): Likewise.
2676 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2678 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2679 uint64_t or uint32_t usage.
2680 * crypt/sha256-block.c: Likewise.
2681 * crypt/sha256-crypt.c: Likewise.
2682 * crypt/sha256.c: Likewise.
2683 * crypt/sha512-block.c: Likewise.
2684 * crypt/sha512-crypt.c: Likewise.
2685 * crypt/sha512.c: Likewise.
2686 * debug/backtrace-tst.c: Likewise.
2687 * debug/pcprofiledump.c: Likewise.
2688 * elf/cache.c: Likewise.
2689 * elf/dl-cache.c: Likewise.
2690 * elf/dl-misc.c: Likewise.
2691 * elf/dl-profile.c: Likewise.
2692 * elf/dl-support.c: Likewise.
2693 * elf/ldconfig.c: Likewise.
2694 * elf/sprof.c: Likewise.
2695 * iconv/dummy-repertoire.c: Likewise.
2696 * iconv/iconv_charmap.c: Likewise.
2697 * iconv/skeleton.c: Likewise.
2698 * iconvdata/8bit-generic.c: Likewise.
2699 * iconvdata/cp737.h: Likewise.
2700 * iconvdata/cp775.h: Likewise.
2701 * iconvdata/ibm1008.h: Likewise.
2702 * iconvdata/ibm1025.h: Likewise.
2703 * iconvdata/ibm1046.h: Likewise.
2704 * iconvdata/ibm1097.h: Likewise.
2705 * iconvdata/ibm1112.h: Likewise.
2706 * iconvdata/ibm1122.h: Likewise.
2707 * iconvdata/ibm1123.h: Likewise.
2708 * iconvdata/ibm1124.h: Likewise.
2709 * iconvdata/ibm1129.h: Likewise.
2710 * iconvdata/ibm1130.h: Likewise.
2711 * iconvdata/ibm1132.h: Likewise.
2712 * iconvdata/ibm1133.h: Likewise.
2713 * iconvdata/ibm1137.h: Likewise.
2714 * iconvdata/ibm1140.h: Likewise.
2715 * iconvdata/ibm1141.h: Likewise.
2716 * iconvdata/ibm1142.h: Likewise.
2717 * iconvdata/ibm1143.h: Likewise.
2718 * iconvdata/ibm1144.h: Likewise.
2719 * iconvdata/ibm1145.h: Likewise.
2720 * iconvdata/ibm1146.h: Likewise.
2721 * iconvdata/ibm1147.h: Likewise.
2722 * iconvdata/ibm1148.h: Likewise.
2723 * iconvdata/ibm1149.h: Likewise.
2724 * iconvdata/ibm1153.h: Likewise.
2725 * iconvdata/ibm1154.h: Likewise.
2726 * iconvdata/ibm1155.h: Likewise.
2727 * iconvdata/ibm1156.h: Likewise.
2728 * iconvdata/ibm1157.h: Likewise.
2729 * iconvdata/ibm1158.h: Likewise.
2730 * iconvdata/ibm1160.h: Likewise.
2731 * iconvdata/ibm1161.h: Likewise.
2732 * iconvdata/ibm1162.h: Likewise.
2733 * iconvdata/ibm1163.h: Likewise.
2734 * iconvdata/ibm1164.h: Likewise.
2735 * iconvdata/ibm1166.h: Likewise.
2736 * iconvdata/ibm1167.h: Likewise.
2737 * iconvdata/ibm12712.h: Likewise.
2738 * iconvdata/ibm1390.h: Likewise.
2739 * iconvdata/ibm1399.h: Likewise.
2740 * iconvdata/ibm16804.h: Likewise.
2741 * iconvdata/ibm4517.h: Likewise.
2742 * iconvdata/ibm4899.h: Likewise.
2743 * iconvdata/ibm4909.h: Likewise.
2744 * iconvdata/ibm4971.h: Likewise.
2745 * iconvdata/ibm5347.h: Likewise.
2746 * iconvdata/ibm803.h: Likewise.
2747 * iconvdata/ibm856.h: Likewise.
2748 * iconvdata/ibm901.h: Likewise.
2749 * iconvdata/ibm902.h: Likewise.
2750 * iconvdata/ibm9030.h: Likewise.
2751 * iconvdata/ibm9066.h: Likewise.
2752 * iconvdata/ibm921.h: Likewise.
2753 * iconvdata/ibm922.h: Likewise.
2754 * iconvdata/ibm9448.h: Likewise.
2755 * iconvdata/isiri-3342.h: Likewise.
2756 * iconvdata/jis0201.h: Likewise.
2757 * include/link.h: Likewise.
2758 * include/netdb.h: Likewise.
2759 * inet/check_native.c: Likewise.
2760 * inet/check_pf.c: Likewise.
2761 * inet/getipv4sourcefilter.c: Likewise.
2762 * inet/getnameinfo.c: Likewise.
2763 * inet/getsourcefilter.c: Likewise.
2764 * inet/htonl.c: Likewise.
2765 * inet/setipv4sourcefilter.c: Likewise.
2766 * inet/setsourcefilter.c: Likewise.
2767 * inet/test-inet6_opt.c: Likewise.
2768 * inet/tst-network.c: Likewise.
2769 * locale/C-collate.c: Likewise.
2770 * locale/C-ctype.c: Likewise.
2771 * locale/C-time.c: Likewise.
2772 * locale/C-translit.h: Likewise.
2773 * locale/loadarchive.c: Likewise.
2774 * locale/programs/3level.h: Likewise.
2775 * locale/programs/charmap.c: Likewise.
2776 * locale/programs/charmap.h: Likewise.
2777 * locale/programs/ld-address.c: Likewise.
2778 * locale/programs/ld-collate.c: Likewise.
2779 * locale/programs/ld-ctype.c: Likewise.
2780 * locale/programs/ld-identification.c: Likewise.
2781 * locale/programs/ld-measurement.c: Likewise.
2782 * locale/programs/ld-messages.c: Likewise.
2783 * locale/programs/ld-monetary.c: Likewise.
2784 * locale/programs/ld-name.c: Likewise.
2785 * locale/programs/ld-numeric.c: Likewise.
2786 * locale/programs/ld-paper.c: Likewise.
2787 * locale/programs/ld-telephone.c: Likewise.
2788 * locale/programs/ld-time.c: Likewise.
2789 * locale/programs/linereader.c: Likewise.
2790 * locale/programs/locale.c: Likewise.
2791 * locale/programs/locarchive.c: Likewise.
2792 * locale/programs/locfile.h: Likewise.
2793 * locale/programs/repertoire.c: Likewise.
2794 * locale/programs/simple-hash.c: Likewise.
2795 * locale/programs/simple-hash.h: Likewise.
2796 * malloc/memusage.c: Likewise.
2797 * malloc/memusagestat.c: Likewise.
2798 * nis/nis_defaults.c: Likewise.
2799 * nis/nis_hash.c: Likewise.
2800 * nis/nis_print.c: Likewise.
2801 * nis/nis_xdr.c: Likewise.
2802 * nscd/connections.c: Likewise.
2803 * nscd/hstcache.c: Likewise.
2804 * nscd/nscd_gethst_r.c: Likewise.
2805 * nscd/nscd_getserv_r.c: Likewise.
2806 * nscd/nscd_helper.c: Likewise.
2807 * nscd/servicescache.c: Likewise.
2808 * nss/makedb.c: Likewise.
2809 * nss/nss_db/db-XXX.c: Likewise.
2810 * nss/nss_db/db-initgroups.c: Likewise.
2811 * nss/nss_db/db-netgrp.c: Likewise.
2812 * nss/nss_files/files-network.c: Likewise.
2813 * nss/nss_files/files-parse.c: Likewise.
2814 * posix/bug-regex5.c: Likewise.
2815 * posix/fnmatch_loop.c: Likewise.
2816 * posix/regcomp.c: Likewise.
2817 * posix/regexec.c: Likewise.
2818 * posix/tst-rfc3484-2.c: Likewise.
2819 * posix/tst-rfc3484-3.c: Likewise.
2820 * posix/tst-rfc3484.c: Likewise.
2821 * resolv/nss_dns/dns-canon.c: Likewise.
2822 * resolv/nss_dns/dns-network.c: Likewise.
2823 * resolv/res_init.c: Likewise.
2824 * resolv/res_mkquery.c: Likewise.
2825 * resolv/tst-aton.c: Likewise.
2826 * stdlib/cxa_atexit.c: Likewise.
2827 * stdlib/cxa_finalize.c: Likewise.
2828 * stdlib/gen-fpioconst.c: Likewise.
2829 * stdlib/strtol_l.c: Likewise.
2830 * string/tst-endian.c: Likewise.
2831 * sunrpc/auth_des.c: Likewise.
2832 * sunrpc/clnt_udp.c: Likewise.
2833 * sunrpc/rtime.c: Likewise.
2834 * sunrpc/svcauth_des.c: Likewise.
2835 * sunrpc/xdr.c: Likewise.
2836 * sunrpc/xdr_intXX_t.c: Likewise.
2837 * sunrpc/xdr_rec.c: Likewise.
2838 * sysdeps/generic/ldconfig.h: Likewise.
2839 * sysdeps/generic/ldsodefs.h: Likewise.
2840 * sysdeps/generic/memusage.h: Likewise.
2841 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2842 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2843 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2845 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2847 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2848 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2849 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2851 * sysdeps/posix/getaddrinfo.c: Likewise.
2852 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2853 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2854 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2855 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2856 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2857 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2858 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2859 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2860 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2861 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2862 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2863 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2864 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2865 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2866 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2867 * sysdeps/x86_64/dl-tls.h: Likewise.
2868 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2869 * time/alt_digit.c: Likewise.
2870 * time/era.c: Likewise.
2871 * wcsmbs/tst-c16c32-1.c: Likewise.
2873 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2875 * math/libm-test.inc (struct test_sincos_data): New type.
2876 (RUN_TEST_LOOP_sincos): New macro.
2877 (sincos_test_data): New variable.
2878 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2880 2013-05-16 Richard Henderson <rth@redhat.com>
2882 * math/atest-exp2.c (LIMB64): New macro.
2883 (CONSTSZ): New macro.
2884 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2886 (print_mpn_fp): ... to function scope.
2887 (read_mpn_hex): Remove.
2889 (exp2_mpn): Use mp_log2.
2890 (main): Use mp_exp1.
2892 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2894 * math/libm-test.inc: Remove comment about not testing "inexact"
2896 (INEXACT_EXCEPTION): New macro.
2897 (NO_INEXACT_EXCEPTION): Likewise.
2898 (INVALID_EXCEPTION_OK): Update value.
2899 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2900 (OVERFLOW_EXCEPTION_OK): Likewise.
2901 (UNDERFLOW_EXCEPTION_OK): Likewise.
2902 (IGNORE_ZERO_INF_SIGN): Likewise.
2903 (ERRNO_UNCHANGED): Likewise.
2904 (ERRNO_EDOM): Likewise.
2905 (ERRNO_ERANGE): Likewise.
2906 (test_exceptions): Handle testing "inexact" exceptions.
2907 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2908 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2909 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2910 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2912 (rint_towardzero_test_data): Likewise.
2913 (rint_downward_test_data): Likewise.
2914 (rint_upward_test_data): Likewise.
2916 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2917 with OVERFLOW_EXCEPTION.
2918 (exp10_test_data): Likewise.
2919 (exp2_test_data): Likewise.
2920 (expm1_test_data): Likewise.
2921 (lgamma_test_data): Likewise.
2922 (pow_test_data): Likewise.
2923 (tgamma_test_data): Likewise.
2924 (yn_test_data): Remove duplicate test of overflow.
2926 * math/libm-test.inc (struct test_cc_c_data): New type.
2927 (RUN_TEST_LOOP_cc_c): New macro.
2928 (cpow_test_data): New variable.
2929 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2931 * math/libm-test.inc (struct test_f_L_data): New type.
2932 (RUN_TEST_LOOP_f_L): New macro.
2933 (llrint_test_data): New variable.
2934 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2935 (llrint_tonearest_test_data): New variable.
2936 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2937 (llrint_towardzero_test_data): New variable.
2938 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2939 (llrint_downward_test_data): New variable.
2940 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2941 (llrint_upward_test_data): New variable.
2942 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2943 (llround_test_data): New variable.
2944 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2946 2013-05-13 Peter Collingbourne <pcc@google.com>
2948 * math/atest-exp2.c (get_log2): Remove const attribute.
2950 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2952 * math/libm-test.inc (struct test_f_l_data): New type.
2953 (RUN_TEST_LOOP_f_l): New macro.
2954 (lrint_test_data): New variable.
2955 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2956 (lrint_tonearest_test_data): New variable.
2957 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2958 (lrint_towardzero_test_data): New variable.
2959 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2960 (lrint_downward_test_data): New variable.
2961 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2962 (lrint_upward_test_data): New variable.
2963 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2964 (lround_test_data): New variable.
2965 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2967 2013-05-15 Peter Collingbourne <pcc@google.com>
2969 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2970 (EXTRACT_WORDS64) Use where appropriate.
2971 (INSERT_WORDS64) Likewise.
2973 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2974 constraints with x constraints.
2975 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2977 * malloc/obstack.c (_obstack_compat): Add initializer.
2979 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2981 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2982 si_trapno and add si_addr_lsb to _sifields.sigfault.
2983 (si_trapno): Remove macro.
2984 (si_addr_lsb): Define new macro.
2985 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2987 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2989 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2990 instead of TEST_f_l.
2991 (llrint_test_tonearest): Likewise.
2992 (llrint_test_towardzero): Likewise.
2993 (llrint_test_downward): Likewise.
2994 (llrint_test_upward): Likewise.
2995 (llround_test): Likewise.
2997 * math/libm-test.inc (struct test_f_i_data): Add comment.
2998 (RUN_TEST_LOOP_f_b): New macro.
2999 (RUN_TEST_LOOP_f_b_tg): Likewise.
3000 (finite_test_data): New variable.
3001 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3002 (isfinite_test_data): New variable.
3003 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3004 (isinf_test_data): New variable.
3005 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3006 (isnan_test_data): New variable.
3007 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3008 (isnormal_test_data): New variable.
3009 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3010 (issignaling_test_data): New variable.
3011 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3012 (signbit_test_data): New variable.
3013 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3015 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3016 with INVALID_EXCEPTION.
3017 (acosh_test_data): Likewise.
3018 (asin_test_data): Likewise.
3019 (atanh_test_data): Likewise.
3020 (fmod_test_data): Likewise.
3021 (log_test_data): Likewise.
3022 (log10_test_data): Likewise.
3023 (log2_test_data): Likewise.
3024 (pow_test_data): Likewise.
3025 (sqrt_test_data): Likewise.
3026 (y0_test_data): Likewise.
3027 (y1_test_data): Likewise.
3028 (yn_test_data): Likewise.
3030 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3033 * math/libm-test.inc (struct test_ff_i_data): New type.
3034 (RUN_TEST_LOOP_ff_i_tg): New macro.
3035 (isgreater_test_data): New variable.
3036 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3037 (isgreaterequal_test_data): New variable.
3038 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3039 (isless_test_data): New variable.
3040 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3041 (islessequal_test_data): New variable.
3042 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3043 (islessgreater_test_data): New variable.
3044 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3045 (isunordered_test_data): New variable.
3046 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3048 2013-05-14 David S. Miller <davem@davemloft.net>
3050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3052 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3054 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3056 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3058 (struct test_f_i_data): Change type of max_ulp to int.
3060 * math/libm-test.inc (test_ffI_f1_data): New type.
3061 (RUN_TEST_LOOP_ffI_f1): New macro.
3062 (remquo_test_data): New variable.
3063 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3065 * setjmp/tst-setjmp-fp.c: New file.
3066 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3067 (link-libm): New variable.
3068 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3070 * math/libm-test.inc (struct test_f_i_data): New type.
3071 (RUN_TEST_LOOP_f_i): New macro.
3072 (RUN_TEST_LOOP_f_i_tg): Likewise.
3073 (fpclassify_test_data): New variable.
3074 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3075 (ilogb_test_data): New variable.
3076 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3078 * math/libm-test.inc (scalbln_test): Correct function name in END
3081 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3082 (RUN_TEST_LOOP_fI_f1): New macro.
3083 (frexp_test_data): New variable.
3084 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3086 * math/libm-test.inc (struct test_fF_f1_data): New type.
3087 (RUN_TEST_LOOP_fF_f1): New macro.
3088 (modf_test_data): New variable.
3089 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3091 * math/libm-test.inc (struct test_f_f1_data): New type.
3092 (RUN_TEST_LOOP_f_f1): New macro.
3093 (gamma_test_data): New variable.
3094 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3095 (lgamma_test_data): New variable.
3096 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3098 2013-05-13 Carlos O'Donell <carlos@redhat.com>
3100 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3101 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3102 (main): Comment "tls" pseudo-hwcap.
3104 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3106 * math/libm-test.inc (struct test_fl_f_data): New type.
3107 (RUN_TEST_LOOP_fl_f): New variable.
3108 (scalbln_test_data): New variable.
3109 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3111 * math/libm-test.inc (struct test_fi_f_data): New type.
3112 (RUN_TEST_LOOP_fi_f): New macro.
3113 (ldexp_test_data): New variable.
3114 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3115 (scalbn_test_data): New variable.
3116 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3118 * math/libm-test.inc (struct test_c_f_data): New type.
3119 (RUN_TEST_LOOP_c_f): New macro.
3120 (cabs_test_data): New variable.
3121 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3122 (carg_test_data): New variable.
3123 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3124 (cimag_test_data): New variable.
3125 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3126 (creal_test_data): New variable.
3127 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3129 * math/libm-test.inc (struct test_if_f_data): New type.
3130 (RUN_TEST_LOOP_if_f): New macro.
3131 (jn_test_data): New variable.
3132 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3133 (yn_test_data): New variable.
3134 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3136 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3138 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3140 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3141 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3143 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3145 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3146 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3147 (bench-deps): Add bench-timing.h.
3148 * benchtests-bench-skeleton.c: Include bench-timing.h.
3149 (main): Use TIMING_* macros instead of clock_gettime.
3150 * benchtests/bench-timing.h: New file.
3153 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3154 Renamed from _LIB_VERSION.
3155 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3157 2013-05-12 Joseph Myers <joseph@codesourcery.com>
3159 * math/libm-test.inc (struct test_fff_f_data): New type.
3160 (RUN_TEST_LOOP_fff_f): New macro.
3161 (fma_test_data): New variable.
3162 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3163 (fma_towardzero_test_data): New variable.
3164 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3165 (fma_downward_test_data): New variable.
3166 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3167 (fma_upward_test_data): New variable.
3168 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3170 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3171 (struct test_c_c_data): New type.
3172 (RUN_TEST_LOOP_c_c): New macro.
3173 (cacos_test_data): New variable.
3174 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3175 (cacosh_test_data): New variable.
3176 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3177 (casin_test_data): New variable.
3178 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3179 (casinh_test_data): New variable.
3180 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3181 (catan_test_data): New variable.
3182 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3183 (catanh_test_data): New variable.
3184 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3185 (ccos_test_data): New variable.
3186 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3187 (ccosh_test_data): New variable.
3188 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3189 (cexp_test_data): New variable.
3190 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3191 (clog_test_data): New variable.
3192 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3193 (clog10_test_data): New variable.
3194 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3195 (conj_test_data): New variable.
3196 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3197 (cproj_test_data): New variable.
3198 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3199 (csin_test_data): New variable.
3200 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3201 (csinh_test_data): New variable.
3202 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3203 (csqrt_test_data): New variable.
3204 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3205 (ctan_test_data): New variable.
3206 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3207 (ctan_tonearest_test_data): New variable.
3208 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3209 (ctan_towardzero_test_data): New variable.
3210 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3211 (ctan_downward_test_data): New variable.
3212 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3213 (ctan_upward_test_data): New variable.
3214 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3215 (ctanh_test_data): New variable.
3216 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3217 (ctanh_tonearest_test_data): New variable.
3218 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3219 (ctanh_towardzero_test_data): New variable.
3220 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3221 (ctanh_downward_test_data): New variable.
3222 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3223 (ctanh_upward_test_data): New variable.
3224 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3225 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3228 * math/libm-test.inc (struct test_ff_f_data): New type.
3229 (struct test_ff_f_data_nexttoward): Likewise.
3230 (RUN_TEST_LOOP_2_f): New macro.
3231 (RUN_TEST_LOOP_ff_f): Likewise.
3232 (atan2_test_data): New variable.
3233 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3234 (copysign_test_data): New variable.
3235 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3236 (fdim_test_data): New variable.
3237 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3238 (fmax_test_data): New variable.
3239 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3240 (fmin_test_data): New variable.
3241 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3242 (fmod_test_data): New variable.
3243 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3244 (hypot_test_data): New variable.
3245 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3246 (nextafter_test_data): New variable.
3247 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3248 (nexttoward_test_data): New variable.
3249 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3250 (pow_test_data): New variable.
3251 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3252 (pow_tonearest_test_data): New variable.
3253 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3254 (pow_towardzero_test_data): New variable.
3255 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3256 (pow_downward_test_data): New variable.
3257 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3258 (pow_upward_test_data): New variable.
3259 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3260 (remainder_test_data): New variable.
3261 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3262 (scalb_test_data): New variable.
3263 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3264 * sysdeps/i386/fpu/libm-test-ulps: Update.
3266 2013-05-11 Joseph Myers <joseph@codesourcery.com>
3268 * math/libm-test.inc (fma_test): Use max_value instead of local
3270 (nextafter_test): Likewise.
3272 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3273 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3274 (acos_downward_test_data): New variable.
3275 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3276 (acos_upward_test_data): New variable.
3277 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3278 (acosh_test_data): New variable.
3279 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3280 (asin_test_data): New variable.
3281 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3282 (asin_tonearest_test_data): New variable.
3283 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3284 (asin_towardzero_test_data): New variable.
3285 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3286 (asin_downward_test_data): New variable.
3287 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3288 (asin_upward_test_data): New variable.
3289 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3290 (asinh_test_data): New variable.
3291 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3292 (atan_test_data): New variable.
3293 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3294 (atanh_test_data): New variable.
3295 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3296 (cbrt_test_data): New variable.
3297 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3298 (ceil_test_data): New variable.
3299 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3300 (cos_test_data): New variable.
3301 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3302 (cos_tonearest_test_data): New variable.
3303 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3304 (cos_towardzero_test_data): New variable.
3305 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3306 (cos_downward_test_data): New variable.
3307 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3308 (cos_upward_test_data): New variable.
3309 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3310 (cosh_test_data): New variable.
3311 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3312 (cosh_tonearest_test_data): New variable.
3313 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3314 (cosh_towardzero_test_data): New variable.
3315 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3316 (cosh_downward_test_data): New variable.
3317 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3318 (cosh_upward_test_data): New variable.
3319 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3320 (erf_test_data): New variable.
3321 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3322 (erfc_test_data): New variable.
3323 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3324 (exp_test_data): New variable.
3325 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3326 (exp_tonearest_test_data): New variable.
3327 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3328 (exp_towardzero_test_data): New variable.
3329 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3330 (exp_downward_test_data): New variable.
3331 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3332 (exp_upward_test_data): New variable.
3333 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3334 (exp10_test_data): New variable.
3335 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3336 (exp2_test_data): New variable.
3337 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3338 (expm1_test_data): New variable.
3339 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3340 (fabs_test_data): New variable.
3341 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3342 (floor_test_data): New variable.
3343 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3344 (j0_test_data): New variable.
3345 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3346 (j1_test_data): New variable.
3347 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3348 (log_test_data): New variable.
3349 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3350 (log10_test_data): New variable.
3351 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3352 (log1p_test_data): New variable.
3353 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3354 (log2_test_data): New variable.
3355 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3356 (logb_test_data): New variable.
3357 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3358 (logb_downward_test_data): New variable.
3359 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3360 (nearbyint_test_data): New variable.
3361 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3362 (rint_test_data): New variable.
3363 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3364 (rint_tonearest_test_data): New variable.
3365 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3366 (rint_towardzero_test_data): New variable.
3367 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3368 (rint_downward_test_data): New variable.
3369 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3370 (rint_upward_test_data): New variable.
3371 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3372 (round_test_data): New variable.
3373 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3374 (sin_test_data): New variable.
3375 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3376 (sin_tonearest_test_data): New variable.
3377 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3378 (sin_towardzero_test_data): New variable.
3379 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3380 (sin_downward_test_data): New variable.
3381 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3382 (sin_upward_test_data): New variable.
3383 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3384 (sinh_test_data): New variable.
3385 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3386 (sinh_tonearest_test_data): New variable.
3387 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3388 (sinh_towardzero_test_data): New variable.
3389 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3390 (sinh_downward_test_data): New variable.
3391 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3392 (sinh_upward_test_data): New variable.
3393 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3394 (sqrt_test_data): New variable.
3395 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3396 (tan_test_data): New variable.
3397 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3398 (tan_tonearest_test_data): New variable.
3399 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3400 (tan_towardzero_test_data): New variable.
3401 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3402 (tan_downward_test_data): New variable.
3403 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3404 (tan_upward_test_data): New variable.
3405 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3406 (tanh_test_data): New variable.
3407 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3408 (tgamma_test_data): New variable.
3409 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3410 (trunc_test_data): New variable.
3411 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3412 (y0_test_data): New variable.
3413 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3414 (y1_test_data): New variable.
3415 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3416 (significand_test_data): New variable.
3417 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3419 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3422 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3424 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3426 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3428 2013-05-10 Andreas Jaeger <aj@suse.de>
3431 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3432 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3434 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3436 * math/gen-libm-test.pl (adjust_arg): New function.
3437 (special_functions): Handle generating output in both functions
3439 (parse_args): Likewise.
3440 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3441 $in_func argument to parse_args.
3442 * math/libm-test.inc (struct test_f_f_data): New type.
3443 (IF_ROUND_INIT_): New macro.
3444 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3445 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3446 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3447 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3448 (ROUND_RESTORE_): Likewise.
3449 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3450 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3451 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3452 (ROUND_RESTORE_FE_UPWARD): Likewise.
3453 (RUN_TEST_LOOP_f_f): New macro.
3454 (acos_test_data): New variable.
3455 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3456 (acos_tonearest_test_data): New variable.
3457 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3459 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3461 * benchtests/bench-skeleton.c (startup): Fix coding style.
3463 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3466 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3467 negative infinity argument.
3468 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3469 negative infinity argument.
3470 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3471 negative infinity argument.
3472 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3475 2013-05-10 Florian Weimer <fweimer@redhat.com>
3477 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3478 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3479 * iconv/iconv_prog.c (main): Likewise.
3480 * locale/programs/charmap-dir.c (charmap_readdir)
3481 (fopen_uncompressed): Likewise.
3482 * locale/programs/locfile.c (siblings_uncached)
3483 (write_locale_data): Use lstat64 instead of lstat.
3484 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3487 2013-05-10 Andreas Jaeger <aj@suse.de>
3490 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3494 2013-05-09 Carlos O'Donell <carlos@redhat.com>
3496 * elf/dl-close.c (_dl_close_worker): Add comments.
3498 2013-05-09 Joseph Myers <joseph@codesourcery.com>
3501 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3503 (__ieee754_rem_pio2l): Update comments.
3506 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3508 (__ieee754_rem_pio2l): Update comments.
3510 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3511 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3513 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3516 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3517 (M_PI_34_LOG10El): Likewise.
3518 (M_PI2_LOG10El): Likewise.
3519 (M_PI4_LOG10El): Likewise.
3520 (M_PI_LOG10El): Likewise.
3522 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3526 2013-05-08 Joseph Myers <joseph@codesourcery.com>
3528 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3529 (MINUS_ZERO_INIT): Likewise.
3530 (PLUS_INFTY_INIT): Likewise.
3531 (MINUS_INFTY_INIT): Likewise.
3532 (QNAN_VALUE_INIT): Likewise.
3533 (MAX_VALUE_INIT): Likewise.
3534 (MIN_VALUE_INIT): Likewise.
3535 (MIN_SUBNORM_VALUE_INIT): Likewise.
3536 (plus_zero): Initialize with PLUS_ZERO_INIT.
3537 (minus_zero): Initialize with MINUS_ZERO_INIT.
3538 (plus_infty): Initialize with PLUS_INFTY_INIT.
3539 (minus_infty): Initialize with MINUS_INFTY_INIT.
3540 (qnan_value): Initialize with QNAN_VALUE_INIT.
3541 (max_value): Initialize with MAX_VALUE_INIT.
3542 (min_value): Initialize with MIN_VALUE_INIT.
3543 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3545 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3546 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3547 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3548 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3550 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3551 (RUN_TEST_2_f): Likewise.
3552 (RUN_TEST_ff_f): Likewise.
3553 (RUN_TEST_fi_f): Likewise.
3554 (RUN_TEST_fl_f): Likewise.
3555 (RUN_TEST_fff_f): Likewise.
3556 (RUN_TEST_c_f): Likewise.
3557 (RUN_TEST_f_f1): Likewise.
3558 (RUN_TEST_fF_f1): Likewise.
3559 (RUN_TEST_fI_f1): Likewise.
3560 (RUN_TEST_ffI_f1): Likewise.
3561 (RUN_TEST_c_c): Likewise.
3562 (RUN_TEST_cc_c): Likewise.
3563 (RUN_TEST_f_i): Likewise.
3564 (RUN_TEST_f_i_tg): Likewise.
3565 (RUN_TEST_ff_i_tg): Likewise.
3566 (RUN_TEST_f_b): Likewise.
3567 (RUN_TEST_f_b_tg): Likewise.
3568 (RUN_TEST_f_l): Likewise.
3569 (RUN_TEST_f_L): Likewise.
3570 (RUN_TEST_sincos): Likewise.
3571 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3572 whether to show exceptions. Do not include ");\n" in return
3574 (special_functions): Output call to RUN_TEST_sincos instead of
3575 check_float calls. Update calls to new_test.
3576 (parse_args): Output call to single RUN_TEST_* macro instead of
3577 check_* calls and other assignments. Update calls to new_test.
3583 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3584 input to result for tgamma overflow.
3585 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3586 (gamma_coeff): New variable.
3587 (NCOEFF): New macro.
3588 (gamma_positive): New function.
3589 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3590 underflow here. Use gamma_positive instead of exp (lgamma) for
3592 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3593 (gamma_coeff): New variable.
3594 (NCOEFF): New macro.
3595 (gammaf_positive): New function.
3596 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3597 underflow here. Use gamma_positive instead of exp (lgamma) for
3599 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3600 (gamma_coeff): New variable.
3601 (NCOEFF): New macro.
3602 (gammal_positive): New function.
3603 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3604 underflow here. Use gamma_positive instead of exp (lgamma) for
3606 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3607 (gamma_coeff): New variable.
3608 (NCOEFF): New macro.
3609 (gammal_positive): New function.
3610 (__ieee754_gammal_r): Handle positive infinity, overflow and
3611 underflow here. Handle NaN the same as positive infinity. Remove
3612 check x < 0xffffffff for negative integers. Use gamma_positive
3613 instead of exp (lgamma) for other arguments.
3614 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3615 (gamma_coeff): New variable.
3616 (NCOEFF): New macro.
3617 (gammal_positive): New function.
3618 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3619 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3620 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3621 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3622 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3623 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3624 * sysdeps/generic/math_private.h (__gamma_productf): New
3626 (__gamma_product): Likewise.
3627 (__gamma_productl): Likewise.
3628 * math/Makefile (libm-calls): Add gamma_product.
3629 * math/libm-test.inc (tgamma_test): Add more tests.
3630 * sysdeps/i386/fpu/libm-test-ulps: Update.
3631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3633 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
3635 * benchtests/bench-skeleton.c (main): Preheat CPU.
3637 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3639 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3641 2013-05-07 Roland McGrath <roland@hack.frob.com>
3643 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3644 and _dl_skip_args_internal.
3646 2013-05-07 Carlos O'Donell <carlos@redhat.com>
3648 * manual/message.texi (Message Translation): Talk about users.
3649 Message to key mapping impacts design.
3651 2013-05-06 Roland McGrath <roland@hack.frob.com>
3653 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3655 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3657 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3658 * sysdeps/wordsize-64/glob64.c: ... here.
3660 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3661 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3664 * debug/getlogin_r_chk.c: Moved to ...
3665 * login/getlogin_r_chk.c: ... here.
3666 * debug/Makefile (routines): Move getlogin_r_chk to ...
3667 * login/Makefile (routines): ... here.
3668 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3669 * login/Versions (libc: GLIBC_2.4): ... here.
3671 * io/poll.c (__poll): Renamed from poll.
3672 Add libc_hidden_def.
3673 (poll): Define as weak alias.
3675 * debug/ptsname_r_chk.c: Moved to ...
3676 * login/ptsname_r_chk.c: ... here.
3677 * debug/Makefile (routines): Move ptsname_r_chk to ...
3678 * login/Makefile (routines): ... here.
3679 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3680 * login/Versions (libc: GLIBC_2.4): ... here.
3682 * posix/getlogin.c: Moved to ...
3683 * login/getlogin.c: ... here.
3684 * posix/getlogin_r.c: Moved to ...
3685 * login/getlogin_r.c: ... here.
3686 * posix/getlogin_r.c: Moved to ...
3687 * login/getlogin_r.c: ... here.
3688 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3689 * login/Makefile (routines): ... here.
3690 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3691 * login/Versions (libc: GLIBC_2.0): ... here.
3693 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3694 (setrlimit): Define as weak alias.
3696 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3697 Call __ names for open, ftruncate, and close.
3698 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3699 (truncate): Define as weak alias.
3701 2013-05-06 Joseph Myers <joseph@codesourcery.com>
3703 * math/gen-libm-test.pl (parse_args): Initialize x before each
3704 test of frexp, modf and remquo.
3706 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3709 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3713 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3715 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3717 2013-05-06 Roland McGrath <roland@hack.frob.com>
3719 * elf/dl-writev.h: New file.
3720 * elf/dl-misc.c: Include it.
3721 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3722 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3724 2013-05-04 Joseph Myers <joseph@codesourcery.com>
3726 * math/libm-test.inc (noXFails): Remove variable.
3727 (noXPasses): Likewise.
3728 (BUILD_COMPLEX_INT): Remove macro.
3729 (print_screen): Remove xfail argument.
3730 (print_screen_max_error): Likewise.
3731 (update_stats): Likewise.
3732 (print_max_error): Likewise. Update calls to other affected
3734 (print_complex_max_error): Likewise.
3735 (test_single_exception): Update calls to print_screen.
3736 (test_single_errno): Likewise.
3737 (check_float_internal): Remove xfail argument. Update calls to
3738 other affected functions.
3739 (check_float): Likewise.
3740 (check_complex): Likewise.
3741 (check_int): Likewise.
3742 (check_long): Likewise.
3743 (check_bool): Likewise.
3744 (check_longlong): Likewise.
3745 (main): Don't print noXFails and noXPasses.
3746 * math/gen-libm-test.pl (top level): Don't mention expected
3747 failure handling in comment.
3748 (new_test): Don't handle expected failures.
3749 (parse_args): Don't mention expected failure handling in comment.
3750 (generate_testfile): Don't handle expected failures.
3751 (parse_ulps): Likewise.
3752 (print_ulps_file): Likewise.
3753 (get_failure): Remove function.
3754 (output_test): Don't handle expected failures.
3755 * make/README.libm-test: Don't mention expected failure handling.
3757 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3758 (minus_zero): Likewise.
3759 (plus_infty): Likewise.
3760 (minus_infty): Likewise.
3761 (qnan_value): Likewise.
3762 (max_value): Likewise.
3763 (min_value): Likewise.
3764 (min_subnorm_value): Likewise.
3765 (initialize): Do not initialize those variables dynamically.
3767 2013-05-03 Roland McGrath <roland@hack.frob.com>
3769 * io/open.c (__open_2): Moved to ...
3770 * io/open_2.c: ... this new file.
3771 * io/open64.c (__open64_2): Moved to ...
3772 * io/open64_2.c: ... this new file.
3773 * io/openat.c (__openat_2): Moved to ...
3774 * io/openat_2.c: ... this new file.
3775 * io/openat64.c (__openat64_2): Moved to ...
3776 * io/openat64_2.c: ... this new file.
3777 * io/Makefile (routines): Add them.
3778 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3779 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3780 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3781 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3782 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3783 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3784 (__openat64): Add hidden_ver.
3785 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3786 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3788 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3789 Separately conditionalize setting of GLRO(dl_sysinfo) so
3790 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3791 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3793 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3795 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3796 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3798 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3799 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3800 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3801 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3802 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3804 2013-05-03 Joseph Myers <joseph@codesourcery.com>
3806 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3809 * math/libm-test.inc (hypot_test): Do not use
3810 IGNORE_ZERO_INF_SIGN.
3812 2013-05-03 Andreas Jaeger <aj@suse.de>
3814 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3816 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3817 (PF_MAX): Adjust for VSOCK change.
3819 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3823 2013-05-02 Carlos O'Donell <carlos@redhat.com>
3826 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3827 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3828 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3830 2013-05-02 David S. Miller <davem@davemloft.net>
3832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3834 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
3836 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3838 2013-05-01 Roland McGrath <roland@hack.frob.com>
3840 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3842 2013-05-01 Richard Smith <richard@metafoo.co.uk>
3845 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3846 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3847 Use __attribute__ ((__gnu_inline__)).
3848 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3849 Don't use __attribute__ ((__gnu_inline__)).
3851 2013-05-01 Joseph Myers <joseph@codesourcery.com>
3854 * math/s_catan.c (__catan): Handle small real or imaginary part of
3855 input specially to avoid spurious underflow.
3856 * math/s_catanf.c (__catanf): Likewise.
3857 * math/s_catanh.c (__catanh): Likewise.
3858 * math/s_catanhf.c (__catanhf): Likewise.
3859 * math/s_catanhl.c (__catanhl): Likewise.
3860 * math/s_catanl.c (__catanl): Likewise.
3861 * math/libm-test.inc (catan_test): Add more tests.
3862 (catanh_test): Likewise.
3863 * sysdeps/i386/fpu/libm-test-ulps: Update.
3864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3866 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3870 2013-04-30 Joseph Myers <joseph@codesourcery.com>
3873 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3874 accurately for denominator in atan2.
3875 * math/s_catanf.c (__catanf): Likewise.
3876 * math/s_catanh.c (__catanh): Likewise.
3877 * math/s_catanhf.c (__catanhf): Likewise.
3878 * math/s_catanhl.c (__catanhl): Likewise.
3879 * math/s_catanl.c (__catanl): Likewise.
3880 * math/libm-test.inc (catan_test): Add more tests.
3881 (catanh_test): Likewise.
3882 * sysdeps/i386/fpu/libm-test-ulps: Update.
3883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3885 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3887 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3889 * benchtests/Makefile (bench): Remove slow benchmarks.
3890 * benchtests/atan-inputs: Add slow benchmark inputs.
3891 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3892 (BENCH_FUNC): Accept variant offset.
3894 * benchtests/bench-skeleton.c (main): Run benchmark for each
3896 * benchtests/cos-inputs: Add slow benchmark inputs.
3897 * benchtests/exp-inputs: Likewise.
3898 * benchtests/pow-inputs: Likewise.
3899 * benchtests/sin-inputs: Likewise.
3900 * benchtests/slowatan-inputs: Remove.
3901 * benchtests/slowatan.c: Remove.
3902 * benchtests/slowcos-inputs: Remove.
3903 * benchtests/slowcos.c: Remove.
3904 * benchtests/slowexp-inputs: Remove.
3905 * benchtests/slowexp.c: Remove.
3906 * benchtests/slowpow-inputs: Remove.
3907 * benchtests/slowpow.c: Remove.
3908 * benchtests/slowsin-inputs: Remove.
3909 * benchtests/slowsin.c: Remove.
3910 * benchtests/slowtan-inputs: Remove.
3911 * benchtests/slowtan.c: Remove.
3912 * benchtests/tan-inputs: Add slow benchmark inputs.
3913 * scripts/bench.pl: Parse comments and directives.
3915 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3917 ($(objpfx)bench-%.c): Remove *-ITER.
3918 * benchtests/bench-modf.c: Remove definition of ITER.
3919 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3920 (main): Loop for DURATION seconds instead of fixed number of
3922 * scripts/bench.pl: Don't expect iterations in parameters.
3924 2013-04-29 Roland McGrath <roland@hack.frob.com>
3926 * io/fchdir.c (__fchdir): Renamed from fchdir.
3927 (fchdir): Define as weak alias.
3929 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3931 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3932 (ERRNO_EDOM): Likewise.
3933 (ERRNO_ERANGE): Likewise.
3934 (noErrnoTests): New variable.
3935 (init_max_error): Set errno to 0.
3936 (test_single_errno): New function.
3937 (test_errno): Likewise.
3938 (check_float_internal): Call test_errno. Set errno to 0.
3939 (check_complex): Refer to errno tests in comment.
3940 (check_int): Call test_errno. Set errno to 0.
3941 (check_long): Likewise.
3942 (check_bool): Likewise.
3943 (check_longlong): Likewise.
3944 (cos_test): Use ERRNO_* flags for errno tests instead of
3946 (expm1_test): Likewise.
3947 (fmod_test): Likewise.
3948 (ilogb_test): Likewise.
3949 (lgamma_test): Likewise.
3950 (pow_test): Likewise.
3951 (remainder_test): Likewise.
3952 (sin_test): Likewise.
3953 (tan_test): Likewise.
3954 (yn_test): Likewise.
3955 (initialize): Set errno to 0.
3956 (main): Print number of errno tests.
3957 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3959 2013-04-29 Andreas Jaeger <aj@suse.de>
3962 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3966 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3967 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3971 * stdlib/random.c (__initstate): Return NULL if
3975 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3976 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3979 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3983 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3985 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3986 of individual tests.
3987 (casin_test): Likewise.
3988 (casinh_test): Likewise.
3990 2013-04-27 Joseph Myers <joseph@codesourcery.com>
3993 * math/s_catan.c (__catan): Handle arguments with large real or
3994 imaginary part separately without squaring.
3995 * math/s_catanf.c (__catanf): Likewise.
3996 * math/s_catanh.c (__catanh): Likewise.
3997 * math/s_catanhf.c (__catanhf): Likewise.
3998 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4000 (__catanhl): Handle arguments with large real or imaginary part
4001 separately without squaring.
4002 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4004 (__catanl): Handle arguments with large real or imaginary part
4005 separately without squaring.
4006 * math/libm-test.inc (catan_test): Add more tests.
4007 (catanh_test): Likewise.
4008 * sysdeps/i386/fpu/libm-test-ulps: Update.
4009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4011 2013-04-27 Andreas Jaeger <aj@suse.de>
4014 * stdlib/stdlib.h: Update guards for qecvt.
4015 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4018 2013-04-27 Allan McRae <allan@archlinux.org>
4020 * sysdeps/i386/fpu/libm-test-ulps: Update.
4022 2013-04-26 Joseph Myers <joseph@codesourcery.com>
4025 * math/s_catan.c: Include <float.h>.
4026 (__catan): Ensure underflow exception occurs for underflowed
4028 * math/s_catanf.c: Include <float.h>.
4029 (__catanf): Ensure underflow exception occurs for underflowed
4031 * math/s_catanh.c: Include <float.h>.
4032 (__catanh): Ensure underflow exception occurs for underflowed
4034 * math/s_catanhf.c: Include <float.h>.
4035 (__catanhf): Ensure underflow exception occurs for underflowed
4037 * math/s_catanhl.c: Include <float.h>.
4038 (__catanhl): Ensure underflow exception occurs for underflowed
4040 * math/s_catanl.c: Include <float.h>.
4041 (__catanl): Ensure underflow exception occurs for underflowed
4043 * math/libm-test.inc (catan_test): Add more tests.
4044 (catanh_test): Likewise.
4047 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4049 * math/s_ccoshf.c (__ccoshf): Likewise.
4050 * math/s_ccoshl.c (__ccoshl): Likewise.
4051 * math/s_csin.c (__csin): Likewise.
4052 * math/s_csinf.c (__csinf): Likewise.
4053 * math/s_csinh.c (__csinh): Likewise.
4054 * math/s_csinhf.c (__csinhf): Likewise.
4055 * math/s_csinhl.c (__csinhl): Likewise.
4056 * math/s_csinl.c (__csinl): Likewise.
4057 * math/libm-test.inc (ccos_test): Add more tests.
4058 (ccosh_test): Likewise.
4059 (csin_test): Likewise.
4060 (csinh_test): Likewise.
4062 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4064 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4065 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4066 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4067 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4068 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4069 powerpc/power5+/fpu folders.
4070 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4073 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4077 2013-04-25 Joseph Myers <joseph@codesourcery.com>
4079 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4080 additions to variable.
4081 [$(config-machine) = x86_64] (modules-names): Likewise.
4082 ($(objpfx)tst-audit3): Remove dependency.
4083 ($(objpfx)tst-audit3.out): Likewise.
4084 ($(objpfx)tst-audit4): Likewise.
4085 ($(objpfx)tst-audit4.out): Likewise.
4086 ($(objpfx)tst-audit5): Likewise.
4087 ($(objpfx)tst-audit5.out): Likewise.
4088 ($(objpfx)tst-audit6): Likewise.
4089 ($(objpfx)tst-audit6.out): Likewise.
4090 ($(objpfx)tst-audit7): Likewise.
4091 ($(objpfx)tst-audit7.out): Likewise.
4092 (tst-audit3-ENV): Remove variable.
4093 (tst-audit4-ENV): Likewise.
4094 (tst-audit5-ENV): Likewise.
4095 (tst-audit6-ENV): Likewise.
4096 (tst-audit7-ENV): Likewise.
4097 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4098 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4099 addition to variable.
4100 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4101 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4102 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4103 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4104 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4105 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4106 tst-audit3, tst-audit4 and tst-audit5.
4107 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4108 tst-audit6 and tst-audit7.
4109 [$(subdir) = elf] (modules-names): Add audit modules for those
4111 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4112 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4113 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4114 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4115 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4116 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4117 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4118 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4119 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4120 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4121 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4122 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4123 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4124 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4125 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4126 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4128 [$(subdir) = elf && $(config-cflags-avx) = yes]
4129 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4130 [$(subdir) = elf && $(config-cflags-avx) = yes]
4131 (CFLAGS-tst-auditmod4a.c): Likewise.
4132 [$(subdir) = elf && $(config-cflags-avx) = yes]
4133 (CFLAGS-tst-auditmod4b.c): Likewise.
4134 [$(subdir) = elf && $(config-cflags-avx) = yes]
4135 (CFLAGS-tst-auditmod6b.c): Likewise.
4136 [$(subdir) = elf && $(config-cflags-avx) = yes]
4137 (CFLAGS-tst-auditmod6c.c): Likewise.
4138 [$(subdir) = elf && $(config-cflags-avx) = yes]
4139 (CFLAGS-tst-auditmod7b.c): Likewise.
4140 * elf/tst-audit3.c: Move to ...
4141 * sysdeps/x86_64/tst-audit3.c: ... here.
4142 * elf/tst-audit4.c: Move to ...
4143 * sysdeps/x86_64/tst-audit4.c: ... here.
4144 * elf/tst-audit5.c: Move to ...
4145 * sysdeps/x86_64/tst-audit5.c: ... here.
4146 * elf/tst-audit6.c: Move to ...
4147 * sysdeps/x86_64/tst-audit6.c: ... here.
4148 * elf/tst-audit7.c: Move to ...
4149 * sysdeps/x86_64/tst-audit7.c: ... here.
4150 * elf/tst-auditmod3a.c: Move to ...
4151 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4152 * elf/tst-auditmod3b.c: Move to ...
4153 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4154 * elf/tst-auditmod4a.c: Move to ...
4155 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4156 * elf/tst-auditmod4b.c: Move to ...
4157 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4158 * elf/tst-auditmod5a.c: Move to ...
4159 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4160 * elf/tst-auditmod5b.c: Move to ...
4161 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4162 * elf/tst-auditmod6a.c: Move to ...
4163 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4164 * elf/tst-auditmod6b.c: Move to ...
4165 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4166 * elf/tst-auditmod6c.c: Move to ...
4167 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4168 * elf/tst-auditmod7a.c: Move to ...
4169 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4170 * elf/tst-auditmod7b.c: Move to ...
4171 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4173 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4176 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4177 define unconditionally.
4178 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4179 define unconditionally.
4180 (INT8_C, INT16_C, etc.): Likewise.
4182 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4184 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4185 __ehdr_start with hidden visibility.
4187 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4189 2013-04-24 Carlos O'Donell <carlos@redhat.com>
4191 * math/libm-test.inc (cos_test): Use accurate hex constants.
4192 (sincost_test): Likewise.
4194 2013-04-24 Joseph Myers <joseph@codesourcery.com>
4196 * math/libm-test.inc (catan_test): Add more tests.
4197 (catanh_test): Likewise.
4199 * math/s_catanf.c (__catanf): Use suffixed floating-point
4201 * math/s_catanhf.c (__catanhf): Likewise.
4202 * math/s_catanhl.c (__catanhl): Likewise.
4203 * math/s_catanl.c (__catanl): Likewise.
4206 * math/s_catan.c (__catan): Calculate imaginary part of result
4207 with log1p not log unless computing log of number close to 0.
4208 * math/s_catanf.c (__catanf): Likewise.
4209 * math/s_catanl.c (__catanl): Likewise.
4210 * math/s_catanh.c (__catanh): Calculate real part of result with
4211 log1p not log unless computing log of number close to 0.
4212 * math/s_catanhf.c (__catanhf): Likewise.
4213 * math/s_catanhl.c (__catanhl): Likewise.
4214 * math/libm-test.inc (catan_test): Add more tests.
4215 (catanh_test): Likewise.
4216 * sysdeps/i386/fpu/libm-test-ulps: Update.
4217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4219 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4221 * benchtests/Makefile: Mention files in which fast and slow
4222 paths of math functions are implemented.
4224 2013-04-23 Roland McGrath <roland@hack.frob.com>
4226 * sysdeps/posix/timespec_get.c: New file.
4228 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4230 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4232 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4234 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4235 powerpc/power5/fpu folders.
4236 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4237 * benchtests/Makefile: Add modf testcase.
4238 * benchtests/bench-modf.c: New file: Benchmark test for mo
4240 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4243 * time/Makefile (tests): Add tst-strptime-whitespace.
4244 * time/strptime_l.c (get_number): Use ISSPACE.
4245 (__strptime_internal): Likewise.
4246 * time/tst-strptime-whitespace.c: New test case.
4248 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4250 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4252 (_nss_files_init): Set it here.
4254 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4256 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4257 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4260 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4262 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4264 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4266 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4269 2013-04-21 David S. Miller <davem@davemloft.net>
4271 * po/ru.po: Update Russion translation from translation project.
4273 2013-04-17 Adam Conrad <adconrad@0c3.net>
4275 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4278 2013-04-17 Carlos O'Donell <carlos@redhat.com>
4280 * configure.in: Remove i386 configure warning. Remove i386 case.
4281 * configure: Regenerate.
4282 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4283 Add example to error message.
4284 * sysdeps/i386/configure: Regenerate.
4286 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4288 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4290 * benchtests/cos-inputs: New file.
4291 * benchtests/slowcos-inputs: New file.
4292 * benchtests/slowcos.c: New file.
4293 * benchtests/slowtan-inputs: New file.
4294 * benchtests/slowtan.c: New file.
4295 * benchtests/tan-inputs: New file.
4297 2013-04-16 Roland McGrath <roland@hack.frob.com>
4299 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4302 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4304 * benchtests/Makefile: Include cppflags-iterator.mk to add
4305 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4307 * Makefile.in (bench-clean): New target.
4308 * benchtests/Makefile (bench-clean): Likewise.
4310 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4312 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4314 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4316 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4318 2013-04-15 Andreas Schwab <schwab@suse.de>
4320 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4321 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4322 * nscd/pwdcache.c (cache_addpw): Likewise.
4323 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4326 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4328 * benchtests/Makefile (bench): Write all output to
4329 bench-out.tmp together.
4331 2013-04-15 Andreas Schwab <schwab@suse.de>
4333 * nscd/nscd.c (main): Don't fork again after closing files.
4335 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4337 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4339 * benchtests/Rules (bench-deps): Collect dependencies into a
4340 single variable. Add Makefile to dependencies.
4341 ($(objpfx)bench-%.c): Depend on bench-deps.
4343 2013-04-12 Roland McGrath <roland@hack.frob.com>
4344 Xavier Roche <roche+kml2@exalead.com>
4347 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4348 just that it's a file descriptor.
4349 * manual/llio.texi (Synchronizing AIO Operations): Update description
4350 for EBADF error from aio_fsync.
4352 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4354 * Rules (bench): Move target definition...
4355 * benchtests/Makefile: ... here.
4357 2013-04-11 Carlos O'Donell <carlos@redhat.com>
4359 * math/libm-test.inc (cos_test): Fix PI/2 test.
4360 (sincos_test): Likewise.
4361 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4362 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4364 2013-04-11 Andreas Schwab <schwab@suse.de>
4367 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4368 accept exponent character only when digits were seen.
4369 * stdio-common/Makefile (tests): Add bug26.
4370 * stdio-common/bug26.c: New file.
4373 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4376 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4378 * Makeconfig (rtld-prefix): Define built linker prefix.
4379 * Rules (run-bench): Use it.
4380 * math/Makefile (run-regen-ulps): Likewise.
4382 * Rules (bench): Remove eval.
4384 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4385 Roland McGrath <roland@hack.frob.com>
4386 Ondrej Bilka <neleai@seznam.cz>
4389 * time/getdate.c: Include ctype.h and alloca.h.
4390 (__getdate_r): Trim leading and trailing spaces of input.
4391 * time/tst-getdate.c (tests): Add tests with leading and
4394 2013-04-08 Roland McGrath <roland@hack.frob.com>
4397 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4398 when computing value.
4400 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4402 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4403 Use testrun.sh to run libm tests.
4406 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4408 2013-04-06 Marko Myllynen <myllynen@redhat.com>
4411 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4413 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4415 * Makefile.in (regen-ulps): New target.
4416 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4417 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4418 [ifneq (no,$(PERL)] (regen-ulps): New target.
4419 [ifeq (no,$(PERL)] (regen-ulps): New target.
4420 * math/libm-test.inc (ulps_file_name): Define.
4421 (output_dir): New variable.
4422 (options): Add "output-dir" option.
4423 (parse_opt): Handle 'o' case.
4424 (main): If output_dir is non-NULL use it as a prefix
4426 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4428 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4431 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4432 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4433 fail configure if __sync_val_compare_and_swap is not inlined.
4434 * sysdeps/i386/configure: Regenerate.
4435 * configure.in: Build for i686 when configured for i386.
4436 * configure: Regenerate.
4437 * README: Remove i386 reference.
4439 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4441 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4442 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4444 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4446 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4447 (lmsnanval): New variables.
4448 (F): Add conversion tests.
4449 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4450 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4452 * stdio-common/tstdiomisc.c (F): Properly collect individual
4456 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4457 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4458 Instead, use input NaN values or generate a qNaN by arithmetic
4459 operation. Also fix bugs to comply with the standard.
4460 * math/libm-test.inc (remainder_test): Add more tests.
4463 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4464 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4465 input NaN values or generate a qNaN by arithmetic operation.
4467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4470 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4473 2013-04-03 Joseph Myers <joseph@codesourcery.com>
4476 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4478 * math/s_cexpf.c (__cexpf): Likewise.
4479 * math/s_cexpl.c (__cexpl): Likewise.
4480 * math/libm-test.inc (cexp_test): Add more tests.
4482 2013-04-03 Andreas Schwab <schwab@suse.de>
4485 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4486 order arrays from heap if bigger than alloca cutoff.
4488 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4490 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4491 (SNAN_TESTS_double): Refer to GCC PR56831.
4492 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4495 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4497 * Rules (bench): Move bench.out after the run is complete.
4499 * Rules (bench): Echo currently running benchmark.
4501 * benchtests/Makefile (bench): Add atan and slowatan.
4502 * benchtests/atan-inputs: New file.
4503 * benchtests/slowatan-inputs: New file.
4504 * benchtests/slowatan.c: New file.
4506 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4507 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4511 * sysdeps/unix/sysv/linux/kernel-features.h
4512 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4513 __ASSUME_XFS_RESTRICTED_CHOWN.
4514 * sysdeps/unix/sysv/linux/pathconf.c
4515 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4516 Save and restore errno.
4518 2013-04-02 Joseph Myers <joseph@codesourcery.com>
4521 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4522 arguments using __kernel_casinh.
4523 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4524 arguments using __kernel_casinhf.
4525 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4526 arguments using __kernel_casinhl.
4527 * math/libm-test.inc (cacosh_test): Add more tests.
4528 * sysdeps/i386/fpu/libm-test-ulps: Update.
4529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4531 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4533 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4534 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4536 * bench/Makefile (bench): Add sin and slowsin.
4537 * benchtests/sin-inputs: New file.
4538 * benchtests/slowsin-inputs: New file.
4539 * benchtests/slowsin.c: New file.
4541 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4542 (bench): Add slowexp and slowpow.
4543 (exp-ITER): Increase iterations.
4544 (pow-ITER): Likewise.
4545 * benchtests/exp-inputs: Change input.
4546 * benchtests/pow-inputs: Likewise.
4547 * benchtests/slowexp-inputs: New file.
4548 * benchtests/slowexp.c: New file.
4549 * benchtests/slowpow-inputs: New file.
4550 * benchtests/slowpow.c: New file.
4552 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4554 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4556 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4557 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4558 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4559 * benchtests/Makefile: Add rint benchtest.
4560 * benchtests/rint-inputs: Input for rint benchtest.
4562 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4564 * Versions.def (libm): Add GLIBC_2.18.
4565 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4566 hidden libm prototypes.
4567 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4568 * math/Makefile (libm-calls): Add s_issignaling.
4569 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4570 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4571 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4573 * math/math.h [__USE_GNU] (issignaling): New macro.
4574 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4575 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4576 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4577 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4578 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4579 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4580 * manual/arith.texi (issignaling): New section.
4581 * manual/libm-err-tab.pl (@all_functions): Update comment.
4582 * math/gen-libm-test.pl (parse_args): Apply special handling for
4584 * math/libm-test.inc (print_float, issignaling_test): New
4586 (check_float_internal): Add issignaling checks.
4587 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4589 * sysdeps/powerpc/math-tests.h: New file.
4590 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4592 * math/test-snan.c (TEST_FUNC): Likewise.
4594 2013-03-30 David S. Miller <davem@davemloft.net>
4596 * po/de.po: Update from translation team.
4598 2013-03-30 Joseph Myers <joseph@codesourcery.com>
4601 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4602 imaginary part less than 1.0 and real part less than 0.5
4604 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4605 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4606 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4607 (cacos_test): Add more tests.
4608 (casin_test): Likewise.
4609 (casinh_test): Likewise.
4610 * sysdeps/i386/fpu/libm-test-ulps: Update.
4611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4613 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4615 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4618 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4619 (__pow_mp): Replace ONE and MONE with their values.
4620 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4621 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4622 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4623 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4624 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4625 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4627 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4629 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4630 (__pow_mp): Replace ZERO and MZERO with their values.
4631 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4632 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4633 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4634 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4635 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4636 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4639 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4641 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4643 2013-03-28 Roland McGrath <roland@hack.frob.com>
4645 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4646 Declare with __attribute__ ((weak)).
4647 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4648 Call __call_tls_dtors only if it's not NULL.
4650 2013-03-28 Roland McGrath <roland@hack.frob.com>
4652 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4653 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4654 magic __ehdr_start linker symbol if it's defined.
4655 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4656 them up here if it was already done.
4658 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4659 (_dl_aux_init): Use const in cast when setting it.
4660 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4661 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4662 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4664 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4666 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4667 * csu/libc-tls.c: Nor here.
4668 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4670 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4671 (__libc_message): Never call vsyslog.
4673 2013-03-28 Alan Modra <amodra@gmail.com>
4675 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4677 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4680 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4683 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4687 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4690 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4691 Don't add gid passed as argument.
4693 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4695 2013-03-27 Joseph Myers <joseph@codesourcery.com>
4698 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4699 imaginary part between 1.0 and 1.5 and real part less than 0.5
4701 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4702 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4703 * math/libm-test.inc (cacos_test): Add more tests.
4704 (casin_test): Likewise.
4705 (casinh_test): Likewise.
4706 * sysdeps/i386/fpu/libm-test-ulps: Update.
4707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4709 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4711 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4715 (__dbl_mp): Likewise.
4716 (add_magnitudes): Likewise.
4717 (sub_magnitudes): Likewise.
4725 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4727 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4728 (__dubcos): Likewise.
4729 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4730 (__ieee754_acos): Likewise.
4731 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4732 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4734 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4735 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4737 (my_log2): Likewise.
4738 (checkint): Likewise.
4739 * sysdeps/ieee754/dbl-64/e_remainder.c
4740 (__ieee754_remainder): Likewise.
4741 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4742 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4744 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4746 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4747 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4748 MANTISSA_STORE_T to store computations on mantissa. Use
4749 macros for rounding and division.
4751 (__dbl_mp): Likewise.
4752 (add_magnitudes): Likewise.
4753 (sub_magnitudes): Likewise.
4756 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4757 powers of two in terms of TWOPOW macro.
4758 (mp_no): Make type of mantissa as MANTISSA_T.
4759 [!RADIXI]: Define RADIXI.
4760 [!TWO52]: Define TWO52.
4761 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4763 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4765 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4766 llroundl symbol when building for PPC32.
4768 2013-03-24 Mark H Weaver <mhw@netris.org>
4770 * manual/arith.texi (Normalization Functions): Fix prototypes for
4771 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4773 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4777 high value to check if expl overflow.
4778 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4779 to check for underflow and overflow.
4780 * math/libm-test.inc: Add exp test.
4782 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4785 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4788 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4790 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4793 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4795 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4796 wrap blocks consisting of several statements.
4798 * sysdeps/generic/math-tests.h: New file.
4799 * sysdeps/i386/fpu/math-tests.h: Likewise.
4800 * math/test-snan.c: Include it.
4801 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4803 2013-03-21 Joseph Myers <joseph@codesourcery.com>
4806 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4807 (__ieee754_j0l): Do not improve calculations using cos of twice
4808 input for inputs above LDBL_MAX / 2.0L.
4809 (__ieee754_y0l): Likewise.
4810 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4811 (__ieee754_j1l): Do not improve calculations using cos of twice
4812 input for inputs above LDBL_MAX / 2.0L.
4813 (__ieee754_y1l): Likewise.
4814 * math/libm-test.inc (j0_test): Add another test.
4815 (j1_test): Likewise.
4816 (y0_test): Likewise.
4817 (y1_test): Likewise.
4818 * sysdeps/i386/fpu/libm-test-ulps: Update.
4820 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4822 * Rules ($(objpfx)bench-%.c): Include code from a C source
4825 2013-03-21 Joseph Myers <joseph@codesourcery.com>
4828 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4829 imaginary part 1.0 and real part less than 0.5 specially.
4830 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4831 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4832 * math/libm-test.inc (cacos_test): Add more tests.
4833 (casin_test): Likewise.
4834 (casinh_test): Likewise.
4835 * sysdeps/i386/fpu/libm-test-ulps: Update.
4836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4838 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4840 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4841 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4843 2013-03-20 Joseph Myers <joseph@codesourcery.com>
4845 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4846 * config.make.in (config-cflags-sse4): Remove variable.
4847 (config-cflags-avx): Likewise.
4848 (config-cflags-sse2avx): Likewise.
4849 (config-cflags-novzeroupper): Likewise.
4850 (config-asflags-i686): Likewise.
4851 (have-mfma4): Likewise.
4852 (have-as-vis3): Likewise.
4854 * configure.in (MIG): Do not AC_SUBST.
4855 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4856 (libc_cv_cc_sse4): Do not AC_SUBST.
4857 (libc_cv_cc_avx): Likewise.
4858 (libc_cv_cc_sse2avx): Likewise.
4859 (libc_cv_cc_novzeroupper): Likewise.
4860 (libc_cv_cc_fma4): Likewise.
4861 (libc_cv_as_i686): Likewise.
4862 (libc_cv_sparc_as_vis3): Likewise.
4863 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4865 (config-asflags-i686): Likewise.
4866 (config-cflags-avx): Likewise.
4867 (config-cflags-sse2avx): Likewise.
4868 (have-mfma4): Likewise.
4869 (config-cflags-novzeroupper): Likewise.
4870 * sysdeps/mach/configure.in (MIG): Likewise.
4871 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4872 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4874 (config-cflags-avx): Likewise.
4875 (config-cflags-sse2avx): Likewise.
4876 (have-mfma4): Likewise.
4877 (config-cflags-novzeroupper): Likewise.
4878 * configure: Regenerated.
4879 * sysdeps/i386/configure: Likewise.
4880 * sysdeps/mach/configure: Likewise.
4881 * sysdeps/sparc/configure: Likewise.
4882 * sysdeps/x86_64/configure: Likewise.
4884 2013-03-20 Roland McGrath <roland@hack.frob.com>
4887 * locale/programs/localedef.c (options): Put N_ translation marker
4888 on argument names, not just descriptions.
4890 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4892 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4894 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
4897 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4899 2013-03-19 Roland McGrath <roland@hack.frob.com>
4901 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4902 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4903 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4904 [!BEFORE_ABORT] (before_abort): New function.
4905 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4906 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4907 (writev_for_fatal): New function.
4908 (WRITEV_FOR_FATAL): New macro; call that.
4909 (backtrace_and_maps): New function.
4910 (BEFORE_ABORT): New macro; call that.
4911 (struct str_list): Type removed.
4912 (__libc_message, __libc_fatal): Functions removed.
4913 Include <sysdeps/posix/libc_fatal.c> instead.
4915 2013-03-19 Joseph Myers <joseph@codesourcery.com>
4917 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4919 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4922 2013-03-19 Andreas Schwab <schwab@suse.de>
4924 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4925 * sysdeps/gnu/configure: Regenerate.
4927 * configure.in: Substitute libc_cv_rtlddir.
4928 * configure: Regenerate.
4929 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4930 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4931 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4932 * elf/Makefile (install-others, CFLAGS-interp.c)
4933 (ldso_install, common-ldd-rewrite): Likewise.
4934 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4935 $(inst_slibdir)/$(rtld-installed-name).
4936 * scripts/rellns-sh: Add -p option.
4937 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4940 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4942 * manual/nptl.texi: Renamed to ...
4943 * manual/threads.texi: ... this.
4944 * manual/Makefile (chapters): Update.
4946 2013-03-18 Roland McGrath <roland@hack.frob.com>
4949 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4950 on argument names, not just descriptions.
4951 * malloc/memusagestat.c (options): Likewise.
4952 * nss/getent.c (options): Likewise.
4954 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
4957 * iconv/iconv_prog.c (options): Put N_ translation marker
4958 on argument names, not just descriptions.
4959 * iconv/iconvconfig.c (options): Likewise.
4961 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
4963 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4964 implementation which is faster on all x86_64 architectures.
4965 Tested on AMD, Intel Nehalem, SNB, IVB.
4966 * sysdeps/x86_64/strnlen.S: Likewise.
4968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4969 Remove all multiarch strlen and strnlen versions.
4970 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4971 Remove strlen and strnlen related parts.
4973 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4975 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4977 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4978 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4979 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4980 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4981 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4982 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4984 2013-03-17 Carlos O'Donell <carlos@redhat.com>
4986 * manual/memory.texi (Malloc Tunable Parameters):
4987 Sort parameters alphabetically. Add comments for missing entries.
4989 2013-03-17 David S. Miller <davem@davemloft.net>
4991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4993 2013-03-16 Joseph Myers <joseph@codesourcery.com>
4996 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4997 for arguments at most half maximum finite value.
4998 * math/libm-test.inc (j0_test): Add more tests.
4999 (j1_test): Likewise.
5000 (y0_test): Likewise.
5001 (y1_test): Likewise.
5002 * sysdeps/i386/fpu/libm-test-ulps: Update.
5003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5006 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5007 1 / x and functions P and Q for arguments above 0x1p256L.
5008 (__ieee754_y0l): Likewise.
5009 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5010 (__ieee754_y1l): Likewise.
5011 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5012 (j1_test): Likewise.
5013 (y0_test): Likewise.
5014 (y1_test): Likewise.
5016 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5018 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5021 2013-03-15 Roland McGrath <roland@hack.frob.com>
5023 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5024 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5025 zero since it's initialized to EXEC_PAGESIZE.
5027 * sysdeps/unix/sysv/linux/ldsodefs.h
5028 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5029 * sysdeps/generic/ldsodefs.h: ... here.
5031 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5033 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5035 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5037 * math/test-snan.c: Renamed from
5038 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5039 * math/Makefile (tests): Add test-snan.
5040 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5043 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5044 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5046 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5047 __builtin_nan family of functions.
5048 * math/libm-test.inc (initialize): Initialize qnan_value with
5049 __builtin_nan family of functions.
5050 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5052 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5054 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5055 storage class. Initialize qNaN_var and sNaN_var with
5056 __builtin_nan and __builtin_nans families of functions,
5059 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5060 (sqrt_test): Remove duplicate test with qNaN input.
5061 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5062 (round_test, signbit_test, significand_test): Note missing +/-Inf
5063 as well as qNaN tests.
5065 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5066 qNaN_var. Fix a few strings, too.
5067 * math/libm-test.inc (nan_value): Rename to qnan_value.
5068 * math/gen-libm-test.pl (%beautify): Adjust to that.
5069 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5070 * math/test-misc.c (main): Likewise.
5071 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5072 to __qnan_bytes, and __qnan_union, respectively.
5073 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5075 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5076 and lqnanval, respectively.
5077 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5078 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5079 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5080 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5082 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5083 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5086 * math/test-misc.c (main): Fix copy'n'pastos.
5087 * misc/tst-efgcvt.c (special): Likewise.
5089 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5090 Remove declarations.
5092 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5094 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5095 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5096 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5097 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5099 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5102 macro to return vdso values correctly in IFUNC implementations.
5103 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5104 Optimization by using IFUNC.
5106 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5107 Richard Henderson <rth@redhat.com>
5108 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5110 * Makefile.in (bench): New target.
5111 * NEWS: Mention the benchmark framework.
5112 * Rules (bench): Likewise.
5113 (binaries-bench): Generate binaries for functions to
5115 * benchtests/Makefile: New makefile for benchmark tests.
5116 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5118 * benchtests/exp-inputs: New input file for EXP function.
5119 * benchtests/pow-inputs: New input file for POW function.
5120 * scripts/bench.pl: New script to generate source files for
5123 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5125 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5126 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5127 computations on mantissa. Use macros for rounding and
5130 (__dbl_mp): Likewise.
5131 (add_magnitudes): Likewise.
5132 (sub_magnitudes): Likewise.
5135 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5136 powers of two in terms of TWOPOW macro.
5137 (mp_no): Make type of mantissa as MANTISSA_T.
5138 [!RADIXI]: Define RADIXI.
5139 [!TWO52]: Define TWO52.
5140 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5142 * manual/nptl.texi (cindex): Modify threads to pthreads.
5144 2013-03-15 Joseph Myers <joseph@codesourcery.com>
5146 * sysdeps/x86_64/preconfigure: Regenerated.
5148 2013-03-14 Joseph Myers <joseph@codesourcery.com>
5151 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5153 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5154 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5156 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5157 * math/libm-test.inc (j0_test): Do not allow one spurious
5158 underflow exception.
5159 (y1_test): Likewise.
5161 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5163 * manual/Makefile (chapters): Add nptl.
5164 * manual/debug.texi (Debugging Support): Add link to Threads
5166 * manual/nptl.texi: New file.
5168 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5170 2013-03-14 Petr Baudis <pasky@ucw.cz>
5172 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5173 for non-NULL pointer before the memory validity test. Pointed
5174 out by Holger Brunck <holger.brunck@keymile.com>.
5176 2013-03-13 Andreas Schwab <schwab@suse.de>
5178 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5181 2013-03-13 Joseph Myers <joseph@codesourcery.com>
5183 * timezone/zic.c: Update from tzcode 2013b.
5185 2013-03-12 Carlos O'Donell <carlos@redhat.com>
5187 * manual/install.texi (Configuring and compiling):
5188 Mention i686 and i586.
5189 * INSTALL: Regenerate.
5191 2013-03-12 Roland McGrath <roland@hack.frob.com>
5193 * sysdeps/init_array/elf-init.c: New file.
5195 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5196 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5198 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5199 __gmon_start__ as global, but as static with a .preinit_array pointer.
5200 * sysdeps/init_array/gmon-start.c: New file. Use that.
5201 * sysdeps/init_array/crti.S: New file, empty except for comments.
5202 * sysdeps/init_array/crtn.S: Likewise.
5204 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
5206 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5208 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5209 Remove Prefer_SSE_for_memop.
5210 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5211 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5212 HAS_PREFER_SSE_FOR_MEMOP.
5213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5216 Remove bzero, memset ifunc support.
5217 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5218 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5219 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5220 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5222 2013-03-11 Andreas Schwab <schwab@suse.de>
5225 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5228 (GLIBC_2.16): Remove pthread_atfork.
5230 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5232 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5233 (ptestcases.h): Likewise.
5235 2013-03-08 Roland McGrath <roland@hack.frob.com>
5237 * Makeconfig ($(common-objpfx)config.status): Depend on
5238 sysdeps/*/preconfigure{,.in} too.
5240 2013-03-08 Joseph Myers <joseph@codesourcery.com>
5242 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5243 (__free_hook): Use void * instead of __malloc_ptr_t.
5244 (__malloc_hook): Likewise.
5245 (__realloc_hook): Likewise.
5246 (__memalign_hook): Likewise.
5247 (__after_morecore_hook): Likewise.
5248 * malloc/arena.c (save_malloc_hook): Likewise.
5249 (save_free_hook): Likewise.
5250 * malloc/hooks.c (malloc_hook_ini): Likewise.
5251 (realloc_hook_ini): Likewise.
5252 (memalign_hook_ini): Likewise.
5253 * malloc/malloc.c (malloc_hook_ini): Likewise.
5254 (realloc_hook_ini): Likewise.
5255 (memalign_hook_ini): Likewise.
5256 (__free_hook): Likewise.
5257 (__malloc_hook): Likewise.
5258 (__realloc_hook): Likewise.
5259 (__memalign_hook): Likewise.
5260 (__libc_malloc): Likewise.
5261 (__libc_free): Likewise.
5262 (__libc_realloc): Likewise.
5263 (__libc_memalign): Likewise.
5264 (__libc_valloc): Likewise.
5265 (__libc_pvalloc): Likewise.
5266 (__libc_calloc): Likewise.
5267 (__posix_memalign): Likewise.
5268 * malloc/morecore.c (__sbrk): Likewise.
5269 (__default_morecore): Likewise.
5271 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5273 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5274 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5277 * malloc/malloc.h (__malloc_size_t): Remove macro.
5278 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5280 (old_memalign_hook): Likewise.
5281 (old_realloc_hook): Likewise.
5282 (struct hdr): Likewise.
5284 (mallochook): Likewise.
5285 (memalignhook): Likewise.
5286 (reallochook): Likewise.
5287 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5288 (tr_old_realloc_hook): Likewise.
5289 (tr_old_memalign_hook): Likewise.
5290 (tr_mallochook): Likewise.
5291 (tr_reallochook): Likewise.
5292 (tr_memalignhook): Likewise.
5294 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5297 default_ldbl_pack and using as default implementation.
5298 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5300 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5301 redundant definition.
5302 (ldbl_insert_mantissa): Likewise.
5303 (ldbl_canonicalize): Likewise.
5304 (ldbl_nearbyint): Likewise.
5305 (ldbl_pack): Rename to ldbl_pack_ppc.
5306 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5307 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5308 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5310 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5313 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5314 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5315 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5317 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5318 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5319 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5321 2013-03-07 Andreas Jaeger <aj@suse.de>
5323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5326 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5328 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5329 Include mpa.h and declare __MPEXP.
5330 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5331 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5332 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5333 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5334 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5335 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5336 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5338 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5339 (__slowpow): Use long double EXPL and LOGL functions to
5341 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5342 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5343 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5344 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5345 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5346 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5349 intermediate variable to calculate exponent.
5351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5355 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5356 [!NO__SQR]: Define __sqr.
5357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5358 and NO__SQR. Remove all code except __mul and __sqr. Include
5359 sysdeps/ieee754/dbl-64/mpa.c.
5360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5363 * posix/Makefile (tests): Add tst-pathconf.
5364 * posix/tst-pathconf.c: New test case.
5365 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5367 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5369 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
5371 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5373 2013-03-06 Andreas Jaeger <aj@suse.de>
5375 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5376 definition via __MAP_ANONYMOUS.
5378 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5379 it's not part of Linux headers.
5381 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5382 (MAP_HUGE_MASK): Define.
5384 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5386 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5387 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5389 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5390 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5392 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5393 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5395 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5397 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5398 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5399 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5400 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5401 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5402 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5404 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5407 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5408 Handle f2fs and efivarfs.
5410 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5413 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5414 (EFIVARFS_MAGIC): Add.
5415 (F2FS_LINK_MAX): Add.
5417 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5419 * stdio-common/vfprintf.c: Replace __builtin_expect with
5422 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5425 * sysdeps/generic/bp-sym.h: Remove file.
5426 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5427 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5428 <bp-sym.h> and <bp-asm.h>.
5429 (__longjmp): Don't use BP_SYM.
5430 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5432 (memcpy): Don't use BP_SYM.
5433 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5434 <bp-sym.h> and <bp-asm.h>.
5435 (memcpy): Don't use BP_SYM.
5436 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5438 (memcpy): Don't use BP_SYM.
5439 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5441 (memset): Don't use BP_SYM.
5442 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5443 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5444 (__bzero): Don't use BP_SYM.
5445 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5446 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5447 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5448 <bp-sym.h> and <bp-asm.h>.
5449 (memcmp): Don't use BP_SYM. Remove comment about bounded
5451 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5452 <bp-sym.h> and <bp-asm.h>.
5453 (memcpy): Don't use BP_SYM.
5454 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5455 <bp-sym.h> and <bp-asm.h>.
5456 (memset): Don't use BP_SYM.
5457 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5458 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5459 (__bzero): Don't use BP_SYM.
5460 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5461 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5462 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5463 <bp-sym.h> and <bp-asm.h>.
5464 (strncmp): Don't use BP_SYM. Remove comment about bounded
5466 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5467 <bp-sym.h> and <bp-asm.h>.
5468 (memcpy): Don't use BP_SYM.
5469 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5470 <bp-sym.h> and <bp-asm.h>.
5471 (memset): Don't use BP_SYM.
5472 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5473 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5474 (__bzero): Don't use BP_SYM.
5475 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5476 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5477 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5478 <bp-sym.h> and <bp-asm.h>.
5479 (__memchr): Don't use BP_SYM.
5480 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5481 <bp-sym.h> and <bp-asm.h>.
5482 (memcmp): Don't use BP_SYM. Remove comment about bounded
5484 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5485 <bp-sym.h> and <bp-asm.h>.
5486 (memcpy): Don't use BP_SYM.
5487 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5488 <bp-sym.h> and <bp-asm.h>.
5489 (__mempcpy): Don't use BP_SYM.
5490 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5491 <bp-sym.h> and <bp-asm.h>.
5492 (__memrchr): Don't use BP_SYM.
5493 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5494 <bp-sym.h> and <bp-asm.h>.
5495 (memset): Don't use BP_SYM.
5496 (__bzero): Likewise.
5497 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5498 <bp-sym.h> and <bp-asm.h>.
5499 (__rawmemchr): Don't use BP_SYM.
5500 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5501 <bp-sym.h> and <bp-asm.h>.
5502 (__STRCMP): Don't use BP_SYM.
5503 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5504 <bp-sym.h> and <bp-asm.h>.
5505 (strchr): Don't use BP_SYM.
5506 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5507 <bp-sym.h> and <bp-asm.h>.
5508 (__strchrnul): Don't use BP_SYM.
5509 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5510 <bp-sym.h> and <bp-asm.h>.
5511 (strlen): Don't use BP_SYM.
5512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5513 <bp-sym.h> and <bp-asm.h>.
5514 (strncmp): Don't use BP_SYM. Remove comment about bounded
5516 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5517 <bp-sym.h> and <bp-asm.h>.
5518 (__strnlen): Don't use BP_SYM.
5519 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5520 <bp-sym.h> and <bp-asm.h>.
5521 (__GI__setjmp): Don't use BP_SYM.
5522 (_setjmp): Likewise.
5523 (__sigsetjmp): Likewise.
5524 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5525 (L(start_addresses)): Don't use BP_SYM.
5527 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5529 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5530 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5531 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5532 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5533 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5535 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5536 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5537 about bounded pointers.
5538 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5539 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5540 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5542 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5543 about bounded pointers. Remove GKM FIXME comments.
5544 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5545 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5547 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5548 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5549 Remove GKM FIXME comments.
5550 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5551 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5552 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5554 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5555 about bounded pointers. Remove GKM FIXME comment.
5556 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5558 (strncmp): Don't use BP_SYM. Remove comment about bounded
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5561 <bp-sym.h> and <bp-asm.h>.
5562 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5564 <bp-sym.h> and <bp-asm.h>.
5565 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5568 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5570 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5573 2013-03-05 David S. Miller <davem@davemloft.net>
5575 * po/es.po: Update from translation team.
5577 2013-03-05 Andreas Jaeger <aj@suse.de>
5579 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5580 <bits/mman-linux.h>.
5581 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5583 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5584 <bits/mman-linux.h> to end of file.
5585 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5587 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5588 <bits/mman-linux.h> to end of file.
5589 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5591 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5592 <bits/mman-linux.h> to end of file.
5594 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5595 (MCL_CURRENT, MCL_FUTURE): Define here.
5597 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5600 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5602 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5604 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5606 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5607 fourth parameter needed for rt_sigprocmask syscall.
5608 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5609 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5610 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5611 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5612 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5613 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5615 2013-03-04 Joseph Myers <joseph@codesourcery.com>
5618 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5619 comment about bounded pointers.
5620 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5621 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5623 2013-03-04 Andreas Jaeger <aj@suse.de>
5625 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5628 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5629 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5630 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5631 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5632 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5633 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5635 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5638 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5639 __ieee754_sqrl instead of __sqrl.
5641 2013-03-01 Joseph Myers <joseph@codesourcery.com>
5643 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5644 * sysdeps/powerpc/fpu_control.h: ... here.
5645 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5646 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5647 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5648 * sysdeps/powerpc/bits/mathinline.h: ... here.
5650 2013-03-01 Roland McGrath <roland@hack.frob.com>
5652 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5653 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5654 to just [NEED_DL_SYSINFO_DSO].
5655 * elf/dl-support.c: Likewise.
5656 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5657 * elf/rtld.c (dl_main): Likewise.
5658 * elf/setup-vdso.h (setup_vdso): Likewise.
5659 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5660 * sysdeps/unix/sysv/linux/dl-sysdep.c
5661 (_dl_discover_osversion): Likewise.
5663 2013-03-01 Carlos O'Donell <carlos@redhat.com>
5665 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5666 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5668 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5670 * NEWS: Mention libm performance improvements and non-x86 PI
5673 * csu/libc-start.c (__pthread_initialize_minimal): Change
5675 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5677 2013-02-28 Joseph Myers <joseph@codesourcery.com>
5680 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5681 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5682 <bp-sym.h> and <bp-asm.h>.
5683 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5684 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5686 (memcpy): Don't use BP_SYM.
5687 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5689 (__mpn_add_n): Don't use BP_SYM.
5690 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5691 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5693 (__mpn_addmul_1): Don't use BP_SYM.
5694 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5695 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5697 (_setjmp): Don't use BP_SYM.
5698 (__novmx_setjmp): Likewise.
5699 (__GI__setjmp): Likewise.
5700 (__vmx_setjmp): Likewise.
5701 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5703 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5704 (__bzero): Don't use BP_SYM.
5705 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5706 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5707 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5708 <bp-sym.h> and <bp-asm.h>.
5709 (memcpy): Don't use BP_SYM.
5710 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5711 <bp-sym.h> and <bp-asm.h>.
5712 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5713 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5714 <bp-sym.h> and <bp-asm.h>.
5715 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5716 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5718 (__mpn_lshift): Don't use BP_SYM.
5719 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5720 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5722 (memset): Don't use BP_SYM.
5723 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5724 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5725 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5727 (__mpn_mul_1): Don't use BP_SYM.
5728 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5729 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5730 <bp-sym.h> and <bp-asm.h>.
5731 (memcmp): Don't use BP_SYM.
5732 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5733 <bp-sym.h> and <bp-asm.h>.
5734 (memcpy): Don't use BP_SYM.
5735 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5736 <bp-sym.h> and <bp-asm.h>.
5737 (memset): Don't use BP_SYM.
5738 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5739 <bp-sym.h> and <bp-asm.h>.
5740 (strncmp): Don't use BP_SYM.
5741 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5742 <bp-sym.h> and <bp-asm.h>.
5743 (memcpy): Don't use BP_SYM.
5744 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5745 <bp-sym.h> and <bp-asm.h>.
5746 (memset): Don't use BP_SYM.
5747 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5748 <bp-sym.h> and <bp-asm.h>.
5749 (__memchr): Don't use BP_SYM.
5750 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5751 <bp-sym.h> and <bp-asm.h>.
5752 (memcmp): Don't use BP_SYM.
5753 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5754 <bp-sym.h> and <bp-asm.h>.
5755 (memcpy): Don't use BP_SYM.
5756 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5757 <bp-sym.h> and <bp-asm.h>.
5758 (__mempcpy): Don't use BP_SYM.
5759 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5760 <bp-sym.h> and <bp-asm.h>.
5761 (__memrchr): Don't use BP_SYM.
5762 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5763 <bp-sym.h> and <bp-asm.h>.
5764 (memset): Don't use BP_SYM.
5765 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5766 <bp-sym.h> and <bp-asm.h>.
5767 (__rawmemchr): Don't use BP_SYM.
5768 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5769 <bp-sym.h> and <bp-asm.h>.
5770 (__STRCMP): Don't use BP_SYM.
5771 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5772 <bp-sym.h> and <bp-asm.h>.
5773 (strchr): Don't use BP_SYM.
5774 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5775 <bp-sym.h> and <bp-asm.h>.
5776 (__strchrnul): Don't use BP_SYM.
5777 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5778 <bp-sym.h> and <bp-asm.h>.
5779 (strlen): Don't use BP_SYM.
5780 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5781 <bp-sym.h> and <bp-asm.h>.
5782 (strncmp): Don't use BP_SYM.
5783 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5784 <bp-sym.h> and <bp-asm.h>.
5785 (__strnlen): Don't use BP_SYM.
5786 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5788 (__mpn_rshift): Don't use BP_SYM.
5789 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5790 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5791 <bp-sym.h> and <bp-asm.h>.
5792 (__sigsetjmp): Don't use BP_SYM.
5793 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5794 (L(start_addresses)): Don't use BP_SYM.
5796 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5798 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5799 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5800 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5801 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5803 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5804 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5805 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5806 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5808 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5810 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5811 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5813 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5815 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5816 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5817 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5819 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5821 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5823 (strncmp): Don't use BP_SYM,
5824 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5826 (__mpn_sub_n): Don't use BP_SYM.
5827 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5828 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5830 (__mpn_submul_1): Don't use BP_SYM.
5831 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5833 <bp-sym.h> and <bp-asm.h>.
5834 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5836 <bp-sym.h> and <bp-asm.h>.
5837 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5840 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5843 Use ZK to minimize writes to Z.
5844 (sub_magnitudes): Simplify code a bit.
5845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5846 Use ZK to minimize writes to Z.
5847 (sub_magnitudes): Simplify code a bit.
5849 2013-02-27 Roland McGrath <roland@hack.frob.com>
5851 * csu/gmon-start.c: Add special exception to license text.
5853 2013-02-27 Richard Henderson <rth@redhat.com>
5855 * scripts/config.guess: Update from config.git.
5856 * scripts/config.sub: Likewise.
5858 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5860 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5862 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5864 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5866 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5868 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5870 2013-02-26 Roland McGrath <roland@hack.frob.com>
5872 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5873 [$(build-shared = yes].
5875 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5877 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5878 (__mul): Reduce iterations for calculating mantissa.
5880 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5882 (__mpranred): Likewise.
5885 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5886 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5888 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5890 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5891 Define __attribute__.
5893 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5895 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5897 * posix/regex_internal.h (__attribute): Remove.
5898 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5899 (re_string_context_at): Likewise.
5900 (bitset_not): Use __attribute__ and mark function as possibly
5902 (bitset_merge): Likewise.
5903 (bitset_mask): Likewise.
5904 (re_string_char_size_at): Likewise.
5905 (re_string_wchar_at): Likewise.
5906 (re_string_elem_size_at): Likewise.
5908 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5910 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5914 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5919 (__dbl_mp): Likewise.
5920 (add_magnitudes): Likewise.
5921 (sub_magnitudes): Likewise.
5925 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5928 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5931 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5935 up changes with default code.
5936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5939 2013-02-24 Allan McRae <allan@archlinux.org>
5941 * manual/socket.texi (The Internet Namespace): Order menu items
5942 to match that in the file.
5944 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5945 node listing of the info page menu.
5947 2013-02-21 Joseph Myers <joseph@codesourcery.com>
5950 * sysdeps/i386/bp-asm.h: Remove file.
5951 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5952 (PARMS): Do not use macros from bp-asm.h.
5956 (__mpn_add_n): Do not use BP_SYM
5957 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5959 (PARMS): Do not use macros from bp-asm.h.
5962 (__mpn_addmul_1): Do not use BP_SYM
5963 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5965 (PARMS): Do not use macros from bp-asm.h.
5967 (_setjmp): Likewise. Do not use BP_SYM.
5968 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5970 (PARMS): Do not use macros from bp-asm.h.
5972 (setjmp): Likewise. Do not use BP_SYM.
5973 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5975 (PARMS): Do not use macros from bp-asm.h.
5976 (__frexp): Do not use BP_SYM.
5978 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5980 (PARMS): Do not use macros from bp-asm.h.
5981 (__frexpf): Do not use BP_SYM.
5983 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5985 (PARMS): Do not use macros from bp-asm.h.
5986 (__frexpl): Do not use BP_SYM.
5988 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5990 (PARMS): Do not use macros from bp-asm.h.
5991 (__remquo): Do not use BP_SYM.
5993 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5995 (PARMS): Do not use macros from bp-asm.h.
5996 (__remquof): Do not use BP_SYM.
5997 (remquof): Likewise.
5998 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6000 (PARMS): Do not use macros from bp-asm.h.
6001 (__remquol): Do not use BP_SYM.
6002 (remquol): Likewise.
6003 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6005 (PARMS): Do not use macros from bp-asm.h.
6008 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6009 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6011 (PARMS): Do not use macros from bp-asm.h.
6012 (strlen): Do not use BP_SYM.
6013 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6015 (PARMS): Do not use macros from bp-asm.h.
6019 (__mpn_add_n): Do not use BP_SYM.
6020 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6022 (PARMS): Do not use macros from bp-asm.h.
6025 (__mpn_addmul_1): Do not use BP_SYM.
6026 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6029 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6031 (PARMS): Do not use macros from bp-asm.h.
6034 (__mpn_lshift): Do not use BP_SYM.
6035 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6037 (PARMS): Do not use macros from bp-asm.h.
6041 (memcpy): Likewise. Do not use BP_SYM.
6042 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6043 libc_hidden_def and weak_alias.
6044 (mempcpy): Do not use BP_SYM in weak_alias.
6045 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6047 (PARMS): Do not use macros from bp-asm.h.
6050 [!BZERO_P] (CHR): Likewise.
6051 (memset): Likewise. Do not use BP_SYM.
6052 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6054 (PARMS): Do not use macros from bp-asm.h.
6057 (__mpn_mul_1): Do not use BP_SYM.
6058 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6060 (PARMS): Do not use macros from bp-asm.h.
6063 (__mpn_rshift): Do not use BP_SYM.
6064 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6066 (PARMS): Do not use macros from bp-asm.h.
6069 (strchr): Likewise. Do not use BP_SYM.
6070 (index): Do not use BP_SYM in weak_alias.
6071 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6073 (PARMS): Do not use macros from bp-asm.h.
6076 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6077 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6079 (PARMS): Do not use macros from bp-asm.h.
6080 (strlen): Do not use BP_SYM.
6081 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6083 (PARMS): Do not use macros from bp-asm.h.
6087 (__mpn_sub_n): Do not use BP_SYM.
6088 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6090 (PARMS): Do not use macros from bp-asm.h.
6093 (__mpn_submul_1): Do not use BP_SYM.
6094 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6096 (PARMS): Do not use macros from bp-asm.h.
6100 (__mpn_add_n): Do not use BP_SYM.
6101 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6104 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6106 (PARMS): Do not use macros from bp-asm.h.
6109 (memcmp): Do not use BP_SYM.
6110 (bcmp): Do not use BP_SYM in weak_alias.
6111 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6113 (PARMS): Do not use macros from bp-asm.h.
6117 (memcpy): Likewise. Do not use BP_SYM.
6118 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6120 (PARMS): Do not use macros from bp-asm.h.
6124 (memmove): Likewise. Do not use BP_SYM.
6125 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6127 (PARMS): Do not use macros from bp-asm.h.
6131 (__mempcpy): Likewise. Do not use BP_SYM.
6132 (mempcpy): Do not use BP_SYM in weak_alias.
6133 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6135 (PARMS): Do not use macros from bp-asm.h.
6138 [!BZERO_P] (CHR): Likewise.
6139 (memset): Likewise. Do not use BP_SYM.
6140 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6142 (PARMS): Do not use macros from bp-asm.h.
6144 (strcmp): Do not use BP_SYM.
6145 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6147 (PARMS): Do not use macros from bp-asm.h.
6150 [USE_AS_STRTOK_R] (SAVE): Likewise.
6151 (FUNCTION): Likewise. Do not use BP_SYM.
6152 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6154 (strtok_r): Likewise.
6155 (__GI___strtok_r): Likewise.
6156 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6157 (PARMS): Do not use macros from bp-asm.h.
6160 (__mpn_lshift): Do not use BP_SYM.
6161 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6162 (PARMS): Do not use macros from bp-asm.h.
6165 (__memchr): Do not use BP_SYM.
6166 (memchr): Do not use BP_SYM in weak_alias.
6167 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6168 (PARMS): Do not use macros from bp-asm.h.
6171 (memcmp): Do not use BP_SYM.
6172 (bcmp): Do not use BP_SYM in weak_alias.
6173 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6174 (PARMS): Do not use macros from bp-asm.h.
6177 (__mpn_mul_1): Do not use BP_SYM.
6178 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6180 (PARMS): Do not use macros from bp-asm.h.
6183 (__rawmemchr): Do not use BP_SYM.
6184 (rawmemchr): Do not use BP_SYM in weak_alias.
6185 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6186 (PARMS): Do not use macros from bp-asm.h.
6189 (__mpn_rshift): Do not use BP_SYM.
6190 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6191 (PARMS): Do not use macros from bp-asm.h.
6193 (__sigsetjmp): Likewise. Do not use BP_SYM.
6194 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6195 (_start): Do not use BP_SYM.
6196 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6197 (PARMS): Do not use macros from bp-asm.h.
6200 (__stpcpy): Likewise. Do not use BP_SYM.
6201 (stpcpy): Do not use BP_SYM in weak_alias.
6202 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6204 (PARMS): Do not use macros from bp-asm.h.
6208 (__stpncpy): Likewise. Do not use BP_SYM.
6209 (stpncpy): Do not use BP_SYM in weak_alias.
6210 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6211 (PARMS): Do not use macros from bp-asm.h.
6214 (strchr): Likewise. Do not use BP_SYM.
6215 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6217 (PARMS): Do not use macros from bp-asm.h.
6220 (__strchrnul): Likewise. Do not use BP_SYM.
6221 (strchrnul): Do not use BP_SYM in weak_alias.
6222 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6224 (PARMS): Do not use macros from bp-asm.h.
6226 (strcspn): Do not use BP_SYM.
6227 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6229 (PARMS): Do not use macros from bp-asm.h.
6232 (strpbrk): Likewise. Do not use BP_SYM.
6233 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6235 (PARMS): Do not use macros from bp-asm.h.
6238 (strrchr): Likewise. Do not use BP_SYM.
6239 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6240 (PARMS): Do not use macros from bp-asm.h.
6242 (strspn): Do not use BP_SYM.
6243 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6244 (PARMS): Do not use macros from bp-asm.h.
6248 (FUNCTION): Likewise. Do not use BP_SYM.
6249 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6251 (strtok_r): Likewise.
6252 (__GI___strtok_r): Likewise.
6253 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6254 (PARMS): Do not use macros from bp-asm.h.
6258 (__mpn_sub_n): Do not use BP_SYM.
6259 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6261 (PARMS): Do not use macros from bp-asm.h.
6264 (__mpn_submul_1): Do not use BP_SYM.
6265 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6267 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6269 (PARMS): Do not use macros from bp-asm.h.
6274 (__clone): Do not use BP_SYM.
6275 (clone): Do not use BP_SYM in weak_alias.
6276 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6278 (PARMS): Do not use macros from bp-asm.h.
6280 (__mmap64): Do not use BP_SYM.
6281 (mmap64): Do not use BP_SYM in weak_alias.
6282 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6283 <bp-sym.h> and <bp-asm.h>.
6284 (PARMS): Do not use macros from bp-asm.h.
6285 (__posix_fadvise64_l64): Do not use BP_SYM.
6286 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6287 (PARMS): Do not use macros from bp-asm.h.
6289 (semtimedop): Do not use BP_SYM.
6290 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6293 2013-02-21 Allan McRae <allan@archlinux.org>
6295 * manual/message.texi (Charset conversion in gettext):
6296 Move @end statement to beginning of line.
6298 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6305 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6310 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6312 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6313 tail-call to the resolved function if pltexit isn't needed.
6315 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6318 or Y being zero as being unlikely.
6319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6322 2013-02-20 Carlos O'Donell <carlos@redhat.com>
6324 * manual/nss.texi (System Databases and Name Service Switch):
6325 Remove frobnicate @pxref.
6327 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6329 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6330 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6332 2013-02-20 Petr Machata <pmachata@redhat.com>
6334 * elf/elf.h (R_ARM_TARGET1): New macro.
6335 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6336 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6337 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6338 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6339 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6340 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6341 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6342 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6343 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6344 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6345 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6346 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6347 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6348 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6349 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6350 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6351 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6352 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6353 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6354 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6355 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6356 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6357 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6358 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6359 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6360 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6361 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6362 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6363 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6364 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6365 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6366 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6367 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6368 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6369 (R_ARM_THM_GOT_BREL12): Likewise.
6370 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6371 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6372 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6373 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6374 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6375 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6376 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6377 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6378 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6380 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6382 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6383 __attribute_used__ to __attribute__ ((unused)).
6385 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6387 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6393 2013-02-19 Joseph Myers <joseph@codesourcery.com>
6396 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6398 (ENTER): Remove both macro definitions.
6400 (CHECK_BOUNDS_LOW): Likewise.
6401 (CHECK_BOUNDS_HIGH): Likewise.
6402 (CHECK_BOUNDS_BOTH): Likewise.
6403 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6404 (RETURN_BOUNDED_POINTER): Likewise.
6405 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6406 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6407 (POP_ERRNO_LOCATION_RETURN): Likewise.
6408 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6409 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6410 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6412 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6413 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6414 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6415 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6416 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6417 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6418 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6419 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6420 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6421 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6422 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6423 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6424 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6425 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6427 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6428 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6430 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6431 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6432 * sysdeps/i386/i586/memset.S (memset): Likewise.
6433 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6434 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6435 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6437 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6438 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6439 Change uses of L(2) to L(out).
6440 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6441 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6442 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6443 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6444 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6446 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6447 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6449 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6450 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6451 (RETURN): Do not use macro LEAVE.
6452 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6453 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6454 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6455 * sysdeps/i386/i686/memset.S (memset): Likewise.
6456 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6457 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6458 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6459 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6461 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6462 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6463 L(1_2) and L(1_3) into L(1).
6464 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6465 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6466 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6467 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6468 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6469 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6470 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6471 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6472 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6474 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6475 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6476 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6477 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6478 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6479 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6480 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6481 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6482 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6483 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6484 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6485 * sysdeps/i386/strspn.S (strspn): Likewise.
6486 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6488 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6489 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6490 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6491 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6493 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6494 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6495 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6497 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6499 2013-02-19 Jakub Jelinek <jakub@redhat.com>
6501 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6504 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6506 * math/atest-exp.c (exp_mpn): Remove ROUND.
6507 * math/atest-exp2.c (exp_mpn): Likewise.
6508 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6510 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6511 * stdlib/tst-tls-atexit-lib.c: Likewise.
6512 * stdlib/tst-tls-atexit.c: Likewise.
6514 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6516 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6517 and __attribute_alloc_size__.
6519 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6521 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6522 __attribute_alloc_size__.
6523 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6524 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6526 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6528 * include/programs/xmalloc.h: New file.
6529 * catgets/gencat.c: Include it.
6530 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6531 * elf/pldd.c: Likewise.
6532 * iconv/iconv_charmap.c: Likewise.
6533 * iconv/iconvconfig.c: Likewise.
6534 * iconv/strtab.c: Likewise.
6535 * locale/programs/locale.c: Likewise.
6536 * locale/programs/localedef.h: Likewise.
6537 * locale/programs/simple-hash.c: Likewise.
6538 * nscd/nscd.h: Likewise.
6539 * nss/makedb.c: Likewise.
6540 * sysdeps/generic/ldconfig.h: Likewise.
6542 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6544 * Versions.def: Add GLIBC_2.18.
6545 * include/link.h (struct link_map): New member l_tls_dtor_count.
6546 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6547 (__call_tls_dtors): Likewise.
6548 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6549 __cxa_thread_atexit_impl.
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6558 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6566 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6567 (tests): Add test case tst-tls-atexit.
6568 (modules-names): Add shared library for tst-tls-atexit.
6569 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
6570 (GLIBC_PRIVATE): Add __call_tls_dtors.
6571 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6573 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6574 * stdlib/tst-tls-atexit.c: New test case.
6575 * stdlib/tst-tls-atexit-lib.c: New test case.
6577 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6579 * elf/Versions (ld): Add _dl_find_dso_for_object.
6580 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6581 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6582 (dl_open_worker): Use _dl_find_dso_for_object.
6583 * elf/dl-sym.c (do_sym): Likewise.
6584 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6586 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6588 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6589 Syntactic changes only.
6590 (_dl_runtime_profile): Do a tail-call to the resolved function.
6592 2013-02-17 Joseph Myers <joseph@codesourcery.com>
6595 * sysdeps/x86_64/bp-asm.h: Remove file.
6596 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6597 <bp-sym.h> and <bp-asm.h>.
6598 (__clone): Do not use BP_SYM.
6599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6600 <bp-sym.h> and <bp-asm.h>.
6601 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6602 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6604 (_setjmp): Do not use BP_SYM.
6605 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6607 (setjmp): Do not use BP_SYM.
6608 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6610 (mempcpy): Do not use BP_SYM in weak_alias.
6611 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6613 (strchr): Do not use BP_SYM.
6614 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6616 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6617 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6618 (_start): Do not use BP_SYM.
6619 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6621 (strcat): Do not use BP_SYM.
6622 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6624 (STRCMP): Do not use BP_SYM.
6625 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6627 (STRCPY): Do not use BP_SYM.
6628 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6630 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6632 (FUNCTION): Do not use BP_SYM.
6633 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6635 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6637 2013-02-17 Andreas Jaeger <aj@suse.de>
6639 * time/Versions: Sort entries.
6640 * string/Versions: Likewise.
6641 * resolv/Versions: Likewise.
6642 * posix/Versions: Likewise.
6643 * iconv/Versions: Likewise.
6644 * elf/Versions: Likewise.
6645 * wcsmbs/Versions: Likewise.
6647 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6649 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6650 loop termination condition.
6652 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6653 variable to calculate EZ.
6656 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6657 the lower precision input.
6659 2013-02-15 Joseph Myers <joseph@codesourcery.com>
6662 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6663 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6664 (run-via-rtld-prefix): Do not handle %-bp tests.
6665 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6666 (all-object-suffixes): Remove .ob.
6667 (bppfx): Remove variable.
6668 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6669 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6670 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6671 [$(build-bounded) = yes] (libtype.ob): Likewise.
6672 * Makerules (elide-routines.ob): Remove variable.
6673 (do-tests-clean): Do not handle *-bp.out.
6674 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6675 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6676 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6677 (tests): Do not include $(tests-bp.out).
6678 (xtests): Do not include $(xtests-bp.out).
6679 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6680 [$(build-bounded) = yes] ($(addprefix
6681 $(objpfx),$(binaries-bounded))): Remove rule.
6682 ($(objpfx)%-bp.out): Remove rule.
6683 * config.make.in (build-bounded): Remove variable.
6684 * crypt/Makefile [$(build-bounded) = yes]
6685 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6686 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6688 [$(build-bounded) = yes] (install-lib): Likewise.
6689 [$(build-bounded) = yes] (generated): Likewise.
6690 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6692 * intl/Makefile [$(build-bounded) = yes]
6693 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6694 * math/Makefile [$(build-bounded) = yes]
6695 ($(tests:%=$(objpfx)%-bp): Likewise.
6696 * misc/Makefile [$(build-bounded) = yes]
6697 ($(objpfx)tst-tsearch-bp): Likewise.
6698 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6699 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6701 * string/Makefile (o-objects.ob): Remove variable.
6702 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6703 (CFLAGS-.ob): Remove variable.
6704 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6705 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6706 both definitions of variable.
6707 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6708 (ASFLAGS-.ob): Remove variable.
6710 2013-02-14 Joseph Myers <joseph@codesourcery.com>
6713 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6714 Remove __BOUNDED_POINTERS__ from condition.
6715 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6716 * string/bits/string2.h [!__NO_STRING_INLINES &&
6717 !__BOUNDED_POINTERS__]: Likewise.
6718 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6720 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6721 Remove conditional code.
6722 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6723 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6724 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6728 * csu/libc-start.c: Do not include <bp-sym.h>.
6729 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6730 * elf/dl-open.c: Do not include <bp-sym.h>.
6731 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6732 * math/fegetenv.c: Do not include <bp-sym.h>.
6733 (fegetenv): Do not use BP_SYM in versioned symbols.
6734 * nptl/sysdeps/pthread/bits/libc-lockP.h
6735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6738 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6740 (__pthread_mutex_destroy): Likewise.
6741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6742 (__pthread_mutex_lock): Likewise.
6743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6744 (__pthread_mutex_trylock): Likewise.
6745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6746 (__pthread_mutex_unlock): Likewise.
6747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6748 (__pthread_mutexattr_init): Likewise.
6749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6750 (__pthread_mutexattr_destroy): Likewise.
6751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6752 (__pthread_mutexattr_settype): Likewise.
6753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6754 (__pthread_rwlock_init): Likewise.
6755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6756 (__pthread_rwlock_destroy): Likewise.
6757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6758 (__pthread_rwlock_rdlock): Likewise.
6759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6760 (__pthread_rwlock_tryrdlock): Likewise.
6761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6762 (__pthread_rwlock_wrlock): Likewise.
6763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6764 (__pthread_rwlock_trywrlock): Likewise.
6765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6766 (__pthread_rwlock_unlock): Likewise.
6767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6768 (__pthread_key_create): Likewise.
6769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6770 (__pthread_setspecific): Likewise.
6771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6772 (__pthread_getspecific): Likewise.
6773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6776 (_pthread_cleanup_push_defer): Likewise.
6777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6778 (_pthread_cleanup_pop_restore): Likewise.
6779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6780 (pthread_setcancelstate): Likewise.
6781 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6783 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6784 (memchr): Do not use BP_SYM in weak_alias.
6785 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6786 (fegetenv): Do not use BP_SYM in versioned symbols.
6787 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6788 (fesetenv): Do not use BP_SYM in versioned symbols.
6789 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6790 (feupdateenv): Do not use BP_SYM in versioned symbols.
6791 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6792 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6793 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6794 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6795 (open64): Do not use BP_SYM in weak_alias.
6796 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6797 (fegetenv): Do not use BP_SYM in versioned symbols.
6798 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6799 (fesetenv): Do not use BP_SYM in versioned symbols.
6800 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6801 (feupdateenv): Do not use BP_SYM in versioned symbols.
6802 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6803 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6804 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6805 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6806 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6807 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6808 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6810 (__libc_start_main): Do not use BP_SYM.
6812 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6815 redundant return line.
6819 (sub_magnitudes): Likewise.
6825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6829 (sub_magnitudes): Likewise.
6836 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6838 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6839 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6842 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6843 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6845 of __mul for squares.
6846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6850 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6851 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6853 2013-02-13 Joseph Myers <joseph@codesourcery.com>
6856 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6858 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6859 prototype or function definition. Rename ubp_* variables and
6860 parameters. Remove argv definitions conditional on
6861 [__BOUNDED_POINTERS__].
6862 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6863 * elf/dl-runtime.c (_dl_fixup): Likewise.
6864 * include/set-hooks.h (RUN_HOOK): Likewise.
6865 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6867 * string/strcpy.c (strcpy): Do not use __unbounded.
6868 * sysdeps/generic/frame.h (struct layout): Likewise.
6869 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6870 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6871 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6872 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6873 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6874 (__backtrace): Likewise.
6875 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6877 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6878 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6879 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6881 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6882 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6883 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6884 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6885 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6886 Do not use __unbounded.
6887 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6888 Rename __unboundedrlimits parameter to rlimits in prototype.
6889 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6890 Do not use __unbounded.
6891 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6893 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6894 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6895 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6896 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6897 __ptrvalue or __unbounded.
6898 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6899 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6901 (__new_msgctl): Do not use __ptrvalue.
6902 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6904 (__libc_msgrcv): Do not use __ptrvalue.
6905 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6906 startup_info): Do not use __unbounded.
6907 (__libc_start_main): Likewise. Rename ubp_* variables and
6908 parameters. Remove argv definitions conditional on
6909 [__BOUNDED_POINTERS__].
6910 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6912 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6914 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6916 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6918 (__new_shmctl): Do not use __ptrvalue.
6919 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6920 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6922 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6923 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6924 (__libc_sigaction): Likewise.
6925 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6926 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6928 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6930 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
6932 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6934 * string/mempcpy.c: Implement by calling memcpy.
6936 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6938 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6940 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6943 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6944 values in the mantissa.
6946 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6947 minimize writes to Z.
6948 (sub_magnitudes): Simplify code a bit.
6950 2013-02-12 Roland McGrath <roland@hack.frob.com>
6952 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6953 from the message. The linker prefixes all warnings with that already.
6955 2013-02-12 Andreas Schwab <schwab@suse.de>
6958 * posix/regexec.c (extend_buffers): Add parameter min_len.
6959 (check_matching): Pass minimum needed length.
6960 (clean_state_log_if_needed): Likewise.
6961 (get_subexp): Likewise.
6962 * posix/Makefile (tests): Add bug-regex34.
6963 (bug-regex34-ENV): Define.
6964 * posix/bug-regex34.c: New file.
6967 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6968 elements compare against the byte sequence of it, not its name.
6969 * posix/Makefile (tests): Add bug-regex35.
6970 (bug-regex35-ENV): Define.
6971 * posix/bug-regex35.c: New file.
6973 2013-02-11 Tom de Vries <tom@codesourcery.com>
6975 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6977 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6978 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6979 (CHECK_EOL): Add undef.
6981 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
6983 * bits/stdlib-bsearch.h: New file.
6984 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6985 * stdlib/stdlib.h: Likewise.
6987 2013-02-11 Roland McGrath <roland@hack.frob.com>
6989 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6990 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6992 * manual/search.texi (Array Search Function): Add missing const in
6994 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6995 declaration to use rlim_t.
6996 (Basic Scheduling Functions): Remove erroneous const from
6997 sched_getparam prototype. Remove erroneous * from
6998 sched_get_priority_max and sched_get_priority_min prototypes.
6999 (Resource Usage): Fix summary @comment on vtimes to refer to
7000 sys/vtimes.h rather than vtimes.h.
7001 Add missing *s in vtimes prototype.
7002 (Limits on Resources): Fix ulimit prototype to return long int.
7003 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7004 prototypes to use long int rather than double.
7005 (BSD Random): Fix initstate and setstate to use char *, not void *.
7006 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7007 prototype to make second argument 'struct aiocb64 *const[]'.
7008 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7009 (Status of AIO Operations): Remove erroneous const in aio_return and
7010 aio_return64 prototypes.
7011 (Synchronizing I/O): Fix sync prototype to return void.
7012 * manual/startup.texi (Suboptions): Remove an erroneous const in
7013 getsubopt prototype.
7014 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7015 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7016 use size_t rather than int.
7017 (Scanning All Users): Likewise for getpwent_r.
7018 (Setting Groups): Add missing const to setgroups prototype.
7019 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7020 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7021 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7022 'const void *' rather than 'const char *'.
7023 (Host Address Functions): Likewise for inet_ntop.
7024 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7025 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7026 ssize_t for return value.
7027 (Sending Data): Likewise for send, sendto, sendmsg.
7028 (Socket Option Functions): Add a missing const in setsockopt prototype.
7029 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7030 use wchar_t for the argument.
7031 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7032 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7034 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7035 double/float/long double for second argument.
7036 Fix return types of significand, significandf, significandl.
7037 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7038 argument in fchmod prototype.
7039 (File Owner): Use uid_t and gid_t in fchown prototype.
7040 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7041 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7042 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7043 use 'const struct dirent **' as argument types to CMP function pointer
7045 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7046 (File Times): Fix summary magic @comment for struct utimbuf and utime
7047 to refer to utime.h, not time.h.
7048 * manual/string.texi (Argz Functions): Add missing const in
7049 argz_extract and argz_next prototypes.
7050 (Finding Tokens in a String): Likewise for basename.
7051 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7052 (Copying and Concatenation): Fix typo in wmemmove prototype.
7053 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7054 (Signal Stack): Remove erroneous const in sigstack prototype.
7055 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7057 (Simple Calendar Time): Likewise for stime.
7058 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7060 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7061 say sys/sysctl.h instead.
7062 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7063 and vsyslog prototypes.
7065 2013-02-11 Tom de Vries <tom@codesourcery.com>
7067 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7070 2013-02-11 Roland McGrath <roland@hack.frob.com>
7072 * misc/sys/mman.h: Fix typo in mremap comment.
7074 2013-02-08 Roland McGrath <roland@hack.frob.com>
7076 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7077 the '\0' terminator.
7079 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7082 * debug/segfault.c: Don't include <bp-checks.h>.
7083 * sysdeps/generic/bp-checks.h: Remove file.
7084 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7085 (__GETDENTS): Don't use CHECK_N.
7086 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7087 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7088 (__getgroups): Don't use CHECK_N.
7089 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7090 (setgroups): Don't use CHECK_N.
7091 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7092 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7093 (__libc_msgrcv): Don't use CHECK_N.
7094 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7095 (__libc_msgsnd): Don't use CHECK_N.
7096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7098 (__libc_pread): Don't use CHECK_N.
7099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7100 include <bp-checks.h>.
7101 (__libc_pread64): Don't use CHECK_N.
7102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7103 include <bp-checks.h>.
7104 (__libc_pwrite): Don't use CHECK_N.
7105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7106 include <bp-checks.h>.
7107 (__libc_pwrite64): Don't use CHECK_N.
7108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7110 (__libc_pread): Don't use CHECK_N.
7111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7112 include <bp-checks.h>.
7113 (__libc_pread64): Don't use CHECK_N.
7114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7115 include <bp-checks.h>.
7116 (__libc_pwrite): Don't use CHECK_N.
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7118 include <bp-checks.h>.
7119 (__libc_pwrite64): Don't use CHECK_N.
7120 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7121 (do_pread): Don't use CHECK_N.
7122 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7123 (do_pread64): Don't use CHECK_N.
7124 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7125 (do_pwrite): Don't use CHECK_N.
7126 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7127 (do_pwrite64): Don't use CHECK_N.
7128 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7129 (__libc_readv): Don't use CHECK_N.
7130 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7131 (semop): Don't use CHECK_N.
7132 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7134 (semtimedop): Don't use CHECK_N.
7135 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7136 (__libc_pread): Don't use CHECK_N.
7137 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7139 (__libc_pread64): Don't use CHECK_N.
7140 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7142 (__libc_pwrite): Don't use CHECK_N.
7143 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7145 (__libc_pwrite64): Don't use CHECK_N.
7146 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7148 (__libc_msgrcv): Don't use CHECK_N.
7149 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7150 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7151 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7152 (__libc_writev): Don't use CHECK_N.
7154 2013-02-08 Roland McGrath <roland@hack.frob.com>
7156 * string/strcpy.c: Removed unused variable.
7158 * Makeconfig (+sysdep-includes): Define with := rather than =.
7159 Use an existing include/ subdir of each sysdeps dir before it.
7161 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7163 * nscd/connection.c (register_traced_file): Comment function.
7164 [HAVE_INOTIFY] (union __inev): Define.
7165 [HAVE_INOTIFY] (inotify_check_files): New function.
7166 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7167 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7169 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7171 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7173 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7174 loaded if not already and that a failure is permanent.
7176 2013-02-08 Carlos O'Donell <carlos@redhat.com>
7179 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7180 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7182 2013-02-08 Joseph Myers <joseph@codesourcery.com>
7185 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7186 (CHECK_1_NULL_OK): Likewise.
7187 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7188 (__fxstat): Do not use CHECK_1.
7189 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7191 (___fxstat64): Do not use CHECK_1.
7192 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7194 (__fxstatat): Do not use CHECK_1.
7195 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7197 (__fxstatat64): Do not use CHECK_1.
7198 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7200 (__fxstat): Do not use CHECK_1.
7201 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7203 (__fxstatat): Do not use CHECK_1.
7204 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7206 (__getresgid): Do not use CHECK_1.
7207 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7209 (__getresuid): Do not use CHECK_1.
7210 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7212 (__lxstat): Do not use CHECK_1.
7213 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7215 (__old_msgctl): Do not use CHECK_1.
7216 (__new_msgctl): Likewise.
7217 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7219 (__new_setrlimit): Do not use CHECK_1.
7220 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7222 (__old_shmctl): Do not use CHECK_1.
7223 (__new_shmctl): Likewise.
7224 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7226 (__xstat): Do not use CHECK_1.
7227 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7228 (__lxstat): Do not use CHECK_1.
7229 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7231 (___lxstat64): Do not use CHECK_1.
7232 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7233 (__old_msgctl): Do not use CHECK_1.
7234 (__new_msgctl): Likewise.
7235 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7237 (__gettimeofday): Do not use CHECK_1.
7238 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7239 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7240 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7242 (__gettimeofday): Do not use CHECK_1.
7243 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7244 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7245 (__new_shmctl): Do not use CHECK_1.
7246 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7248 (do_sigtimedwait): Do not use CHECK_1.
7249 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7251 (do_sigwaitinfo): Do not use CHECK_1.
7252 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7254 (msgctl): Do not use CHECK_1.
7255 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7257 (shmctl): Do not use CHECK_1.
7258 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7259 (ustat): Do not use CHECK_1.
7260 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7262 (__fxstat): Do not use CHECK_1.
7263 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7265 (__fxstatat): Do not use CHECK_1.
7266 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7268 (__lxstat): Do not use CHECK_1.
7269 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7271 (__xstat): Do not use CHECK_1.
7272 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7273 (__xstat): Do not use CHECK_1.
7274 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7275 (___xstat64): Do not use CHECK_1.
7278 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7280 (CHECK_BOUNDS_HIGH): Likewise.
7281 * string/strcpy.c: Do not include <bp-checks.h>.
7282 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7284 2013-02-07 Roland McGrath <roland@hack.frob.com>
7286 * nscd/nscd-client.h (__nscd_drop_map_ref):
7287 Add __attribute__ ((unused)).
7288 * nis/nss-nisplus.h (niserr2nss): Likewise.
7290 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7291 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7293 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7294 Remove inline keyword.
7295 * include/rounding-mode.h (round_away): Likewise.
7296 * libio/wfileops.c (adjust_wide_data): Likewise.
7297 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7298 (__m128i_strloadu_tolower): Likewise.
7299 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7300 (__m128i_strloadu_tolower): Likewise.
7301 * time/mktime.c (ydhms_diff): Likewise.
7302 * locale/elem-hash.h (elem_hash): Likewise.
7303 * locale/setlocale.c (setdata): Likewise.
7304 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7305 (re_string_wchar_at): Likewise.
7306 (bitset_not, bitset_merge, bitset_mask): Likewise.
7307 [!(__GNUC__ > 3)] (inline): Remove macro.
7308 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7309 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7310 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7311 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7312 * string/memcmp.c (memcmp_bytes): Likewise.
7313 * locale/programs/locarchive.c (compute_hashval): Likewise.
7314 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7315 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7316 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7317 * nss/getent.c (print_rpc, print_protocols): Likewise.
7318 (print_passwd, print_group, print_aliases): Likewise.
7319 * nis/nss-nisplus.h (niserr2nss): Likewise.
7320 * nscd/connections.c (restart_p): Likewise.
7321 Change return type to bool.
7323 2013-02-05 Roland McGrath <roland@hack.frob.com>
7325 * Makeconfig (all-Depend-files): Add existing
7326 $(sorted-subdirs:=/Depend) files.
7327 (all-subdirs): Remove nss.
7328 * sysdeps/unix/inet/Subdirs: Add it here instead.
7329 * hesiod/Depend: New file.
7331 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7332 instead of calling alloca.
7334 * io/lseek.c (__lseek): Rename to __libc_lseek.
7335 Define __lseek as an alias.
7337 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7339 2013-02-04 Carlos O'Donell <carlos@redhat.com>
7341 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7342 else clause and remove check for non-standard endianness.
7344 2013-02-04 David S. Miller <davem@davemloft.net>
7346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7348 2013-02-04 Joseph Myers <joseph@codesourcery.com>
7351 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7352 (__ubp_memchr): Remove prototype.
7353 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7354 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7355 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7356 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7357 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7359 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7360 (__ubp_memchr): Likewise.
7361 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7362 (__ubp_memchr): Likewise.
7363 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7364 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7365 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7366 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7368 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7369 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7370 (__getcwd): Do not use CHECK_STRING.
7371 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7373 (__real_chown): Do not use CHECK_STRING.
7374 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7376 (fchownat): Do not use CHECK_STRING.
7377 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7379 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7381 (__lchown): Do not use CHECK_STRING.
7382 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7383 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7384 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7385 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7387 include <bp-checks.h>.
7388 (truncate64): Do not use CHECK_STRING.
7389 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7391 (__real_chown): Do not use CHECK_STRING.
7392 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7394 (__lchown): Do not use CHECK_STRING.
7395 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7397 (__chown): Do not use CHECK_STRING.
7398 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7400 (truncate64): Do not use CHECK_STRING.
7401 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7403 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7404 (__xmknod): Do not use CHECK_STRING.
7405 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7407 (__xmknodat): Do not use CHECK_STRING.
7408 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7409 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7411 2013-02-04 Andreas Schwab <schwab@suse.de>
7414 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7415 * include/netdb.h: Likewise for h_errno.
7416 * elf/tst-stackguard1.c: Include <tls.h>.
7418 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7420 * elf/link.h (struct link_map): Extend the l_addr comment.
7421 * include/link.h (struct link_map): Likewise.
7423 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7426 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7427 (BOUNDED_1): Remove macro.
7428 * debug/backtrace.c: Don't include <bp-checks.h>.
7429 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7430 (__backtrace): Likewise.
7431 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7433 (__backtrace): Don't use BOUNDED_1.
7434 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7436 (__backtrace): Don't use BOUNDED_1.
7437 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7438 (__backtrace): Don't use BOUNDED_1.
7439 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7440 (shmat): Don't use BOUNDED_N.
7442 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7445 * sysdeps/generic/bp-start.h: Remove file.
7446 * csu/libc-start.c: Don't include <bp-start.h>.
7447 (LIBC_START_MAIN): Set up __environ directly instead of using
7448 INIT_ARGV_and_ENVIRON.
7449 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7453 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7455 (CHECK_FCNTL): Likewise.
7456 (CHECK_N_PAGES): Likewise.
7459 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7461 (CHECK_SIGSET_NULL_OK): Likewise.
7462 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7464 (sigpending): Don't use CHECK_SIGSET.
7465 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7467 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7468 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7470 (do_sigsuspend): Don't use CHECK_SIGSET.
7471 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7473 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7474 (do_sigwait): Don't use CHECK_SIGSET.
7475 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7477 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7478 include <bp-checks.h>.
7479 (sigpending): Don't use CHECK_SIGSET.
7480 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7481 include <bp-checks.h>.
7482 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7483 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7485 (sigpending): Don't use CHECK_SIGSET.
7486 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7488 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7491 * sysdeps/generic/bp-semctl.h: Remove file.
7492 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7493 <bp-checks.h> and <bp-semctl.h>.
7494 (__old_semctl): Don't use CHECK_SEMCTL.
7495 (__new_semctl): Likewise.
7496 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7498 (__old_semctl): Don't use CHECK_SEMCTL.
7499 (__new_semctl): Likewise.
7500 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7501 <bp-checks.h> and <bp-semctl.h>.
7502 (__old_semctl): Don't use CHECK_SEMCTL.
7503 (__new_semctl): Likewise.
7504 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7505 <bp-checks.h> and <bp-semctl.h>.
7506 (semctl): Don't use CHECK_SEMCTL.
7509 * Makerules (elide-bp-thunks): Remove variable.
7510 (elide-routines.oS): Don't use $(elide-bp-thunks).
7511 (elide-routines.os): Likewise.
7512 (elide-routines.o): Likewise.
7513 (elide-routines.op): Likewise.
7514 (elide-routines.og): Likewise.
7515 (objects): Don't use $(bp-thunks).
7516 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7518 (common-generated): Do not add s-proto-bp.d.
7519 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7522 Do not generate makefile rules for bounded-pointer thunks.
7523 * sysdeps/generic/bp-thunks.h: Remove file.
7524 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7525 * sysdeps/unix/s-proto-bp.S: Likewise.
7528 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7529 parts of result separately when argument is not close to line from
7530 -i to i and one part of argument is small.
7531 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7532 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7533 * math/libm-test.inc (cacos_test): Add more tests.
7534 (casin_test): Likewise.
7535 (casinh_test): Likewise.
7536 * sysdeps/i386/fpu/libm-test-ulps: Update.
7537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7539 2013-01-31 David S. Miller <davem@davemloft.net>
7541 * po/de.po: Update from translation team.
7543 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7545 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7547 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7549 * configure.in (_AC_PROG_CC_C89): New definition.
7550 * configure: Regenerate.
7552 * configure.in (AC_PROG_CPP): New definition.
7553 * configure: Regenerate.
7555 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7557 * debug/tst-backtrace.h: New file.
7558 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7559 (ret): Remove variable.
7561 (FAIL): Remove macro.
7562 (NO_INLINE): Likewise.
7563 (fn1): Use match function instead of strstr.
7564 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7565 (ret): Remove variable.
7567 (FAIL): Remove macro.
7568 (NO_INLINE): Likewise.
7569 (fn): Use match function instead of strstr.
7570 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7571 (ret): Remove variable.
7573 (FAIL): Remove macro.
7574 (NO_INLINE): Likewise.
7575 (handle_signal): Use match function instead of strstr.
7576 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7577 (ret): Remove variable.
7579 (FAIL): Remove macro.
7580 (NO_INLINE): Likewise.
7581 (handle_signal): Use match function instead of strstr.
7583 2013-01-23 Roland McGrath <roland@hack.frob.com>
7585 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7587 2013-01-23 David S. Miller <davem@davemloft.net>
7589 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7590 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7591 argument of CAS if possible.
7592 * sysdeps/sparc/sparc64/bits/atomic.h
7593 (__arch_compare_and_exchange_val_32_acq): Likewise.
7594 (__arch_compare_and_exchange_val_64_acq): Likewise.
7596 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7598 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7599 * sysdeps/posix/ulimit.c: ... this.
7601 * sysdeps/unix/bsd/ulimit.c: Remove file.
7603 2013-01-23 Adam Conrad <adconrad@0c3.net>
7605 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7606 (LDFLAGS-tst-array5): Likewise.
7608 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7611 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7612 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7613 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7614 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7616 2013-01-21 David S. Miller <davem@davemloft.net>
7618 * sysdeps/sparc/backtrace.c: New file.
7619 * sysdeps/sparc/sparc32/backtrace.h: New file.
7620 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7621 * sysdeps/sparc/sparc64/backtrace.h: New file.
7622 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7623 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7626 2013-01-21 Andreas Schwab <schwab@suse.de>
7629 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7632 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7638 2013-01-18 Joseph Myers <joseph@codesourcery.com>
7639 Mark Mitchell <mark@codesourcery.com>
7640 Tom de Vries <tom@codesourcery.com>
7641 Paul Pluzhnikov <ppluzhnikov@google.com>
7643 * debug/tst-backtrace2.c: New file.
7644 * debug/tst-backtrace3.c: Likewise.
7645 * debug/tst-backtrace4.c: Likewise.
7646 * debug/tst-backtrace5.c: Likewise.
7647 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7648 (CFLAGS-tst-backtrace3.c): Likewise.
7649 (CFLAGS-tst-backtrace4.c): Likewise.
7650 (CFLAGS-tst-backtrace5.c): Likewise.
7651 (LDFLAGS-tst-backtrace2): Likewise.
7652 (LDFLAGS-tst-backtrace3): Likewise.
7653 (LDFLAGS-tst-backtrace4): Likewise.
7654 (LDFLAGS-tst-backtrace5): Likewise.
7655 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7656 tst-backtrace4 and tst-backtrace5.
7658 2013-01-18 Anton Blanchard <anton@samba.org>
7659 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7661 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7662 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7663 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7664 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7666 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7667 "+r" and remove output regs list as redundant. Add explicit inline
7668 asm to specify register of return val to work around compiler codegen
7669 bug. Remove (int) cast on return value. Add return type parameter to
7670 use in macro so that this macro does not truncate return value for
7672 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7673 pass to INTERNAL_VSYSCALL_NCS.
7674 (INLINE_VSYSCALL): Add 'long int' as return type to
7675 INTERNAL_VSYSCALL_NCS macro invocation.
7676 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7677 INTERNAL_VSYSCALL_NCS macro invocation.
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7680 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7683 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7684 Fix application of SIMD FP exception mask.
7686 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7687 mp_no from a power of two.
7688 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7689 __mpexp_twomm1. Use __pow_mp.
7691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7694 2013-01-17 David S. Miller <davem@davemloft.net>
7696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7698 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7701 * include/complex.h: Condition contents on [!_COMPLEX_H].
7702 (__kernel_casinhf): New prototype.
7703 (__kernel_casinh): Likewise.
7704 (__kernel_casinhl): Likewise.
7705 * math/Makefile (libm_calls): Add k_casinh.
7706 * math/k_casinh.c: New file.
7707 * math/k_casinhf.c: Likewise.
7708 * math/k_casinhl.c: Likewise.
7709 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7710 finite nonzero arguments.
7711 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7712 finite nonzero arguments.
7713 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7714 finite nonzero arguments.
7715 * math/s_casinh.c: Do not include <float.h>.
7716 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7717 * math/s_casinhf.c: Do not include <float.h>.
7718 (__casinhf): Move code for finite nonzero arguments to
7720 * math/s_casinhl.c: Do not include <float.h>.
7721 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7723 (__casinhl): Move code for finite nonzero arguments to
7725 * math/libm-test.inc (cacos_test): Add more tests.
7726 * sysdeps/i386/fpu/libm-test-ulps: Update.
7727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7729 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7731 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7732 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7733 [!HAVE_MREMAP]: Remove [defined linux] case.
7734 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7736 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7738 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7740 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
7742 * elf/elf.h (R_386_SIZE32): New relocation.
7743 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7745 (elf_machine_rela): Likewise.
7746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7747 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7749 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7751 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7752 (FP_FAST_FMA): Do not define.
7753 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7754 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7755 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7756 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7757 !_SOFT_FLOAT]: Likewise.
7758 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7759 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7761 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7762 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7763 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7764 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7765 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7766 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7769 2013-01-16 Andreas Schwab <schwab@suse.de>
7772 * include/stdlib.h (__mktemp): Add declaration.
7773 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7774 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7776 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7778 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7780 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7781 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7782 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7784 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7785 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7787 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7789 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7790 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7791 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7793 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7794 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7796 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7798 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7800 2013-01-15 David S. Miller <davem@davemloft.net>
7802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7803 trunc{,f} to libm-sysdep_routes.
7804 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7814 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7815 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7816 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7817 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7818 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7819 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7822 nearbyint{,f} to libm-sysdep_routes.
7823 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7834 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7836 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7837 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7839 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7840 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7841 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7843 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7844 libc_feholdexcept and libc_fesetenv.
7846 2013-01-15 Mike Frysinger <vapier@gentoo.org>
7848 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7850 2013-01-14 David S. Miller <davem@davemloft.net>
7852 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7853 (SPARC_ASM_VIS2_IFUNC): Likewise.
7854 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7856 use of 'siam' instruction.
7857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7863 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7864 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7866 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7875 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7890 routines to libm-sysdep_routines.
7891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7894 fdim/fdimf to libm-sysdep_routines.
7895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7903 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7904 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7905 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7906 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7908 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7910 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7913 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7918 local variable MPTWO.
7919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7922 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7924 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7927 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7929 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7931 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7933 * manual/pattern.texi (glob_t): Document gl_flags.
7934 (glob64_t): Likewise.
7936 2013-01-11 David S. Miller <davem@davemloft.net>
7938 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7939 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7940 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
7941 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7942 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7943 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7944 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7945 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7946 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7947 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7948 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7949 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7950 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7952 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7953 sparc V9 rather than using V8 code.
7954 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7955 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7957 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7959 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7962 2013-01-11 Roland McGrath <roland@hack.frob.com>
7964 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7965 not in the main loop.
7966 * configure: Regenerated.
7968 2013-01-11 Joseph Myers <joseph@codesourcery.com>
7970 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7971 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7973 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7974 [!__GLIBC_HAVE_LONG_LONG] case.
7975 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7976 condition to just #else.
7977 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7978 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7979 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7980 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7982 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7983 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7984 #elif condition to just #else.
7985 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7986 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7987 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7988 #elif condition to just #else.
7990 2013-01-11 Steve Ellcey <sellcey@mips.com>
7992 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7993 (EF_MIPS_ARCH_64): Fix value.
7994 (EF_MIPS_ARCH_32R2): New.
7995 (EF_MIPS_ARCH_64R2): New.
7997 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7999 * Makeconfig (+link-pie-before-libc): New.
8000 (+link-pie-after-libc): Likewise.
8001 (+link-pie-tests): Likewise.
8002 (+link-pie): Rewritten.
8003 (link-before-libc): Remove $(config-LDFLAGS).
8004 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8005 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8006 (config-LDFLAGS): Renamed to ...
8007 (rtld-LDFLAGS): This.
8008 (rtld-tests-LDFLAGS): New macro.
8009 (link-libc-rpath-link): Likewise.
8010 (link-libc-tests-rpath-link): Likewise.
8011 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8012 (link-libc): Prepand $(link-libc-rpath-link).
8013 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8014 (test-program-prefix): New macro.
8015 (test-via-rtld-prefix): Likewise.
8016 (test-program-cmd): Likewise.
8017 (host-test-program-cmd): Likewise.
8018 * Makefile ($(common-objpfx)testrun.sh): Replace
8019 $(run-program-prefix) with $(test-program-prefix).
8020 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8022 ($(common-objpfx)shlib.lds): Likewise.
8023 (build-module-helper): Likewise.
8024 ($(common-objpfx)format.lds): Likewise.
8025 * Rules (binaries-pie-tests): New.
8026 (binaries-pie-notests): Likewise.
8027 (binaries-pie): Rewritten.
8028 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8029 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8030 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8031 (make-test-out): Replace $(host-built-program-cmd) with
8032 $(host-test-program-cmd).
8033 * config.make.in (build-hardcoded-path-in-tests): New variable.
8034 * configure.in (--enable-hardcoded-path-in-tests): New configure
8036 (hardcoded_path_in_tests): New AC_SUBST.
8037 * configure: Regenerated.
8038 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8039 $(built-program-cmd) with $(test-program-cmd).
8040 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8041 (test_program_cmd): This.
8042 * elf/Makefile ($(objpfx)order.out): Run test with
8043 $(test-program-prefix).
8044 ($(objpfx)order2.out): Likewise.
8045 ($(objpfx)tst-initorder.out): Likewise.
8046 ($(objpfx)tst-initorder2.out): Likewise.
8047 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8048 $(test-program-cmd).
8049 ($(objpfx)tst-array1-static.out): Likewise.
8050 ($(objpfx)tst-array2.out): Likewise.
8051 ($(objpfx)tst-array3.out): Likewise.
8052 ($(objpfx)tst-array4.out): Likewise.
8053 ($(objpfx)tst-array5.out): Likewise.
8054 ($(objpfx)tst-array5-static.out): Likewise.
8055 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8056 $(test-program-cmd).
8057 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8058 $(run-program-prefix) with $(test-program-prefix).
8059 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8060 (test_program_prefix): This.
8061 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8062 $(run-program-prefix) with $(test-program-prefix).
8063 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8064 (test_program_prefix): This.
8065 * iconvdata/tst-tables.sh: Likewise.
8066 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8067 $(run-program-prefix) with $(test-program-prefix).
8068 ($(objpfx)tst-translit.out): Likewise.
8069 ($(objpfx)tst-gettext2.out): Likewise.
8070 ($(objpfx)tst-gettext4.out): Likewise.
8071 ($(objpfx)tst-gettext6.out): Likewise.
8072 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8073 (test_program_prefix): This.
8074 * intl/tst-gettext2.sh: Likewise.
8075 * intl/tst-gettext4.sh Likewise.
8076 * intl/tst-gettext6.sh: Likewise.
8077 * intl/tst-translit.sh: Likewise.
8078 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8079 with $(test-program-cmd).
8080 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8081 $(run-program-prefix) with $(test-program-prefix).
8082 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8083 (test_program_prefix): This.
8084 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8085 $(run-program-prefix) with $(test-program-prefix).
8086 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8087 (test_program_prefix): This.
8088 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8089 * posix/Makefile ($(objpfx)globtest.out): Replace
8090 $(run-via-rtld-prefix) and $(test-wrapper) with
8091 $(test-program-prefix) and $(test-via-rtld-prefix).
8092 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8093 $(test-program-prefix).
8094 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8095 $(host-test-program-cmd).
8096 (tst-spawn-ARGS): Likewise.
8097 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8098 $(test-program-prefix).
8099 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8100 (test_via_rtld_prefix): This.
8101 (test_wrapper): Renamed to ...
8102 (test_program_prefix): This.
8103 (run_program_prefix): Replaced by test_program_prefix.
8104 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8105 (test_program_prefix): This.
8106 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8107 with $(host-test-program-cmd).
8108 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8109 $(run-program-prefix) with $(test-program-prefix).
8110 ($(objpfx)tst-printf.out): Likewise.
8111 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8112 $(test-program-cmd).
8113 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8114 (test_program_prefix): This.
8115 * stdio-common/tst-unbputc.sh: Likewise.
8116 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8117 $(run-program-prefix) with $(test-program-prefix).
8118 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8119 (test_program_prefix): This.
8120 * string/Makefile ($(objpfx)tst-svc.out): Replace
8121 $(built-program-cmd) with $(test-program-cmd).
8123 2013-01-11 Andreas Jaeger <aj@suse.de>
8126 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8127 value. Sync with Linux 3.7.
8129 2013-01-10 David S. Miller <davem@davemloft.net>
8131 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8132 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8133 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8135 2013-01-10 Roland McGrath <roland@hack.frob.com>
8137 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8139 * configure: Regenerated.
8141 2013-01-10 David S. Miller <davem@davemloft.net>
8143 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8144 sparc V9 rather than using V8 code.
8145 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8146 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8148 2013-01-10 Roland McGrath <roland@hack.frob.com>
8150 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8151 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8152 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8153 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8154 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8155 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8156 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8157 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8158 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8159 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8160 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8161 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8162 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8163 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8164 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8165 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8166 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8167 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8168 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8169 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8170 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8171 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8172 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8173 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8174 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8175 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8176 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8178 2013-01-10 David S. Miller <davem@davemloft.net>
8180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8182 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8184 * posix/Makefile (tests-static): New variable.
8185 (tests): Add $(tests-static).
8186 (tst-exec-static-ARGS): New variable.
8187 (tst-spawn-static-ARGS): Likewise.
8188 * posix/tst-exec-static.c: New file.
8189 * posix/tst-spawn-static.c: Likewise.
8190 * posix/tst-exec.c: Support run directly.
8191 * posix/tst-spawn.c: Likewise.
8193 2013-01-10 Joseph Myers <joseph@codesourcery.com>
8195 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8197 * math/bits/mathcalls.h (llrint): Likewise.
8198 (llround): Likewise.
8199 * stdlib/stdlib.h (struct drand48_data): Likewise.
8200 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8201 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8202 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8204 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8206 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8207 (elf_greg_t): Likewise.
8208 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8209 (__jmp_buf): Likewise.
8210 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8212 (llrint): Likewise, for all definitions.
8213 (llrintl): Likewise.
8215 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8216 Remove [__GNUC__] condition.
8217 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8218 condition to just [__USE_ISOC99].
8219 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8221 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8224 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8225 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8227 (_POSIX_V6_ILP32_OFF32): Likewise.
8228 (_XBS5_ILP32_OFF32): Likewise.
8229 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8230 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8232 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8234 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8237 doubles __mpexp_twomm1. Adjust usage.
8238 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8241 2013-01-10 Andreas Schwab <schwab@suse.de>
8244 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8245 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8247 2013-01-09 David S. Miller <davem@davemloft.net>
8250 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8251 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8252 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8253 TCP_FASTOPEN): Define.
8254 (tcp_repair_opt): New structure.
8255 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8257 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8258 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8259 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8260 (tcp_cookie_transactions): New structure.
8262 2013-01-09 Anton Blanchard <anton@samba.org>
8264 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8265 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8266 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8267 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8269 2013-01-09 Joseph Myers <joseph@codesourcery.com>
8271 * include/features.h (__USE_ANSI): Remove.
8273 2013-01-09 Roland McGrath <roland@hack.frob.com>
8275 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8277 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8279 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8281 * sysdeps/s390/fpu/libm-test-ulps: Update.
8283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8285 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8290 (__mp_dbl): Likewise.
8291 (__dbl_mp): Likewise.
8292 (add_magnitudes): Likewise.
8293 (sub_magnitudes): Likewise.
8299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8304 (__mp_dbl): Likewise.
8305 (__dbl_mp): Likewise.
8306 (add_magnitudes): Likewise.
8307 (sub_magnitudes): Likewise.
8313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8318 (__mp_dbl): Likewise.
8319 (__dbl_mp): Likewise.
8320 (add_magnitudes): Likewise.
8321 (sub_magnitudes): Likewise.
8328 2013-01-08 Joseph Myers <joseph@codesourcery.com>
8330 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8331 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8332 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8333 2 && __USE_EXTERN_INLINES]: Likewise.
8335 2013-01-08 Andreas Jaeger <aj@suse.de>
8338 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8340 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8341 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8343 2013-01-07 Anton Blanchard <anton@samba.org>
8345 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8346 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8347 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8348 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8349 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8350 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8351 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8352 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8354 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8355 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8356 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8357 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8358 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8359 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8360 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8361 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8363 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8364 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8365 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8366 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8368 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8369 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8370 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8371 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8372 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8373 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8374 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8375 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8377 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8378 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8379 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8380 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8381 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8382 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8383 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8384 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8385 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8386 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8387 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8389 2013-01-07 Joseph Myers <joseph@codesourcery.com>
8391 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8392 (__MALLOC_PMT): Likewise.
8393 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8394 [__GNUC__], only on [_LIBC].
8395 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8396 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8397 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8398 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8399 forward declaration.
8400 (realloc_hook_ini): Likewise.
8401 (memalign_hook_ini): Likewise.
8402 (__libc_memalign): Do not use __MALLOC_PMT in variable
8404 (__libc_valloc): Likewise.
8405 (__libc_pvalloc): Likewise.
8406 (__libc_calloc): Likewise.
8407 (__posix_memalign): Likewise.
8410 * math/s_casinh.c: Include <float.h>.
8411 (__casinh): Do not do computation with squaring and square root
8412 for large arguments.
8413 * math/s_casinhf.c: Include <float.h>.
8414 (__casinhf): Do not do computation with squaring and square root
8415 for large arguments.
8416 * math/s_casinhl.c: Include <float.h>.
8417 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8418 (__casinhl): Do not do computation with squaring and square root
8419 for large arguments.
8420 * math/libm-test.inc (casin_test): Add more tests.
8421 (casinh_test): Likewise.
8422 * sysdeps/i386/fpu/libm-test-ulps: Update.
8423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8425 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8427 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8428 (__x86_64_raw_data_cache_size): Likewise.
8429 (__x86_64_data_cache_size_half): Likewise.
8430 (__x86_64_raw_data_cache_size_half): Likewise.
8431 (__x86_64_shared_cache_size): Likewise.
8432 (__x86_64_raw_shared_cache_size): Likewise.
8433 (__x86_64_shared_cache_size_half): Likewise.
8434 (__x86_64_raw_shared_cache_size_half): Likewise.
8435 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8437 (__x86_data_cache_size): This.
8438 (__x86_64_raw_data_cache_size): Renamed to ...
8439 (__x86_raw_data_cache_size): This.
8440 (__x86_64_data_cache_size_half): Renamed to ...
8441 (__x86_data_cache_size_half): This.
8442 (__x86_64_raw_data_cache_size_half): Renamed to ...
8443 (__x86_raw_data_cache_size_half): This.
8444 (__x86_64_shared_cache_size): Renamed to ...
8445 (__x86_shared_cache_size): This.
8446 (__x86_64_raw_shared_cache_size): Renamed to ...
8447 (__x86_raw_shared_cache_size): This.
8448 (__x86_64_shared_cache_size_half): Renamed to ...
8449 (__x86_shared_cache_size_half): This.
8450 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8451 (__x86_raw_shared_cache_size_half): This.
8452 * sysdeps/x86_64/memcpy.S: Updated.
8453 * sysdeps/x86_64/memset.S: Likewise.
8454 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8455 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8456 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8458 2013-01-04 David S. Miller <davem@davemloft.net>
8460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8462 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8464 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8465 1 to avoid redefinition warning.
8466 (__USE_GNU): Don't define.
8467 (init_signaling_nan): Protoize.
8469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8471 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8473 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8475 (__cpymn): Likewise.
8476 (norm): Remove commented code.
8478 (__mp_dbl): Likewise.
8480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8481 (__cpymn): Likewise.
8482 (norm): Remove commented code.
8484 (__mp_dbl): Likewise.
8487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8488 mp_no value for 1.0 and 2.0.
8489 (norm): Use RADIXI instead of radixi.d.
8491 (__mul): Use 0.0 instead of zero.d.
8492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8493 mp_no value for 1.0 and 2.0.
8494 (norm): Use RADIXI instead of radixi.d.
8496 (__mul): Use 0.0 instead of zero.d.
8498 2013-01-04 Joseph Myers <joseph@codesourcery.com>
8501 * math/s_casinh.c (__casinh): Reduce finite argument to first
8502 quadrant then set signs of results at the end.
8503 * math/s_casinhf.c (__casinhf): Likewise.
8504 * math/s_casinhl.c (__casinhl): Likewise.
8505 * math/libm-test.inc (casin_test): Add more tests.
8506 (casinh_test): Likewise.
8507 * sysdeps/i386/fpu/libm-test-ulps: Update.
8508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8510 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8512 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8514 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8516 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8519 (__mp_dbl): Likewise.
8522 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8523 and adjust the header comment.
8525 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8526 variable name from declaration.
8528 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8531 Initialize COMMON_CPUID_INDEX_7 element.
8532 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8533 (CPUID_RTM): Likewise.
8534 (HAS_RTM): Likewise.
8535 (COMMON_CPUID_INDEX_7): New enum.
8537 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8540 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8541 size is zero, record memory as freed.
8543 2013-01-03 Andreas Jaeger <aj@suse.de>
8545 * po/ia.po: Add new Interlingua translation.
8547 2012-01-03 Allan McRae <allan@archlinux.org>
8549 * locale/programs/localedef.c: Fix description of '--posix' flag.
8551 2013-01-02 Joseph Myers <joseph@codesourcery.com>
8553 * NEWS: Update dates in second copyright notice.
8554 * README: Update copyright dates in example.
8555 * manual/libc.texinfo: Update copyright dates.
8556 * scripts/test-installation.pl: Update copyright date in --version
8559 * hurd/ctty-input.c: Fix copyright notice formatting.
8560 * hurd/ctty-output.c: Likewise.
8561 * hurd/dtable.c: Likewise.
8562 * hurd/hurd-raise.c: Likewise.
8563 * hurd/hurdprio.c: Likewise.
8564 * hurd/msgportdemux.c: Likewise.
8565 * misc/sys/file.h: Likewise.
8566 * misc/sys/ioctl.h: Likewise.
8567 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8568 * sysdeps/mach/hurd/chdir.c: Likewise.
8569 * sysdeps/mach/hurd/fchdir.c: Likewise.
8570 * sysdeps/mach/hurd/rename.c: Likewise.
8571 * sysdeps/mach/hurd/rmdir.c: Likewise.
8572 * sysdeps/mach/hurd/seekdir.c: Likewise.
8573 * sysdeps/mach/hurd/setsid.c: Likewise.
8574 * sysdeps/posix/wait3.c: Likewise.
8576 * All files with FSF copyright notices: Update copyright dates
8577 using scripts/update-copyrights.
8578 * intl/plural.c: Regenerated.
8579 * locale/programs/charmap-kw.h: Likewise.
8580 * locale/programs/locfile-kw.h: Likewise.
8582 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8584 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8587 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8588 calculation loop and add branch prediction.
8590 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8591 check access beyond bounds of m1np.
8593 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8595 (__inv): Remove local variable MPTWO to use the global
8597 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8598 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8600 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8601 MP3HALFS static const.
8603 2013-01-01 David S. Miller <davem@davemloft.net>
8605 * po/ca.po: Update from translation team.
8607 2013-01-01 Joseph Myers <joseph@codesourcery.com>
8609 * scripts/update-copyrights: New file.
8610 * Makeconfig: Reformat copyright notice.
8611 * ctype/ctype.h: Likewise.
8612 * debug/swprintf_chk.c: Likewise.
8613 * elf/dl-cache.c: Likewise.
8614 * elf/dl-debug.c: Likewise.
8615 * elf/dl-object.c: Likewise.
8616 * grp/initgroups.c: Likewise.
8617 * hurd/Makefile: Likewise.
8618 * hurd/hurd/signal.h: Likewise.
8619 * hurd/hurdfault.c: Likewise.
8620 * hurd/hurdioctl.c: Likewise.
8621 * hurd/hurdlookup.c: Likewise.
8622 * hurd/intr-msg.c: Likewise.
8623 * iconv/gconv_open.c: Likewise.
8624 * libio/swprintf.c: Likewise.
8625 * locale/lc-ctype.c: Likewise.
8626 * locale/nl_langinfo.c: Likewise.
8627 * mach/Machrules: Likewise.
8628 * mach/Makefile: Likewise.
8629 * malloc/obstack.h: Likewise.
8630 * manual/Makefile: Likewise.
8631 * manual/tsort.awk: Likewise.
8632 * misc/bits/stab.def: Likewise.
8633 * nis/nis_print_group_entry.c: Likewise.
8634 * nis/nis_table.c: Likewise.
8635 * nis/nss_compat/compat-pwd.c: Likewise.
8636 * nis/nss_compat/compat-spwd.c: Likewise.
8637 * po/Makefile: Likewise.
8638 * posix/fnmatch.c: Likewise.
8639 * posix/regex.h: Likewise.
8640 * resolv/Makefile: Likewise.
8641 * resolv/nss_dns/dns-network.c: Likewise.
8642 * resolv/res_hconf.c: Likewise.
8643 * scripts/gen-sorted.awk: Likewise.
8644 * soft-fp/soft-fp.h: Likewise.
8645 * stdio-common/printf.h: Likewise.
8646 * stdlib/monetary.h: Likewise.
8647 * stdlib/random.c: Likewise.
8648 * stdlib/random_r.c: Likewise.
8649 * sysdeps/generic/Makefile: Likewise.
8650 * sysdeps/gnu/Makefile: Likewise.
8651 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8653 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8655 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8656 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8658 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8659 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8660 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8661 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8662 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8663 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8665 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8666 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8679 * sysdeps/mach/hurd/errnos.awk: Likewise.
8680 * sysdeps/mach/hurd/fork.c: Likewise.
8681 * sysdeps/mach/hurd/getcwd.c: Likewise.
8682 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8683 * sysdeps/mach/hurd/mmap.c: Likewise.
8684 * sysdeps/mach/hurd/utimes.c: Likewise.
8685 * sysdeps/mach/hurd/xmknod.c: Likewise.
8686 * sysdeps/posix/profil.c: Likewise.
8687 * sysdeps/posix/readdir_r.c: Likewise.
8688 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8689 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8690 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8691 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8692 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8693 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8694 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8695 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8697 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8698 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8699 * sysdeps/pthread/lio_listio.c: Likewise.
8700 * sysdeps/sparc/dl-procinfo.h: Likewise.
8701 * sysdeps/unix/i386/sysdep.S: Likewise.
8702 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8703 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8704 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8705 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8707 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8708 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8709 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8710 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8711 * sysdeps/wordsize-32/divdi3.c: Likewise.
8712 * time/sys/time.h: Likewise.
8713 * wcsmbs/Makefile: Likewise.
8715 2013-01-01 David S. Miller <davem@davemloft.net>
8717 * po/fr.po: Update from translation team.
8719 * catgets/gencat.c: Update copyright year.
8720 * csu/version.c: Likewise.
8721 * debug/catchsegv.sh: Likewise.
8722 * debug/pcprofiledump.c: Likewise.
8723 * debug/xtrace.sh: Likewise.
8724 * elf/ldconfig.c: Likewise.
8725 * elf/ldd.bash.in: Likewise.
8726 * elf/pldd.c: Likewise.
8727 * elf/sotruss.ksh: Likewise.
8728 * elf/sprof.c: Likewise.
8729 * iconv/iconv_prog.c: Likewise.
8730 * iconv/iconvconfig.c: Likewise.
8731 * locale/programs/locale.c: Likewise.
8732 * locale/programs/localedef.c: Likewise.
8733 * login/programs/pt_chown.c: Likewise.
8734 * malloc/memusage.sh: Likewise.
8735 * malloc/memusagestat.c: Likewise.
8736 * malloc/mtrace.pl: Likewise.
8737 * nscd/nscd.c: Likewise.
8738 * nss/getent.c: Likewise.
8739 * nss/makedb.c: Likewise.
8740 * posix/getconf.c: Likewise.
8742 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8744 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8747 2012-12-30 Mike Frysinger <vapier@gentoo.org>
8749 * math/bits/mathcalls.h (modf): Use __nonnull.
8751 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8753 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8754 (split): Use macro CN instead of the bare value.
8755 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8757 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8758 instead of the bare value.
8761 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8763 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8765 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8767 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8769 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8770 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8771 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8772 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8774 2012-12-28 Andreas Jaeger <aj@suse.de>
8776 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8777 values are from Linux 3.7.
8779 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8780 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8782 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8784 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8787 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8789 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8790 variables with preprocessor constants.
8791 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8792 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8793 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8795 2012-12-27 Bruno Haible <bruno@clisp.org>
8798 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8801 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8804 and use variable directly.
8805 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8807 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8809 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8810 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8812 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8814 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8815 include directive. Remove local variable MPONE.
8816 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8817 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8820 2012-12-25 David S. Miller <davem@davemloft.net>
8822 * version.h (RELEASE): Set to "development".
8823 (VERSION): Set to "2.17.90".
8824 * NEWS: Add 2.18 section.
8826 2012-12-21 David S. Miller <davem@davemloft.net>
8828 * po/hr.po: Update from translation team.
8830 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8832 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8834 2012-12-19 Steve Ellcey <sellcey@mips.com>
8836 * NEWS: Mention new memcpy for MIPS.
8838 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8840 * manual/contrib.texi (Contributors): Spelling correction.
8842 2012-12-15 David S. Miller <davem@davemloft.net>
8844 * po/ru.po: Update from translation team.
8846 2012-12-13 David S. Miller <davem@davemloft.net>
8848 * NEWS: Mention IFUNC testsuite enhancements.
8850 * po/pl.po: Update from translation team.
8851 * po/bg.po: Likewise.
8853 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8854 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8856 2012-12-11 David S. Miller <davem@davemloft.net>
8858 * po/sv.po: Update from translation team.
8860 * po/vi.po: Update from translation team.
8862 * po/cs.po: Update from translation team.
8864 * po/de.po: Update from translation team.
8865 * po/eo.po: Likewise.
8866 * po/nl.po: Likewise.
8868 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8871 * manual/argp.texi (Argp Helper Functions): Move node to follow
8875 * manual/conf.texi (Limits on File System Capacity): Mention if
8876 terminating null is included in the max size.
8878 2012-12-10 Andreas Jaeger <aj@suse.de>
8880 * po/cs.po: Update from translation team.
8882 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8884 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8885 void pointer and cast to uintptr_t.
8886 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8888 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8889 * sysdeps/s390/s390-64/memset.S: Likewise.
8891 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
8894 * menual/message.texi (Message Translation): Fix typos.
8895 (Helper programs for gettext): Likewise.
8897 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8900 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8903 2012-12-07 David S. Miller <davem@davemloft.net>
8905 * po/libc.pot: Update.
8907 2012-12-07 Richard Henderson <rth@redhat.com>
8910 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8911 normal/normal case to before the switch.
8912 (_FP_DIV): Likewise.
8914 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8915 Mike Frysinger <vapier@gentoo.org>
8917 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8918 check for __NR_fadvise64_64.
8920 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8922 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8923 0, not just to plain "0" as a statement.
8924 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8927 2012-12-06 Joseph Myers <joseph@codesourcery.com>
8929 * NEWS: Use sourceware.org in Bugzilla URL.
8931 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8934 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8936 * stdio-common/tst-put-error.c (do_test): Add newline to the
8937 padded test to ensure flush.
8939 2012-12-05 Jeff Law <law@redhat.com>
8941 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8943 2012-12-05 Joseph Myers <joseph@codesourcery.com>
8945 * README: Don't refer to ports add-on as distributed separately.
8946 Mention AArch64 in list of systems supported in the ports add-on.
8948 * LICENSES: Add more non-FSF copyright and license notices.
8950 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8953 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8955 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8956 10000 as width of padded output.
8958 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8960 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8962 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8963 variable LX with __attribute__ ((unused)).
8964 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8966 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8967 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8968 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8969 with __attribute__ ((unused)).
8971 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
8973 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8975 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8977 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8978 (CFLAGS-nldbl-acos.c): New variable.
8979 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8980 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8981 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8982 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8983 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8984 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8985 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8986 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8987 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8988 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8989 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8990 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8991 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8992 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8993 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8994 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8995 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8996 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8997 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8998 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8999 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9000 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9001 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9002 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9003 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9004 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9005 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9006 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9007 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9008 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9009 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9010 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9011 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9012 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9013 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9014 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9015 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9016 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9017 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9018 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9019 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9020 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9021 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9022 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9023 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9024 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9025 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9026 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9027 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9028 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9029 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9030 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9031 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9032 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9033 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9034 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9035 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9036 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9037 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9038 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9039 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9040 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9041 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9042 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9043 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9044 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9045 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9046 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9047 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9048 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9049 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9050 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9051 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9052 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9053 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9054 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9055 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9056 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9057 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9058 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9059 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9060 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9061 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9062 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9063 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9064 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9065 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9066 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9067 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9068 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9069 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9070 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9071 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9072 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9073 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9074 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9075 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9078 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9082 whole low double instead of just low 47 bits when splitting values
9085 2012-12-03 Allan McRae <allan@archlinux.org>
9087 * manual/stdio.texi (Predefined Printf Handlers): Remove
9088 @hsep and @vsep usage.
9090 2012-12-03 Mike Frysinger <vapier@gentoo.org>
9092 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9093 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9095 2012-12-03 Jeff Law <law@redhat.com>
9097 * time/sys/time.h (settimeofday): Do not mark TV argument
9100 2012-12-01 Mike Frysinger <vapier@gentoo.org>
9102 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9103 when currently writing and seek to current position when not.
9104 * libio/Makefile (tests): Remove bug-fclose1.
9105 * libio/bug-fclose1.c: Delete.
9107 2012-12-01 Joseph Myers <joseph@codesourcery.com>
9109 * manual/arith.texi (feenableexcept): Fix typo.
9110 (fedisableexcept): Likewise.
9112 2012-11-30 Roland McGrath <roland@hack.frob.com>
9114 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9115 second, differently-typed declaration, rather than a cast.
9117 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9119 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9120 * include/rpc/svc.h: ... here.
9122 2012-11-30 Aurelien Jarno <aurel32@debian.org>
9125 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9126 depending n and resplen2 to catch cases where answer
9129 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9131 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9132 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9134 2012-11-29 Mike Frysinger <vapier@gentoo.org>
9136 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9138 2012-11-29 Roland McGrath <roland@hack.frob.com>
9140 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9142 2012-11-28 Jeff Law <law@redhat.com>
9145 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9146 dataset_temporary. Track alloca usage into alloca_used.
9147 If dataset is large allocate and release it via malloc/free.
9149 2012-06-04 Florian Weimer <fweimer@redhat.com>
9152 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9154 2012-11-28 David S. Miller <davem@davemloft.net>
9156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9158 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9161 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9162 of pi/2 rounded to nearest to 64 bits.
9163 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9165 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9168 2012-11-28 Jeff Law <law@redhat.com>
9169 Martin Osvald <mosvald@redhat.com>
9172 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9173 * sunrpc/svc.c: Include time.h.
9174 (__svc_accept_failed): New function.
9175 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9176 any reason other than EINTR, call __svc_accept_failed.
9177 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9178 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9180 2012-11-28 Andreas Schwab <schwab@suse.de>
9182 * scripts/abilist.awk: Also handle indirect functions in .opd
9185 2012-11-28 Joseph Myers <joseph@codesourcery.com>
9188 * sysdeps/x86/fpu/powl_helper.c: New file.
9189 * sysdeps/x86/fpu/Makefile: Likewise.
9190 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9192 (__ieee754_powl): Use __powl_helper for finite arguments except
9193 integer exponents below 8.
9194 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9196 (__ieee754_powl): Use __powl_helper for finite arguments except
9197 integer exponents below 8.
9198 * math/libm-test.inc (pow_test): Add more tests and enable some
9199 previously disabled tests.
9200 * sysdeps/i386/fpu/libm-test-ulps: Update.
9201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9203 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9204 Carlos O'Donell <carlos_odonell@mentor.com>
9206 * nss/makedb.c (is_prime): Assert that input is odd and greater
9207 than 4. Note that fact in a comment too.
9208 (next_prime): Add 4 to input.
9210 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9213 * libio/Makefile (tests): Add test case tst-fwrite-error.
9214 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9215 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9216 * libio/tst-fwrite-error.c: New test case.
9218 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9220 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9221 before casting to void *.
9222 * include/libc-internal.h (__pointer_type): New macro.
9223 (__integer_if_pointer_type_sub): Likewise.
9224 (__integer_if_pointer_type): Likewise.
9225 (cast_to_integer): Likewise.
9226 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9227 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9228 before casting to atomic64_t.
9229 (atomic_exchange_acq): Likewise.
9230 (__arch_exchange_and_add_body): Likewise.
9231 (__arch_add_body): Likewise.
9232 (atomic_add_negative): Likewise.
9233 (atomic_add_zero): Likewise.
9235 2012-11-26 Joseph Myers <joseph@codesourcery.com>
9237 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9238 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9239 (add_fdes): Likewise.
9240 (linear_search_fdes): Likewise.
9241 (binary_search_unencoded_fdes): Likewise.
9243 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9245 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9247 2012-11-24 Adam Conrad <adconrad@0c3.net>
9249 * configure.in: Autodetect C++ header directories.
9250 * configure: Regenerated.
9252 2012-11-23 Mike Frysinger <vapier@gentoo.org>
9254 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9256 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9260 2012-11-22 Joseph Myers <joseph@codesourcery.com>
9262 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9263 LDBL_MANT_DIG == 106]: Disable some tests.
9264 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9266 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9270 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9271 input for small inputs. Return +/- pi/2 for large inputs.
9272 * math/libm-test.inc (atan_test): Add more tests.
9274 * sysdeps/generic/unwind-dw2-fde-glibc.c
9275 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9276 __attribute__ ((unused)).
9279 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9280 x * y if x and y are nonzero and z is zero.
9283 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9284 nonzero exponents with absolute value below 0x1p-117 to +/-
9288 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9289 up arguments below 2**-450, not just those below 2**-500.
9290 * math/libm-test.inc (hypot_test): Add another test.
9293 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9294 Return a+b for ratio over 2**120, not 2**60.
9295 * math/libm-test.inc (hypot_test): Add another test.
9297 * math/libm-test.inc (clog_test): Use
9298 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9299 (clog10_test): Likewise.
9302 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9304 2012-11-22 Andreas Schwab <schwab@suse.de>
9306 * sysdeps/i386/fpu/libm-test-ulps: Update.
9308 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9310 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9311 printf output with newline.
9313 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9316 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9317 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9318 -z nodlopen, -z initfirst and -z execstack support.
9319 * configure: Regenerated.
9321 * elf/elf.h (DF_1_NODIRECT): New macro.
9322 (DF_1_IGNMULDEF): Likewise.
9323 (DF_1_NOKSYMS): Likewise.
9324 (DF_1_NOHDR): Likewise.
9325 (DF_1_EDITED): Likewise.
9326 (DF_1_NORELOC): Likewise.
9327 (DF_1_SYMINTPOSE): Likewise.
9328 (DF_1_GLOBAUDIT): Likewise.
9329 (DF_1_SINGLETON): Likewise.
9330 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9331 DT_1_SUPPORTED_MASK bits.
9332 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9334 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9336 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9338 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9340 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9343 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9344 (sendmmsg): Move declarations...
9345 * socket/sys/socket.h: ... here.
9346 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9347 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9349 * socket/recvmmsg.c: ... this new file.
9350 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9351 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9352 definition of __sendmmsg hidden.
9353 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9354 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9355 Move ENOSYS stub into and include it from...
9356 * socket/sendmmsg.c: ... this new file.
9357 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9358 (sysdep_routines): Move recvmmsg and sendmmsg...
9359 * socket/Makefile (routines): ... here.
9360 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9361 (GLIBC_PRIVATE): Add __sendmmsg.
9362 * include/sys/socket.h (__sendmmsg): Add declarations.
9363 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9366 2012-11-20 Joseph Myers <joseph@codesourcery.com>
9368 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9369 variable I1 with __attribute__ ((unused)).
9370 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9372 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9374 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9375 DUMMY variables with __attribute__ ((unused)).
9377 * bits/byteswap.h: Include <bits/types.h>.
9378 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9380 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9382 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9383 string_t. Do not manually set errno.
9384 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9385 length with __strnlen. Make sure to both set errno and return it on
9388 2012-11-19 David S. Miller <davem@davemloft.net>
9390 With help from Joseph Myers.
9391 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9392 very large arguments properly.
9393 * math/libm-test.inc (atan_test): New tests.
9394 (atan2_test): New tests.
9395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9398 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9401 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9404 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9405 [POSIX] (EADDRNOTAVAIL): Likewise.
9406 [POSIX] (EAFNOSUPPORT): Likewise.
9407 [POSIX] (EALREADY): Likewise.
9408 [POSIX] (ECONNABORTED): Likewise.
9409 [POSIX] (ECONNREFUSED): Likewise.
9410 [POSIX] (ECONNRESET): Likewise.
9411 [POSIX] (EDESTADDRREQ): Likewise.
9412 [POSIX] (EDQUOT): Likewise.
9413 [POSIX] (EHOSTUNREACH): Likewise.
9414 [POSIX] (EIDRM): Likewise.
9415 [POSIX] (EISCONN): Likewise.
9416 [POSIX] (ELOOP): Likewise.
9417 [POSIX] (EMULTIHOP): Likewise.
9418 [POSIX] (ENETDOWN): Likewise.
9419 [POSIX] (ENETUNREACH): Likewise.
9420 [POSIX] (ENOBUFS): Likewise.
9421 [POSIX] (ENODATA): Likewise.
9422 [POSIX] (ENOLINK): Likewise.
9423 [POSIX] (ENOMSG): Likewise.
9424 [POSIX] (ENOPROTOOPT): Likewise.
9425 [POSIX] (ENOSR): Likewise.
9426 [POSIX] (ENOSTR): Likewise.
9427 [POSIX] (ENOTCONN): Likewise.
9428 [POSIX] (ENOTSOCK): Likewise.
9429 [POSIX] (EOPNOTSUPP): Likewise.
9430 [POSIX] (EOVERFLOW): Likewise.
9431 [POSIX] (EPROTO): Likewise.
9432 [POSIX] (EPROTONOSUPPORT): Likewise.
9433 [POSIX] (EPROTOTYPE): Likewise.
9434 [POSIX] (ESTALE): Likewise.
9435 [POSIX] (ETIME): Likewise.
9436 [POSIX] (ETXTBSY): Likewise.
9437 [POSIX] (EWOULDBLOCK): Likewise.
9438 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9439 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9440 [POSIX] (SEEK_CUR): Likewise.
9441 [POSIX] (SEEK_END): Likewise.
9442 [POSIX || UNIX98] (mode_t): Do not require.
9443 [POSIX] (off_t): Likewise.
9444 [POSIX] (pid_t): Likewise.
9445 [POSIX] (sys/stat.h): Do not allow header.
9446 [POSIX] (unistd.h): Likewise.
9447 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9448 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9449 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9450 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9452 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9453 sigevent): Specify elements.
9454 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9456 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9457 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9459 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9460 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9461 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9462 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9463 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9464 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9465 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9466 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9467 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9468 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9469 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9470 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9471 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9472 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9474 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9476 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9478 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9480 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9481 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9482 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9483 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9484 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9485 Specify lower bound on value.
9486 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9487 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9488 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9489 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9490 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9491 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9492 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9493 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9495 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9497 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9498 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9499 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9500 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9501 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9502 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9503 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9504 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9505 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9506 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9507 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9508 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9509 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9510 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9511 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9512 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9514 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9516 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9517 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9518 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9519 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9520 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9521 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9523 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9524 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9525 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9526 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9527 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9528 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9529 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9531 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9532 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9533 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9534 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9535 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9536 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9537 specify as optional.
9538 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9539 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9540 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9541 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9542 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9543 [XPG3] (NL_LANGMAX): Likewise.
9544 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9545 [POSIX || XPG3] (NL_NMAX): Likewise.
9546 [POSIX || XPG3] (NL_SETMAX): Likewise.
9547 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9548 [XPG3] (NZERO): Likewise.
9549 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9550 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9551 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9552 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9553 (REG_ERANGE): Expect.
9554 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9556 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9557 Use (void) in prototype.
9558 [POSIX] (*_t): Allow.
9559 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9560 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9561 (WRDE_BADVAL): Expect.
9563 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9565 [XPG3 || XPG4] (O_RSYNC): Likewise.
9566 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9568 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9569 [XPG3 || XPG4] (sigqueue): Likewise.
9570 [XPG3 || XPG4] (sigtimedwait): Likewise.
9571 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9572 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9573 [XPG3 || XPG4] (vsnprintf): Likewise.
9574 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9576 [XPG3 || XPG4] (blksize_t): Likewise.
9577 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9579 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9580 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9581 [XPG3 || XPG4] (struct itimerspec): Likewise.
9582 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9583 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9584 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9585 [XPG3 || XPG4] (clockid_t): Likewise.
9586 [XPG3 || XPG4] (timer_t): Likewise.
9587 [XPG3 || XPG4] (clock_getres): Likewise.
9588 [XPG3 || XPG4] (clock_gettime): Likewise.
9589 [XPG3 || XPG4] (clock_settime): Likewise.
9590 [XPG3 || XPG4] (nanosleep): Likewise.
9591 [XPG3 || XPG4] (timer_create): Likewise.
9592 [XPG3 || XPG4] (timer_delete): Likewise.
9593 [XPG3 || XPG4] (timer_gettime): Likewise.
9594 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9595 [XPG3 || XPG4] (timer_settime): Likewise.
9596 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9597 [XPG3 || XPG4] (getlogin_r): Likewise.
9598 [XPG3 || XPG4] (pread): Likewise.
9599 [XPG3 || XPG4] (pthread_atfork): Likewise.
9600 [XPG3 || XPG4] (pwrite): Likewise.
9603 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9606 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9608 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9609 finalizing MALLSTREAM.
9611 * sysdeps/mach/hurd/syncfs.c: New file.
9613 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9616 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9617 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9618 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9619 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9620 (_nss_dns_gethostbyname4_r): Likewise.
9621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9622 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9624 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9627 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9629 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9631 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9632 * elf/cache.c (print_entry): Print ",AArch64" for
9635 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9636 * elf/cache.c (print_entry): Print ",hard-float" for
9639 2012-11-18 David S. Miller <davem@davemloft.net>
9641 With help from Joseph Myers.
9642 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9644 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9646 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9647 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9649 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9650 * math/libm-test.inc (y0_test): New tests.
9651 (y1_test): New tests.
9652 * sysdeps/i386/fpu/libm-test-ulps: Update.
9653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9656 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9658 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9660 * configure: Regenerated.
9662 2012-11-17 David S. Miller <davem@davemloft.net>
9665 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9666 nonzero exponents with absolute value below 0x1p-128 to +/-
9669 2012-11-17 Joseph Myers <joseph@codesourcery.com>
9671 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9673 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9675 * posix/getconf-speclist.c: New file.
9676 * posix/posix-envs.def: Likewise.
9677 * posix/confstr.c (START_ENV_GROUP): New macro.
9678 (END_ENV_GROUP): Likewise.
9679 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9680 (KNOWN_PRESENT_ENV_STRING): Likewise.
9681 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9682 (UNKNOWN_ENVIRONMENT): Likewise.
9683 (confstr): Include posix-envs.def instead of handling
9684 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9685 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9686 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9687 (END_ENV_GROUP): Likewise.
9688 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9689 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9690 (UNKNOWN_ENVIRONMENT): Likewise.
9691 (__sysconf): Include posix-envs.def instead of handling associated
9692 cases directly here.
9693 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9694 preprocessing getconf-speclist.c rather than running getconf or
9695 generating empty file.
9697 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9699 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9701 2012-11-16 Andrej Lajovic <natrij@gmail.com>
9704 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9706 2012-11-16 David S. Miller <davem@davemloft.net>
9708 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9709 smaller than LDBL_EPSILON/2.0L, just return xm1.
9711 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9713 * elf/tst-array1.c (init): Set constructor priority to 1000.
9714 (fini): Set destructor priority to 1000.
9715 * elf/tst-array2dep.c: Likewise.
9717 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9720 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9721 (_IO_new_file_xsputn): Also return EOF if none of the input
9722 data was written when overflow failed.
9723 * libio/iopadn.c (_IO_padn): Likewise.
9724 * libio/iowpadn.c (_IO_wpadn): Likewise.
9725 * stdio-common/tst-put-error.c: Add copyright notice.
9726 (do_test): Add case for printing padded string.
9727 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9728 _IO_padn returned error.
9729 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9730 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9733 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9735 * libio/libioP.h: Add comment note that the references to C++
9736 bits are now obsolete.
9738 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9740 * math/libm-test.inc (check_complex): Use asprintf.
9742 2012-11-14 Joseph Myers <joseph@codesourcery.com>
9744 * debug/pcprofiledump.c (print_version): Update copyright year.
9745 * malloc/memusagestat.c (print_version): Likewise.
9747 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9750 * elf/Makefile (tests): Add tst-audit8.
9751 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9752 ($(objpfx)tst-audit8.out): New target.
9753 (tst-audit8-ENV): New variable.
9754 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9755 audit if l_reloc_result is NULL.
9756 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9757 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9758 * elf/tst-audit8.c: New file.
9760 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9762 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9763 * misc/Makefile (CFLAGS-select.c): Define.
9764 * posix/Makefile (CFLAGS-pause.c): Define.
9766 2012-11-13 David S. Miller <davem@davemloft.net>
9768 * crypt/Makefile: Move test targets after toplevel Rules
9769 inclusion. Grab any necessary sysdep routines when linking.
9770 * crypt/md5.c (md5_process_block): Remove define, we will always
9771 name it __md5_process_block.
9772 (md5_finish_ctx): Update md5_process_block call.
9773 (md5_stream): Likewise.
9774 (md5_process_bytes): Likewise.
9775 (md5_process_block): Rename to __md5_process_block and move to ...
9776 * crypt/md5-block.c: ... here.
9777 * crypt/sha256.c (sha256_process_block): Move to ...
9778 * crypt/sha256-block.c: ... here.
9779 * crypt/sha512.c (sha512_process_block): Move to ...
9780 * crypt/sha512-block.c: ... here.
9781 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9783 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9784 * sysdeps/sparc/sparc64/multiarch/Makefile
9785 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9787 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9788 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9790 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9791 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9792 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9793 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9794 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9795 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9796 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9797 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9798 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9800 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9801 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9803 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9805 2012-11-13 Joseph Myers <joseph@codesourcery.com>
9807 * timezone/tzselect.ksh: Update from tzcode git revision
9808 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9809 * timezone/zdump.c: Likewise.
9810 * timezone/zic.c: Likewise.
9811 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9812 in TZVERSION setting, not $(PKGVERSION).
9813 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9814 REPORT_BUGS_TO settings.
9817 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9820 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9822 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9823 detection to immediately after _FP_ROUND().
9824 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9827 2012-11-11 David S. Miller <davem@davemloft.net>
9829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9831 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9832 __close rather than their public counterparts.
9834 2012-11-10 Joseph Myers <joseph@codesourcery.com>
9836 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9838 [UNIX98] (sem_timedwait): Do not expect.
9839 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9840 [XPG4 || UNIX98] (sockatmark): Do not expect.
9841 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9842 (clock_getcpuclockid): Do not expect.
9843 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9844 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9846 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9847 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9848 [UNIX98] (vwscanf): Likewise.
9849 [UNIX98] (vswscanf): Likewise.
9851 2012-11-09 Joseph Myers <joseph@codesourcery.com>
9853 * timezone/version.h: Remove file.
9854 * timezone/README: Do not refer to version.h.
9855 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9857 ($(objpfx)zdump.o): Likewise.
9858 ($(objpfx)version.h): New target.
9860 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9862 * timezone/README: Don't mention modification to tzselect.ksh.
9863 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9864 work on unmodified tzselect.ksh. Substitute version numbers in
9867 * Makefile (format-me): Remove.
9868 (INSTALL): Adjust indentation. Use commands directly instead of
9871 * aclocal.m4 (ACX_PKGVERSION): New macro.
9872 (ACX_BUGURL): Likewise.
9873 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9874 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9875 (REPORT_BUGS_TO): Likewise.
9876 * configure: Regenerated.
9877 * config.h.in (PKGVERSION): New macro.
9878 (REPORT_BUGS_TO): Likewise.
9879 * config.make.in (PKGVERSION): New variable.
9880 (PKGVERSION_TEXI): Likewise.
9881 (REPORT_BUGS_TO): Likewise.
9882 (REPORT_BUGS_TEXI): Likewise.
9883 * Makefile (format-me): Use -I$(common-objpfx)manual.
9884 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9885 ($(common-objpfx)manual/%): New target.
9886 (manual/%): Remove target.
9887 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9888 (print_version): Use PKGVERSION.
9889 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9890 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9892 ($(objpfx)xtrace): Likewise.
9893 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9894 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9895 (print_version): Use PKGVERSION.
9896 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9897 (do_version): Use PKGVERSION.
9898 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9900 (common-ldd-rewrite): Likewise.
9901 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9902 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9903 (print_version): Use PKGVERSION.
9904 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9905 * elf/pldd.c (argp_program_bug_address): Remove variable.
9906 (more_help): New function.
9907 (argp): Use more_help.
9908 (print_version): Use PKGVERSION.
9909 * elf/sln.c (main): Use PKGVERSION.
9910 (usage): Use REPORT_BUGS_TO.
9911 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9912 (top level): Use PKGVERSION.
9913 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9914 (print_version): Use PKGVERSION.
9915 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9916 (print_version): Use PKGVERSION.
9917 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9918 (print_version): Use PKGVERSION.
9919 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9920 (print_version): Use PKGVERSION.
9921 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9922 (print_version): Use PKGVERSION.
9923 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9924 (print_version): Use PKGVERSION.
9925 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9927 ($(objpfx)memusage): Likewise.
9928 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9929 (do_version): Use PKGVERSION.
9930 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9931 (print_version): Use PKGVERSION.
9932 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9933 ($PKGVERSION): New variable.
9934 ($REPORT_BUGS_TO): Likewise.
9935 (usage): Use $REPORT_BUGS_TO.
9936 (top level): Use $PKGVERSION.
9937 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9938 ($(objpfx)pkgvers.texi): New rule.
9939 ($(objpfx)stamp-pkgvers): Likewise.
9940 * manual/install.texi: Include pkgvers.texi.
9941 (--with-pkgversion): Document new configure option.
9942 (--with-bugurl): Likewise.
9943 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9944 than necessarily for this particular distribution. Use
9945 REPORT_BUGS_TO for where to report bugs.
9946 * INSTALL: Regenerated.
9947 * manual/libc.texinfo: Include pkgvers.texi.
9948 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9949 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9950 (print_version): Use PKGVERSION.
9951 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9952 (print_version): Use PKGVERSION.
9953 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9954 (print_version): Use PKGVERSION.
9955 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9956 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9958 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9959 (print_version): Use PKGVERSION.
9960 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9961 (print_version): Use PKGVERSION.
9962 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9965 * timezone/checktab.awk: Update from tzcode 2012i.
9966 * timezone/ialloc.c: Likewise.
9967 * timezone/private.h: Likewise.
9968 * timezone/scheck.c: Likewise.
9969 * timezone/tzfile.h: Likewise.
9970 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9971 (TZVERSION): Hardcode tzcode version number.
9972 * timezone/zdump.c: Update from tzcode 2012i.
9973 * timezone/zic.c: Likewise.
9974 * timezone/version.h: New file.
9975 * timezone/README: Describe version.h. Update upstream location.
9978 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9979 (mktemp): Enable declaration.
9980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9981 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9983 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9985 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9987 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9989 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9997 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9998 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9999 for copies of such integer values.
10000 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10001 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10003 2012-11-09 Andreas Jaeger <aj@suse.de>
10005 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10006 definitions and declarations that are provided by
10007 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10009 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10011 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10012 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10013 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10016 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10018 * elf/elf.h: Update comment before AArch64 relocations.
10020 2012-11-07 David S. Miller <davem@davemloft.net>
10022 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10023 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10024 (__start_context): Declare.
10025 (__makecontext_ret): Delete.
10026 (__makecontext): Hook up __start_context instead of
10028 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10029 (sysdep_routines): Add __start_context when in stdlib.
10031 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10033 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10034 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10035 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10037 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10038 (READELF): New variable. Use it instead of hardcoded "readelf".
10040 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10042 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10043 * sysdeps/x86/Makefile: Here.
10044 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10045 * sysdeps/x86/tst-xmmymm.sh: This.
10047 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10049 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10051 [UNIX98] (pthread_barrier_t): Do not expect.
10052 [UNIX98] (pthread_barrierattr_t): Likewise.
10053 [UNIX98] (pthread_spinlock_t): Likewise.
10054 [UNIX98] (pthread_barrier_destroy): Likewise.
10055 [UNIX98] (pthread_barrier_init): Likewise.
10056 [UNIX98] (pthread_barrier_wait): Likewise.
10057 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10058 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10059 [UNIX98] (pthread_barrierattr_init): Likewise.
10060 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10061 [UNIX98] (pthread_getcpuclockid): Likewise.
10062 [UNIX98] (pthread_mutex_timedlock): Likewise.
10063 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10064 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10065 [UNIX98] (pthread_sigmask): Likewise.
10066 [UNIX98] (pthread_spin_destroy): Likewise.
10067 [UNIX98] (pthread_spin_init): Likewise.
10068 [UNIX98] (pthread_spin_lock): Likewise.
10069 [UNIX98] (pthread_spin_trylock): Likewise.
10070 [UNIX98] (pthread_spin_unlock): Likewise.
10071 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10073 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10074 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10075 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10076 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10077 [XPG3 || XPG4] (pthread_key_t): Likewise.
10078 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10079 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10080 [XPG3 || XPG4] (pthread_once_t): Likewise.
10081 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10082 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10083 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10084 [XPG3 || XPG4] (pthread_t): Likewise.
10086 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10088 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10090 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10091 Change function return type to int.
10093 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10094 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10095 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10096 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10097 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10098 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10099 [!POSIX] (posix_madvise): Likewise.
10100 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10102 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10103 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10104 (mode_t): Likewise.
10105 (posix_mem_offset): Likewise.
10106 (posix_typed_mem_get_info): Likewise.
10107 (posix_typed_mem_open): Likewise.
10109 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10110 Change condition to [XOPEN2K8].
10112 * conform/conformtest.pl: Preprocess allow-header data with -x c
10113 instead of from stdin.
10114 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10115 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10116 [C99-based standards] (cerfc): Likewise.
10117 [C99-based standards] (cexp2): Likewise.
10118 [C99-based standards] (cexpm1): Likewise.
10119 [C99-based standards] (clog10): Likewise.
10120 [C99-based standards] (clog1p): Likewise.
10121 [C99-based standards] (clog2): Likewise.
10122 [C99-based standards] (clgamma): Likewise.
10123 [C99-based standards] (ctgamma): Likewise.
10124 [C99-based standards] (cerff): Likewise.
10125 [C99-based standards] (cerfcf): Likewise.
10126 [C99-based standards] (cexp2f): Likewise.
10127 [C99-based standards] (cexpm1f): Likewise.
10128 [C99-based standards] (clog10f): Likewise.
10129 [C99-based standards] (clog1pf): Likewise.
10130 [C99-based standards] (clog2f): Likewise.
10131 [C99-based standards] (clgammaf): Likewise.
10132 [C99-based standards] (ctgammaf): Likewise.
10133 [C99-based standards] (cerfl): Likewise.
10134 [C99-based standards] (cerfcl): Likewise.
10135 [C99-based standards] (cexp2l): Likewise.
10136 [C99-based standards] (cexpm1l): Likewise.
10137 [C99-based standards] (clog10l): Likewise.
10138 [C99-based standards] (clog1pl): Likewise.
10139 [C99-based standards] (clog2l): Likewise.
10140 [C99-based standards] (clgammal): Likewise.
10141 [C99-based standards] (ctgammal): Likewise.
10142 * conform/data/inttypes.h-data [C99-based standards]: Include
10143 stdint.h-data. Remove all expectations for stdint.h contents.
10144 [C99-based standards] (PRI*): Do not allow.
10145 [C99-based standards] (SCN*): Likewise.
10146 [C99-based standards] (*_t): Likewise.
10147 [C99-based-standards] (PRId8): Expect macro.
10148 [C99-based-standards] (PRIi8): Likewise.
10149 [C99-based-standards] (PRIo8): Likewise.
10150 [C99-based-standards] (PRIu8): Likewise.
10151 [C99-based-standards] (PRIx8): Likewise.
10152 [C99-based-standards] (PRIX8): Likewise.
10153 [C99-based-standards] (SCNd8): Likewise.
10154 [C99-based-standards] (SCNi8): Likewise.
10155 [C99-based-standards] (SCNo8): Likewise.
10156 [C99-based-standards] (SCNu8): Likewise.
10157 [C99-based-standards] (SCNx8): Likewise.
10158 [C99-based-standards] (PRIdLEAST8): Likewise.
10159 [C99-based-standards] (PRIiLEAST8): Likewise.
10160 [C99-based-standards] (PRIoLEAST8): Likewise.
10161 [C99-based-standards] (PRIuLEAST8): Likewise.
10162 [C99-based-standards] (PRIxLEAST8): Likewise.
10163 [C99-based-standards] (PRIXLEAST8): Likewise.
10164 [C99-based-standards] (SCNdLEAST8): Likewise.
10165 [C99-based-standards] (SCNiLEAST8): Likewise.
10166 [C99-based-standards] (SCNoLEAST8): Likewise.
10167 [C99-based-standards] (SCNuLEAST8): Likewise.
10168 [C99-based-standards] (SCNxLEAST8): Likewise.
10169 [C99-based-standards] (PRIdFAST8): Likewise.
10170 [C99-based-standards] (PRIiFAST8): Likewise.
10171 [C99-based-standards] (PRIoFAST8): Likewise.
10172 [C99-based-standards] (PRIuFAST8): Likewise.
10173 [C99-based-standards] (PRIxFAST8): Likewise.
10174 [C99-based-standards] (PRIXFAST8): Likewise.
10175 [C99-based-standards] (SCNdFAST8): Likewise.
10176 [C99-based-standards] (SCNiFAST8): Likewise.
10177 [C99-based-standards] (SCNoFAST8): Likewise.
10178 [C99-based-standards] (SCNuFAST8): Likewise.
10179 [C99-based-standards] (SCNxFAST8): Likewise.
10180 [C99-based-standards] (PRId16): Likewise.
10181 [C99-based-standards] (PRIi16): Likewise.
10182 [C99-based-standards] (PRIo16): Likewise.
10183 [C99-based-standards] (PRIu16): Likewise.
10184 [C99-based-standards] (PRIx16): Likewise.
10185 [C99-based-standards] (PRIX16): Likewise.
10186 [C99-based-standards] (SCNd16): Likewise.
10187 [C99-based-standards] (SCNi16): Likewise.
10188 [C99-based-standards] (SCNo16): Likewise.
10189 [C99-based-standards] (SCNu16): Likewise.
10190 [C99-based-standards] (SCNx16): Likewise.
10191 [C99-based-standards] (PRIdLEAST16): Likewise.
10192 [C99-based-standards] (PRIiLEAST16): Likewise.
10193 [C99-based-standards] (PRIoLEAST16): Likewise.
10194 [C99-based-standards] (PRIuLEAST16): Likewise.
10195 [C99-based-standards] (PRIxLEAST16): Likewise.
10196 [C99-based-standards] (PRIXLEAST16): Likewise.
10197 [C99-based-standards] (SCNdLEAST16): Likewise.
10198 [C99-based-standards] (SCNiLEAST16): Likewise.
10199 [C99-based-standards] (SCNoLEAST16): Likewise.
10200 [C99-based-standards] (SCNuLEAST16): Likewise.
10201 [C99-based-standards] (SCNxLEAST16): Likewise.
10202 [C99-based-standards] (PRIdFAST16): Likewise.
10203 [C99-based-standards] (PRIiFAST16): Likewise.
10204 [C99-based-standards] (PRIoFAST16): Likewise.
10205 [C99-based-standards] (PRIuFAST16): Likewise.
10206 [C99-based-standards] (PRIxFAST16): Likewise.
10207 [C99-based-standards] (PRIXFAST16): Likewise.
10208 [C99-based-standards] (SCNdFAST16): Likewise.
10209 [C99-based-standards] (SCNiFAST16): Likewise.
10210 [C99-based-standards] (SCNoFAST16): Likewise.
10211 [C99-based-standards] (SCNuFAST16): Likewise.
10212 [C99-based-standards] (SCNxFAST16): Likewise.
10213 [C99-based-standards] (PRId32): Likewise.
10214 [C99-based-standards] (PRIi32): Likewise.
10215 [C99-based-standards] (PRIo32): Likewise.
10216 [C99-based-standards] (PRIu32): Likewise.
10217 [C99-based-standards] (PRIx32): Likewise.
10218 [C99-based-standards] (PRIX32): Likewise.
10219 [C99-based-standards] (SCNd32): Likewise.
10220 [C99-based-standards] (SCNi32): Likewise.
10221 [C99-based-standards] (SCNo32): Likewise.
10222 [C99-based-standards] (SCNu32): Likewise.
10223 [C99-based-standards] (SCNx32): Likewise.
10224 [C99-based-standards] (PRIdLEAST32): Likewise.
10225 [C99-based-standards] (PRIiLEAST32): Likewise.
10226 [C99-based-standards] (PRIoLEAST32): Likewise.
10227 [C99-based-standards] (PRIuLEAST32): Likewise.
10228 [C99-based-standards] (PRIxLEAST32): Likewise.
10229 [C99-based-standards] (PRIXLEAST32): Likewise.
10230 [C99-based-standards] (SCNdLEAST32): Likewise.
10231 [C99-based-standards] (SCNiLEAST32): Likewise.
10232 [C99-based-standards] (SCNoLEAST32): Likewise.
10233 [C99-based-standards] (SCNuLEAST32): Likewise.
10234 [C99-based-standards] (SCNxLEAST32): Likewise.
10235 [C99-based-standards] (PRIdFAST32): Likewise.
10236 [C99-based-standards] (PRIiFAST32): Likewise.
10237 [C99-based-standards] (PRIoFAST32): Likewise.
10238 [C99-based-standards] (PRIuFAST32): Likewise.
10239 [C99-based-standards] (PRIxFAST32): Likewise.
10240 [C99-based-standards] (PRIXFAST32): Likewise.
10241 [C99-based-standards] (SCNdFAST32): Likewise.
10242 [C99-based-standards] (SCNiFAST32): Likewise.
10243 [C99-based-standards] (SCNoFAST32): Likewise.
10244 [C99-based-standards] (SCNuFAST32): Likewise.
10245 [C99-based-standards] (SCNxFAST32): Likewise.
10246 [C99-based-standards] (PRId64): Likewise.
10247 [C99-based-standards] (PRIi64): Likewise.
10248 [C99-based-standards] (PRIo64): Likewise.
10249 [C99-based-standards] (PRIu64): Likewise.
10250 [C99-based-standards] (PRIx64): Likewise.
10251 [C99-based-standards] (PRIX64): Likewise.
10252 [C99-based-standards] (SCNd64): Likewise.
10253 [C99-based-standards] (SCNi64): Likewise.
10254 [C99-based-standards] (SCNo64): Likewise.
10255 [C99-based-standards] (SCNu64): Likewise.
10256 [C99-based-standards] (SCNx64): Likewise.
10257 [C99-based-standards] (PRIdLEAST64): Likewise.
10258 [C99-based-standards] (PRIiLEAST64): Likewise.
10259 [C99-based-standards] (PRIoLEAST64): Likewise.
10260 [C99-based-standards] (PRIuLEAST64): Likewise.
10261 [C99-based-standards] (PRIxLEAST64): Likewise.
10262 [C99-based-standards] (PRIXLEAST64): Likewise.
10263 [C99-based-standards] (SCNdLEAST64): Likewise.
10264 [C99-based-standards] (SCNiLEAST64): Likewise.
10265 [C99-based-standards] (SCNoLEAST64): Likewise.
10266 [C99-based-standards] (SCNuLEAST64): Likewise.
10267 [C99-based-standards] (SCNxLEAST64): Likewise.
10268 [C99-based-standards] (PRIdFAST64): Likewise.
10269 [C99-based-standards] (PRIiFAST64): Likewise.
10270 [C99-based-standards] (PRIoFAST64): Likewise.
10271 [C99-based-standards] (PRIuFAST64): Likewise.
10272 [C99-based-standards] (PRIxFAST64): Likewise.
10273 [C99-based-standards] (PRIXFAST64): Likewise.
10274 [C99-based-standards] (SCNdFAST64): Likewise.
10275 [C99-based-standards] (SCNiFAST64): Likewise.
10276 [C99-based-standards] (SCNoFAST64): Likewise.
10277 [C99-based-standards] (SCNuFAST64): Likewise.
10278 [C99-based-standards] (SCNxFAST64): Likewise.
10279 [C99-based-standards] (PRIdMAX): Likewise.
10280 [C99-based-standards] (PRIiMAX): Likewise.
10281 [C99-based-standards] (PRIoMAX): Likewise.
10282 [C99-based-standards] (PRIuMAX): Likewise.
10283 [C99-based-standards] (PRIxMAX): Likewise.
10284 [C99-based-standards] (PRIXMAX): Likewise.
10285 [C99-based-standards] (SCNdMAX): Likewise.
10286 [C99-based-standards] (SCNiMAX): Likewise.
10287 [C99-based-standards] (SCNoMAX): Likewise.
10288 [C99-based-standards] (SCNuMAX): Likewise.
10289 [C99-based-standards] (SCNxMAX): Likewise.
10290 [C99-based-standards] (PRIdPTR): Likewise.
10291 [C99-based-standards] (PRIiPTR): Likewise.
10292 [C99-based-standards] (PRIoPTR): Likewise.
10293 [C99-based-standards] (PRIuPTR): Likewise.
10294 [C99-based-standards] (PRIxPTR): Likewise.
10295 [C99-based-standards] (PRIXPTR): Likewise.
10296 [C99-based-standards] (SCNdPTR): Likewise.
10297 [C99-based-standards] (SCNiPTR): Likewise.
10298 [C99-based-standards] (SCNoPTR): Likewise.
10299 [C99-based-standards] (SCNuPTR): Likewise.
10300 [C99-based-standards] (SCNxPTR): Likewise.
10301 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10303 * conform/data/stdint.h-data: Update comments to clarify
10305 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10307 [C99-based standards] (INT8_MAX): Likewise.
10308 [C99-based standards] (INT16_MIN): Likewise.
10309 [C99-based standards] (INT16_MAX): Likewise.
10310 [C99-based standards] (INT32_MIN): Likewise.
10311 [C99-based standards] (INT32_MAX): Likewise.
10312 [C99-based standards] (INT64_MIN): Likewise.
10313 [C99-based standards] (INT64_MAX): Likewise.
10314 [C99-based standards] (UINT8_MAX): Likewise.
10315 [C99-based standards] (UINT16_MAX): Likewise.
10316 [C99-based standards] (UINT32_MAX): Likewise.
10317 [C99-based standards] (UINT64_MAX): Likewise.
10318 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10319 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10320 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10321 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10322 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10323 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10324 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10325 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10326 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10327 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10328 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10329 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10330 [C99-based standards] (INT_FAST8_MIN): Likewise.
10331 [C99-based standards] (INT_FAST8_MAX): Likewise.
10332 [C99-based standards] (INT_FAST16_MIN): Likewise.
10333 [C99-based standards] (INT_FAST16_MAX): Likewise.
10334 [C99-based standards] (INT_FAST32_MIN): Likewise.
10335 [C99-based standards] (INT_FAST32_MAX): Likewise.
10336 [C99-based standards] (INT_FAST64_MIN): Likewise.
10337 [C99-based standards] (INT_FAST64_MAX): Likewise.
10338 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10339 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10340 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10341 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10342 [C99-based standards] (INTPTR_MIN): Likewise.
10343 [C99-based standards] (INTPTR_MAX): Likewise.
10344 [C99-based standards] (UINTPTR_MAX): Likewise.
10345 [C99-based standards] (INTMAX_MIN): Likewise.
10346 [C99-based standards] (INTMAX_MAX): Likewise.
10347 [C99-based standards] (UINTMAX_MAX): Likewise.
10348 [C99-based standards] (PTRDIFF_MIN): Likewise.
10349 [C99-based standards] (PTRDIFF_MAX): Likewise.
10350 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10351 [C99-based standards] (SIZE_MAX): Likewise.
10352 [C99-based standards] (WCHAR_MAX): Likewise.
10353 [C99-based standards] (WINT_MAX): Likewise.
10354 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10355 constraint on value.
10356 [C99-based standards] (WCHAR_MIN): Likewise.
10357 [C99-based standards] (WINT_MIN): Likewise.
10358 [C99-based standards] (*_t): Allow.
10359 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10360 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10361 Include math.h-data and complex.h-data. Remove all expectations
10362 of math.h and complex.h contents.
10363 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10365 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10366 (struct tm): Expect tag.
10367 [C99-based-standards] (wcstof): Expect function.
10368 [C99-based-standards] (wcstold): Likewise.
10369 [C99-based-standards] (wcstoll): Likewise.
10370 [C99-based-standards] (wcstoull): Likewise.
10371 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10372 macro-int-constant. Specify type.
10373 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10374 constraint on value.
10375 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10377 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10379 [ISO C standards]: Do not allow headers.
10380 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10381 wcs[abcdefghijklmnopqrstuvwxyz]*.
10382 [ISO C standards] (*_t): Do not allow.
10383 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10385 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10386 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10388 [ISO C standards]: Do not allow headers.
10389 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10390 is[abcdefghijklmnopqrstuvwxyz]*.
10391 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10392 to[abcdefghijklmnopqrstuvwxyz]*.
10393 [ISO C standards] (*_t): Do not allow.
10394 * conform/data/stdalign.h-data: New file.
10395 * conform/data/stdbool.h-data: Likewise.
10396 * conform/data/stdnoreturn.h-data: Likewise.
10398 2012-11-07 Roland McGrath <roland@hack.frob.com>
10401 * manual/filesys.texi (Directory Entries): Typo fix.
10402 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10404 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10406 * elf/elf.h (EM_AARCH64): New macro.
10407 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10408 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10409 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10410 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10411 (R_AARCH64_TLSDESC): Likewise.
10412 (NT_ARM_TLS): Likewise.
10413 (NT_ARM_HW_BREAK): Likewise.
10414 (NT_ARM_HW_WATCH): Likewise.
10416 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10419 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10420 (__ieee754_powl): Saturate nonzero exponents with absolute value
10421 below 0x1p-79 to +/- 0x1p-79.
10422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10423 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10424 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10425 nonzero exponents with absolute value below 0x1p-32 to +/-
10427 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10428 (__ieee754_powl): Saturate nonzero exponents with absolute value
10429 below 0x1p-79 to +/- 0x1p-79.
10430 * math/libm-test.inc (pow_test): Add more tests.
10432 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10434 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10435 _dl_s390_cap_flags with kernel. Increase string length.
10436 (_dl_s390_platforms): Add z196 and zEC12.
10438 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10440 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10441 Change XOPEN21K to XOPEN2K.
10443 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10445 * string/memmove.c: Use memcpy when possible.
10447 2012-11-06 Andreas Jaeger <aj@suse.de>
10449 * po/eo.po: Update from translation team.
10451 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10455 exponent and small x and y exponents, scale x or y up. Increase
10456 by 2 the exponent used in scaling up.
10457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10459 * math/libm-test.inc (fma_test): Add more tests.
10460 (fma_test_towardzero): Likewise.
10461 (fma_test_downward): Likewise.
10462 (fma_test_upward): Likewise.
10464 2012-11-05 Joseph Myers <joseph@codesourcery.com>
10467 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10471 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10472 namespace for names of struct fields.
10473 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10475 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10476 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10478 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10481 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10483 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10485 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10489 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10492 2012-11-04 Joseph Myers <joseph@codesourcery.com>
10495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10496 definitely overflow as x * y not x * y + z.
10497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10498 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10499 * math/libm-test.inc (fma_test): Add more tests.
10500 (fma_test_towardzero): Likewise.
10501 (fma_test_downward): Likewise.
10502 (fma_test_upward): Likewise.
10504 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10508 * include/stub-tag.h: Remove file.
10509 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10511 * manual/maint.texi (Porting): Don't reference it.
10512 * Makerules ($(objpfx)stubs): Likewise.
10513 * dirent/closedir.c: Don't include <stub-tag.h>.
10514 * dirent/dirfd.c: Likewise.
10515 * dirent/fdopendir.c: Likewise.
10516 * dirent/getdents.c: Likewise.
10517 * dirent/getdents64.c: Likewise.
10518 * dirent/opendir.c: Likewise.
10519 * dirent/readdir.c: Likewise.
10520 * dirent/readdir64.c: Likewise.
10521 * dirent/readdir64_r.c: Likewise.
10522 * dirent/readdir_r.c: Likewise.
10523 * dirent/rewinddir.c: Likewise.
10524 * dirent/seekdir.c: Likewise.
10525 * dirent/telldir.c: Likewise.
10526 * gmon/profil.c: Likewise.
10527 * grp/setgroups.c: Likewise.
10528 * inet/if_index.c: Likewise.
10529 * io/access.c: Likewise.
10530 * io/chdir.c: Likewise.
10531 * io/chmod.c: Likewise.
10532 * io/chown.c: Likewise.
10533 * io/close.c: Likewise.
10534 * io/dup.c: Likewise.
10535 * io/dup2.c: Likewise.
10536 * io/dup3.c: Likewise.
10537 * io/euidaccess.c: Likewise.
10538 * io/faccessat.c: Likewise.
10539 * io/fchdir.c: Likewise.
10540 * io/fchmod.c: Likewise.
10541 * io/fchmodat.c: Likewise.
10542 * io/fchown.c: Likewise.
10543 * io/fchownat.c: Likewise.
10544 * io/fcntl.c: Likewise.
10545 * io/flock.c: Likewise.
10546 * io/fstatfs.c: Likewise.
10547 * io/fstatfs64.c: Likewise.
10548 * io/fstatvfs.c: Likewise.
10549 * io/fstatvfs64.c: Likewise.
10550 * io/futimens.c: Likewise.
10551 * io/fxstat.c: Likewise.
10552 * io/fxstat64.c: Likewise.
10553 * io/fxstatat.c: Likewise.
10554 * io/fxstatat64.c: Likewise.
10555 * io/getcwd.c: Likewise.
10556 * io/isatty.c: Likewise.
10557 * io/lchmod.c: Likewise.
10558 * io/lchown.c: Likewise.
10559 * io/link.c: Likewise.
10560 * io/linkat.c: Likewise.
10561 * io/lseek.c: Likewise.
10562 * io/lseek64.c: Likewise.
10563 * io/lxstat64.c: Likewise.
10564 * io/mkdir.c: Likewise.
10565 * io/mkdirat.c: Likewise.
10566 * io/mkfifo.c: Likewise.
10567 * io/mkfifoat.c: Likewise.
10568 * io/open.c: Likewise.
10569 * io/open64.c: Likewise.
10570 * io/openat.c: Likewise.
10571 * io/openat64.c: Likewise.
10572 * io/pipe.c: Likewise.
10573 * io/pipe2.c: Likewise.
10574 * io/poll.c: Likewise.
10575 * io/posix_fadvise.c: Likewise.
10576 * io/posix_fadvise64.c: Likewise.
10577 * io/posix_fallocate.c: Likewise.
10578 * io/posix_fallocate64.c: Likewise.
10579 * io/read.c: Likewise.
10580 * io/readlink.c: Likewise.
10581 * io/readlinkat.c: Likewise.
10582 * io/rmdir.c: Likewise.
10583 * io/sendfile.c: Likewise.
10584 * io/sendfile64.c: Likewise.
10585 * io/statfs.c: Likewise.
10586 * io/statfs64.c: Likewise.
10587 * io/statvfs.c: Likewise.
10588 * io/statvfs64.c: Likewise.
10589 * io/symlink.c: Likewise.
10590 * io/symlinkat.c: Likewise.
10591 * io/ttyname.c: Likewise.
10592 * io/ttyname_r.c: Likewise.
10593 * io/umask.c: Likewise.
10594 * io/unlink.c: Likewise.
10595 * io/unlinkat.c: Likewise.
10596 * io/utime.c: Likewise.
10597 * io/utimensat.c: Likewise.
10598 * io/write.c: Likewise.
10599 * io/xmknod.c: Likewise.
10600 * io/xmknodat.c: Likewise.
10601 * io/xstat.c: Likewise.
10602 * io/xstat64.c: Likewise.
10603 * login/getpt.c: Likewise.
10604 * login/grantpt.c: Likewise.
10605 * login/unlockpt.c: Likewise.
10606 * math/e_acoshl.c: Likewise.
10607 * math/e_acosl.c: Likewise.
10608 * math/e_asinl.c: Likewise.
10609 * math/e_atan2l.c: Likewise.
10610 * math/e_atanhl.c: Likewise.
10611 * math/e_coshl.c: Likewise.
10612 * math/e_expl.c: Likewise.
10613 * math/e_fmodl.c: Likewise.
10614 * math/e_gammal_r.c: Likewise.
10615 * math/e_hypotl.c: Likewise.
10616 * math/e_j0l.c: Likewise.
10617 * math/e_j1l.c: Likewise.
10618 * math/e_jnl.c: Likewise.
10619 * math/e_lgammal_r.c: Likewise.
10620 * math/e_log10l.c: Likewise.
10621 * math/e_log2l.c: Likewise.
10622 * math/e_logl.c: Likewise.
10623 * math/e_powl.c: Likewise.
10624 * math/e_rem_pio2l.c: Likewise.
10625 * math/e_sinhl.c: Likewise.
10626 * math/e_sqrtl.c: Likewise.
10627 * math/fclrexcpt.c: Likewise.
10628 * math/fedisblxcpt.c: Likewise.
10629 * math/feenablxcpt.c: Likewise.
10630 * math/fegetenv.c: Likewise.
10631 * math/fegetexcept.c: Likewise.
10632 * math/fegetround.c: Likewise.
10633 * math/feholdexcpt.c: Likewise.
10634 * math/fesetenv.c: Likewise.
10635 * math/fesetround.c: Likewise.
10636 * math/feupdateenv.c: Likewise.
10637 * math/fgetexcptflg.c: Likewise.
10638 * math/fraiseexcpt.c: Likewise.
10639 * math/fsetexcptflg.c: Likewise.
10640 * math/ftestexcept.c: Likewise.
10641 * math/k_cosl.c: Likewise.
10642 * math/k_rem_pio2l.c: Likewise.
10643 * math/k_sinl.c: Likewise.
10644 * math/k_tanl.c: Likewise.
10645 * math/s_asinhl.c: Likewise.
10646 * math/s_atanl.c: Likewise.
10647 * math/s_cbrtl.c: Likewise.
10648 * math/s_erfl.c: Likewise.
10649 * math/s_expm1l.c: Likewise.
10650 * math/s_log1pl.c: Likewise.
10651 * math/s_tanhl.c: Likewise.
10652 * misc/acct.c: Likewise.
10653 * misc/brk.c: Likewise.
10654 * misc/chflags.c: Likewise.
10655 * misc/chroot.c: Likewise.
10656 * misc/fchflags.c: Likewise.
10657 * misc/fgetxattr.c: Likewise.
10658 * misc/flistxattr.c: Likewise.
10659 * misc/fremovexattr.c: Likewise.
10660 * misc/fsetxattr.c: Likewise.
10661 * misc/fsync.c: Likewise.
10662 * misc/ftruncate.c: Likewise.
10663 * misc/futimes.c: Likewise.
10664 * misc/futimesat.c: Likewise.
10665 * misc/getdomain.c: Likewise.
10666 * misc/getdtsz.c: Likewise.
10667 * misc/gethostid.c: Likewise.
10668 * misc/gethostname.c: Likewise.
10669 * misc/getloadavg.c: Likewise.
10670 * misc/getpagesize.c: Likewise.
10671 * misc/getsysstats.c: Likewise.
10672 * misc/getxattr.c: Likewise.
10673 * misc/gtty.c: Likewise.
10674 * misc/ioctl.c: Likewise.
10675 * misc/lgetxattr.c: Likewise.
10676 * misc/listxattr.c: Likewise.
10677 * misc/llistxattr.c: Likewise.
10678 * misc/lremovexattr.c: Likewise.
10679 * misc/lsetxattr.c: Likewise.
10680 * misc/lutimes.c: Likewise.
10681 * misc/madvise.c: Likewise.
10682 * misc/mincore.c: Likewise.
10683 * misc/mlock.c: Likewise.
10684 * misc/mlockall.c: Likewise.
10685 * misc/mmap.c: Likewise.
10686 * misc/mprotect.c: Likewise.
10687 * misc/msync.c: Likewise.
10688 * misc/munlock.c: Likewise.
10689 * misc/munlockall.c: Likewise.
10690 * misc/munmap.c: Likewise.
10691 * misc/preadv.c: Likewise.
10692 * misc/preadv64.c: Likewise.
10693 * misc/ptrace.c: Likewise.
10694 * misc/pwritev.c: Likewise.
10695 * misc/pwritev64.c: Likewise.
10696 * misc/readv.c: Likewise.
10697 * misc/reboot.c: Likewise.
10698 * misc/remap_file_pages.c: Likewise.
10699 * misc/removexattr.c: Likewise.
10700 * misc/revoke.c: Likewise.
10701 * misc/select.c: Likewise.
10702 * misc/setdomain.c: Likewise.
10703 * misc/setegid.c: Likewise.
10704 * misc/seteuid.c: Likewise.
10705 * misc/sethostid.c: Likewise.
10706 * misc/sethostname.c: Likewise.
10707 * misc/setregid.c: Likewise.
10708 * misc/setreuid.c: Likewise.
10709 * misc/setxattr.c: Likewise.
10710 * misc/sstk.c: Likewise.
10711 * misc/stty.c: Likewise.
10712 * misc/swapoff.c: Likewise.
10713 * misc/swapon.c: Likewise.
10714 * misc/sync.c: Likewise.
10715 * misc/syncfs.c: Likewise.
10716 * misc/syscall.c: Likewise.
10717 * misc/truncate.c: Likewise.
10718 * misc/ualarm.c: Likewise.
10719 * misc/usleep.c: Likewise.
10720 * misc/ustat.c: Likewise.
10721 * misc/utimes.c: Likewise.
10722 * misc/vhangup.c: Likewise.
10723 * misc/writev.c: Likewise.
10724 * posix/_exit.c: Likewise.
10725 * posix/alarm.c: Likewise.
10726 * posix/execve.c: Likewise.
10727 * posix/fexecve.c: Likewise.
10728 * posix/fork.c: Likewise.
10729 * posix/fpathconf.c: Likewise.
10730 * posix/getaddrinfo.c: Likewise.
10731 * posix/getegid.c: Likewise.
10732 * posix/geteuid.c: Likewise.
10733 * posix/getgid.c: Likewise.
10734 * posix/getgroups.c: Likewise.
10735 * posix/getlogin.c: Likewise.
10736 * posix/getlogin_r.c: Likewise.
10737 * posix/getpgid.c: Likewise.
10738 * posix/getpid.c: Likewise.
10739 * posix/getppid.c: Likewise.
10740 * posix/getresgid.c: Likewise.
10741 * posix/getresuid.c: Likewise.
10742 * posix/getsid.c: Likewise.
10743 * posix/getuid.c: Likewise.
10744 * posix/glob64.c: Likewise.
10745 * posix/nanosleep.c: Likewise.
10746 * posix/pathconf.c: Likewise.
10747 * posix/pause.c: Likewise.
10748 * posix/posix_madvise.c: Likewise.
10749 * posix/pread.c: Likewise.
10750 * posix/pread64.c: Likewise.
10751 * posix/pwrite.c: Likewise.
10752 * posix/pwrite64.c: Likewise.
10753 * posix/sched_getaffinity.c: Likewise.
10754 * posix/sched_getp.c: Likewise.
10755 * posix/sched_gets.c: Likewise.
10756 * posix/sched_primax.c: Likewise.
10757 * posix/sched_primin.c: Likewise.
10758 * posix/sched_rr_gi.c: Likewise.
10759 * posix/sched_setaffinity.c: Likewise.
10760 * posix/sched_setp.c: Likewise.
10761 * posix/sched_sets.c: Likewise.
10762 * posix/sched_yield.c: Likewise.
10763 * posix/setgid.c: Likewise.
10764 * posix/setlogin.c: Likewise.
10765 * posix/setpgid.c: Likewise.
10766 * posix/setresgid.c: Likewise.
10767 * posix/setresuid.c: Likewise.
10768 * posix/setsid.c: Likewise.
10769 * posix/setuid.c: Likewise.
10770 * posix/sleep.c: Likewise.
10771 * posix/spawni.c: Likewise.
10772 * posix/sysconf.c: Likewise.
10773 * posix/times.c: Likewise.
10774 * posix/wait.c: Likewise.
10775 * posix/wait3.c: Likewise.
10776 * posix/wait4.c: Likewise.
10777 * posix/waitpid.c: Likewise.
10778 * resolv/gai_sigqueue.c: Likewise.
10779 * resource/getpriority.c: Likewise.
10780 * resource/getrlimit.c: Likewise.
10781 * resource/getrusage.c: Likewise.
10782 * resource/nice.c: Likewise.
10783 * resource/setpriority.c: Likewise.
10784 * resource/setrlimit.c: Likewise.
10785 * resource/ulimit.c: Likewise.
10786 * rt/aio_cancel.c: Likewise.
10787 * rt/aio_fsync.c: Likewise.
10788 * rt/aio_read.c: Likewise.
10789 * rt/aio_sigqueue.c: Likewise.
10790 * rt/aio_suspend.c: Likewise.
10791 * rt/aio_write.c: Likewise.
10792 * rt/clock_getres.c: Likewise.
10793 * rt/clock_gettime.c: Likewise.
10794 * rt/clock_nanosleep.c: Likewise.
10795 * rt/clock_settime.c: Likewise.
10796 * rt/lio_listio.c: Likewise.
10797 * rt/mq_close.c: Likewise.
10798 * rt/mq_getattr.c: Likewise.
10799 * rt/mq_notify.c: Likewise.
10800 * rt/mq_open.c: Likewise.
10801 * rt/mq_receive.c: Likewise.
10802 * rt/mq_send.c: Likewise.
10803 * rt/mq_setattr.c: Likewise.
10804 * rt/mq_timedreceive.c: Likewise.
10805 * rt/mq_timedsend.c: Likewise.
10806 * rt/mq_unlink.c: Likewise.
10807 * rt/shm_open.c: Likewise.
10808 * rt/shm_unlink.c: Likewise.
10809 * rt/timer_create.c: Likewise.
10810 * rt/timer_delete.c: Likewise.
10811 * rt/timer_getoverr.c: Likewise.
10812 * rt/timer_gettime.c: Likewise.
10813 * rt/timer_settime.c: Likewise.
10814 * setjmp/__longjmp.c: Likewise.
10815 * setjmp/setjmp.c: Likewise.
10816 * signal/kill.c: Likewise.
10817 * signal/killpg.c: Likewise.
10818 * signal/raise.c: Likewise.
10819 * signal/sigaction.c: Likewise.
10820 * signal/sigaltstack.c: Likewise.
10821 * signal/sigblock.c: Likewise.
10822 * signal/sigignore.c: Likewise.
10823 * signal/sigintr.c: Likewise.
10824 * signal/signal.c: Likewise.
10825 * signal/sigpause.c: Likewise.
10826 * signal/sigpending.c: Likewise.
10827 * signal/sigqueue.c: Likewise.
10828 * signal/sigreturn.c: Likewise.
10829 * signal/sigset.c: Likewise.
10830 * signal/sigsetmask.c: Likewise.
10831 * signal/sigstack.c: Likewise.
10832 * signal/sigsuspend.c: Likewise.
10833 * signal/sigtimedwait.c: Likewise.
10834 * signal/sigvec.c: Likewise.
10835 * signal/sigwait.c: Likewise.
10836 * signal/sigwaitinfo.c: Likewise.
10837 * signal/sysv_signal.c: Likewise.
10838 * socket/accept.c: Likewise.
10839 * socket/accept4.c: Likewise.
10840 * socket/bind.c: Likewise.
10841 * socket/connect.c: Likewise.
10842 * socket/getpeername.c: Likewise.
10843 * socket/getsockname.c: Likewise.
10844 * socket/getsockopt.c: Likewise.
10845 * socket/isfdtype.c: Likewise.
10846 * socket/listen.c: Likewise.
10847 * socket/recv.c: Likewise.
10848 * socket/recvfrom.c: Likewise.
10849 * socket/recvmsg.c: Likewise.
10850 * socket/send.c: Likewise.
10851 * socket/sendmsg.c: Likewise.
10852 * socket/sendto.c: Likewise.
10853 * socket/setsockopt.c: Likewise.
10854 * socket/shutdown.c: Likewise.
10855 * socket/sockatmark.c: Likewise.
10856 * socket/socket.c: Likewise.
10857 * socket/socketpair.c: Likewise.
10858 * stdio-common/ctermid.c: Likewise.
10859 * stdio-common/cuserid.c: Likewise.
10860 * stdio-common/remove.c: Likewise.
10861 * stdio-common/rename.c: Likewise.
10862 * stdio-common/renameat.c: Likewise.
10863 * stdio-common/tempname.c: Likewise.
10864 * stdlib/getcontext.c: Likewise.
10865 * stdlib/makecontext.c: Likewise.
10866 * stdlib/setcontext.c: Likewise.
10867 * stdlib/swapcontext.c: Likewise.
10868 * stdlib/system.c: Likewise.
10869 * streams/fattach.c: Likewise.
10870 * streams/fdetach.c: Likewise.
10871 * streams/getmsg.c: Likewise.
10872 * streams/getpmsg.c: Likewise.
10873 * streams/putmsg.c: Likewise.
10874 * streams/putpmsg.c: Likewise.
10875 * sysdeps/unix/bsd/getpt.c: Likewise.
10876 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10877 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10878 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10881 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10882 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10883 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10884 * sysvipc/msgctl.c: Likewise.
10885 * sysvipc/msgget.c: Likewise.
10886 * sysvipc/msgrcv.c: Likewise.
10887 * sysvipc/msgsnd.c: Likewise.
10888 * sysvipc/semctl.c: Likewise.
10889 * sysvipc/semget.c: Likewise.
10890 * sysvipc/semop.c: Likewise.
10891 * sysvipc/semtimedop.c: Likewise.
10892 * sysvipc/shmat.c: Likewise.
10893 * sysvipc/shmctl.c: Likewise.
10894 * sysvipc/shmdt.c: Likewise.
10895 * sysvipc/shmget.c: Likewise.
10896 * termios/tcdrain.c: Likewise.
10897 * termios/tcflow.c: Likewise.
10898 * termios/tcflush.c: Likewise.
10899 * termios/tcgetattr.c: Likewise.
10900 * termios/tcgetpgrp.c: Likewise.
10901 * termios/tcsendbrk.c: Likewise.
10902 * termios/tcsetattr.c: Likewise.
10903 * termios/tcsetpgrp.c: Likewise.
10904 * time/adjtime.c: Likewise.
10905 * time/clock.c: Likewise.
10906 * time/getitimer.c: Likewise.
10907 * time/gettimeofday.c: Likewise.
10908 * time/setitimer.c: Likewise.
10909 * time/settimeofday.c: Likewise.
10910 * time/stime.c: Likewise.
10911 * time/time.c: Likewise.
10913 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
10915 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10918 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10920 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10922 2012-11-03 Joseph Myers <joseph@codesourcery.com>
10925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10926 FE_TONEAREST before applying Dekker multiplication and Knuth
10927 addition. Clear inexact exceptions and check for exact zero
10928 results afterwards.
10929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10930 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10932 * math/libm-test.inc (fma_test): Add more tests.
10933 (fma_test_towardzero): Likewise.
10934 (fma_test_downward): Likewise.
10935 (fma_test_upward): Likewise.
10936 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10938 (libc_fesetround): New macro.
10939 (libc_fesetroundf): Likewise.
10940 (libc_fesetroundl): Likewise.
10941 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10943 (libc_fesetround_387): Likewise.
10944 (libc_fesetroundf): New macro.
10945 (libc_fesetround): Likewise.
10946 (libc_fesetroundl): Likewise.
10947 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10949 (libc_fesetroundf): New macro.
10950 (libc_fesetround): Likewise.
10951 (libc_fesetroundl): Likewise.
10952 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10953 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10954 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10956 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10957 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10959 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10960 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10962 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10966 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10967 integer constant usable in #if and use that to give value to enum
10969 (FE_DIVBYZERO): Likewise.
10970 (FE_UNDERFLOW): Likewise.
10971 (FE_OVERFLOW): Likewise.
10972 (FE_INVALID): Likewise.
10973 (FE_INVALID_SNAN): Likewise.
10974 (FE_INVALID_ISI): Likewise.
10975 (FE_INVALID_IDI): Likewise.
10976 (FE_INVALID_ZDZ): Likewise.
10977 (FE_INVALID_IMZ): Likewise.
10978 (FE_INVALID_COMPARE): Likewise.
10979 (FE_INVALID_SOFTWARE): Likewise.
10980 (FE_INVALID_SQRT): Likewise.
10981 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10982 (FE_TONEAREST): Likewise.
10983 (FE_TOWARDZERO): Likewise.
10984 (FE_UPWARD): Likewise.
10985 (FE_DOWNWARD): Likewise.
10986 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10987 (FE_DIVBYZERO): Likewise.
10988 (FE_OVERFLOW): Likewise.
10989 (FE_UNDERFLOW): Likewise.
10990 (FE_INEXACT): Likewise.
10991 (FE_TONEAREST): Likewise.
10992 (FE_DOWNWARD): Likewise.
10993 (FE_UPWARD): Likewise.
10994 (FE_TOWARDZERO): Likewise.
10995 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10996 (FE_UNDERFLOW): Likewise.
10997 (FE_OVERFLOW): Likewise.
10998 (FE_DIVBYZERO): Likewise.
10999 (FE_INVALID): Likewise.
11000 (FE_TONEAREST): Likewise.
11001 (FE_TOWARDZERO): Likewise.
11002 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11003 (FE_OVERFLOW): Likewise.
11004 (FE_UNDERFLOW): Likewise.
11005 (FE_DIVBYZERO): Likewise.
11006 (FE_INEXACT): Likewise.
11007 (FE_TONEAREST): Likewise.
11008 (FE_TOWARDZERO): Likewise.
11009 (FE_UPWARD): Likewise.
11010 (FE_DOWNWARD): Likewise.
11011 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11012 (FE_DIVBYZERO): Likewise.
11013 (FE_OVERFLOW): Likewise.
11014 (FE_UNDERFLOW): Likewise.
11015 (FE_INEXACT): Likewise.
11016 (FE_TONEAREST): Likewise.
11017 (FE_DOWNWARD): Likewise.
11018 (FE_UPWARD): Likewise.
11019 (FE_TOWARDZERO): Likewise.
11021 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11023 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11025 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11027 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11028 commands. Quote $PWD.
11029 (blacklist_exports): Don't use remove_newlines. Replace "declare
11031 (remove_newlines): Remove.
11033 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11035 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11036 * stdlib/stdlib.h (atof): Moved to ...
11037 * include/bits/stdlib-float.h: Here. New file.
11038 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11039 * stdlib/bits/stdlib-float.h: New file.
11040 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11042 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11045 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11047 * conform/conformtest.pl (@headers): Add fenv.h.
11048 * conform/data/fenv.h-data: New file.
11049 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11050 include of <math/fenv.h>.
11052 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11053 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11054 && !UNIX98]. Enables tests for XOPEN2K8.
11055 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11056 POSIX2008]: Likewise.
11058 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11059 (struct rusage): Do not expect type or its members.
11062 * math/math.h (FP_NAN): Define macro to integer constant usable in
11063 #if and use that to give value to enum constant.
11064 (FP_INFINITE): Likewise.
11065 (FP_ZERO): Likewise.
11066 (FP_SUBNORMAL): Likewise.
11067 (FP_NORMAL): Likewise.
11069 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11071 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11072 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11075 2012-11-02 Roland McGrath <roland@hack.frob.com>
11077 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11078 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11079 autoconf-time if not.
11080 * configure.in: Remove AC_PREREQ.
11082 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11084 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11085 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11086 of the internal implementation.
11088 2012-11-02 Joseph Myers <joseph@codesourcery.com>
11090 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11091 except include of <misc/sys/syslog.h>.
11093 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11096 function returns with a NULL context exit with zero.
11098 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11100 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11102 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11104 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11105 (run_program_cmd): This.
11106 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11107 (tst_langinfo): New variable. Use it.
11109 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11111 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11112 floating point opcodes.
11114 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11116 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11119 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11121 * sysdeps/mach/hurd/powerpc: Remove directory.
11122 * sysdeps/mach/powerpc: Likewise.
11124 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11126 * scripts/check-local-headers.sh: Ignore c++ headers.
11128 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11130 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11131 __libc_cleanup_region_start argument.
11133 2012-11-01 Joseph Myers <joseph@codesourcery.com>
11137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11138 x * y using scaling, not as x * y + z.
11139 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11140 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11141 * math/libm-test.inc (fma_test): Add more tests.
11142 (fma_test_towardzero): Likewise.
11143 (fma_test_downward): Likewise.
11144 (fma_test_upward): Likewise.
11146 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11148 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11150 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11152 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11155 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11157 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11159 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11166 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11169 Fix the order of the list for glibc 2.17.
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11173 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11177 2012-10-31 Joseph Myers <joseph@codesourcery.com>
11180 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11181 for low part of x being zero before using __atanl (y).
11182 * math/libm-test.inc (atan2_test): Add another test.
11184 * manual/install.texi (Configuring and compiling): Document
11185 general use of test-wrapper and test-wrapper-env.
11186 * INSTALL: Regenerated.
11188 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11189 (__fma): Do not extract and scale down low bits on after-rounding
11190 systems when result rounded to normal precision would have normal
11192 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11193 (__fmal): Do not extract and scale down low bits on after-rounding
11194 systems when result rounded to normal precision would have normal
11196 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11197 (__fmal): Do not extract and scale down low bits on after-rounding
11198 systems when result rounded to normal precision would have normal
11200 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11202 (fma_test): Add more tests.
11203 (fma_test_towardzero): Likewise.
11204 (fma_test_downward): Likewise.
11205 (fma_test_upward): Likewise.
11207 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11209 * sysdeps/i386/tininess.h: Renamed to ...
11210 * sysdeps/x86/tininess.h: This.
11211 * sysdeps/x86_64/tininess.h: Removed.
11213 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11215 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11216 input. Use $(build-program-cmd).
11217 ($(objpfx)tst-array1-static.out): Likewise.
11218 ($(objpfx)tst-array2.out): Likewise.
11219 ($(objpfx)tst-array3.out): Likewise.
11220 ($(objpfx)tst-array4.out): Likewise.
11221 ($(objpfx)tst-array5.out): Likewise.
11222 ($(objpfx)tst-array5-static.out): Likewise.
11224 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11226 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11229 * nss/nsswitch.h (nss_interface_function): Provide new
11230 macro for use with NSS functions.
11231 * grp/initgroups.c: Use new macro.
11232 * nss/getXXbyYY.c: Likewise.
11233 * nss/getXXbyYY_r.c: Likewise.
11234 * nss/getXXent.c: Likewise.
11235 * nss/getXXent_r.c: Likewise.
11236 * sysdeps/posix/getaddrinfo.c: Likewise.
11238 2012-10-30 Andreas Jaeger <aj@suse.de>
11240 * po/ru.po: Update Russion translation from translation project.
11242 2012-10-30 Joseph Myers <joseph@codesourcery.com>
11246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11247 result and shift together with sticky bit instead of replicating
11248 round-to-nearest rounding.
11249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11250 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11251 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11252 missing underflow exceptions.
11253 (fma_test_towardzero): Add more tests.
11254 (fma_test_downward): Likewise.
11255 (fma_test_upward): Likewise.
11258 * sysdeps/generic/tininess.h: New file.
11259 * sysdeps/i386/tininess.h: Likewise.
11260 * sysdeps/sh/tininess.h: Likewise.
11261 * sysdeps/x86_64/tininess.h: Likewise.
11262 * stdlib/tst-strtod-underflow.c: Likewise.
11263 * stdlib/tst-tininess.c: Likewise.
11264 * stdlib/strtod_l.c: Include <tininess.h>.
11265 (round_and_return): Do not set errno for exact underflow cases.
11266 Force an underflow exception when setting errno for underflow.
11267 Determine underflow based on rounding to normal precision if
11268 TININESS_AFTER_ROUNDING.
11269 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11270 ERANGE for exact underflow cases.
11271 * stdlib/Makefile (tests): Add tst-tininess and
11272 tst-strtod-underflow.
11273 ($(objpfx)tst-tininess): Use $(link-libm).
11274 ($(objpfx)tst-strtod-underflow): Likewise.
11276 2012-10-30 Andreas Jaeger <aj@suse.de>
11279 * elf/Makefile (tests): Remove conditional for have-initfini-array
11280 since this is now always required and the variable does not exist
11282 (tests-static): Likewise.
11283 (modules-names): Likewise.
11285 * po/eo.po: Add Esperanto translation from translation project.
11287 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11288 merged with constructor/destructor.
11289 (init_array): Likewise.
11290 * elf/tst-array2dep.c (fini_array): Likewise.
11291 (init_array): Likewise.
11293 2012-10-29 Mike Frysinger <vapier@gentoo.org>
11295 * manual/message.texi: Delete @cartouche tags.
11297 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11299 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11301 * sysdeps/mach/hurd/fsync.c: Likewise.
11303 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11304 [_POSIX_REALTIME_SIGNALS]: Change condition to
11305 [_POSIX_REALTIME_SIGNALS > 0].
11307 2012-10-27 Andreas Jaeger <aj@suse.de>
11309 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11310 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11312 [__WORDSIZE != 64]: Likewise.
11314 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11316 * iconvdata/tst-table.sh: Remove ${SHELL}.
11317 * iconvdata/tst-tables.sh: Likewise.
11319 2012-10-25 David S. Miller <davem@davemloft.net>
11321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11322 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11327 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11328 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11329 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11332 2012-10-25 Roland McGrath <roland@hack.frob.com>
11334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11335 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11338 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11339 Jim Blandy <jimb@codesourcery.com>
11341 * scripts/cross-test-ssh.sh: New file.
11342 * manual/install.texi (Configuring and compiling): Document use of
11344 * INSTALL: Regenerated.
11346 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11348 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11351 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11353 * Makeconfig (run-program-prefix): Fix comment.
11355 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11356 Jim Blandy <jimb@codesourcery.com>
11358 * Makeconfig (test-wrapper): New variable,
11359 (test-wrapper-env): Likewise.
11360 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11361 (run-built-tests): Define to yes.
11362 (run-program-prefix): Use $(test-wrapper).
11363 (built-program-cmd): Likewise.
11364 * Rules (make-test-out): Use $(test-wrapper-env) and
11365 $(host-built-program-cmd).
11366 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11367 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11369 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11370 $(test-wrapper-env) to tst-rtld-load-self.sh.
11371 ($(objpfx)order2.out): Use $(test-wrapper).
11372 ($(objpfx)tst-initorder.out): Likewise.
11373 ($(objpfx)tst-initorder2.out): Likewise.
11374 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11375 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11376 (test_wrapper_env): New variable. Use it to run ld.so.
11377 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11378 Use it to run ld.so.
11379 (test_wrapper_env): Likewise.
11380 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11381 $(test-wrapper) to run-iconv-test.sh.
11382 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11383 (ICONV): Use $test_wrapper.
11384 * posix/Makefile ($(objpfx)globtest.out): Pass
11385 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11386 globtest.sh, not $(run-program-prefix).
11387 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11388 (test_wrapper): Likewise.
11389 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11390 set together with run_via_rtld_prefix.
11391 (run_program_prefix): Define in terms of test_wrapper and
11392 run_via_rtld_prefix.
11394 2012-10-24 Roland McGrath <roland@hack.frob.com>
11396 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11397 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11401 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11402 Declare __clock_getres, __clock_gettime, __clock_settime,
11403 __clock_nanosleep, and __clock_getcpuclockid.
11404 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11405 Remove librt_hidden_def (clock_gettime).
11406 * sysdeps/unix/clock_gettime.c: Likewise.
11407 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11408 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11409 * rt/clock_getres.c: Define __clock_getres as an alias.
11410 * sysdeps/posix/clock_getres.c: Likewise.
11411 * rt/clock_settime.c: Define __clock_settime as an alias.
11412 * sysdeps/unix/clock_settime.c: Likewise.
11413 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11414 * sysdeps/unix/clock_nanosleep.c: Likewise.
11415 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11416 * rt/clock-compat.c: New file.
11417 * rt/Makefile (librt-routines): Add clock-compat and move
11418 $(clock-routines) to ...
11419 (routines): ... here, new variable.
11420 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11421 Don't add get_clockfreq here.
11422 * rt/Versions (libc: GLIBC_2.17): New version set.
11423 Add clock_* symbols here.
11424 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11425 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11426 (GLIBC_2.17): Add clock_* symbols.
11427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11438 * NEWS: Mention the move.
11440 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11441 Use __open, __read, __close rather than their public counterparts.
11442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11443 (__get_clockfreq_via_cpuinfo): Likewise.
11444 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11445 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11447 * config.h.in (HAVE_IFUNC): New #undef.
11448 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11450 * configure: Regenerated.
11452 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11454 * configure.in: Move READELF check to start of file.
11455 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11456 libc_cv_asm_gnu_indirect_function in the process.
11457 * configure: Regenerated.
11459 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11461 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11462 send the output to /dev/null.
11463 (libc_cv_cc_with_libunwind): Likewise.
11464 (libc_cv_as_noexecstack): Likewise.
11465 * configure: Regenerate.
11467 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11469 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11471 * posix/globtest.sh (TMPDIR): Do not set.
11472 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11473 (testout): Likewise.
11475 2012-10-24 Andreas Jaeger <aj@suse.de>
11477 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11478 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11479 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11480 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11481 posix_fadvise64, posix_fallocate64.
11483 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11484 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11485 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11487 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11489 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11491 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11492 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11493 <bits/fcntl-linux.h>.
11494 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11497 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11498 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11499 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11500 [__WORDSIZE != 64]: Likewise.
11502 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11504 * Makeconfig (run-built-tests): New variable.
11505 * Rules [$(cross-compiling) = yes]: Change condition to
11506 [$(run-built-tests) = no].
11507 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11508 to [$(run-built-tests) = yes].
11509 * elf/Makefile [$(cross-compiling) = no]: Likewise
11510 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11511 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11512 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11513 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11514 * io/Makefile [$(cross-compiling) = no]: Likewise.
11515 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11516 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11517 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11518 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11519 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11520 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11521 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11522 * string/Makefile [$(cross-compiling) = no]: Likewise.
11524 * posix/Makefile ($(objpfx)globtest.out): Pass
11525 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11526 $(rtld-installed-name).
11527 * posix/globtest.sh (elf_objpfx): Remove variable.
11528 (rtld_installed_name): Likewise.
11529 (library_path): Likewise.
11530 (run_program_prefix): New variable. Use for running globtest
11533 2012-10-23 Jim Blandy <jimb@codesourcery.com>
11534 Joseph Myers <joseph@codesourcery.com>
11536 * Makeconfig (host-built-program-cmd): New variable.
11537 * elf/Makefile (tst-stackguard1-ARGS): Use
11538 $(host-built-program-cmd).
11539 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11540 (tst-spawn-ARGS): Likewise.
11541 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11543 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11544 Jim Blandy <jimb@codesourcery.com>
11546 * Makeconfig (run-via-rtld-prefix): New variable.
11547 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11548 (built-program-cmd): Likewise.
11550 2012-10-22 Andreas Jaeger <aj@suse.de>
11552 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11553 __O_RSYNC if it exists, otherwise to O_SYNC.
11555 2012-10-22 Jim Blandy <jimb@codesourcery.com>
11556 Joseph Myers <joseph@codesourcery.com>
11558 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11560 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11562 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11565 2012-10-22 Andreas Jaeger <aj@suse.de>
11567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11569 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11572 bits/fcntl-linux.h.
11574 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11575 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11582 2012-10-21 Jim Blandy <jimb@codesourcery.com>
11583 Joseph Myers <joseph@codesourcery.com>
11585 * config.make.in (NM): New variable.
11587 2012-10-21 Andreas Jaeger <aj@suse.de>
11589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11590 definitions and declarations that are provided by
11591 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11593 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11596 * elf/Makefile (tests-static): Add tst-leaks1-static.
11597 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11598 ($(objpfx)tst-leaks1-static): New rule.
11599 ($(objpfx)tst-leaks1-static-mem): Likewise.
11600 (tst-leaks1-static-ENV): New macro.
11601 * elf/dl-open.c (dl_open_worker): Check the main application
11602 only if SHARED is defined.
11603 * elf/tst-leaks1-static.c: New file.
11605 2012-10-20 Andreas Jaeger <aj@suse.de>
11607 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11608 generic values for Linux.
11609 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11610 and declarations that are provided by <bits/fcntl-linux.h> and
11611 include <bits/fcntl-linux.h>.
11612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11615 2012-10-20 Roland McGrath <roland@hack.frob.com>
11617 * io/fcntl.h: Move include of <bits/types.h> to the top and
11618 include it unconditionally.
11620 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11622 * wcsmbs/Makefile (tests-ifunc): New variable.
11623 (tests): Add $(tests-ifunc).
11624 * wcsmbs/test-wcschr-ifunc.c: New file.
11625 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11626 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11627 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11628 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11629 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11631 * string/Makefile (tests-ifunc): New variable.
11632 (tests): Add $(tests-ifunc).
11633 * string/test-memccpy.c (TEST_NAME): New macro.
11634 * string/test-memchr.c (TEST_NAME): Likewise.
11635 * string/test-memcmp.c (TEST_NAME): Likewise.
11636 * string/test-memcpy.c (TEST_NAME): Likewise.
11637 * string/test-memmem.c (TEST_NAME): Likewise.
11638 * string/test-memmove.c (TEST_NAME): Likewise.
11639 * string/test-memset.c (TEST_NAME): Likewise.
11640 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11641 * string/test-stpcpy.c (TEST_NAME): Likewise.
11642 * string/test-stpncpy.c (TEST_NAME): Likewise.
11643 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11644 * string/test-strcasestr.c (TEST_NAME): Likewise.
11645 * string/test-strcat.c (TEST_NAME): Likewise.
11646 * string/test-strchr.c (TEST_NAME): Likewise.
11647 * string/test-strcmp.c(TEST_NAME): Likewise.
11648 * string/test-strcpy.c (TEST_NAME): Likewise.
11649 * string/test-strcspn.c (TEST_NAME): Likewise.
11650 * string/test-strlen.c (TEST_NAME): Likewise.
11651 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11652 * string/test-strncmp.c (TEST_NAME): Likewise.
11653 * string/test-strncpy.c (TEST_NAME): Likewise.
11654 * string/test-strnlen.c (TEST_NAME): Likewise.
11655 * string/test-strpbrk.c (TEST_NAME): Likewise.
11656 * string/test-strrchr.c (TEST_NAME): Likewise.
11657 * string/test-strspn.c (TEST_NAME): Likewise.
11658 * string/test-strstr.c (TEST_NAME): Likewise.
11659 * string/test-bcopy-ifunc.c: New file.
11660 * string/test-bzero-ifunc.c: Likewise.
11661 * string/test-memccpy-ifunc.c: Likewise.
11662 * string/test-memchr-ifunc.c: Likewise.
11663 * string/test-memcmp-ifunc.c: Likewise.
11664 * string/test-memcpy-ifunc.c: Likewise.
11665 * string/test-memmem-ifunc.c: Likewise.
11666 * string/test-memmove-ifunc.c: Likewise.
11667 * string/test-mempcpy-ifunc.c: Likewise.
11668 * string/test-memset-ifunc.c: Likewise.
11669 * string/test-rawmemchr-ifunc.c: Likewise.
11670 * string/test-stpcpy-ifunc.c: Likewise.
11671 * string/test-stpncpy-ifunc.c: Likewise.
11672 * string/test-strcasecmp-ifunc.c: Likewise.
11673 * string/test-strcasestr-ifunc.c: Likewise.
11674 * string/test-strcat-ifunc.c: Likewise.
11675 * string/test-strchr-ifunc.c: Likewise.
11676 * string/test-strchrnul-ifunc.c: Likewise.
11677 * string/test-strcmp-ifunc.c: Likewise.
11678 * string/test-strcpy-ifunc.c: Likewise.
11679 * string/test-strcspn-ifunc.c: Likewise.
11680 * string/test-strlen-ifunc.c: Likewise.
11681 * string/test-strncasecmp-ifunc.c: Likewise.
11682 * string/test-strncat-ifunc.c: Likewise.
11683 * string/test-strncmp-ifunc.c: Likewise.
11684 * string/test-strncpy-ifunc.c: Likewise.
11685 * string/test-strnlen-ifunc.c: Likewise.
11686 * string/test-strpbrk-ifunc.c: Likewise.
11687 * string/test-strrchr-ifunc.c: Likewise.
11688 * string/test-strspn-ifunc.c: Likewise.
11689 * string/test-strstr-ifunc.c: Likewise.
11691 * debug/Makefile (tests-ifunc): New variable.
11692 (tests): Add $(tests-ifunc).
11693 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11694 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11695 * debug/test-stpcpy_chk-ifunc.c: New file.
11696 * debug/test-strcpy_chk-ifunc.c: Likewise.
11698 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11701 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11702 header is not read in.
11704 2012-10-19 Joseph Myers <joseph@codesourcery.com>
11706 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11707 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11708 directly. Pass built executable to script as
11709 $(built-program-cmd).
11710 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11711 $testprogram without using LD_LIBRARY_PATH and $ldso.
11713 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11714 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11715 $(rtld-installed-name).
11716 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11717 (rtld_installed_name): Likewise.
11718 (library_path): Likewise.
11719 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11720 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11721 $(run-program-prefix) to tst-tables.sh.
11722 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11723 it to run tst-table-from and tst-table-to.
11724 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11725 Pass it to tst-table.sh.
11726 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11727 $(run-program-prefix) to tst-gettext.sh.
11728 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11730 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11732 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11733 to run tst-gettext.
11734 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11735 to run tst-gettext2.
11736 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11737 to run tst-translit.
11738 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11739 $(run-program-prefix) to tst-mtrace.sh.
11740 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11742 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11743 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11744 $(rtld-installed-name).
11745 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11746 (rtld_installed_name): Likewise.
11747 (run_program_prefix): New variable. Use it to run wordexp-test.
11749 * Makeconfig (ARCH): Remove all definitions.
11750 (machine): Likewise.
11751 [ARCH]: Remove conditional code.
11752 [!objdir]: Give error.
11753 [!objdir] (objpfx): Remove.
11754 [!objdir] (common-objpfx): Likewise.
11755 [!objdir] (common-objdir): Likewise.
11756 * configure.in (config_makefile): Remove. Hardcode Makefile in
11757 AC_CONFIG_FILES call.
11758 * configure: Regenerated.
11761 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11763 (testout): Likewise.
11765 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11766 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11767 $(rtld-installed-name).
11768 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11769 (rtld_installed_name): Likwise.
11770 (runit): Remove function.
11771 (run_getconf): New variable, Use it for running getconf binary.
11773 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11776 * string/test-memmem.c (check_result): New function.
11777 (do_one_test): Use it.
11778 (check1): New function.
11779 (test_main): Use it.
11781 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11783 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11785 2012-10-18 Joseph Myers <joseph@codesourcery.com>
11787 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11788 (_G_LSEEK64): Likewise.
11789 (_G_MMAP64): Likewise.
11790 (_G_FSTAT64): Likewise.
11791 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11792 (_G_LSEEK64): Likewise.
11793 (_G_MMAP64): Likewise.
11794 (_G_FSTAT64): Likewise.
11795 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11796 unconditional. Call __mmap64 directly.
11797 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11798 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11799 __lseek64 directly.
11800 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11801 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11803 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11804 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11805 __lseek64 directly.
11806 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11807 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11808 __lseek64 directly.
11809 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11810 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11811 __lseek64 directly.
11812 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11813 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11814 __fxstat64 directly.
11815 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11816 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11818 (freopen64) [!_G_OPEN64]: Remove conditional code.
11819 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11821 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11822 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11824 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11825 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11827 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11828 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11830 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11831 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11833 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11834 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11836 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11837 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11839 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11841 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11844 * manual/memory.texi (Malloc Tunable Parameters): Add note
11845 about free list pointers overwriting some perturb bytes.
11846 Wording suggested by Roland McGrath.
11848 2012-10-17 Joseph Myers <joseph@codesourcery.com>
11850 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11851 (lgamma_test): Likewise.
11852 (tgamma_test): Likewise.
11854 2012-10-16 Florian Weimer <fweimer@redhat.com>
11857 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11858 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11860 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11862 * NEWS: Mention BZ #14716.
11863 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11864 when removing AVAILABLE1_USES_J macro.
11866 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11868 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11869 (__bswap_64): __uint64_t for unsigned 64-bit int.
11871 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11873 * include/string.h (memmem): Declare libc hidden alias.
11874 * string/memmem.c (memmem): Define libc hidden alias.
11875 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11876 __read, __close instead of open, read, close.
11878 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11880 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11881 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11883 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11884 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11885 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11887 (__rawmemchr_sse2): Likewise.
11888 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11889 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11890 (__strchr_sse2): Likewise.
11891 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11892 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11893 (__strcasecmp_sse2): Likewise.
11894 (__strncasecmp_sse2): Likewise.
11895 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11896 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11897 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11898 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11899 (__strrchr_sse2): Likewise.
11900 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11902 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11903 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11904 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11905 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11906 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11907 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11908 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11909 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11910 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11911 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11912 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11913 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11914 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11915 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11916 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11917 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11918 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11919 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11920 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11921 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11922 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11923 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11924 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11925 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11926 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11927 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11928 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11929 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11930 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11931 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11933 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11935 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11936 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11937 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11938 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11940 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11942 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11943 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11944 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11945 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11947 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11948 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11949 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11950 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11951 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11952 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11953 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11954 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11955 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11956 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11957 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11958 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11959 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11960 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11961 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11962 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11963 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11964 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11965 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11966 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11967 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11968 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11969 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11970 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11972 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11973 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11974 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11975 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11976 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11977 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11978 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11979 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11980 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11981 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11982 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11983 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11984 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11985 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11986 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11987 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11989 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11990 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11991 * include/ifunc-impl-list.h: New file.
11992 * misc/ifunc-impl-list.c: Likewise.
11993 * misc/Makefile (routines): Add ifunc-impl-list.
11994 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11995 * string/test-string.h: Include <ifunc-impl-list.h>.
11996 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11997 impl_array): New variables.
11998 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12000 (test_init): Call __libc_ifunc_impl_list to initialize
12001 func_list if TEST_IFUNC and TEST_NAME are defined.
12003 * string/Makefile (strop-tests): Add bcopy and bzero.
12004 * string/test-bcopy.c: New file.
12005 * string/test-bzero.c: Likewise.
12006 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12008 * string/test-memset.c: Support bzero test if TEST_BZERO is
12010 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12012 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12014 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12017 2012-10-10 Joseph Myers <joseph@codesourcery.com>
12019 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12020 * configure: Regenerated.
12022 * Makeconfig (+link-static-before-libc): Don't include
12023 $(link-static-libc).
12025 * libio/libio.h (_IO_pos_t): Remove.
12027 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12029 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12032 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12034 * crypt/crypt-entry.c: Include fips-private.h.
12035 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12036 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12037 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12038 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12040 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
12042 * crypt/crypt-private.h: Include stdbool.h.
12043 (_ufc_setup_salt_r): Return bool.
12044 * crypt/crypt-entry.c: Include errno.h.
12045 (__crypt_r): Return NULL with EINVAL for bad salt.
12046 * crypt/crypt_util.c (bad_for_salt): New.
12047 (_ufc_setup_salt_r): Check that salt is long enough and within
12048 the specified alphabet.
12049 * crypt/badsalttest.c: New file.
12050 * crypt/Makefile (tests): Add it.
12051 ($(objpfx)badsalttest): New.
12053 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12055 * NEWS: Add entry for BZ #14602.
12057 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12059 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12061 * math/libm-test.inc: Update comment listing what functions and
12063 (isgreater_test): New function.
12064 (isgreaterequal_test): Likewise.
12065 (isless_test): Likewise.
12066 (islessequal_test): Likewise.
12067 (islessgreater_test): Likewise.
12068 (isunordered_test): Likewise.
12069 (main): Call the new functions.
12071 2012-10-09 Roland McGrath <roland@hack.frob.com>
12073 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12074 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12075 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12076 * sysdeps/i386/configure: Regenerated.
12077 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12078 * sysdeps/mach/configure: Regenerated.
12079 * sysdeps/mach/hurd/configure: Regenerated.
12080 * sysdeps/powerpc/configure: Regenerated.
12081 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12082 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12083 * sysdeps/s390/s390-32/configure: Regenerated.
12084 * sysdeps/s390/s390-64/configure: Regenerated.
12085 * sysdeps/sh/configure: Regenerated.
12086 * sysdeps/sparc/configure: Regenerated.
12087 * sysdeps/unix/sysv/linux/configure: Regenerated.
12088 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12089 * sysdeps/x86_64/configure: Regenerated.
12091 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12092 defined. Don't check if MAP is NULL.
12094 2012-10-09 Joseph Myers <joseph@codesourcery.com>
12096 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12097 (_G_stat64): Likewise.
12098 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12099 (_G_stat64): Likewise.
12100 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12101 instead of struct _G_stat64.
12102 * libio/fileops.c (mmap_remap_check): Likewise.
12103 (decide_maybe_mmap): Likewise.
12104 (_IO_new_file_seekoff): Likewise.
12105 (_IO_file_stat): Likewise.
12106 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12108 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12109 instead of struct _G_stat64.
12110 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12112 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12115 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12117 (CHECK_EOL): New macro.
12118 (two_way_short_needle): Check beginning of haystack for EOL. Use
12120 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12121 Replace with CHECK_EOL.
12122 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12123 Replace with CHECK_EOL.
12125 2012-10-08 Joseph Myers <joseph@codesourcery.com>
12127 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12129 * math/libm-test.inc: Update comment listing what functions and
12131 (finite_test): New function.
12132 (isinf_test): Likewise.
12133 (isnan_test): Likewise.
12134 (fpclassify_test): Test subnormal input.
12135 (isfinite_test): Likewise.
12136 (isnormal_test): Likewise.
12137 (main): Call the new functions.
12139 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12142 * Makerules (%.dynsym): Force C locale when running
12143 $(OBJDUMP) --dynamic-syms.
12145 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12147 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12150 2012-10-06 David S. Miller <davem@davemloft.net>
12152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12153 upper 32-bits of the length value in %o2 since we use branch-on-register
12154 tests which consider the entire 64-bit register.
12156 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12158 * string/test-strstr.c (check2): Add a test for page boundary.
12160 2012-10-05 David S. Miller <davem@davemloft.net>
12162 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12163 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12165 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12167 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12168 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12169 and bzero when HWCAP_SPARC_CRYPTO is present.
12171 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12174 * string/test-strstr.c (check2): New function.
12175 (test_main): Call check2.
12177 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12179 * string/bug-strcasestr1.c (do_test): Moved to ...
12180 * string/test-strcasestr.c (check1): Here. New function.
12181 (do_one_test): Break out result checking code into ...
12182 (check_result): This. New function.
12183 (do_one_test): Call check_result.
12184 (test_main): Call check1.
12185 * string/bug-strchr1.c (do_test): Moved to ...
12186 * string/test-strchr.c (check1): Here. New function.
12187 (do_one_test): Break out result checking code into ...
12188 (check_result): This. New function.
12189 (do_one_test): Call check_result.
12190 (test_main): Call check1.
12191 * string/bug-strstr1.c (main): Moved to ...
12192 * string/test-strstr.c (check1): Here. New function.
12193 (do_one_test): Break out result checking code into ...
12194 (check_result): This. New function.
12195 (do_one_test): Call check_result.
12196 (test_main): Call check1.
12197 * string/bug-strcasestr1.c: Removed.
12198 * string/bug-strchr1.c: Likewise.
12199 * string/bug-strstr1.c: Likewise.
12201 * elf/Makefile (dl-routines): Add hwcaps.
12202 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12203 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12204 (_dl_important_hwcaps): Moved to ...
12205 * elf/dl-hwcaps.c: Here. New file.
12206 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12209 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12210 if IS_IN_rtld isn't defined.
12212 * elf/dl-support.c (_dl_sysinfo_map): New.
12213 Include "get-dynamic-info.h" and "setup-vdso.h".
12214 (_dl_non_dynamic_init): Call setup_vdso.
12215 * elf/dynamic-link.h: Don't include <assert.h>.
12216 (elf_get_dynamic_info): Moved to ...
12217 * elf/get-dynamic-info.h: Here. New file.
12218 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12219 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12220 * elf/setup-vdso.h: Here. New file.
12221 * elf/rtld.c: Include "setup-vdso.h".
12222 (dl_main): Call setup_vdso.
12224 2012-10-05 Joseph Myers <joseph@codesourcery.com>
12226 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12227 creal in comment listing functions tested. List finite, isinf,
12228 isnan, isless, islessequal, isgreater, isgreaterequal,
12229 islessgreater, isunordered, lgamma_r and pow10 as functions and
12230 macros not tested. Mention which functions not tested are aliases
12231 for other functions. Fix typo. Note that signs of NaNs are not
12234 * scripts/config.guess: Update from config.git.
12235 * scripts/config.sub: Likewise.
12237 2012-10-04 Roland McGrath <roland@hack.frob.com>
12239 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12240 * misc/madvise.c (madvise): Renamed to __madvise.
12241 Make madvise a weak alias.
12242 * include/sys/mman.h: Declare __madvise.
12243 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12244 * sysdeps/unix/syscalls.list
12245 (madvise): Make __madvise the strong name, and madvise a weak alias.
12246 * sysdeps/unix/sysv/linux/syscalls.list
12247 (madvise, mmap): Remove redundant entries.
12248 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12249 * malloc/malloc.c (mtrim): Likewise.
12250 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12252 2012-10-03 Roland McGrath <roland@hack.frob.com>
12254 * sysdeps/mach/hurd/dl-cache.c: File removed.
12255 * config.h.in (USE_LDCONFIG): New #undef.
12256 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12257 * configure: Regenerated.
12258 * elf/Makefile (dl-routines): Add dl-cache only under
12259 [$(use-ldconfig) = yes].
12260 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12261 cache on [USE_LDCONFIG].
12262 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12264 * elf/rtld.c (dl_main): Likewise.
12266 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12268 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12269 _SC_LEVEL4_CACHE_LINESIZE.
12271 2012-10-03 Roland McGrath <roland@hack.frob.com>
12273 * sysdeps/unix/bsd/confstr.h: File removed.
12275 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
12277 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12280 2012-10-02 Roland McGrath <roland@hack.frob.com>
12282 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12283 Make 'mapoff' field ElfW(Off) rather than off_t.
12285 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12287 * nscd/Makefile: Remove nscd-cflags and all its users.
12288 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12289 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12292 * malloc.c (malloc_printerr): Clarify error message.
12294 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12298 Set bit_FMA_Usable if FMA is supported.
12299 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12301 (bit_FMA4_Usable): Updated.
12302 (index_FMA_Usable): New macro.
12303 (CPUID_FMA): Likewise
12304 (HAS_FMA): Defined with bit_FMA_Usable.
12306 2012-10-01 Roland McGrath <roland@hack.frob.com>
12308 * bits/types.h (__swblk_t): Type removed.
12309 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12310 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12312 (__SWBLK_T_TYPE): Likewise.
12313 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12314 (__SWBLK_T_TYPE): Likewise.
12315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12316 (__SWBLK_T_TYPE): Likewise.
12317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12318 (__SWBLK_T_TYPE): Likewise.
12320 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
12321 Honza Horak <hhorak@redhat.com>
12323 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12324 (xdr_mapname): Use YPMAXMAP as maxsize.
12325 (xdr_peername): Use YPMAXPEER as maxsize.
12326 (xdr_keydat): Use YPAXRECORD as maxsize.
12327 (xdr_valdat): Use YPMAXRECORD as maxsize.
12329 2012-10-01 Roland McGrath <roland@hack.frob.com>
12331 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12333 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12334 * csu/init-first.c: ... here.
12335 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12336 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12337 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12338 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12339 * sysdeps/i386/init-first.c: File removed.
12340 * sysdeps/sh/init-first.c: File removed.
12342 2012-10-01 Joseph Myers <joseph@codesourcery.com>
12345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12346 if x * y might underflow to zero and z is zero.
12347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12348 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12349 * math/libm-test.inc (min_subnorm_value): New variable.
12350 (fma_test): Add more tests.
12351 (fma_test_towardzero): Likewise.
12352 (fma_test_downward): Likewise
12353 (fma_test_upward): Likewise.
12354 (initialize): Set min_subnorm_value.
12356 2012-09-29 Joseph Myers <joseph@codesourcery.com>
12359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12361 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12362 mode for addition resulting in exact zero.
12363 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12366 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12367 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12368 * math/libm-test.inc (fma_test): Add more tests.
12369 (fma_test_towardzero): New function.
12370 (fma_test_downward): Likewise.
12371 (fma_test_upward): Likewise.
12372 (main): Call the new functions.
12374 2012-09-28 David S. Miller <davem@davemloft.net>
12376 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12378 2012-09-28 Roland McGrath <roland@hack.frob.com>
12380 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12381 instead of SIGALRM.
12383 * sysdeps/gnu/_G_config.h: Moved to ...
12384 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12385 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12386 * sysdeps/generic/_G_config.h: ... here.
12388 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12390 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12392 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12393 Conditionalize target on [libnss_test1.so-version].
12395 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12397 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12398 (elfobjdir): Move out of conditionals.
12400 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12401 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12402 (__nss_lookup_function): Conditionalize label remove_from_tree on
12403 [!DO_STATIC_NSS || SHARED], matching its only use.
12405 2012-09-28 David S. Miller <davem@davemloft.net>
12407 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12408 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12410 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12412 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12414 when HWCAP_SPARC_CRYPTO is present.
12416 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12418 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12420 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12423 * stdio-common/vfprintf.c (process_string_arg): Revert
12426 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12428 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12430 * stdio-common/tst-sprintf.c: Include <locale.h>
12431 (main): Test sprintf's handling of incomplete multibyte
12434 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12436 * elf/dl-runtime.c (VERSYMIDX): Removed.
12437 * elf/dl-version.c (VERSYMIDX): Likewise.
12438 * elf/do-rel.h (VERSYMIDX): Likewise.
12439 (VALIDX): Likewise.
12440 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12441 * elf/rtld.c (VALIDX): Likewise.
12442 (ADDRIDX): Likewise.
12443 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12444 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12445 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12446 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12447 (VALIDX): Likewise.
12448 (ADDRIDX): Likewise.
12450 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12452 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12454 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12457 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12459 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12460 addresses are in the same scope as 192.0.2/24.
12461 * posix/gai.conf: Document new scope table defaults.
12463 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12466 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12467 for ftell. Compute offsets from write pointers instead.
12468 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12470 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12473 * libio/Makefile (tests): New test case tst-fseek.
12474 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12475 combination works in wide mode.
12476 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12477 state when the external buffer state changes.
12479 2012-09-27 David S. Miller <davem@davemloft.net>
12482 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12483 pass reloc->r_addend in as the 'high' argument to
12484 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12488 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12490 * rt/tst-aio2.c: Include <pthread.h>.
12491 * rt/tst-aio3.c: Likewise.
12493 2012-09-27 Steve Ellcey <sellcey@mips.com>
12495 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12497 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12499 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12500 contents on [SHARED].
12502 2012-09-26 Marek Polacek <polacek@redhat.com>
12506 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12507 for C++ and GCC <4.3 as well as for non GCC compilers.
12509 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12513 2012-09-25 Roland McGrath <roland@hack.frob.com>
12515 * Makefile.in (all, install): Declare with .PHONY.
12516 Reported by Michael Hope <michael.hope@linaro.org>.
12518 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12520 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12521 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12523 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12525 (sydep_routines): Add the new and the internal functions.
12526 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12527 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12529 (GLIBC_2.17): Add the new function.
12530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12531 (GLIBC_2.17): Likewise.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12533 (GLIBC_2.17): Likewise.
12534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12535 (GLIBC_2.17): Likewise.
12536 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12538 2012-09-25 Alan Modra <amodra@gmail.com>
12540 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12541 Add release barrier before setting once_control to say
12542 initialisation is done. Add hints on lwarx. Use macro in
12544 (clear_once_control): Add release barrier.
12546 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12549 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12551 * math/s_clog10.c (__clog10): Likewise.
12552 * math/s_clog10f.c (__clog10f): Likewise.
12553 * math/s_clog10l.c (__clog10l): Likewise.
12554 * math/s_clogf.c (__clogf): Likewise.
12555 * math/s_clogl.c (__clogl): Likewise.
12556 * math/Makefile (libm-calls): Add x2y2m1.
12557 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12558 (__x2y2m1): Likewise.
12559 (__x2y2m1l): Likewise.
12560 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12561 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12562 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12563 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12564 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12565 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12566 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12567 * sysdeps/i386/fpu/libm-test-ulps: Update.
12568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12571 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12572 int as type of variable DEPTH.
12573 (glob): Use size_t instead of int as type of variables NEWCOUNT
12576 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12578 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12579 Add s_sincosf-sse2.
12580 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12581 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12582 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12583 macros for using routine as __sincosf_ia32.
12584 Use macro for function declaration and weak_alias.
12585 * sysdeps/i386/fpu/libm-test-ulps: Update.
12587 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12590 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12591 subnormal argument.
12592 * math/s_cexpf.c (__cexpf): Likewise.
12593 * math/s_csinf.c (__csinf): Likewise.
12594 * math/s_csinhf.c (__csinhf): Likewise.
12595 * math/s_ctanf.c (__ctanf): Likewise.
12596 * math/s_ctanhf.c (__ctanhf): Likewise.
12597 * math/s_ccosh.c (__ccoshf): Likewise.
12598 * math/s_cexp.c (__cexpl): Likewise.
12599 * math/s_csin.c (__csin): Likewise.
12600 * math/s_csinh.c (__csinh): Likewise.
12601 * math/s_ctan.c (__ctan): Likewise.
12602 * math/s_ctanh.c (ctanh): Likewise.
12603 * math/s_ccoshl.c (__ccoshl): Likewise.
12604 * math/s_cexpl.c (__cexpl): Likewise.
12605 * math/s_csinl.c (__csinl): Likewise.
12606 * math/s_csinhl.c (__csinhl): Likewise.
12607 * math/s_ctanl.c (__ctanl): Likewise.
12608 * math/s_ctanhl.c (__ctanhl): Likewise.
12610 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12612 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12613 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12614 (_IO_off_t): Define to __off_t, not _G_off_t.
12615 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12616 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12617 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12618 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12619 type of __dummy and __dummy2 fields.
12620 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12621 (_G_ssize_t): Likewise.
12622 (_G_off_t): Likewise.
12623 (_G_pid_t): Likewise.
12624 (_G_uid_t): Likewise.
12625 (_G_wchar_t): Likewise.
12626 (_G_wint_t): Likewise.
12627 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12628 (_G_ssize_t): Likewise.
12629 (_G_off_t): Likewise.
12630 (_G_pid_t): Likewise.
12631 (_G_uid_t): Likewise.
12632 (_G_wchar_t): Likewise.
12633 (_G_wint_t): Likewise.
12634 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12635 (_G_ssize_t): Likewise.
12636 (_G_off_t): Likewise.
12637 (_G_pid_t): Likewise.
12638 (_G_uid_t): Likewise.
12639 (_G_wchar_t): Likewise.
12640 (_G_wint_t): Likewise.
12642 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12644 * malloc/arena.c: Include malloc-sysdep.h.
12645 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12646 is sufficient to shrink the heap or an unmap is needed.
12647 * sysdeps/generic/malloc-sysdep.h: New file. Define
12648 new function check_may_shrink_heap.
12649 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12650 new function check_may_shrink_heap.
12652 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12654 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12657 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12659 * catgets/test-gencat.sh: Add "set -e".
12660 * elf/tst-pathopt.sh: Likewise.
12661 * grp/tst_fgetgrent.sh: Likewise.
12662 * iconvdata/run-iconv-test.sh: Likewise.
12663 * intl/tst-gettext.sh: Likewise.
12664 * intl/tst-gettext2.sh: Likewise.
12665 * intl/tst-gettext4.sh: Likewise.
12666 * intl/tst-gettext6.sh: Likewise.
12667 * intl/tst-translit.sh: Likewise.
12668 * io/ftwtest-sh: Likewise.
12669 * libio/test-freopen.sh: Likewise.
12670 * malloc/tst-mtrace.sh: Likewise.
12671 * posix/globtest.sh: Likewise.
12672 * posix/tst-getconf.sh: Likewise.
12673 * posix/wordexp-tst.sh: Likewise.
12674 * stdio-common/tst-printf.sh: Likewise.
12675 * stdio-common/tst-unbputc.sh: Likewise.
12676 * stdlib/tst-fmtmsg.sh: Likewise.
12677 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12678 * catgets/Makefile: Do not specify -e option when running
12679 testsuite shell scripts.
12680 * elf/Makefile: Likewise.
12681 * grp/Makefile: Likewise.
12682 * iconvdata/Makefile: Likewise.
12683 * intl/Makefile: Likewise.
12684 * io/Makefile: Likewise.
12685 * libio/Makefile: Likewise.
12686 * malloc/Makefile: Likewise.
12687 * posix/Makefile: Likewise.
12688 * stdio-common/Makefile: Likewise.
12689 * stdlib/Makefile: Likewise.
12690 * sysdeps/x86_64/Makefile: Likewise.
12692 * io/ftwtest-sh: Add copyright header.
12693 * posix/globtest.sh: Likewise.
12694 * posix/tst-getconf.sh: Likewise.
12695 * posix/wordexp-tst.sh: Likewise.
12696 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12698 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12701 * Makeconfig (+link): Defined as $(+link-static) if
12702 $(build-shared) isn't yes.
12703 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12705 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12707 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12710 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12711 new chunk size with MALLOC_ALIGN_MASK.
12713 2012-09-24 Joseph Myers <joseph@codesourcery.com>
12716 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12718 (__printf_fphex): Determine rounding using get_rounding_mode and
12720 * stdio-common/tst-printf-round.c (struct hex_test): New
12722 (hex_tests): New variable.
12723 (test_hex_in_one_mode): New function.
12724 (do_test): Also run tests for hex float output.
12726 2012-09-21 Joseph Myers <joseph@codesourcery.com>
12728 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12729 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12730 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12731 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12732 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12733 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12734 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12735 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12737 2012-09-20 Joseph Myers <joseph@codesourcery.com>
12739 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12740 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12741 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12742 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12744 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12747 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12749 * elf/tst-rtld-load-self.sh: New test.
12750 * elf/Makefile: Run it.
12752 2012-09-18 Joseph Myers <joseph@codesourcery.com>
12754 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12755 (tst-writev-ENV): Remove.
12756 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12758 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12760 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12762 2012-09-17 Joseph Myers <joseph@codesourcery.com>
12764 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12766 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12768 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12769 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12770 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12773 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12776 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12777 * config.make.in (have-cpp-asm-debuginfo): Removed.
12778 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12779 * configure: Regenerated.
12781 2012-09-14 Joseph Myers <joseph@codesourcery.com>
12784 * stdio-common/printf_fp.c: Include <stdbool.h> and
12786 (___printf_fp): Determine rounding using get_rounding_mode and
12788 * stdio-common/tst-printf-round.c: New file.
12789 * stdio-common/Makefile (tests): Add tst-printf-round.
12790 (link-libm): New variable.
12791 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12793 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12796 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12797 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12799 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12802 2012-09-13 Joseph Myers <joseph@codesourcery.com>
12804 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12805 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12806 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12807 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12809 2012-09-12 Joseph Myers <joseph@codesourcery.com>
12812 * include/rounding-mode.h: New file.
12813 * sysdeps/generic/get-rounding-mode.h: Likewise.
12814 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12815 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12816 (MAX_VALUE): New macro.
12817 (MIN_VALUE): Likewise.
12818 (overflow_value): New function.
12819 (underflow_value): Likewise.
12820 (round_and_return): Use overflow_value and underflow_value to
12821 determine return values in overflow and underflow cases. Use
12822 round_away to determine rounding depending on rounding mode.
12823 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12824 determine return values in overflow and underflow cases.
12825 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12826 (struct test_results): New structure.
12827 (struct test): Use struct test_results to store expected results
12828 for all rounding modes.
12829 (TEST): Include expected results for all rounding modes.
12830 (test_in_one_mode): New function.
12831 (do_test): Use test_in_one_mode to compute and check results.
12832 Check results for all rounding modes.
12833 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12836 2012-12-09 Allan McRae <allan@archlinux.org>
12838 * sysdeps/i386/fpu/libm-test-ulps: Update
12840 2012-09-11 Joseph Myers <joseph@codesourcery.com>
12842 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12843 (_G_int32_t): Likewise.
12844 (_G_uint16_t): Likewise.
12845 (_G_uint32_t): Likewise.
12846 (_G_HAVE_BOOL): Likewise.
12847 (_G_HAVE_ATEXIT): Likewise.
12848 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12849 (_G_HAVE_IO_FILE_OPEN): Likewise.
12850 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12851 (_G_int32_t): Likewise.
12852 (_G_uint16_t): Likewise.
12853 (_G_uint32_t): Likewise.
12854 (_G_HAVE_BOOL): Likewise.
12855 (_G_HAVE_ATEXIT): Likewise.
12856 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12857 (_G_HAVE_IO_FILE_OPEN): Likewise.
12858 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12859 (_G_int32_t): Likewise.
12860 (_G_uint16_t): Likewise.
12861 (_G_uint32_t): Likewise.
12862 (_G_HAVE_BOOL): Likewise.
12863 (_G_HAVE_ATEXIT): Likewise.
12864 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12865 (_G_HAVE_IO_FILE_OPEN): Likewise.
12867 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12869 * csu/libc-tls.c: Update copyright years.
12871 2012-09-10 Joseph Myers <joseph@codesourcery.com>
12873 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12874 [!_G_USING_THUNKS]: Remove conditional code.
12875 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12876 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12878 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12879 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12880 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12881 (_G_VTABLE_LABEL_PREFIX): Likewise.
12882 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12883 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12884 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12885 (_G_VTABLE_LABEL_PREFIX): Likewise.
12886 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12887 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12888 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12889 (_G_VTABLE_LABEL_PREFIX): Likewise.
12890 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12892 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12894 * libio/Makefile: Include ../Makeconfig before tests.
12895 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12896 only if $(build-shared) is yes.
12898 * iconv/gconv_db.c: Update copyright years.
12900 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12902 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12903 unwind info if defined PIC. Fix special cases description.
12904 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12906 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12908 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12910 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12912 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12914 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12917 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12918 (LDLIBS-tst-chk4): This.
12919 (LDFLAGS-tst-chk5): Renamed to ...
12920 (LDLIBS-tst-chk5): This.
12921 (LDFLAGS-tst-chk6): Renamed to ...
12922 (LDLIBS-tst-chk6): This.
12923 (LDFLAGS-tst-lfschk4): Renamed to ...
12924 (LDLIBS-tst-lfschk4): This.
12925 (LDFLAGS-tst-lfschk5): Renamed to ...
12926 (LDLIBS-tst-lfschk5): This.
12927 (LDFLAGS-tst-lfschk6): Renamed to ...
12928 (LDLIBS-tst-lfschk6): This.
12930 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12931 on $(common-objpfx)soversions.mk.
12933 2012-09-07 Joseph Myers <joseph@codesourcery.com>
12936 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12939 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12941 * malloc/arena.c (arena_get_retry): New function that gets
12942 another arena for the caller to try its request on.
12943 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12944 current arena cannot fulfill the request.
12945 (__libc_memalign): Likewise.
12946 (__libc_memalign): Likewise.
12947 (__libc_pvalloc): Likewise.
12948 (__libc_calloc): Likewise.
12950 2012-09-05 John Tobey <john.tobey@gmail.com>
12953 * manual/arith.texi (Operations on Complex): Fix description
12954 of carg branch cut.
12956 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12959 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12963 * manual/memory.texi (Memory): Make order of menu items match
12966 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12968 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12969 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12970 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12972 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12974 * csu/libc-tls.c (static_dtv): Renamed to ...
12975 (_dl_static_dtv): This. Make it global.
12976 (_dl_initial_dtv): Removed.
12977 (__libc_setup_tls): Updated.
12978 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12979 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12982 2012-09-06 Petr Machata <pmachata@redhat.com>
12984 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12985 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12986 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12987 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12989 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12992 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12993 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12996 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12999 * Makeconfig (link-static-before-libc): Replace $(+prector)
13001 (link-static-after-libc): Replace $(+postctor) with
13003 (link-bounded): Replace $(+prector)/$(+postctor) with
13004 $(+prectorT)/$(+postctorT).
13005 (+prectorT): New macro.
13006 (+postctorT): Likewise.
13008 2012-09-06 Joseph Myers <joseph@codesourcery.com>
13010 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13011 (round_str): Handle values above the maximum for IBM long double
13013 * stdlib/tst-strtod-round.c (tests): Regenerated.
13015 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13017 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13019 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13020 zarch_nohighgprs around the zarch optimized routines.
13021 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13022 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13023 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13026 2012-09-05 David S. Miller <davem@davemloft.net>
13028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13030 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13031 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13032 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13033 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13036 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13038 * malloc/arena.c: Fold copyright years.
13039 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13041 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13043 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13045 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13047 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13049 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13051 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13052 change internal state upon failure.
13054 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
13056 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13057 * malloc/memusage.c (mmap): Likewise.
13058 (mmap64, mremap): Likewise. Adjust name in comment.
13060 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13062 * libio/fileops.c: Fix typos in comments.
13063 * libio/oldfileops.c: Likewise.
13064 * libio/wfileops.c: Likewise.
13066 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13069 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13070 (tst-malloc-usable-ENV): Set environment for test case.
13071 * malloc/hooks.c (malloc_check_get_size): New function to get
13073 * malloc/malloc.c (musable): Use malloc_check_get_size.
13074 * malloc/tst-malloc-usable.c: New test case.
13076 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13078 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13080 2012-09-05 Allan McRae <allan@archlinux.org>
13083 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13084 determine header location.
13085 * configure: Regenerated.
13087 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13089 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13091 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13092 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13094 (test): Regenerate.
13096 2012-09-04 David S. Miller <davem@davemloft.net>
13098 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13099 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13100 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13102 2012-09-04 Florian Weimer <fweimer@redhat.com>
13104 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13107 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13109 2012-09-04 Joseph Myers <joseph@codesourcery.com>
13112 * libio/iogetdelim.c: Include <limits.h>.
13113 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13114 + len + 1 would overflow.
13116 2012-09-03 Andreas Jaeger <aj@suse.de>
13118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13119 * sysdeps/i386/fpu/libm-test-ulps: Update.
13121 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13123 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13124 Add s_sinf-sse2, s_conf-sse2.
13126 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13127 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13128 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13129 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13131 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13132 for using routine as __sinf_ia32.
13133 Use macro for function declaration and weak_alias.
13134 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13135 for using routine as __cosf_ia32.
13136 Use macro for function declaration and weak_alias.
13138 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13139 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13141 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13142 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13145 * math/libm-test.inc (cos_test): Add more test cases.
13146 (sin_test): Likewise.
13147 (sincos_test): Likewise.
13149 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13151 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13152 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13154 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13156 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13159 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13160 first element of the GOT.
13161 (elf_machine_load_address): Return the difference between
13162 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13164 2012-09-01 Allan McRae <allan@archlinux.org>
13167 * configure.in (AWK): Require gawk version 3.0 or later.
13168 * configure: Regenerated.
13170 2012-09-01 Joseph Myers <joseph@codesourcery.com>
13172 * sysdeps/unix/sysv/linux/kernel-features.h
13173 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13174 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13175 [__NR_clock_getres]: Make code unconditional.
13176 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13177 (clock_getcpuclockid): Remove code left unreachable by removal of
13179 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13180 code unconditional.
13181 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13182 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13183 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13184 Make code unconditional.
13185 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13186 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13187 * sysdeps/unix/sysv/linux/clock_settime.c
13188 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13190 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13191 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13193 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13196 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13197 scripts/test-installation.pl.
13199 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13200 and $ld_so_version if it is set.
13202 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13205 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13206 failure if reading from procfs failed.
13207 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13209 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13211 * sysdeps/unix/sysv/linux/kernel-features.h
13212 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13213 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13214 Remove conditional code.
13215 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13216 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13217 Remove conditional code.
13218 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13219 * sysdeps/unix/sysv/linux/i386/fxstat.c
13220 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13221 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13222 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13223 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13225 * sysdeps/unix/sysv/linux/i386/lxstat.c
13226 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13227 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13228 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13229 Remove conditional code.
13230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13231 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13232 Remove conditional code.
13233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13234 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13235 <kernel-features.h>.
13236 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13238 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13239 Remove conditional code.
13240 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13241 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13242 Remove conditional.
13244 2012-08-27 Mike Frysinger <vapier@gentoo.org>
13247 * NEWS: Add fixed bug number.
13249 2012-08-27 Joseph Myers <joseph@codesourcery.com>
13252 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13253 underflowing exponent in case of negative sign.
13254 * stdlib/tst-strtod-round-data: Add more tests.
13255 * stdlib/tst-strtod-round.c (tests): Regenerated.
13258 * stdlib/strtod_l.c (NDIG): Remove.
13259 (HEXNDIG): Likewise.
13260 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13261 smallest representable value.
13262 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13263 lie within an exact representation of 1/2 ulp of the result.
13264 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13266 (TENS_P9_IDX): Define unconditionally.
13267 (TENS_P9_SIZE): Likewise.
13268 (TENS_P10_IDX): Likewise.
13269 (TENS_P10_SIZE): Likewise.
13270 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13271 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13272 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13273 entries for 10^2^13 and 10^2^14.
13274 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13275 (TENS_P13_IDX): Define.
13276 (TENS_P13_SIZE): Likewise.
13277 (TENS_P14_IDX): Likewise.
13278 (TENS_P14_SIZE): Likewise.
13279 (_fpioconst_pow10): Change array size to
13280 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13282 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13283 1024]: Add entries for 10^2^13 and 10^2^14.
13284 [LAST_POW10 > _LAST_POW10]: Remove #error.
13285 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13286 (_fpioconst_pow10): Change array size to
13287 FPIOCONST_POW10_ARRAY_SIZE.
13288 * stdlib/gen-fpioconst.c: New file.
13289 * stdlib/gen-tst-strtod-round.c: Likewise.
13290 * stdlib/tst-strtod-round-data: Likewise.
13291 * stdlib/tst-strtod-round.c: Likewise.
13292 * stdlib/Makefile (tests): Add tst-strtod-round.
13295 * stdlib/strtod_l.c: Include <stdint.h>.
13296 (NDEBUG): Do not define.
13297 (round_and_return): Change EXPONENT parameter to type intmax_t.
13298 Rearrange calculations to avoid internal overflow possibilities.
13299 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13300 Rearrange calculations to avoid internal overflow possibilities.
13301 Assert that number fits inside MPNSIZE limbs.
13302 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13303 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13304 calculations and add assertions to avoid internal overflow
13305 possibilities. Add casts to avoid signed/unsigned operations.
13306 * stdlib/tst-strtod-overflow.c: New file.
13307 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13309 2012-08-25 Marek Polacek <polacek@redhat.com>
13311 * time/time.h: Fix some typos in comments.
13313 2012-08-23 Roland McGrath <roland@hack.frob.com>
13315 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13316 * posix/tst-rfc3484-2.c: Likewise.
13317 * posix/tst-rfc3484-3.c: Likewise.
13319 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13321 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13322 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13324 2012-08-23 Joseph Myers <joseph@codesourcery.com>
13326 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13327 #include of fxstatat64.c.
13329 2012-08-22 Roland McGrath <roland@hack.frob.com>
13331 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13332 * shadow/getspent_r.c: Likewise.
13333 * shadow/getspnam.c: Likewise.
13334 * shadow/getspnam_r.c: Likewise.
13335 * gshadow/getsgent.c: Likewise.
13336 * gshadow/getsgent_r.c: Likewise.
13337 * gshadow/getsgnam.c: Likewise.
13338 * gshadow/getsgnam_r.c: Likewise.
13339 * inet/getnetbyad.c: Likewise.
13340 * inet/getnetbyad_r.c: Likewise.
13341 * inet/getnetbynm.c: Likewise.
13342 * inet/getnetbynm_r.c: Likewise.
13343 * inet/getnetent.c: Likewise.
13344 * inet/getnetent_r.c: Likewise.
13345 * inet/getproto.c: Likewise.
13346 * inet/getproto_r.c: Likewise.
13347 * inet/getprtent.c: Likewise.
13348 * inet/getprtent_r.c: Likewise.
13349 * inet/getprtname.c: Likewise.
13350 * inet/getprtname_r.c: Likewise.
13351 * inet/getrpcbyname.c: Likewise.
13352 * inet/getrpcbyname_r.c: Likewise.
13353 * inet/getrpcbynumber.c: Likewise.
13354 * inet/getrpcbynumber_r.c: Likewise.
13355 * inet/getrpcent.c: Likewise.
13356 * inet/getrpcent_r.c: Likewise.
13357 * inet/getaliasent.c: Likewise.
13358 * inet/getaliasent_r.c: Likewise.
13359 * inet/getaliasname.c: Likewise.
13360 * inet/getaliasname_r.c: Likewise.
13361 * nscd/getgrgid_r.c: Likewise.
13362 * nscd/getgrnam_r.c: Likewise.
13363 * nscd/gethstbyad_r.c: Likewise.
13364 * nscd/gethstbynm3_r.c: Likewise.
13365 * nscd/getpwnam_r.c: Likewise.
13366 * nscd/getpwuid_r.c: Likewise.
13367 * nscd/getsrvbynm_r.c: Likewise.
13368 * nscd/getsrvbypt_r.c: Likewise.
13369 * nscd/gai.c: Likewise.
13371 * configure.in (build_nscd): New substituted variable, set
13372 by --disable-build-nscd and defaults to $use_nscd.
13373 * configure: Regenerated.
13374 * config.make.in (build-nscd): New substituted variable.
13375 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13376 Change conditional to require [$(build-nscd) = yes] as well.
13377 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13380 * configure.in (use_nscd): New substituted variable, set by
13381 --disable-nscd. If enabled, define USE_NSCD.
13382 * configure: Regenerated.
13383 * config.h.in: Add USE_NSCD.
13384 * config.make.in (use-nscd): New substituted variable.
13385 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13386 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13387 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13388 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13389 (CFLAGS-getgrnam_r.c): Likewise.
13390 (CFLAGS-initgroups.c): Likewise.
13391 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13392 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13394 * inet/getnetgrent_r.c
13395 (nscd_setnetgrent): New function, broken out of ...
13396 (setnetgrent): ... here. Call it.
13397 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13398 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13399 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13400 * nscd/Makefile (routines, aux): Move definitions after include of
13401 Makeconfig. Conditionalize on [$(use-nscd) != no].
13402 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13403 Conditionalize on [USE_NSCD].
13404 (is_nscd, nscd_init_cb): Likewise.
13405 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13406 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13407 * nss/nss_db/db-init.c: Likewise.
13408 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13410 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13411 (make_request): Use it.
13412 (cache_valid_p): New function.
13413 (__check_pf): Use it.
13414 * NEWS: Add item for --disable-nscd.
13416 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13418 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13419 to support sed >= 4.2.1-20-ga9bf076.
13420 * configure: Regenerated.
13422 2012-08-22 Roland McGrath <roland@hack.frob.com>
13424 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13425 Conditionalize whole body on [IREL].
13427 2012-08-22 Jeff Law <law@redhat.com>
13430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13431 if the family is PF_UNSPEC.
13433 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13435 * Makerules (lib-version): Rename from V.
13436 (install-lib-nosubdir): Change V to lib-version.
13438 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13441 * powerpc32/power6/wcschr.c: New file.
13442 * powerpc32/power6/wcscpy.c: New file.
13443 * powerpc32/power6/wcsrchr.c: New file.
13444 * powerpc64/power6/wcschr.c: New file.
13445 * powerpc64/power6/wcscpy.c: New file.
13446 * powerpc64/power6/wcsrchr.c: New file.
13448 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13450 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13451 (two_way_short_needle): Use it.
13452 * string/strstr.c (AVAILABLE1_USES_J): Define.
13453 * string/strcasestr.c: Likewise.
13455 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13457 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13460 * NEWS: Add an entry.
13461 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13462 define their defaults.
13463 (two_way_short_needle): Detect end-of-string on-the-fly.
13464 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13465 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13466 * string/bug-strcasestr1.c: New test.
13467 * string/Makefile: Run it.
13469 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13472 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13473 the first character.
13475 2012-08-21 Roland McGrath <roland@hack.frob.com>
13477 * csu/elf-init.c (__libc_csu_irel): Function removed.
13478 * csu/libc-start.c (apply_irel): New function.
13479 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13481 2012-08-21 Joseph Myers <joseph@codesourcery.com>
13483 * sysdeps/unix/sysv/linux/kernel-features.h
13484 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13485 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13486 <kernel-features.h>.
13487 [__NR_fadvise64_64]: Make code unconditional.
13488 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13489 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13490 !__NR_fadvise64_64)]: Likewise.
13491 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13492 !__NR_fadvise64_64))]: Likewise.
13493 [__NR_fadvise64]: Make code unconditional.
13494 [!__NR_fadvise64]: Remove conditional code.
13495 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13496 <kernel-features.h>.
13497 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13499 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13502 not include <kernel-features.h>.
13503 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13505 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13507 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13508 include <kernel-features.h>.
13509 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13511 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13514 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13516 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13517 slight instruction rearrangements per scrollpipe analysis.
13518 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13520 2012-08-20 Roland McGrath <roland@hack.frob.com>
13522 * manual/syslog.texi (syslog; vsyslog, closelog):
13523 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13524 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13526 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13527 DSOCAPS to match condition on defining it.
13529 2012-08-20 Joseph Myers <joseph@codesourcery.com>
13531 * sysdeps/unix/sysv/linux/kernel-features.h
13532 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13534 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13535 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13537 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13538 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13540 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13541 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13543 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13544 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13546 * sysdeps/unix/sysv/linux/kernel-features.h
13547 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13548 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13550 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13551 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13552 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13553 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13554 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13555 Make code unconditional.
13556 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13557 (__mmap64) [!__NR_mmap2]: Likewise.
13558 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13559 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13560 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13561 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13562 [__NR_mmap2]: Make code unconditional.
13563 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13564 (__mmap64) [!__NR_mmap2]: Likewise.
13566 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13568 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13570 2012-08-18 Andreas Jaeger <aj@suse.de>
13572 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13574 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13576 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13577 * include/unistd.h (__have_sock_cloexec): Likewise.
13578 (__have_pipe2): Likewise.
13579 (__have_dup3): Likewise.
13581 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13584 * include/unistd.h (__have_pipe2): Change define into an extern int.
13585 (__have_dup3): Likewise.
13586 * socket/have_sock_cloexec.c: Include fcntl.h.
13587 (__have_pipe2): New variable.
13588 (__have_dup3): Likewise.
13590 2012-08-17 Mike Frysinger <vapier@gentoo.org>
13592 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13594 2012-08-17 Marek Polacek <polacek@redhat.com>
13596 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13597 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13599 2012-08-17 Roland McGrath <roland@hack.frob.com>
13601 * configure.in: Add AC_SUBST for sysheaders.
13602 * configure: Regenerated.
13603 * config.make.in (sysheaders): New substituted variable.
13605 * sysdeps/unix/mkfifo.c: Moved ...
13606 * sysdeps/posix/mkfifo.c: ... here.
13607 * sysdeps/unix/mkfifoat.c: Moved ...
13608 * sysdeps/posix/mkfifoat.c: ... here.
13610 * sysdeps/unix/utime.c: Moved ...
13611 * sysdeps/posix/utime.c: ... here.
13613 * sysdeps/unix/time.c: Moved ...
13614 * sysdeps/posix/time.c: ... here.
13615 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13616 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13618 * sysdeps/unix/nice.c: Moved ...
13619 * sysdeps/posix/nice.c: ... here.
13621 * sysdeps/unix/alarm.c: Moved ...
13622 * sysdeps/posix/alarm.c: ... here.
13624 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13626 2012-08-17 Jeff Law <law@redhat.com>
13628 * intl/Makefile (codeset_mo): New variable.
13629 ($(codeset_mo)): New target.
13630 (tst-codeset.out): Depend on that. Remove explicit rule.
13631 (tst-gettext3.out, tst-gettext5.out): Likewise.
13632 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13633 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13634 * intl/tst-codeset.sh: Remove.
13635 * intl/tst-gettext3.sh: Likewise.
13636 * intl/tst-gettext5.sh: Likewise.
13638 2012-08-17 Roland McGrath <roland@hack.frob.com>
13640 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13641 * sysdeps/unix/syscalls.list: ... here.
13643 * sysdeps/posix/getaddrinfo.c
13644 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13645 (gaiconf_init, gaiconf_reload): Use them.
13646 [!_STATBUF_ST_NSEC]
13647 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13648 Define using time_t rather than struct timespec.
13650 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13651 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13653 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13655 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13656 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13659 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13660 __libc_cleanup_push argument.
13662 * bits/param.h: New file.
13663 * misc/sys/param.h: New file.
13664 * include/sys/param.h: New file.
13665 * misc/Makefile (headers): Add bits/param.h.
13666 * sysdeps/generic/sys/param.h: File removed.
13667 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13668 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13669 * sysdeps/mach/hurd/bits/param.h: New file.
13670 * sysdeps/mach/hurd/sys/param.h: File removed.
13672 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13675 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13677 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13678 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13681 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13682 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13683 rather than -D_IO_MTSAFE_IO conditionally.
13684 * stdio-common/Makefile (CPPFLAGS): Likewise.
13685 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13686 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13687 Use $(libio-mtsafe).
13688 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13689 of -D_IO_MTSAFE_IO.
13690 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13691 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13692 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13693 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13694 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13695 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13696 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13697 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13698 (CFLAGS-fread_u_chk.c): Likewise.
13699 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13700 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13701 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13702 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13703 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13704 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13705 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13706 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13707 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13709 * libio/Makefile: Test [$(libc-reentrant) = yes]
13710 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13713 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13714 * sysdeps/pthread/configure: File removed.
13715 * sysdeps/pthread/Makeconfig: New file.
13716 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13717 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13719 2012-08-16 Gary Benson <gbenson@redhat.com>
13721 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13722 unmapping the first object in a namespace.
13724 2012-08-16 Roland McGrath <roland@hack.frob.com>
13726 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13727 (__internal_setnetgrent): ... this. Add internal_function to
13728 definition. Add libc_hidden_def.
13729 (setnetgrent): Update caller.
13730 (internal_endnetgrent): Renamed to ...
13731 (__internal_endnetgrent): ... this. Add internal_function to
13732 definition. Add libc_hidden_def.
13733 (endnetgrent): Update caller.
13734 (internal_getnetgrent_r): Renamed to ...
13735 (__internal_getnetgrent_r): ... this. Add internal_function to
13736 definition. Add libc_hidden_def.
13737 (__getnetgrent_r): Update caller.
13738 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13740 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13742 * stdlib/longlong.h: Update from GCC.
13744 2012-08-16 Roland McGrath <roland@hack.frob.com>
13746 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13747 on _QL, which is set by umul_ppmm but never used.
13748 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13749 variables, which are set by GMP macros but never used.
13750 * stdio-common/_itowa.c (_itowa): Likewise.
13751 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13752 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13754 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13756 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13757 struct La_sh_regs is not constant.
13758 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13759 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13760 and struct La_sparc64_regs are not constant.
13762 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13764 * sysdeps/unix/sysv/linux/kernel-features.h
13765 (__ASSUME_POSIX_TIMERS): Remove.
13766 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13767 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13768 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13769 Make code unconditional.
13770 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13771 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13772 Make code unconditional.
13773 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13774 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13775 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13776 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13777 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13778 Make code unconditional.
13779 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13780 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13781 (__libc_missing_posix_timers): Remove.
13783 2012-08-15 Roland McGrath <roland@hack.frob.com>
13785 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13786 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13788 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13790 * elf/dl-sym.c: Include <stdlib.h>.
13792 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13793 constants, which avoids warnings in 32-bit builds.
13795 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13796 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13798 * misc/lseek.c: File moved to ...
13799 * io/lseek.c: ... here.
13801 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13803 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13804 shifting LEN more than 31 bits at once.
13806 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13809 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13810 segmentation fault for a case of two empty input strings.
13811 * string/test-strncasecmp.c (check1): Renamed to...
13812 (bz12205): ...this.
13813 (bz14195): Add new testcase for two empty input strings and N > 0.
13814 (test_main): Call new testcase, adapt for renamed function.
13816 2012-08-15 Andreas Jaeger <aj@suse.de>
13819 * crypt/md5test2.c: New test, based on test supplied by Serge
13820 Belyshev <belyshev@depni.sinp.msu.ru>.
13821 * crypt/Makefile (xtests): Add md5test-giant..
13822 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13824 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13827 * crypt/md5.c (md5_process_block): Don't assume the buffer
13828 length is less than 2**32.
13829 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13830 length is less than 2**64.
13832 2012-08-15 Roland McGrath <roland@hack.frob.com>
13834 * string/str-two-way.h: Include <sys/param.h>.
13835 (MAX): Macro removed.
13837 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13838 Move #define and #undef of memmove to just before and after
13839 including <string.h>.
13841 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13842 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13843 and after including <string.h>. Move declarations of
13844 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13845 to before #include "string/memmove.c".
13847 * include/dirent.h: Declare __getdirentries.
13849 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13850 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13852 2012-08-14 Mike Frysinger <vapier@gentoo.org>
13854 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13855 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13856 * sysdeps/i386/configure: Regenerated.
13857 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13858 STABS_CURRENT_FILE, and STABS_FUN.
13859 (END): Remove call to STABS_FUN_END.
13860 (STABS_CURRENT_FILE1): Delete.
13861 (STABS_CURRENT_FILE): Likewise.
13862 (STABS_FUN): Likewise.
13863 (STABS_FUN_END): Likewise.
13864 (STABS_FUN2): Likewise.
13865 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13866 * sysdeps/x86_64/configure: Regenerated.
13868 2012-08-14 Roland McGrath <roland@hack.frob.com>
13870 * elf/dl-open.c: Include <atomic.h>.
13871 * elf/dl-lookup.c: Likewise.
13873 2012-08-14 Joseph Myers <joseph@codesourcery.com>
13875 * sysdeps/unix/sysv/linux/kernel-features.h
13876 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13877 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13879 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13881 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13882 condition on __ASSUME_CLONE_THREAD_FLAGS.
13884 2012-08-14 Andreas Jaeger <aj@suse.de>
13886 * sysdeps/i386/fpu/libm-test-ulps: Update.
13888 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13890 * include/atomic.h (atomic_exchange_and_add): Split into ...
13891 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13894 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13898 2012-08-13 Jeff Law <law@redhat.com>
13900 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13901 null byte in the output string.
13903 2012-08-10 Joseph Myers <joseph@codesourcery.com>
13905 * sysdeps/unix/sysv/linux/kernel-features.h
13906 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13907 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13908 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13909 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13910 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13911 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13912 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13914 2012-08-09 Jeff Law <law@redhat.com>
13917 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13918 When avoid_arena is set, don't retry in the that arena. Pick the
13919 next one, whatever it might be.
13920 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13921 (arena_lock): Pass in new parameter to arena_get2.
13922 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13924 (__libc_malloc): Unify retrying after main arena failure with
13925 __libc_memalign version.
13926 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13928 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13931 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13932 to __redirect_strstr.
13933 (__strstr_sse42): Use typeof __redirect_strstr.
13934 (__strstr_ia32): Likewise.
13935 (__libc_strstr): New prototype.
13936 (strstr): Renamed to ...
13937 (__libc_strstr): This.
13938 (strstr): New strong alias of __libc_strstr.
13939 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13940 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13943 (__libc_time): New prototype.
13944 (time_ifunc): Replace time with __libc_time.
13945 (time): New strong alias and hidden definition of __libc_time.
13946 (__GI_time): Remove strong alias.
13947 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13948 Include <stddef.h>.
13949 (memmove): Redefined to __redirect_memmove.
13950 (__memmove_sse2): Use typeof __redirect_memmove.
13951 (__memmove_ssse3): Likewise.
13952 (__memmove_ssse3_back): Likewise.
13953 (__libc_memmove): New prototype.
13954 (memmove): Renamed to ...
13955 (__libc_memmove): This.
13956 (memmove): New strong alias of __libc_memmove.
13958 2012-08-08 Mark Salter <msalter@redhat.com>
13961 (R_MN10300_TLS_GD): Define.
13962 (R_MN10300_TLS_LD): Likewise.
13963 (R_MN10300_TLS_LDO): Likewise.
13964 (R_MN10300_TLS_GOTIE): Likewise.
13965 (R_MN10300_TLS_IE): Likewise.
13966 (R_MN10300_TLS_LE): Likewise.
13967 (R_MN10300_TLS_DTPMOD): Likewise.
13968 (R_MN10300_TLS_DTPOFF): Likewise.
13969 (R_MN10300_TLS_TPOFF): Likewise.
13970 (R_MN10300_SYM_DIFF): Likewise.
13971 (R_MN10300_ALIGN): Likewise.
13972 (R_MN10300_NUM): Update.
13974 2012-08-08 Joseph Myers <joseph@codesourcery.com>
13976 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13979 2012-08-08 Roland McGrath <roland@hack.frob.com>
13981 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13983 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13984 sysdeps/unix -> sysdeps/posix move.
13985 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13987 2012-08-07 Allan McRae <allan@archlinux.org>
13990 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13991 (SUNOS_CPP): Likewise.
13992 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13994 (open_input): Call CPP using execvp.
13996 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13998 * sysdeps/unix/sysv/linux/kernel-features.h
13999 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14000 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14001 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14002 (__ASSUME_WAITID_SYSCALL): Likewise.
14003 * sysdeps/unix/sysv/linux/dl-execstack.c
14004 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14005 code unconditional.
14006 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14008 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14009 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14010 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14012 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14014 [__ASSUME_WAITID_SYSCALL]: Likewise.
14015 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14017 2012-08-07 Roland McGrath <roland@hack.frob.com>
14019 * sysdeps/unix/closedir.c: Renamed to ...
14020 * sysdeps/posix/closedir.c: ... here.
14021 * sysdeps/unix/dirfd.c: Renamed to ...
14022 * sysdeps/posix/dirfd.c: ... here.
14023 * sysdeps/unix/dirstream.h: Renamed to ...
14024 * sysdeps/posix/dirstream.h: ... here.
14025 * sysdeps/unix/fdopendir.c: Renamed to ...
14026 * sysdeps/posix/fdopendir.c: ... here.
14027 * sysdeps/unix/opendir.c: Renamed to ...
14028 * sysdeps/posix/opendir.c: ... here.
14029 * sysdeps/unix/readdir.c: Renamed to ...
14030 * sysdeps/posix/readdir.c: ... here.
14031 * sysdeps/unix/readdir_r.c: Renamed to ...
14032 * sysdeps/posix/readdir_r.c: ... here.
14033 * sysdeps/unix/rewinddir.c: Renamed to ...
14034 * sysdeps/posix/rewinddir.c: ... here.
14035 * sysdeps/unix/seekdir.c: Renamed to ...
14036 * sysdeps/posix/seekdir.c: ... here.
14037 * sysdeps/unix/telldir.c: Renamed to ...
14038 * sysdeps/posix/telldir.c: ... here.
14039 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14040 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14041 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14042 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14044 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14045 * bits/fcntl.h: ... here.
14047 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14049 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14050 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14051 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14052 (struct flock): Move l_start, l_len to the beginning.
14053 Use __pid_t for l_pid.
14054 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14055 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14056 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14057 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14058 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14059 [__USE_LARGEFILE64] (struct flock64): New type.
14060 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14062 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14063 * bits/dirent.h: ... here.
14065 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14066 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14068 2012-08-07 Joseph Myers <joseph@codesourcery.com>
14070 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14071 Change from 2.6.0 to 2.6.16.
14072 * sysdeps/unix/sysv/linux/configure: Regenerated.
14073 * sysdeps/unix/sysv/linux/kernel-features.h
14074 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14075 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14077 (__ASSUME_UTIMES): Likewise.
14078 (__ASSUME_CLONE_STOPPED): Remove.
14079 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14080 architectures, not kernel version.
14081 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14082 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14083 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14084 (__ASSUME_WAITID_SYSCALL): Likewise.
14085 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14086 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14087 * README: State 2.6.16 as minimum Linux kernel version. Do not
14088 refer to older versions.
14090 2012-08-06 Roland McGrath <roland@hack.frob.com>
14092 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14093 Define alphasort64 as an alias.
14094 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14095 Define versionsort64 as an alias.
14096 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14097 Define scandir64 as an alias.
14098 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14099 Define scandirat64 as an alias.
14100 * dirent/alphasort64.c (alphasort64):
14101 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14102 * dirent/versionsort64.c: Likewise.
14103 * dirent/scandir64.c: Likewise.
14104 * dirent/scandirat64.c: Likewise.
14105 * sysdeps/wordsize-64/alphasort.c: File removed.
14106 * sysdeps/wordsize-64/alphasort64.c: File removed.
14107 * sysdeps/wordsize-64/scandir.c: File removed.
14108 * sysdeps/wordsize-64/scandir64.c: File removed.
14109 * sysdeps/wordsize-64/scandirat.c: File removed.
14110 * sysdeps/wordsize-64/scandirat64.c: File removed.
14111 * sysdeps/wordsize-64/versionsort.c: File removed.
14112 * sysdeps/wordsize-64/versionsort64.c: File removed.
14113 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14114 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14115 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14116 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14117 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14118 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14119 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14120 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14122 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14123 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14124 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14126 [defined __arch64__ || defined __sparcv9]
14127 (__INO_T_MATCHES_INO64_T): New macro.
14128 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14129 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14130 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14131 * sysdeps/unix/sysv/linux/bits/dirent.h
14132 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14133 (_DIRENT_MATCHES_DIRENT64): New macro.
14135 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14136 Define lockf64 as an alias.
14137 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14138 Define fseeko64 as an alias.
14139 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14140 Define ftello64 as an alias.
14141 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14142 Define _IO_fgetpos64 and fgetpos64 as aliases.
14143 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14144 Define _IO_fsetpos64 and fsetpos64 as aliases.
14145 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14146 Conditionalize body on this.
14147 * libio/fseeko64.c: Likewise.
14148 * libio/ftello64.c: Likewise.
14149 * libio/iofgetpos64.c: Likewise.
14150 * libio/iofsetpos64.c: Likewise.
14151 * sysdeps/wordsize-64/lockf.c: File removed.
14152 * sysdeps/wordsize-64/lockf64.c: File removed.
14153 * sysdeps/wordsize-64/fseeko.c: File removed.
14154 * sysdeps/wordsize-64/fseeko64.c: File removed.
14155 * sysdeps/wordsize-64/ftello.c: File removed.
14156 * sysdeps/wordsize-64/ftello64.c: File removed.
14157 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14158 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14159 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14160 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14161 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14162 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14163 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14164 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14165 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14166 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14167 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14168 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14169 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14170 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14172 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14173 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14174 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14175 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14176 [defined __arch64__ || defined __sparcv9]
14177 (__OFF_T_MATCHES_OFF64_T): New macro.
14178 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14179 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14181 (__OFF_T_MATCHES_OFF64_T): New macro.
14183 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14185 * stdlib/secure-getenv.c (__secure_getenv): Replace
14186 GLIBC_2_16 with GLIBC_2_17.
14188 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14190 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14191 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14193 2012-08-03 David S. Miller <davem@davemloft.net>
14195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14197 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14199 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14201 (__ASSUME_CORRECT_SI_PID): Likewise.
14202 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14203 (__ASSUME_TMPFS_NAME): Likewise.
14204 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14205 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14206 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14207 (HAVE_AUX_SECURE): Make definition unconditional.
14208 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14209 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14211 2012-08-03 Roland McGrath <roland@hack.frob.com>
14213 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14214 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14215 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14216 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14217 __eloop_threshold instead of SYMLOOP_MAX.
14219 * sysdeps/generic/eloop-threshold.h: New file.
14220 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14222 * elf/chroot_canon.c (chroot_canon): Likewise.
14224 2012-08-03 Joseph Myers <joseph@codesourcery.com>
14227 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14228 Change to 2.6.0 everywhere.
14229 * sysdeps/unix/sysv/linux/configure: Regenerated.
14230 * sysdeps/unix/sysv/linux/kernel-features.h
14231 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14232 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14234 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14235 (__ASSUME_FUTEX_REQUEUE): Remove.
14236 (__ASSUME_STATFS64): Define unconditionally.
14237 (__ASSUME_AT_SECURE): Likewise.
14238 (__ASSUME_CORRECT_SI_PID): Likewise.
14239 (__ASSUME_TGKILL): Define without depending on kernel version for
14241 (__ASSUME_UTIMES): Likewise.
14242 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14244 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14245 (__ASSUME_TMPFS_NAME): Likewise.
14246 * README: Update reference to Linux kernel versions.
14248 2012-08-02 Marek Polacek <polacek@redhat.com>
14251 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14252 libc_cv_asm_type_prefix with %.
14253 * configure: Regenerated.
14254 * include/libc-symbols.h: Remove comment about
14255 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14256 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14257 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14258 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14259 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14260 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14261 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14262 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14263 * elf/tst-unique2mod1.c: Likewise.
14264 * elf/tst-unique1mod2.c: Likewise.
14265 * elf/tst-unique1mod1.c: Likewise.
14266 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14267 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14268 Replace ASM_TYPE_DIRECTIVE with .type.
14269 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14270 * sysdeps/i386/sysdep.h: Likewise.
14271 * sysdeps/x86_64/sysdep.h: Likewise.
14272 * sysdeps/sh/sysdep.h: Likewise.
14273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14274 Do not define ASM_TYPE_DIRECTIVE.
14275 * sysdeps/powerpc/sysdep.h: Likewise.
14276 * sysdeps/powerpc/powerpc32/sysdep.h:
14277 Replace ASM_TYPE_DIRECTIVE with .type.
14278 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14279 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14280 * sysdeps/i386/fpu/e_powf.S: Likewise.
14281 * sysdeps/i386/fpu/e_expl.S: Likewise.
14282 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14283 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14284 * sysdeps/i386/fpu/e_pow.S: Likewise.
14285 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14286 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14287 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14288 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14289 * sysdeps/i386/fpu/e_log2.S: Likewise.
14290 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14291 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14292 * sysdeps/i386/fpu/e_powl.S: Likewise.
14293 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14294 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14295 * sysdeps/i386/fpu/e_logl.S: Likewise.
14296 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14297 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14298 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14299 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14300 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14301 * sysdeps/i386/fpu/e_log.S: Likewise.
14302 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14303 * sysdeps/i386/fpu/e_logf.S: Likewise.
14304 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14305 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14306 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14307 * sysdeps/i386/fpu/e_log10.S: Likewise.
14308 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14309 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14310 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14311 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14312 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14313 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14314 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14315 * sysdeps/i386/i686/strtok.S: Likewise.
14316 * sysdeps/i386/i386-mcount.S: Likewise.
14317 * sysdeps/i386/strtok.S: Likewise.
14318 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14319 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14320 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14321 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14322 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14323 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14324 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14325 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14326 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14327 * sysdeps/x86_64/_mcount.S: Likewise.
14328 * sysdeps/x86_64/strtok.S: Likewise.
14329 * sysdeps/sh/_mcount.S: Likewise.
14331 2012-08-01 Roland McGrath <roland@hack.frob.com>
14333 * libio/iofopen.c: Include <fcntl.h>.
14334 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14335 (_IO_fopen64, fopen64): Define as aliases.
14336 * libio/iofopen64.c: Include <fcntl.h>.
14337 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14338 Conditionalize body on this.
14339 * sysdeps/wordsize-64/iofopen.c: File removed.
14340 * sysdeps/wordsize-64/iofopen64.c: File removed.
14342 2012-08-01 Marek Polacek <polacek@redhat.com>
14344 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14345 Use dlfcn directly instead of a variable.
14346 (binfmt-subdir): Do not define.
14349 2012-08-01 Joseph Myers <joseph@codesourcery.com>
14351 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14352 Remove all definitions.
14353 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14354 <kernel-features.h>.
14355 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14356 (miss_F_GETOWN_EX): Remove all definitions.
14357 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14359 [!__ASSUME_FCNTL64]: Remove conditional code.
14360 [__ASSUME_FCNTL64]: Make code unconditional.
14361 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14362 <kernel-features.h>.
14363 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14364 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14365 (lockf64) [__NR_fcntl64]: Make code unconditional.
14366 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14368 * sysdeps/unix/sysv/linux/kernel-features.h
14369 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14370 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14371 Make code unconditional.
14372 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14373 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14375 [__NR_vfork]: Make code unconditional.
14376 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14377 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14379 [__NR_vfork]: Make code unconditional.
14380 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14381 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14383 2012-08-01 Roland McGrath <roland@hack.frob.com>
14385 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14386 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14388 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14389 Define mkstemp64 as an alias.
14390 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14391 Define mkstemps64 as an alias.
14392 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14393 Define mkostemp64 as an alias.
14394 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14395 Define mkostemps64 as an alias.
14396 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14397 Conditionalize body on this.
14398 * misc/mkostemp64.c: Likewise.
14399 * misc/mkostemps64.c: Likewise.
14400 * misc/mkstemps64.c: Likewise.
14401 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14402 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14403 * sysdeps/wordsize-64/mkostemp.c: File removed.
14404 * sysdeps/wordsize-64/mkstemp.c: File removed.
14405 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14406 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14407 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14408 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14411 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14412 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14413 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14414 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14416 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14417 compat_symbol macros from <shlib-compat.h> rather than the underlying
14418 default_symbol_version and symbol_version macros, so that DEFAULT
14419 lines in shlib-versions are respected.
14420 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14422 2012-08-01 Florian Weimer <fweimer@redhat.com>
14424 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14425 Declare with warn_unused_result.
14426 (setgid, setregid, setegid, setresgid): Likewise.
14427 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14429 * WUR-REPORT: Remove set*id functions.
14431 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14433 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14435 2012-07-31 Roland McGrath <roland@hack.frob.com>
14438 * include/sys/socket.h (__libc_accept, __libc_accept4):
14439 Add attribute_hidden.
14440 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14442 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14444 * inet/getnetgrent_r.c (setup): Likewise.
14446 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14448 2012-07-31 David S. Miller <davem@davemloft.net>
14450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14452 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14455 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14456 value between 1.0 and 2.0 and smaller part has absolute value less
14458 * math/s_clog10.c (__clog10): Likewise.
14459 * math/s_clog10f.c (__clog10f): Likewise.
14460 * math/s_clog10l.c (__clog10l): Likewise.
14461 * math/s_clogf.c (__clogf): Likewise.
14462 * math/s_clogl.c (__clogl): Likewise.
14463 * math/libm-test.inc (clog_test): Add more tests.
14464 (clog10_test): Likewise.
14465 * sysdeps/i386/fpu/libm-test-ulps: Update.
14466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14468 2012-07-31 Florian Weimer <fweimer@redhat.com>
14470 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14471 Exit with zero in case no suitable GID is found, and write a
14472 message to standard error.
14474 2012-07-30 Roland McGrath <roland@hack.frob.com>
14476 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14478 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14479 (MAXPATHLEN): Removed.
14480 (NOGROUP, NODEV): New macros.
14481 (setbit, clrbit, isset, isclr): New macros.
14482 (howmany, roundup, powerof2): New macros.
14483 (DEV_BSIZE): New macro.
14485 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14486 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14488 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14489 definition on [!__NO_LONG_DOUBLE_MATH].
14491 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14492 PTR_MANGLE and PTR_DEMANGLE.
14494 * socket/accept4.c (accept4): Rename to __libc_accept4.
14495 Define accept4 as a weak alias.
14497 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14498 on [_DIRENT_HAVE_D_TYPE].
14499 * io/ftw.c (ftw_dir): Likewise.
14501 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14503 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14505 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14506 Use the BSD numbers rather than the arbitrary ones we had.
14507 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14508 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14509 (SIGXCPU, SIGXFSZ): New macros.
14512 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14513 initializer on [_LIBC_REENTRANT].
14515 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14516 definitions inside [_POSIX_MAPPED_FILES].
14518 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14520 * dirent/opendir.c: Include <fcntl.h>.
14522 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14523 (__libc_getspecific): Likewise.
14524 (__libc_key_create): Likewise.
14526 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14527 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14528 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14529 (tmpfile64): Define as alias.
14530 * sysdeps/wordsize-64/tmpfile.c: File removed.
14531 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14532 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14533 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14535 * stdio-common/vfscanf.c: Include <stdbool.h>.
14536 * nss/makedb.c: Likewise.
14537 * stdio-common/_i18n_number.h: Likewise.
14538 * argp/argp-help.c: Likewise.
14539 * posix/wordexp.c: Likewise.
14540 * sysdeps/posix/spawni.c: Likewise.
14541 * nss/nss_files/files-initgroups.c: Likewise.
14542 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14543 * nss/nss_files/files-initgroups.c: Likewise.
14544 * nss/nss_db/db-netgrp.c: Likewise.
14545 * nss/nss_db/db-initgroups.c: Likewise.
14546 * io/fchmodat.c: Include <sys/stat.h>.
14548 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14549 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14551 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14554 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14555 Add multiple inclusion protection.
14557 2012-07-27 David S. Miller <davem@davemloft.net>
14559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14561 2012-07-27 Gary Benson <gbenson@redhat.com>
14564 * elf/rtld.c: Include <stap-probe.h>.
14565 (dl_main): Added static probes "init_start" and "init_complete".
14566 * elf/dl-load.c: Include <stap-probe.h>.
14567 (lose): Take new parameter "nsid".
14568 Added static probe "map_failed".
14569 (_dl_map_object_from_fd): Pass namespace id to lose.
14570 Added static probe "map_start".
14571 (open_verify): Pass namespace id to lose.
14572 * elf/dl-open.c: Include <stap-probe.h>.
14573 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14574 and "reloc_complete".
14575 * elf/dl-close.c: Include <stap-probe.h>.
14576 (_dl_close_worker): Added static probes "unmap_start" and
14578 * elf/rtld-debugger-interface.txt: New file documenting the above.
14580 2012-07-26 Roland McGrath <roland@hack.frob.com>
14582 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14583 rather than a string variable.
14584 * sunrpc/rpc_main.c (h_output): Likewise.
14585 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14587 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14589 * inet/check_native.c: New file.
14591 2012-07-26 Joseph Myers <joseph@codesourcery.com>
14594 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14595 if larger part has absolute value 1.0.
14596 * math/s_clog10.c (__clog10): Likewise.
14597 * math/s_clog10f.c (__clog10f): Likewise.
14598 * math/s_clog10l.c (__clog10l): Likewise.
14599 * math/s_clogf.c (__clogf): Likewise.
14600 * math/s_clogl.c (__clogl): Likewise.
14601 * math/libm-test.inc (clog_test): Add more tests.
14602 (clog10_test): Likewise.
14603 * sysdeps/i386/fpu/libm-test-ulps: Update.
14604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14606 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14607 (pltexit): Likewise.
14608 (La_regs): Likewise.
14609 (La_retval): Likewise.
14610 (int_retval): Likewise.
14611 Update #error for removed macros to refer only to definitions in
14613 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14615 (pltexit): Likewise.
14616 (La_regs): Likewise.
14617 (La_retval): Likewise.
14618 (int_retval): Likewise.
14619 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14621 (pltexit): Likewise.
14622 (La_regs): Likewise.
14623 (La_retval): Likewise.
14624 (int_retval): Likewise.
14625 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14627 (pltexit): Likewise.
14628 (La_regs): Likewise.
14629 (La_retval): Likewise.
14630 (int_retval): Likewise.
14631 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14633 (pltexit): Likewise.
14634 (La_regs): Likewise.
14635 (La_retval): Likewise.
14636 (int_retval): Likewise.
14637 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14639 (pltexit): Likewise.
14640 (La_regs): Likewise.
14641 (La_retval): Likewise.
14642 (int_retval): Likewise.
14643 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14645 (pltexit): Likewise.
14646 (La_regs): Likewise.
14647 (La_retval): Likewise.
14648 (int_retval): Likewise.
14649 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14650 macro definitions in tst-audit.h.
14651 * sysdeps/i386/tst-audit.h: New file.
14652 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14653 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14654 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14655 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14656 * sysdeps/sh/tst-audit.h: Likewise.
14657 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14658 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14659 * sysdeps/x86_64/tst-audit.h: Likewise.
14661 2012-07-26 Andreas Jaeger <aj@suse.de>
14663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14666 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14667 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14668 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14670 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14671 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14672 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14674 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14677 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14679 (si_call_addr, si_syscall, si_arch): Define new macro.
14680 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14682 (si_call_addr, si_syscall, si_arch): Define new marcro.
14683 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14685 (si_call_addr, si_syscall, si_arch): Define new macro.
14686 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14688 (si_call_addr, si_syscall, si_arch): Define new macro.
14690 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14693 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14694 Change to 2.4.21 where previously 2.4.1.
14695 * sysdeps/unix/sysv/linux/configure: Regenerated.
14696 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14697 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14698 Linux kernel version.
14699 (__ASSUME_STD_AUXV): Remove.
14700 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14702 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14703 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14704 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14705 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14706 (__ASSUME_NETLINK_SUPPORT): Likewise.
14707 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14708 (__no_netlink_support): Remove conditional definition.
14709 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14711 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14712 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14713 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14714 (if_nameindex_ioctl): Remove.
14715 (if_nameindex_netlink): Do not handle __no_netlink_support.
14716 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14718 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14719 Remove conditional code.
14720 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14722 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14724 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14725 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14726 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14728 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14729 [!__ASSUME_STD_AUXV]: Remove conditional code.
14730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14731 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14732 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14734 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14735 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14737 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14739 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14740 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14742 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14744 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14747 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14750 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14751 code unconditional.
14752 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14754 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14756 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14759 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14761 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14764 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14765 code unconditional.
14766 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14768 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14770 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14773 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14774 code unconditional.
14775 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14777 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14779 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14782 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14784 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14785 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14786 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14787 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14788 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14789 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14790 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14791 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14792 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14793 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14794 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14795 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14796 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14797 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14798 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14799 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14800 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14801 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14802 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14804 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14805 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14806 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14808 2012-07-25 Florian Weimer <fweimer@redhat.com>
14810 * Versions.def: Add GLIBC_2.17.
14811 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14812 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14813 Introduce __libc_secure_getenv.
14814 * stdlib/Versions (2.17): Add secure_getenv
14815 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14816 * stdlib/secure-getenv.c: Rename __secure_getenv to
14817 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14818 symbol __secure_getenv for GLIBC_2.0.
14819 * stdlib/tst-secure-getenv.c: New.
14820 * stdlib/Makefile (tests): Add testcase.
14821 * manual/startup.texi (Environment Access): Document
14823 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14824 __libc_secure_getenv.
14825 * inet/ruserpass.c (ruserpass): Likewise.
14826 * malloc/mtrace.c (mtrace): Likewise.
14827 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14828 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14829 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14830 * sysdeps/posix/tempname.c: Likewise. Evaluate
14831 HAVE_SECURE_GETENV.
14832 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14833 __secure_getenv to __libc_secure_getenv.
14834 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14847 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14849 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14850 (struct La_i86_retval): Likewise.
14851 (struct La_x86_64_regs): Likewise.
14852 (struct La_x86_64_retval): Likewise.
14853 (struct La_x32_regs): Likewise.
14854 (struct La_x32_retval): Likewise.
14855 (struct La_ppc32_regs): Likewise.
14856 (struct La_ppc32_retval): Likewise.
14857 (struct La_ppc64_regs): Likewise.
14858 (struct La_ppc64_retval): Likewise.
14859 (struct La_sh_regs): Likewise.
14860 (struct La_sh_retval): Likewise.
14861 (struct La_s390_32_regs): Likewise.
14862 (struct La_s390_32_retval): Likewise.
14863 (struct La_s390_64_regs): Likewise.
14864 (struct La_s390_64_retval): Likewise.
14865 (struct La_sparc32_regs): Likewise.
14866 (struct La_sparc32_retval): Likewise.
14867 (struct La_sparc64_regs): Likewise.
14868 (struct La_sparc64_retval): Likewise.
14869 (struct audit_ifaces): Remove architecture-specific pltenter and
14871 * sysdeps/i386/ldsodefs.h: New file.
14872 * sysdeps/powerpc/ldsodefs.h: Likewise.
14873 * sysdeps/s390/ldsodefs.h: Likewise.
14874 * sysdeps/sh/ldsodefs.h: Likewise.
14875 * sysdeps/sparc/ldsodefs.h: Likewise.
14876 * sysdeps/x86_64/ldsodefs.h: Likewise.
14878 2012-07-25 Marek Polacek <polacek@redhat.com>
14881 * math/libm-test.inc (yn_test): Add another test.
14882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14883 to ERANGE when the result is +-Inf.
14884 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14885 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14886 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14887 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14889 2012-07-24 Joseph Myers <joseph@codesourcery.com>
14891 * conform/data/time.h-data (NULL): Use macro-constant. Require
14893 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14895 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14897 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14899 * configure.in <sysdeps resolving>: Correct printing
14901 * configure: Regenerate.
14903 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14905 * math/w_ilogb.c: Include <limits.h>.
14906 * math/w_ilogbl.c: Likewise.
14908 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14910 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14911 va_copy. Document allowing for unavailable va_copy only as
14912 pre-C99 compatibility.
14913 * manual/string.texi (Copying and Concatenation): Use va_copy
14914 instead of __va_copy in concat example.
14916 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14918 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14919 (__sendto): Use create_address_port. Initialize APORT and deallocate
14922 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14923 with O_NOLINK passed to __file_name_lookup.
14925 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14926 with O_NOLINK passed to __file_name_lookup.
14928 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14929 negative N or less than NGIDS.
14931 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14932 type to string_t. Set ERANGE as errno and return it if NAME is not big
14933 enough. Use memcpy instead of strncpy.
14935 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14937 * elf/Makefile (check-data): Remove.
14938 (localplt.data): New vpath directive.
14939 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14940 instead of $(check-data).
14941 * scripts/data/localplt-generic.data: Move to ...
14942 * sysdeps/generic/localplt.data: ... here.
14943 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14944 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14945 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14948 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14951 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14954 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14957 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14960 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14964 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14966 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14967 PPC32 and PPC64 files.
14968 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14969 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14971 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14973 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14974 __makecontext_ret to ...
14975 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14976 ... here and call exit if uc_link is NULL. New file.
14977 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14978 __makecontext_ret.S.
14979 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14980 __makecontext_ret to ...
14981 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14982 ... here and call exit if uc_link is NULL. New file.
14983 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14984 __makecontext_ret.S.
14986 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14988 * elf/elf.h (R_390_IRELATIVE): New definition.
14989 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14990 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14991 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14992 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14993 (elf_machine_lazy_rel): Likewise.
14994 * sysdeps/s390/dl-irel.h: New file.
14995 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14996 * sysdeps/s390/s390-64/memset.S: New asm code.
14997 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14998 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14999 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15000 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15001 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15002 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15003 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15004 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15005 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15006 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15007 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15008 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15009 * sysdeps/s390/s390-32/memset.S: New asm code.
15010 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15012 2012-07-17 Marek Polacek <polacek@redhat.com>
15015 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15016 * sysdeps/s390/s390-64/configure.in: Likewise.
15017 * sysdeps/sparc/configure.in: Likewise.
15018 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15019 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15020 * sysdeps/i386/configure.in: Likewise.
15021 * sysdeps/x86_64/configure.in: Likewise.
15022 * sysdeps/sh/configure.in: Likewise.
15023 * sysdeps/s390/s390-32/configure: Regenerated.
15024 * sysdeps/s390/s390-64/configure: Likewise.
15025 * sysdeps/x86_64/configure: Likewise.
15026 * sysdeps/sh/configure: Likewise.
15027 * sysdeps/powerpc/powerpc64/configure: Likewise.
15028 * sysdeps/powerpc/powerpc32/configure: Likewise.
15029 * sysdeps/sparc/configure: Likwise.
15030 * sysdeps/i386/configure: Likewise.
15032 * elf/dl-open.c: Comment fixes.
15034 2012-07-17 Joseph Myers <joseph@codesourcery.com>
15036 * Makefile [CXX] (check-data): Remove.
15037 [CXX] (c++-types.data): New vpath directive.
15038 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15039 vpath. Do not allow for C++ type data being missing.
15040 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15041 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15042 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15043 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15044 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15045 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15046 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15049 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15052 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15055 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15058 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15061 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15064 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15067 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15070 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15071 definitions to architecture-specific files.
15072 (TLS_IE): Likewise.
15073 (TLS_LD): Likewise.
15074 (TLS_GD): Likewise.
15075 * sysdeps/i386/tls-macros.h: New file.
15076 * sysdeps/powerpc/tls-macros.h: Likewise.
15077 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15078 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15079 * sysdeps/sh/tls-macros.h: Likewise.
15080 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15081 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15082 * sysdeps/x86_64/tls-macros.h: Likewise.
15084 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15086 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15087 zero value for regular exit case.
15089 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15090 (__start_context): Preserve zero value for regular exit case.
15092 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15093 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15095 * manual/setjmp.texi (setcontext): Clarify normal process
15096 termination when uc_link is the null pointer.
15097 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15100 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15102 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15103 preprocessor. Test for each exception mask separately.
15105 2012-07-16 Andreas Jaeger <aj@suse.de>
15107 * po/ru.po: Update from translation team.
15109 2012-07-15 Joseph Myers <joseph@codesourcery.com>
15111 * conform/data/string.h-data (NULL): Use macro-constant. Require
15113 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15114 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15115 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15116 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15119 2012-07-13 Andreas Jaeger <aj@suse.de>
15121 * po/fr.po: Update from translation team.
15123 2012-07-12 Marek Polacek <polacek@redhat.com>
15126 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15127 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15130 2012-07-12 Joseph Myers <joseph@codesourcery.com>
15133 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15134 Change to 2.4.1 where previously 2.4.0.
15135 * sysdeps/unix/sysv/linux/configure: Regenerated.
15136 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15137 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15139 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15140 (__ASSUME_AT_CLKTCK): Remove.
15141 (__ASSUME_AT_PAGESIZE): Likewise.
15142 (__ASSUME_AT_XID): Likewise.
15143 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15144 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15145 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15147 (HAVE_AUX_PAGESIZE): Likewise.
15148 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15149 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15150 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15152 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15156 the temporary buffer used to invoke __gethostbyname2_r,
15157 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15158 host_data / struct gaih_addrtuple.
15159 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15160 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15161 header file nss/nsswitch.h.
15162 * nss/nsswitch.h (global scope): Add definition of implementation
15163 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15164 resolv/nss_dns/dns-host.c).
15166 2012-07-11 Andreas Jaeger <aj@suse.de>
15168 * po/fr.po: Update from translation team.
15170 * po/sv.po: Update from translation team
15171 * po/fr.po: Another update from translation team.
15173 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15175 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15176 for subnormals or multiply small sinh result by itself.
15177 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15180 2012-07-11 David S. Miller <davem@davemloft.net>
15182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15184 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15187 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15188 (INTERNAL_MARK): Shift it here.
15190 2012-07-10 Marek Polacek <polacek@redhat.com>
15193 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15194 libc_cv_asm_global_directive with .globl.
15195 * configure: Regenerated.
15196 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15198 * sysdeps/i386/configure: Regenerated.
15199 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15201 * sysdeps/x86_64/configure: Regenerated.
15202 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15203 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15204 * elf/tst-unique2mod2.c: Likewise.
15205 * elf/tst-unique2mod1.c: Likewise.
15206 * elf/tst-unique1mod2.c: Likewise.
15207 * elf/tst-unique1mod1.c: Likewise.
15208 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15209 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15210 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15211 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15212 * sysdeps/mach/sysdep.h: Likewise.
15213 * sysdeps/i386/sysdep.h: Likewise.
15214 * sysdeps/i386/i386-mcount.S: Likewise.
15215 * sysdeps/x86_64/_mcount.S: Likewise.
15216 * sysdeps/x86_64/sysdep.h: Likewise.
15217 * sysdeps/sh/_mcount.S: Likewise.
15218 * sysdeps/sh/sysdep.h: Likewise.
15219 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15220 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15221 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15222 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15223 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15224 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15225 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15226 * locale/localeinfo.h: Likewise.
15227 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15228 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15230 2012-07-09 Roland McGrath <roland@hack.frob.com>
15233 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15235 * manual/message.texi (The Uniforum approach): Likewise.
15236 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15237 (glibc iconv Implementation): Likewise.
15239 2012-07-09 Joseph Myers <joseph@codesourcery.com>
15242 * math/s_clog.c (__clog): Avoid scaling a value down where that
15243 could result in underflow.
15244 * math/s_clog10.c (__clog10): Likewise.
15245 * math/s_clog10f.c (__clog10f): Likewise.
15246 * math/s_clog10l.c (__clog10l): Likewise.
15247 * math/s_clogf.c (__clogf): Likewise.
15248 * math/s_clogl.c (__clogl): Likewise.
15249 * math/libm-test.inc (clog_test): Add more tests.
15250 (clog10_test): Likewise.
15251 * sysdeps/i386/fpu/libm-test-ulps: Update.
15252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15254 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15257 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15258 by 7 not 8 to examine high bit of fractional part.
15261 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15262 for call to __mcount_internal.
15263 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15264 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15265 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15267 2012-07-06 Joseph Myers <joseph@codesourcery.com>
15270 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15271 approximation for values within 0x1p-13f of an odd multiple of
15273 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15274 exception. Add more tests.
15275 * sysdeps/i386/fpu/libm-test-ulps: Update.
15278 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15279 inputs and return -1 for them. Do not check for +Inf in case not
15280 reachable for +Inf.
15281 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15282 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15283 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15284 and return -1 for them. Do not check for +Inf in case not
15285 reachable for +Inf.
15286 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15288 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15289 and return -1 for them. Do not check for +Inf in case not
15290 reachable for +Inf.
15291 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15292 spurious underflow.
15293 * sysdeps/i386/fpu/libm-test-ulps: Update.
15294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15296 2012-07-06 Mike Frysinger <vapier@gentoo.org>
15298 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15300 2012-07-05 Joseph Myers <joseph@codesourcery.com>
15304 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15305 could result in spurious underflow. Scale down values above
15306 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15307 * math/s_csqrtf.c (__csqrtf): Likewise.
15308 * math/s_csqrtl.c (__csqrtl): Likewise.
15309 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15310 spurious underflow.
15311 * sysdeps/i386/fpu/libm-test-ulps: Update.
15312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15314 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15316 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15318 * catgets/xopen-msg.awk: New file.
15319 * catgets/xopen-msg.sed: Removed.
15321 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15323 * intl/po2test.awk: New file.
15324 * intl/po2test.sed: Removed.
15326 2012-07-04 Joseph Myers <joseph@codesourcery.com>
15329 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15330 or multiply small sinh result by itself.
15331 * math/s_ctanf.c (__ctanf): Likewise.
15332 * math/s_ctanh.c (__ctanh): Likewise.
15333 * math/s_ctanhf.c (__ctanhf): Likewise.
15334 * math/s_ctanhl.c (__ctanhl): Likewise.
15335 * math/s_ctanl.c (__ctanl): Likewise.
15336 * math/libm-test.inc (ctan_test_tonearest): New function.
15337 (ctan_test_towardzero): Likewise.
15338 (ctan_test_downward): Likewise.
15339 (ctan_test_upward): Likewise.
15340 (ctanh_test_tonearest): Likewise.
15341 (ctanh_test_towardzero): Likewise.
15342 (ctanh_test_downward): Likewise.
15343 (ctanh_test_upward): Likewise.
15344 (main): Call these new functions.
15345 * sysdeps/i386/fpu/libm-test-ulps: Update.
15346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15348 2012-07-03 Mike Frysinger <vapier@gentoo.org>
15350 * .gitignore: Delete /ports entry.
15352 2012-07-03 Andreas Jaeger <aj@suse.de>
15354 * po/bg.po: Update from translation team.
15355 * po/cs.po: Likewise.
15356 * po/de.po: Likewise.
15357 * po/hr.po: Likewise.
15358 * po/nl.pl: Likewise.
15359 * po/pl.po: Likewise.
15360 * po/vi.po: Likewise.
15362 2012-07-03 Joseph Myers <joseph@codesourcery.com>
15364 * Makeconfig [!+link] (+link-before-libc): New variable.
15365 [!+link] (+link-after-libc): Likewise.
15366 [!+link] (+link-tests): Likewise.
15367 [!+link] (+link): Define in terms of $(+link-before-libc) and
15368 $(+link-after-libc).
15369 [!+link-static] (+link-static-before-libc): New variable.
15370 [!+link-static] (+link-static-after-libc): Likewise.
15371 [!+link-static] (+link-static-tests): Likewise.
15372 [!+link-static] (+link-static): Define in terms of
15373 $(+link-static-before-libc) and $(+link-static-after-libc).
15374 [build-shared] (link-libc-before-gnulib): New variable.
15375 [build-shared] (link-libc-tests): Likewise.
15376 [build-shared] (link-libc): Define in terms of
15377 $(link-libc-before-gnulib).
15378 [!build-shared] (link-libc-tests): New variable.
15379 (link-libc-static-tests): New variable.
15380 [!gnulib] (gnulib-arch): New variable.
15381 [!gnulib] (gnulib-tests): Likewise.
15382 [!gnulib] (static-gnulib-arch): Likewise.
15383 [!gnulib] (static-gnulib-tests): Likewise.
15384 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15385 Define with "=" instead of ":=".
15386 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15387 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15388 * Rules (binaries-all-notests): New variable.
15389 (binaries-all-tests): Likewise.
15390 (binaries-static-notests): Likewise.
15391 (binaries-static-tests): Likewise.
15392 (binaries-all): Define using $(binaries-all-notests) and
15393 $(binaries-all-tests).
15394 (binaries-static): Define using $(binaries-static-notests) and
15395 $(binaries-static-tests).
15396 (binaries-shared-tests): New variable.
15397 (binaries-shared-notests): Likewise.
15398 (binaries-shared): Remove variable.
15399 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15400 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15401 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15402 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15403 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15404 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15405 * elf/Makefile (sln-modules): New variable.
15406 (extra-objs): Add $(sln-modules:=.o).
15407 (ldconfig-modules): Add static-stubs.
15408 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15409 * elf/static-stubs.c: New file.
15412 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15413 by 7 not 8 to examine high bit of fractional part. Use volatile
15414 variables when splitting into final array of floats if
15415 __FLT_EVAL_METHOD__ != 0.
15416 * math/libm-test.inc (cos_test): Add another test.
15417 (sin_test): Likewise.
15418 * sysdeps/i386/fpu/libm-test-ulps: Update.
15421 * math/libm-test.inc (cosh_test): Add more tests.
15423 * version.h (RELEASE): Set to "development".
15424 (VERSION): Set to "2.16.90".
15426 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15428 * NEWS: Update copyright. Remove last-updated date.
15429 Mention math library bug fixes and timezone data changes.
15430 * README: Mention GNU/Hurd, x32, and HPPA support status.
15432 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15434 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15436 2012-06-27 Andreas Jaeger <aj@suse.de>
15438 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15440 2012-06-25 Andreas Jaeger <aj@suse.de>
15442 * sysdeps/s390/fpu/libm-test-ulps: Update.
15444 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15445 Thomas Schwinge <thomas@codesourcery.com>
15447 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15448 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15452 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15454 * sysdeps/mach/start.c: Remove file.
15455 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15456 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15457 * sysdeps/sh/init-first.c: Likewise.
15459 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15460 registers for frame unwinding purposes, add CFI directives.
15461 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15462 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15463 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15466 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15467 __fortify_fail returning.
15468 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15470 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15471 sysdeps/sh/____longjmp_chk.S.
15472 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15473 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15474 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15475 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15477 * sysdeps/sh/abort-instr.h: New file.
15478 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15479 process in case exit returns.
15481 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15482 initialize the GOT register before use.
15484 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15485 calculation of ARGC > 4.
15487 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15488 meaningful names to some local labels.
15490 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15491 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15493 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15494 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15495 (__arch_compare_and_exchange_val_16_acq): Likewise.
15496 (__arch_compare_and_exchange_val_32_acq): Likewise.
15497 (atomic_exchange_and_add): Fix gUSA sequence.
15498 (atomic_add): Likewise.
15499 (atomic_add_negative): Likewise.
15500 (atomic_add_zero): Likewise.
15501 (atomic_bit_test_set): Likewise.
15503 2012-06-22 Andreas Schwab <schwab@redhat.com>
15506 * include/link.h (struct link_map): Add l_free_initfini.
15507 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15509 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15510 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15511 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15514 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15516 * configure.in: Use AC_LANG_SOURCE.
15517 * configure: Regenerate.
15519 2012-06-22 Roland McGrath <roland@hack.frob.com>
15521 * configure.in (libc_cv_localstatedir): New substituted variable.
15522 * configure: Regenerated.
15523 * config.make.in (localstatedir): New variable, substituted from
15524 libc_cv_localstatedir.
15525 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15526 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15527 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15528 * sysdeps/gnu/configure: Regenerated.
15530 2012-06-21 Jeff Law <law@redhat.com>
15533 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15534 free. Simplify list management for _LIBC case.
15536 2012-06-21 Joseph Myers <joseph@codesourcery.com>
15539 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15540 Clear sign bit of 64-bit integer value before comparing against
15543 * sysdeps/mach/configure: Regenerated.
15545 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15548 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15550 2012-06-21 Jeff Law <law@redhat.com>
15553 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15554 uint16_t for elements in the "seen" array to avoid char overflows.
15555 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15556 * elf/dl-open.c (dl_open_worker): Likewise.
15558 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15560 * scripts/list-sources.sh: Scan PORTS for translations.
15561 * po/libc.pot: Regenerated.
15563 2012-06-21 Andreas Jaeger <aj@suse.de>
15566 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15568 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15569 * bits/byteswap-16.h (__bswap_16): Likewise.
15570 * bits/byteswap.h (__bswap_constant_16): Likewise.
15572 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15575 * sysdeps/i386/fpu_control.h: Removed.
15576 * sysdeps/x86_64/fpu_control.h: Moved to ...
15577 * sysdeps/x86/fpu_control.h: Here.
15579 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15580 (_FPU_SETCW): Likewise.
15582 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15585 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15586 * sysdeps/x86/fpu/bits/mathinline.h: This.
15587 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15591 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15592 functions if __x86_64__ is defined.
15594 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15596 * string/endian.h: Add !__ASSEMBLER__ condition for including
15597 conversion interfaces.
15599 2012-06-15 Joseph Myers <joseph@codesourcery.com>
15602 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15603 of ABS(x) in calculating zero to negative powers other than odd
15605 * math/libm-test.inc (pow_test): Add more tests.
15607 2012-06-15 Andreas Jaeger <aj@suse.de>
15609 * manual/contrib.texi (Contributors): Update entry of Liubov
15610 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15613 2012-06-15 Cyril Hrubis <metan@ucw.cz>
15615 * string/string.h: Add __wur to GNU version of strerror_r.
15617 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15620 * string/Makefile (tests): Add tst-strtok_r.
15621 * string/tst-strtok_r.c: New file.
15622 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15623 RAX_LP/RDX_LP on SAVE_PTR.
15625 2012-06-14 Roland McGrath <roland@hack.frob.com>
15627 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15629 2012-06-14 Joseph Myers <joseph@codesourcery.com>
15631 * libm_test.inc (csqrt_test): Allow more spurious underflow
15633 (j0_test): Likewise.
15634 (j1_test): Likewise.
15635 (y0_test): Likewise.
15636 (y1_test): Likewise.
15638 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15640 * po/Makefile (libc.pot): Use UTF-8 charset.
15642 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15645 Suppress sign-conversion warning from FD_SET.
15646 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15647 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15648 not unsigned long int.
15649 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15651 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15655 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15656 __extern_always_inline instead of __extern_inline.
15657 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15658 (__signbit): Likewise.
15659 (__signbitl): Support C++ namespace.
15660 (lrintf): New inline function.
15662 (llrintf): Likewise.
15663 (llrint): Likewise.
15673 (floorf): Likewise.
15674 (nearbyint): Likewise.
15675 (nearbyintf): Likewise.
15677 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15679 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15680 non-default versions.
15682 2012-06-11 Roland McGrath <roland@hack.frob.com>
15685 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15687 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15689 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15690 (FE_UPWARD, FE_DOWNWARD): Don't define.
15691 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15692 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15694 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15696 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15697 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15699 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15701 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15703 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15704 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15706 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15709 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15710 * sysdeps/i386/fpu/Implies: New file.
15711 * sysdeps/x86_64/fpu/Implies: Likewise.
15712 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15713 * sysdeps/x86/fpu/bits/fenv.h: This.
15715 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15718 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15721 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15722 character 0xffff that matches the last element of the
15725 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15727 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15730 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15732 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15733 values higher than 25.6283.
15735 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15737 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15738 subnormal exponent extraction and add some __builtin_expect.
15739 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15740 Fix for subnormal mantissa calculation.
15742 2012-06-04 Mike Frysinger <vapier@gentoo.org>
15744 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15745 cpu2 is -1 and errno is not ENOSYS.
15747 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15750 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15751 * sysdeps/x86/bits/string.h: This.
15752 * sysdeps/x86_64/bits/string.h: Removed.
15754 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15755 if not compiling for x86-64, but compiling for >= i486.
15757 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15758 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15760 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15761 New macro from Linux kernel 3.4.0.
15762 (FP_XSTATE_MAGIC2): Likewise.
15763 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15764 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15765 (struct _fpx_sw_bytes): New struct.
15766 (struct _xsave_hdr): Likewise.
15767 (struct _ymmh_state): Likewise.
15768 (struct _xstate): Likewise.
15770 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15771 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15772 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15773 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15774 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15775 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15777 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15778 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15779 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15780 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15781 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15782 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15784 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15787 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15788 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15789 (sysdep_headers): Include sys/platform/ppc.h.
15790 * sysdeps/powerpc/test-gettimebase.c: Test for
15791 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15792 * manual/Makefile (appendices): Include platform.texi.
15793 * manual/contrib.texi (Contributors): Update @node pointers.
15794 * manual/maint.texi (Maintenance): Likewise.
15795 (Platform): New node.
15796 * manual/platform.texi: New file. Document the new features.
15798 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15799 Jakub Jelinek <jakub@redhat.com>
15802 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15803 where __builtin_expect is unavailable.
15805 2012-06-03 David S. Miller <davem@davemloft.net>
15807 * stdlib/longlong.h: Updated from GCC.
15809 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15812 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15813 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15816 (GLIBC_2.16): Likewise.
15818 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15820 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15822 2012-06-01 Joseph Myers <joseph@codesourcery.com>
15824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15825 (default-abi): New variable.
15826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15827 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15829 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15831 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15833 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15836 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15837 definition. Document in comment.
15839 2012-06-01 David S. Miller <davem@davemloft.net>
15841 * stdlib/longlong.h: Updated from GCC.
15843 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15846 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15847 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15848 sys/debugreg.h sys/io.h here.
15849 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15850 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15852 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15853 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15854 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15855 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15856 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15857 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15860 Define only if __x86_64__ is defined.
15862 2012-06-01 Joseph Myers <joseph@codesourcery.com>
15865 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15866 Use int64_t for variable i.
15867 * math/libm-test.inc (fmod_test): Add more tests.
15869 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15870 z computation is not scheduled after fetestexcept.
15871 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15872 Use math_force_eval instead of asm to ensure calculation scheduled
15873 before exception test.
15874 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15875 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15877 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15880 computation is not scheduled after fetestexcept.
15882 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15885 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15886 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15888 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15890 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15891 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15893 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15896 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15898 (__WCHAR_MIN): Support __WORDSIZE == 64.
15899 (__WCHAR_MAX): Likewise.
15901 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15902 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15905 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15906 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15909 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15910 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15912 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15913 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15915 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15916 Defined to 1 if __x86_64__ isn't defined.
15917 (_STAT_VER_LINUX_OLD): New.
15918 (st_atime): Remove duplicate.
15919 (st_mtime): Likewise.
15920 (st_ctime): Likewise.
15922 2012-05-31 David S. Miller <davem@davemloft.net>
15924 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15927 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15929 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15933 * elf/dl-reloc.c: Include <_itoa.h>.
15934 (_dl_reloc_bad_type): Remove use of INTUSE.
15935 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15936 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15937 * stdio-common/psiginfo.c (psiginfo): Likewise.
15938 * stdio-common/psignal.c (psignal): Likewise.
15939 * string/strsignal.c (strsignal): Likewise.
15940 * include/signal.h (_sys_siglist): Declare hidden proto.
15941 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15942 INTVARDEF with libc_hidden_data_def.
15943 * stdio-common/itoa-udigits.c: Likewise.
15944 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15945 (_itoa_lower_digits_internal): Remove declaration.
15946 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15947 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15948 (_sys_sigabbrev_internal): Remove aliases.
15949 (_sys_siglist): Define hidden alias.
15951 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15956 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15959 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15960 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15962 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15963 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15964 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15965 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15966 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15967 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15969 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15970 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15971 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15973 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15981 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15982 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15983 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15985 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15986 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15987 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15988 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15989 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15990 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15992 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15993 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15995 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15996 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15998 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15999 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16000 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16002 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16003 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16005 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16007 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16008 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16009 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16011 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16013 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16015 2012-05-31 Joseph Myers <joseph@codesourcery.com>
16017 * math/math.h (M_El): Use two more decimal places.
16018 (M_LOG2El): Likewise.
16019 (M_LOG10El): Likewise.
16020 (M_LN2l): Likewise.
16021 (M_LN10l): Likewise.
16023 (M_PI_2l): Likewise.
16024 (M_PI_4l): Likewise.
16025 (M_1_PIl): Likewise.
16026 (M_2_PIl): Likewise.
16027 (M_2_SQRTPIl): Likewise.
16028 (M_SQRT2l): Likewise.
16029 (M_SQRT1_2l): Likewise.
16031 2012-05-31 David S. Miller <davem@davemloft.net>
16033 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16034 values between float registers.
16035 * sysdeps/sparc/sparc64/memset.S: Likewise.
16036 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16038 2012-05-31 Mike Frysinger <vapier@gentoo.org>
16040 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16041 -D_FORTIFY_SOURCE=1.
16042 (CPPFLAGS-tst-longjmp_chk.c): Define.
16043 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16044 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16045 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16046 CFLAGS-tst-wchar-h.c.
16048 2012-05-31 Marek Polacek <polacek@redhat.com>
16051 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16052 __endmntent_internal): Remove declaration.
16053 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16054 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16055 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16057 2012-05-30 David S. Miller <davem@davemloft.net>
16059 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16060 (___Q_simulate_exceptions): Use real FP ops rather than writing
16062 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16065 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16068 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16069 * sysdeps/x86/bits/xtitypes.h: This.
16071 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16072 * sysdeps/x86/bits/wordsize.h: This.
16074 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16075 * sysdeps/x86/bits/huge_vall.h: This.
16077 * sysdeps/i386/bits/select.h: Removed.
16078 * sysdeps/x86_64/bits/select.h: Renamed to ...
16079 * sysdeps/x86/bits/select.h: This.
16081 * sysdeps/i386/bits/setjmp.h: Removed.
16082 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16083 * sysdeps/x86/bits/setjmp.h: This.
16085 * sysdeps/i386/bits/mathdef.h: Removed.
16086 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16087 * sysdeps/x86/bits/mathdef.h: This.
16089 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16092 * include/sys/socket.h (__connect_internal)
16093 (__libc_sa_len_internal): Remove declaration.
16094 (__connect, __libc_sa_len): Declare hidden_proto.
16095 (SA_LEN): Remove use of INTUSE.
16096 * socket/connect.c: Add libc_hidden_def.
16097 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16098 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16099 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16101 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16102 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16103 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16104 of adding _internal alias.
16106 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16109 * sysdeps/i386/bits/link.h: Removed.
16110 * sysdeps/i386/bits/linkmap.h: Likewise.
16111 * sysdeps/x86_64/bits/link.h: Renamed to ...
16112 * sysdeps/x86/bits/link.h: This.
16113 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16114 * sysdeps/x86/bits/linkmap.h: This.
16116 * sysdeps/i386/bits/endian.h: Removed.
16117 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16118 * sysdeps/x86/bits/endian.h: This.
16120 * sysdeps/i386/bits/byteswap.h: Removed.
16121 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16122 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16123 * sysdeps/x86/bits/byteswap.h: This.
16124 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16125 * sysdeps/x86/bits/byteswap-16.h: This.
16126 * sysdeps/i386/Implies: Add x86.
16127 * sysdeps/x86_64/Implies: Likewise.
16129 2012-05-30 David S. Miller <davem@davemloft.net>
16131 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16132 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16133 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16134 (FP_TRAPPING_EXCEPTIONS): Define.
16135 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16136 (FP_TRAPPING_EXCEPTIONS): Define.
16137 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16138 subnormals only when inexact has been signalled or underflow
16139 exceptions are enabled.
16140 (_FP_PACK_CANONICAL): Likewise.
16142 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16145 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16146 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16148 2012-05-30 Richard Henderson <rth@twiddle.net>
16150 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16151 with #ifndef NOT_IN_libc.
16153 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16154 marked to avoid plt entry.
16156 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16159 * Makeconfig (default-abi): New macro.
16160 (abi-includes): Likewise.
16161 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16162 $(abi-$(default-abi)-lib-soname) for soname if defined.
16163 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16165 * Makefile (installed-stubs): Likewise.
16166 * include/stubs-biarch.h: Removed.
16167 * scripts/lib-names.awk: Only handle one library at a time.
16168 * scripts/soversions.awk: Remove WORDSIZE support.
16169 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16171 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16173 (syscall-list-default-condition): Likewise.
16174 (syscall-list-default-condition): Likewise.
16175 (syscall-list-includes): Likewise.
16176 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16177 syscall-list-* with abi-*. Handle undefined abi-variants.
16178 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16179 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16180 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16181 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16182 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16183 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16185 (syscall-list-32-options): Likewise.
16186 (syscall-list-32-condition): Likewise.
16187 (syscall-list-64-options): Likewise.
16188 (syscall-list-64-condition): Likewise.
16189 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16191 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16194 (abi-64-ld-soname): New macro.
16195 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16196 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16199 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16200 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16202 2012-05-30 Joseph Myers <joseph@codesourcery.com>
16204 * sysdeps/unix/sysv/linux/kernel-features.h
16205 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16206 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16207 include <kernel-features.h>.
16208 [!__NR_ftruncate64]: Remove conditional code.
16209 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16210 [__NR_ftruncate64]: Make code unconditional.
16211 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16212 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16213 include <kernel-features.h>.
16214 [!__NR_ftruncate64]: Remove conditional code.
16215 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16216 [__NR_ftruncate64]: Make code unconditional.
16217 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16219 include <kernel-features.h>.
16220 [!__NR_ftruncate64]: Remove conditional code.
16221 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16222 [__NR_ftruncate64]: Make code unconditional.
16223 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16225 include <kernel-features.h>.
16226 [!__NR_ftruncate64]: Remove conditional code.
16227 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16228 [__NR_ftruncate64]: Make code unconditional.
16229 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16231 * configure.in (libc_cv_fpie): Weaken to a compile test using
16232 LIBC_TRY_CC_OPTION.
16233 * configure: Regenerated.
16235 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16245 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16250 2012-05-27 David S. Miller <davem@davemloft.net>
16252 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16254 (__Q_simulate_exceptions): Return void. Change to simulate
16255 exceptions by writing into the %fsr.
16256 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16257 (__Qp_handle_exceptions): Likewise.
16259 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16260 __Qp_handle_exceptions.
16261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16262 __Qp_handle_exceptions.
16263 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16264 as unused and give dummy FP_RND_NEAREST initializer.
16265 (FP_INHIBIT_RESULTS): Define.
16266 (___Q_simulate_exceptions): Update declaration.
16267 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16269 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16270 as unused and give dummy FP_RND_NEAREST initializer.
16271 (__Qp_handle_exceptions): Update declaration.
16272 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16275 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16277 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16278 the temporary FPU control word.
16279 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16280 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16281 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16282 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16283 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16284 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16285 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16286 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16287 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16288 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16289 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16291 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16293 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16296 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16298 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16299 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16300 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16301 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16303 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16304 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16307 2012-05-27 Ulrich Drepper <drepper@gmail.com>
16309 * po/h.po: Update from translation team.
16311 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16313 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16315 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16316 handling of denormals.
16317 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16318 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16319 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16320 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16323 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16326 2012-05-26 Marek Polacek <polacek@redhat.com>
16329 * math/libm-test.inc (fma_test): Don't always expect underflow
16332 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16335 * elf/tst-execstack.c: Include stackinfo.h.
16336 (do_test): Adjust test case to ensure that pthread_getattr_np
16337 behaviour remains the same after marking stack executable.
16339 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16341 * sysdeps/unix/sysv/linux/kernel-features.h
16342 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16343 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16345 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16346 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16347 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16349 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16350 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16352 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16354 * configure.in: Define the default includes to being none.
16355 * configure: Regenerated.
16357 2012-05-25 Roland McGrath <roland@hack.frob.com>
16359 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16360 * sysdeps/x86_64/setjmp.S: Likewise.
16361 * sysdeps/i386/bsd-setjmp.S: Likewise.
16362 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16363 * sysdeps/i386/setjmp.S: Likewise.
16364 * sysdeps/i386/__longjmp.S: Likewise.
16365 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16366 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16368 * include/stap-probe.h: New file.
16369 * configure.in: Handle --enable-systemtap.
16370 * configure: Regenerated.
16371 * config.h.in (USE_STAP_PROBE): New #undef.
16372 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16373 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16374 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16376 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16379 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16380 to 2.4.0 where earlier.
16381 * sysdeps/unix/sysv/linux/configure: Regenerated.
16382 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16383 <kernel-features.h>.
16384 [__ASSUME_32BITUIDS]: Make code unconditional.
16385 [!__ASSUME_32BITUIDS]: Remove conditional code.
16386 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16387 <kernel-features.h>.
16388 [__ASSUME_32BITUIDS]: Make code unconditional.
16389 [!__ASSUME_32BITUIDS]: Remove conditional code.
16390 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16391 [__ASSUME_32BITUIDS]: Make code unconditional.
16392 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16393 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16394 <kernel-features.h>.
16395 [__ASSUME_32BITUIDS]: Make code unconditional.
16396 [!__ASSUME_32BITUIDS]: Remove conditional code.
16397 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16398 <kernel-features.h>.
16399 [__ASSUME_32BITUIDS]: Make code unconditional.
16400 [!__ASSUME_32BITUIDS]: Remove conditional code.
16401 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16402 <kernel-features.h>.
16403 [__ASSUME_32BITUIDS]: Make code unconditional.
16404 [!__ASSUME_32BITUIDS]: Remove conditional code.
16405 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16406 <kernel-features.h>.
16407 [__ASSUME_32BITUIDS]: Make code unconditional.
16408 [!__ASSUME_32BITUIDS]: Remove conditional code.
16409 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16410 <kernel-features.h>.
16411 [__ASSUME_32BITUIDS]: Make code unconditional.
16412 [!__ASSUME_32BITUIDS]: Remove conditional code.
16413 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16414 <kernel-features.h>.
16415 [__ASSUME_32BITUIDS]: Make code unconditional.
16416 [!__ASSUME_32BITUIDS]: Remove conditional code.
16417 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16418 <kernel-features.h>.
16419 [__ASSUME_32BITUIDS]: Make code unconditional.
16420 [!__ASSUME_32BITUIDS]: Remove conditional code.
16421 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16422 <kernel-features.h>.
16423 [__ASSUME_32BITUIDS]: Make code unconditional.
16424 [!__ASSUME_32BITUIDS]: Remove conditional code.
16425 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16426 <kernel-features.h>.
16427 [__ASSUME_32BITUIDS]: Make code unconditional.
16428 [!__ASSUME_32BITUIDS]: Remove conditional code.
16429 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16430 <kernel-features.h>.
16431 [__ASSUME_32BITUIDS]: Make code unconditional.
16432 [!__ASSUME_32BITUIDS]: Remove conditional code.
16433 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16434 <kernel-features.h>.
16435 [__NR_setresgid] (__setresgid): Do not declare.
16436 [__ASSUME_32BITUIDS]: Make code unconditional.
16437 [!__ASSUME_32BITUIDS]: Remove conditional code.
16438 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16439 <kernel-features.h>.
16440 [__NR_setresuid] (__setresuid): Do not declare.
16441 [__ASSUME_32BITUIDS]: Make code unconditional.
16442 [!__ASSUME_32BITUIDS]: Remove conditional code.
16443 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16444 <kernel-features.h>.
16445 [__ASSUME_32BITUIDS]: Make code unconditional.
16446 [!__ASSUME_32BITUIDS]: Remove conditional code.
16447 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16448 <kernel-features.h>.
16449 [__ASSUME_32BITUIDS]: Make code unconditional.
16450 [!__ASSUME_32BITUIDS]: Remove conditional code.
16451 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16452 <kernel-features.h>.
16453 [__ASSUME_32BITUIDS]: Make code unconditional.
16454 [!__ASSUME_32BITUIDS]: Remove conditional code.
16455 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16456 <kernel-features.h>.
16457 [__ASSUME_32BITUIDS]: Make code unconditional.
16458 [!__ASSUME_32BITUIDS]: Remove conditional code.
16459 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16460 <kernel-features.h>.
16461 [__ASSUME_32BITUIDS]: Make code unconditional.
16462 [!__ASSUME_32BITUIDS]: Remove conditional code.
16463 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16464 <kernel-features.h>.
16465 [__ASSUME_32BITUIDS]: Make code unconditional.
16466 [!__ASSUME_32BITUIDS]: Remove conditional code.
16467 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16468 <kernel-features.h>.
16469 [__ASSUME_32BITUIDS]: Make code unconditional.
16470 [!__ASSUME_32BITUIDS]: Remove conditional code.
16471 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16472 <kernel-features.h>.
16473 [__ASSUME_32BITUIDS]: Make code unconditional.
16474 [!__ASSUME_32BITUIDS]: Remove conditional code.
16475 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16476 <kernel-features.h>.
16477 [__ASSUME_32BITUIDS]: Make code unconditional.
16478 [!__ASSUME_32BITUIDS]: Remove conditional code.
16479 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16480 <kernel-features.h>.
16481 [__ASSUME_32BITUIDS]: Make code unconditional.
16482 [!__ASSUME_32BITUIDS]: Remove conditional code.
16483 * sysdeps/unix/sysv/linux/kernel-features.h
16484 (__ASSUME_SETRESUID_SYSCALL): Remove.
16485 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16486 (__ASSUME_32BITUIDS): Likewise.
16487 (__ASSUME_LDT_WORKS): Likewise.
16488 (__ASSUME_O_DIRECTORY): Likewise.
16489 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16490 architecture but not kernel version.
16491 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16492 (__ASSUME_MMAP2_SYSCALL): Likewise.
16493 (__ASSUME_STAT64_SYSCALL): Likewise.
16494 (__ASSUME_IPC64): Likewise.
16495 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16496 <kernel-features.h>.
16497 [__ASSUME_32BITUIDS]: Make code unconditional.
16498 [!__ASSUME_32BITUIDS]: Remove conditional code.
16499 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16500 <kernel-features.h>.
16501 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16502 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16503 132096]: Remove conditional code.
16504 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16505 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16506 <kernel-features.h>.
16507 [__ASSUME_32BITUIDS]: Make code unconditional.
16508 [!__ASSUME_32BITUIDS]: Remove conditional code.
16509 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16510 <kernel-features.h>.
16511 [__ASSUME_32BITUIDS]: Make code unconditional.
16512 [!__ASSUME_32BITUIDS]: Remove conditional code.
16513 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16514 <kernel-features.h>.
16515 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16517 (__setresgid): Do not declare.
16518 [__ASSUME_32BITUIDS]: Make code unconditional.
16519 [!__ASSUME_32BITUIDS]: Remove conditional code.
16520 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16521 <kernel-features.h>.
16522 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16524 (__setresuid): Do not declare.
16525 [__ASSUME_32BITUIDS]: Make code unconditional.
16526 [!__ASSUME_32BITUIDS]: Remove conditional code.
16527 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16528 <kernel-features.h>.
16529 [__ASSUME_32BITUIDS]: Make code unconditional.
16530 [!__ASSUME_32BITUIDS]: Remove conditional code.
16531 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16532 <kernel-features.h>.
16533 [__ASSUME_32BITUIDS]: Make code unconditional.
16534 [!__ASSUME_32BITUIDS]: Remove conditional code.
16536 2012-05-25 Richard Henderson <rth@twiddle.net>
16538 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16539 dl_hwcap to ifunc resolver.
16540 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16542 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16543 dl_hwcap to ifunc resolver.
16544 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16546 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16549 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16550 for |x| <= 2**-26, not 2**-57.
16551 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16554 2012-05-24 Jeff Law <law@redhat.com>
16556 * stdio-common/Makefile (tests): Add bug25.
16557 * stdio-common/bug25.c: New test.
16559 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16562 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16563 multiple of MALLOC_ALIGNMENT in size.
16564 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16566 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16568 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16570 (FILENAME_MAX): Use macro-int-constant.
16571 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16572 (_IOFBF): Use macro-int-constant.
16573 (_IOLBF): Likewise.
16574 (_IONBF): Likewise.
16575 (SEEK_CUR): Likewise.
16576 (SEEK_END): Likewise.
16577 (SEEK_SET): Likewise.
16578 (TMP_MAX): Likewise.
16579 (EOF): Use macro-int-constant. Require < 0.
16580 (NULL): Use macro-constant. Require == 0.
16581 (stdin): Require type to be FILE *.
16582 (stdout): Likewise.
16583 (stderr): Likewise.
16584 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16585 macro-int-constant.
16586 (EXIT_SUCCESS): Likewise.
16587 (NULL): Use macro-constant. Require == 0.
16588 (RAND_MAX): Use macro-int-constant.
16589 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16590 [C99-based standards] (strtof): Require function.
16591 [C99-based standards] (strtold): Likewise.
16592 [C99-based standards] (strtoll): Likewise.
16593 [C99-based standards] (strtoull): Likewise.
16594 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16595 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16596 [ISO || ISO99 || ISO11] (math.h): Likewise.
16597 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16598 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16599 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16601 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16604 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16605 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16606 * intl/dgettext.c (DCGETTEXT): Likewise.
16607 * intl/gettext.c (DCGETTEXT): Likewise.
16608 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16609 * posix/regex_internal.h (gettext): Likewise.
16610 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16611 Remove declaration.
16612 * include/argz.h (__argz_count_internal)
16613 (__argz_stringify_internal): Remove declaration.
16614 (__argz_count, __argz_stringify): Declare hidden proto.
16615 * intl/dcgettext.c: Remove use of INTDEF.
16616 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16617 * string/argz-stringify.c: Likewise.
16618 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16619 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16620 Declare hidden proto.
16621 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16622 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16623 Declare hidden proto.
16624 * include/stdio.h (__asprintf_internal): Don't declare.
16625 (__asprintf): Don't define as macro. Declare hidden proto.
16626 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16627 (__fsetlocking): Declare hidden proto.
16628 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16629 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16631 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16632 (_IO_setlinebuf): Remove use of INTUSE.
16633 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16634 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16635 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16636 Remove declaration.
16637 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16638 (_IO_do_flush): Remove use of INTUSE.
16639 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16640 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16641 (_IO_adjust_column, _IO_least_wmarker)
16642 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16643 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16644 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16645 (_IO_default_doallocate, _IO_wdefault_doallocate)
16646 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16647 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16648 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16649 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16650 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16651 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16652 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16653 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16654 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16655 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16656 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16657 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16658 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16660 (_IO_flush_all_internal, _IO_adjust_column_internal)
16661 (_IO_default_uflow_internal, _IO_default_finish_internal)
16662 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16663 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16664 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16665 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16666 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16667 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16668 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16669 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16670 (_IO_file_close_internal, _IO_file_close_it_internal)
16671 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16672 (_IO_file_init_internal, _IO_file_attach_internal)
16673 (_IO_file_fopen_internal, _IO_file_read_internal)
16674 (_IO_file_sync_internal, _IO_file_seek_internal)
16675 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16676 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16677 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16678 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16679 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16680 (_IO_list_all_internal, _IO_link_in_internal)
16681 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16682 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16683 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16684 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16685 (_IO_do_write_internal, _IO_padn_internal)
16686 (_IO_getline_info_internal, _IO_getline_internal)
16687 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16688 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16689 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16690 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16691 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16692 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16693 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16694 with libc_hidden_ver, remove use of INTUSE.
16695 * libio/genops.c: Likewise.
16696 * libio/freopen.c: Likewise.
16697 * libio/freopen64.c: Likewise.
16698 * libio/iofclose.c: Likewise.
16699 * libio/iofdopen.c: Likewise.
16700 * libio/iofflush.c: Likewise.
16701 * libio/iofflush_u.c: Likewise.
16702 * libio/iofgets.c: Likewise.
16703 * libio/iofgets_u.c: Likewise.
16704 * libio/iofopen.c: Likewise.
16705 * libio/iofopncook.c: Likewise.
16706 * libio/iofread.c: Likewise.
16707 * libio/iofread_u.c: Likewise.
16708 * libio/ioftell.c: Likewise.
16709 * libio/iofwrite.c: Likewise.
16710 * libio/iogetline.c: Likewise.
16711 * libio/iogets.c: Likewise.
16712 * libio/iogetwline.c: Likewise.
16713 * libio/iopadn.c: Likewise.
16714 * libio/iopopen.c: Likewise.
16715 * libio/ioseekoff.c: Likewise.
16716 * libio/ioseekpos.c: Likewise.
16717 * libio/iosetbuffer.c: Likewise.
16718 * libio/iosetvbuf.c: Likewise.
16719 * libio/ioungetc.c: Likewise.
16720 * libio/ioungetwc.c: Likewise.
16721 * libio/iovdprintf.c: Likewise.
16722 * libio/iovsprintf.c: Likewise.
16723 * libio/iovsscanf.c: Likewise.
16724 * libio/memstream.c: Likewise.
16725 * libio/obprintf.c: Likewise.
16726 * libio/oldfileops.c: Likewise.
16727 * libio/oldiofclose.c: Likewise.
16728 * libio/oldiofdopen.c: Likewise.
16729 * libio/oldiofopen.c: Likewise.
16730 * libio/oldiopopen.c: Likewise.
16731 * libio/oldstdfiles.c: Likewise.
16732 * libio/putc.c: Likewise.
16733 * libio/setbuf.c: Likewise.
16734 * libio/setlinebuf.c: Likewise.
16735 * libio/stdfiles.c: Likewise.
16736 * libio/strops.c: Likewise.
16737 * libio/vasprintf.c: Likewise.
16738 * libio/vscanf.c: Likewise.
16739 * libio/vsnprintf.c: Likewise.
16740 * libio/vswprintf.c: Likewise.
16741 * libio/wfiledoalloc.c: Likewise.
16742 * libio/wfileops.c: Likewise.
16743 * libio/wgenops.c: Likewise.
16744 * libio/wmemstream.c: Likewise.
16745 * libio/wstrops.c: Likewise.
16746 * libio/__fpurge.c: Likewise.
16747 * libio/__fsetlocking.c: Likewise.
16748 * assert/assert.c: Likewise.
16749 * debug/fgets_chk.c: Likewise.
16750 * debug/fgets_u_chk.c: Likewise.
16751 * debug/fread_chk.c: Likewise.
16752 * debug/fread_u_chk.c: Likewise.
16753 * debug/gets_chk.c: Likewise.
16754 * debug/obprintf_chk.c: Likewise.
16755 * debug/vasprintf_chk.c: Likewise.
16756 * debug/vdprintf_chk.c: Likewise.
16757 * debug/vsnprintf_chk.c: Likewise.
16758 * debug/vsprintf_chk.c: Likewise.
16759 * malloc/mtrace.c: Likewise.
16760 * misc/error.c: Likewise.
16761 * misc/syslog.c: Likewise.
16762 * stdio-common/asprintf.c: Likewise.
16763 * stdio-common/fxprintf.c: Likewise.
16764 * stdio-common/getw.c: Likewise.
16765 * stdio-common/isoc99_fscanf.c: Likewise.
16766 * stdio-common/isoc99_scanf.c: Likewise.
16767 * stdio-common/isoc99_vfscanf.c: Likewise.
16768 * stdio-common/isoc99_vscanf.c: Likewise.
16769 * stdio-common/isoc99_vsscanf.c: Likewise.
16770 * stdio-common/printf-prs.c: Likewise.
16771 * stdio-common/printf_fp.c: Likewise.
16772 * stdio-common/printf_fphex.c: Likewise.
16773 * stdio-common/printf_size.c: Likewise.
16774 * stdio-common/putw.c: Likewise.
16775 * stdio-common/scanf.c: Likewise.
16776 * stdio-common/sprintf.c: Likewise.
16777 * stdio-common/tmpfile.c: Likewise.
16778 * stdio-common/vfprintf.c: Likewise.
16779 * stdio-common/vfscanf.c: Likewise.
16780 * stdlib/strfmon_l.c: Likewise.
16781 * sunrpc/openchild.c: Likewise.
16782 * sunrpc/xdr_stdio.c: Likewise.
16783 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16784 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16786 2012-05-24 Roland McGrath <roland@hack.frob.com>
16788 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16790 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16791 in the third column, to generate for the shared library an IFUNC
16792 that uses _dl_vdso_vsym.
16793 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16794 * Makeconfig (object-suffixes-noshared): New variable.
16796 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16797 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16798 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16799 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16802 * include/sys/time.h (__gettimeofday): Remove macro.
16803 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16804 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16806 (__gettimeofday): Add libc_hidden_def.
16807 (gettimeofday): Add libc_hidden_weak.
16808 * sysdeps/mach/gettimeofday.c: Likewise.
16809 * sysdeps/posix/gettimeofday.c: Likewise.
16810 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16811 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16813 (__gettimeofday_internal): Remove strong_alias.
16814 (__gettimeofday): Add libc_hidden_def.
16815 (gettimeofday): Add libc_hidden_weak.
16816 * sysdeps/unix/syscalls.list (gettimeofday):
16817 Remove __gettimeofday_internal alias.
16819 2012-05-24 Daniel Jacobowitz <drow@false.org>
16820 H.J. Lu <hongjiu.lu@intel.com>
16823 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16824 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16825 (largebin_index_32_big): New.
16826 (largebin_index): Use it for 16-byte alignment.
16827 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16828 correction with front_misalign.
16830 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16858 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16859 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16861 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16865 * math/libm-test.inc (exp_test): Add test from bug 14036.
16866 (pow_test): Add test from bug 10846.
16868 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16870 (special_function): Do not include flags in test name.
16871 (parse_args): Likewise.
16872 * sysdeps/i386/fpu/libm-test-ulps: Update.
16873 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16874 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16875 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16878 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16880 * math/libm-test.inc ("Philosophy"): Update comment about
16882 (UNDERFLOW_EXCEPTION): New macro.
16883 (UNDERFLOW_EXCEPTION_OK): Likewise.
16884 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16885 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16886 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16887 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16888 (INVALID_EXCEPTION_OK): Update value.
16889 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16890 (OVERFLOW_EXCEPTION_OK): Likewise.
16891 (IGNORE_ZERO_INF_SIGN): Likewise.
16892 (test_exceptions): Handle underflow exceptions.
16893 (acos_test): Update for underflow exception expectations.
16894 (cexp_test): Likewise.
16895 (clog_test): Likewise.
16896 (clog10_test): Likewise.
16897 (csqrt_test): Likewise.
16898 (ctan_test): Likewise.
16899 (ctanh_test): Likewise.
16900 (exp_test): Likewise.
16901 (exp10_test): Likewise.
16902 (exp2_test): Likewise.
16903 (expm1_test): Likewise.
16904 (fma_test): Likewise.
16905 (j0_test): Likewise.
16906 (jn_test): Likewise.
16907 (nexttoward_test): Likewise.
16908 (pow_test): Likewise.
16909 (scalbn_test): Likewise.
16910 (scalbln_test): Likewise.
16911 (tan_test): Likewise.
16912 (y1_test): Likewise.
16913 * sysdeps/i386/fpu/libm-test-ulps: Update.
16914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16916 2012-05-23 David S. Miller <davem@davemloft.net>
16918 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16919 (__libc_sigaction): Remove unused local variables.
16921 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16923 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16925 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16927 mktime: avoid signed integer overflow
16928 * time/mktime.c (__mktime_internal): Do not mishandle the case
16929 where diff == INT_MIN.
16931 mktime: simplify computation of average
16932 * time/mktime.c (ranged_convert): Use new time_t_avg function
16933 instead of rolling our own (probably-slower) code.
16935 mktime: do not assume signed right shift propagates sign bit
16936 * time/mktime.c (isdst_differ): New static function.
16937 (__mktime_internal): No need to normalize tm_isdst now.
16938 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16941 mktime: merge another wrapv change from gnulib
16942 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16943 from some compilers.
16945 mktime: remove incorrect attempt at unusual arithmetics
16946 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16947 The code didn't really work on such machines anyway.
16948 (TYPE_MINIMUM): Assume two's complement.
16949 (twos_complement_arithmetic): Verify that long_int and time_t
16950 are two's complement (or unsigned, in the latter case).
16952 mktime: check signed shifts on long_int and time_t, too
16953 * time/mktime.c (SHR): Check that shifts work as desired
16954 on the types long_int and time_t too, as SHR is used on
16957 mktime: do not assume 'long' is wide enough
16958 * time/mktime.c (verify): Move decl up.
16959 (long_int): New type.
16960 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16961 to remove assumption in the code that 'long' is wide enough to
16962 store year values. This assumption is not true on x32 and on
16963 some non-glibc platforms.
16965 mktime: merge wrapv change from gnulib
16966 * time/mktime.c (WRAPV): New macro.
16967 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16968 (guess_time_tm, __mktime_internal): Do not assume that signed
16969 integer overflow wraps around; modern compilers generate code
16970 where this assumption is no longer valid.
16972 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16974 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16975 Replace "jmp L(pseudo_end)" with "ret".
16976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16979 2012-05-23 Andreas Jaeger <aj@suse.de>
16981 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16982 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16984 2012-05-23 Andreas Jaeger <aj@suse.de>
16985 Maximilian Attems <max@stro.at>
16987 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16990 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16992 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16993 code so that pseudo_end is just ret and the stack pointer is
16994 correct also for static library in error case.
16996 2012-05-23 Joseph Myers <joseph@codesourcery.com>
16998 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16999 move to syscalls.list.
17000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17005 * manual/install.texi (Running make install): Do not mention Linux
17006 kernel version for which pt_chown is not needed.
17007 (Linux): Do not mention problems with nscd with 2.0 kernels.
17008 * INSTALL: Regenerated.
17010 2012-05-23 Andreas Jaeger <aj@suse.de>
17012 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17013 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17015 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17016 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17017 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17018 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17019 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17020 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17021 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17022 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17023 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17024 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17025 * sysdeps/unix/sysv/linux/bits/in.h
17026 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17028 2012-05-22 Roland McGrath <roland@hack.frob.com>
17030 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17031 (PREPARE_VERSION): Just use assert instead, it will be elided
17032 under [NDEBUG] anyway.
17034 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17036 * sysdeps/unix/sysv/linux/Makefile: Include
17037 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17038 (sysdep_routines): Remove sysctl.
17039 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17040 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17041 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17042 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17043 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17045 2012-05-22 Andreas Jaeger <aj@suse.de>
17047 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17048 that pseudo_end is just ret and the stack pointer is correct also
17049 for static library in error case.
17051 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17054 * nss/nsswitch.c (defconfig_entries): New variable.
17055 (__nss_database_lookup): Don't leak defconfig entries.
17056 (nss_parse_service_list): Don't leak on error paths.
17057 (free_database_entries): New function.
17058 (free_defconfig): New function.
17059 (free_mem): Move common code to free_database_entries.
17061 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17063 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17065 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17067 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17068 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17071 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17072 (INTERNAL_SYSCALL_TYPES): Likewise.
17073 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17074 (LOAD_REGS_TYPES_[1-6]): Likewise.
17075 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17076 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17078 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17080 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17081 copysignl for GLIBC_2_0.
17082 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17083 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17085 logbl for GLIBC_2_0.
17086 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17087 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17089 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17092 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17094 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17097 * time/mktime.c: Update copyright years.
17099 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17101 mktime: merge comment-quoting-style change from gnulib
17102 * time/mktime.c: Quote 'like this' in comments.
17103 The GNU coding standards suggest that we no longer quote `like this',
17104 as "`" and "'" are typically rendered asymmetrically nowadays.
17105 The typical gnulib style is to quote 'like this' when quoting
17106 code, and "like this" when quoting English.
17108 * time/mktime.c (compile-command): Add "-I.".
17110 mktime: merge mktime-internal.h change from gnulib
17111 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17113 mktime: merge time_r change from gnulib
17114 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17116 mktime: merge DEBUG change from gnulib
17117 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17118 case system <time.h> has a #define.
17120 mktime: merge <sys/types.h> change from gnulib
17121 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17122 since <time.t> is now guaranteed to define time_t.
17124 mktime: merge HAVE_CONFIG_H change from gnulib
17125 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17127 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17132 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17134 (struct rusage): Use anonymous union to pad each field to
17137 2012-05-21 David S. Miller <davem@davemloft.net>
17139 * Makefules (o-iterator): Remove .s cases.
17140 (compile-command.s): Delete.
17141 (COMPILE.s): Delete.
17142 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17144 2012-05-21 Joseph Myers <joseph@codesourcery.com>
17146 * configure.in (libc_cv_predef_stack_protector): Only consider
17147 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17148 * configure: Regenerated.
17150 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17153 New macro. Use R*LP on int and pointer.
17154 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17155 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17156 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17157 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17159 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17160 [__WORDSIZE_TIME64_COMPAT32] instead of
17161 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17162 (struct utmp): Likewise.
17163 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17164 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17166 (__WORDSIZE_TIME64_COMPAT32): This.
17167 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17168 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17169 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17170 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17171 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17172 (__WORDSIZE_TIME64_COMPAT32): New macro.
17174 2012-05-21 Andreas Jaeger <aj@suse.de>
17176 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17177 only if [SHARED]. Add prototype for __wcschr_ia32.
17179 2012-05-21 Roland McGrath <roland@hack.frob.com>
17181 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17182 of %rbp unmolested in the jmp_buf while mangling the low bits.
17183 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17184 unmolested high bits of %rbp while demangling the low bits.
17185 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17187 2012-05-21 Andreas Jaeger <aj@suse.de>
17189 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17190 * sunrpc/svc_simple.c: Use it for registerrpc.
17191 * sunrpc/xcrypt.c: Use it for passwd2des.
17193 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17195 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17197 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17198 Don't define if [__SYSCALL_WORDSIZE != 32].
17199 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17202 2012-05-21 Bruno Haible <bruno@clisp.org>
17203 Andreas Jaeger <aj@suse.de>
17205 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17206 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17207 inptr and inend for must_buffer_ch.
17208 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17209 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17210 * stdio-common/Makefile (tests): Remove bug15.
17211 (bug15-ENV): Remove macro.
17212 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17215 2012-05-19 Andreas Jaeger <aj@suse.de>
17216 Roland McGrath <roland@hack.frob.com>
17218 * manual/contrib.texi: Completely rewritten. It contains now an
17219 alphabetical list of contributors and their contributions.
17221 2012-05-21 Richard Henderson <rth@twiddle.net>
17223 * misc/getauxval.c (__getauxval): Use unsigned long int.
17224 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17225 (getauxval): Use unsigned long int.
17227 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17229 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17231 2012-05-21 Roland McGrath <roland@hack.frob.com>
17233 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17234 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17235 __alignof__ (long double).
17237 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17241 2012-05-20 Richard Henderson <rth@twiddle.net>
17243 * misc/getauxval.c: New file.
17244 * misc/sys/auxv.h: New file.
17245 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17246 (routines): Add getauxval.
17247 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17248 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17249 * elf/dl-sysdep.c (_dl_auxv): Remove.
17250 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17251 * elf/dl-support.c (_dl_auxv): New variable.
17252 (_dl_aux_init): Initialize it.
17253 * manual/startup.texi (Auxiliary Vector): New node.
17254 * sysdeps/generic/bits/hwcap.h: New file.
17255 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17256 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17257 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17258 * sysdeps/sparc/sysdep.h: ... here. Include it.
17259 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17260 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17266 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17272 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17276 2012-05-19 David S. Miller <davem@davemloft.net>
17278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17280 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17283 * math/s_ccosh.c: Include <float.h>
17284 (__ccosh): Avoid internal overflow calculating sinh and cosh
17285 values before multiplying by sin and cos values.
17286 * math/s_ccoshf.c: Likewise.
17287 * math/s_ccoshl.c: Likewise.
17288 * math/s_csin.c: Likewise.
17289 * math/s_csinf.c: Likewise.
17290 * math/s_csinl.c: Likewise.
17291 * math/s_csinh.c: Likewise.
17292 * math/s_csinhf.c: Likewise.
17293 * math/s_csinhl.c: Likewise.
17294 * math/libm-test.inc (ccos_test): Add more tests.
17295 (ccosh_test): Likewise.
17296 (csin_test): Likewise.
17297 (csinh_test): Likewise.
17298 * sysdeps/i386/fpu/libm-test-ulps: Update.
17299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17301 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17303 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17304 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17306 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17308 2012-05-19 Joseph Myers <joseph@codesourcery.com>
17310 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17311 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17312 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17313 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17314 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17315 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17316 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17317 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17318 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17319 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17320 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17321 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17322 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17323 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17324 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17325 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17326 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17327 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17328 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17329 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17330 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17331 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17332 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17333 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17334 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17335 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17336 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17337 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17338 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17339 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17340 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17342 2012-05-18 Andreas Jaeger <aj@suse.de>
17344 * csu/.gitignore: Delete.
17346 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17348 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17349 (timex): Use __syscall_slong_t.
17351 2012-05-18 Andreas Jaeger <aj@suse.de>
17352 Carlos O'Donell <carlos_odonell@mentor.com>
17354 * manual/install.texi (Configuring and compiling): Update
17355 description about files modified in the source directory.
17356 * INSTALL: Regenerated.
17358 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17360 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17361 value. Use "or" to set return value to -1.
17362 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17363 negate return value.
17365 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17367 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17368 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17369 failure if the compiler has Graphite support disabled.
17370 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17372 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17373 CFLAGS-memmove.c): Likewise.
17374 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17377 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17379 * sysdeps/x86_64/x32/_itoa.h: New file.
17381 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17382 getdents system call only if kernel and user dirents have the
17383 same d_ino and d_off.
17385 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17386 LLONG_MAX != LONG_MAX.
17387 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17388 (_fitoa_word): Likewise.
17390 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17392 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17393 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17394 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17396 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17397 include <bits/wordsize.h>. Check __x86_64__ instead of
17399 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17400 if __x86_64__ is defined. Use anonymous union on fpstate.
17402 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17405 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17407 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17408 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17409 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17410 Refer to _rtld_local_ro instead of _rtld_global_ro.
17411 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17413 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17415 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17417 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17418 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17419 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17421 * sysdeps/powerpc/powerpc32/dl-machine.c
17422 (__elf_machine_runtime_setup) [PROF]: Don't reference
17425 2012-05-18 Andreas Jaeger <aj@suse.de>
17427 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17428 function only available for GCCs before 3.4 since GCC 3.4
17429 introduced a builtin.
17431 (llrintf): Likewise.
17432 (llrint): Likewise.
17439 (nearbyint): Likewise.
17440 (nearbyintf): Likewise.
17444 (floorf): Likewise.
17446 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17448 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17449 on both fields and cast pointer to __syscall_ulong_t.
17451 * bits/types.h (__fsword_t): New type.
17452 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17453 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17454 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17455 (__FSWORD_T_TYPE): Likewise.
17456 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17457 (__FSWORD_T_TYPE): Likewise.
17458 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17459 (__FSWORD_T_TYPE): Likewise.
17460 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17461 (__FSWORD_T_TYPE): Likewise.
17462 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17463 __SWORD_TYPE with __fsword_t.
17464 (statfs64): Likewise.
17466 2012-05-17 David S. Miller <davem@davemloft.net>
17468 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17470 2012-05-17 Andreas Jaeger <aj@suse.de>
17472 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17475 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17477 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17479 2012-05-17 Andreas Jaeger <aj@suse.de>
17481 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17484 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17486 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17488 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17490 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17491 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17493 2012-05-17 Andreas Jaeger <aj@suse.de>
17494 Carlos O'Donell <carlos_odonell@mentor.com>
17497 * sysdeps/x86_64/multiarch/init-arch.h
17498 (bit_YMM_Usable): Rename to...
17499 (bit_AVX_Usable): ... this.
17500 (bit_FMA4_Usable): New macro.
17501 (bit_XMM_state): New macro.
17502 (bit_YMM_state): New macro.
17503 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17504 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17505 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17506 (CPUID_OSXSAVE): New macro.
17507 (CPUID_AVX): New macro.
17508 (CPUID_FMA4): New macro.
17509 (index_YMM_Usable): Rename to...
17510 (index_AVX_Usable): ... this.
17511 (HAS_AVX): Use HAS_ARCH_FEATURE.
17512 (HAS_FMA4): Likewise.
17513 (HAS_YMM_USABLE): Remove.
17514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17515 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17517 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17518 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17519 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17520 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17521 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17523 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17525 * math/libm-test.c: Support platforms without multiple rounding modes.
17526 * math/bug-nextafter.c: Support platforms without FP exceptions.
17527 * math/bug-nexttoward.c: Likewise.
17528 * math/test-fenv.c: Likewise.
17529 * math/test-misc.c: Likewise.
17530 * stdlib/bug-getcontext.c: Likewise.
17532 2012-05-17 Andreas Jaeger <aj@suse.de>
17534 * manual/examples/search.c (critter_cmp): Change signature to
17536 * manual/string.texi (Collation Functions): Likewise.
17538 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17540 * bits/types.h: Fold copyright years.
17541 * bits/typesizes.h: Likewise.
17542 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17544 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17546 * time/time.h: Likewise.
17548 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17551 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17552 in instead of returning them. Return void.
17553 (__libc_mallinfo): Accumulate over all arenas.
17554 (__malloc_stats): Adjust for change in int_mallinfo interface.
17556 2012-05-16 Roland McGrath <roland@hack.frob.com>
17559 * configure.in (NM): Add AC_CHECK_TOOL for it.
17560 (libc_extra_cflags): New substituted variable.
17561 Check for -fstack-protector being used implicitly.
17562 * configure: Regenerated.
17563 * config.make.in (config-extra-cflags): New variable,
17564 gets @libc_extra_cflags@.
17565 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17568 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17569 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17570 * configure: Regenerated.
17571 * config.make.in (CPPUNDEFS): New substituted variable.
17572 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17573 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17574 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17576 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17578 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17579 (mq_attr): Use __syscall_slong_t.
17581 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17583 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17584 Check __x86_64__ instead of __WORDSIZE.
17585 (_STAT_VER_LINUX): Likewise.
17586 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17587 __syscall_ulong_t and __syscall_slong_t.
17588 (stat64): Likewise.
17590 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17592 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17594 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17596 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17598 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17600 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17603 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17604 include <bits/wordsize.h>. Check __x86_64__ instead of
17606 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17608 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17610 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17611 include <bits/wordsize.h>. Check __x86_64__ instead of
17613 (user_regs_struct): Use "__extension__ unsigned long long"
17614 instead of "unsigned long" if __x86_64__ is defined.
17615 (user): Likewise. Pad after pointer field if __ILP32__ is
17618 2012-05-16 Joseph Myers <joseph@codesourcery.com>
17620 * configure.in (makeinfo): Require version 4.5 or later. Allow
17622 * configure: Regenerated.
17623 * manual/install.texi (texinfo): Increase version requirement to
17625 * INSTALL: Regenerated.
17627 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17629 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17631 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17633 * sysdeps/x86_64/x32/ffs.c: New file.
17635 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17637 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17638 defined. Use __syscall_ulong_t.
17639 (shminfo): Use __syscall_ulong_t.
17640 (shm_info): Likewise.
17642 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17645 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17647 (msgqnum_t): Use __syscall_ulong_t.
17648 (msglen_t): Likewise.
17649 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17652 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17653 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17655 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17657 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17658 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17660 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17663 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17664 include <bits/wordsize.h>. Check __x86_64__ instead of
17667 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17668 "unsigned long long int" if __x86_64__ is defined.
17669 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17671 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17672 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17673 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17675 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17677 (GET_PC): Cast to uintptr_t first.
17678 (GET_FRAME): Likewise.
17679 (GET_STACK): Likewise.
17681 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17682 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17684 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17686 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17687 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17688 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17689 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17690 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17691 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17692 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17693 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17694 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17695 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17696 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17697 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17698 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17699 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17700 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17701 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17702 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17703 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17704 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17705 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17706 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17707 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17708 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17709 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17711 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17713 * Makerules (+depfiles): Also collect depfiles from .oS in
17715 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17716 .oS, $(libnldbl-routines)).
17718 * Makerules (native-compile-mkdep-flags): Define.
17719 * sunrpc/Makefile (extra-objs): Add $(addprefix
17720 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17721 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17722 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17723 calling $(make-target-directory).
17725 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17727 * bits/types.h (__snseconds_t): Removed.
17728 * time/time.h (struct timespec): Replace __snseconds_t with
17730 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17731 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17734 (__SNSECONDS_T_TYPE): Likewise.
17735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17736 (__SNSECONDS_T_TYPE): Likewise.
17737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17738 (__SNSECONDS_T_TYPE): Likewise.
17740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17742 * sysdeps/mach/hurd/bits/typesizes.h
17743 (__SYSCALL_SLONG_TYPE): New macro.
17744 (__SYSCALL_ULONG_TYPE): Likewise.
17746 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17748 * bits/types.h (__syscall_slong_t): New type.
17749 (__syscall_ulong_t): Likewise.
17751 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17752 (__SYSCALL_ULONG_TYPE): Likewise.
17753 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17754 (__SYSCALL_SLONG_TYPE): Likewise.
17755 (__SYSCALL_ULONG_TYPE): Likewise.
17756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17757 (__SYSCALL_SLONG_TYPE): Likewise.
17758 (__SYSCALL_ULONG_TYPE): Likewise.
17759 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17760 (__SYSCALL_SLONG_TYPE): Likewise.
17761 (__SYSCALL_ULONG_TYPE): Likewise.
17763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17765 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17766 Add sigaltstack-offsets.sym.
17767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17768 <sigaltstack-offsets.h>.
17769 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17770 longjmp_msg pointer.
17771 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17772 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17774 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17776 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17778 * elf/stackguard-macros.h: Remove file.
17779 * sysdeps/generic/stackguard-macros.h: New file.
17780 * sysdeps/i386/stackguard-macros.h: Likewise.
17781 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17782 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17783 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17784 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17785 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17786 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17787 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17788 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17789 <elf/stackguard-macros.h>.
17792 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17793 __aligned__ in attribute.
17794 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17795 (gregset_t): Likewise.
17797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17799 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17800 * sysdeps/x86_64/64/Implies-after: Here. New file.
17801 * sysdeps/x86_64/x32/Implies-after: New file.
17803 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17805 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17806 and access return value for _dl_profile_fixup. Use R10_LP to
17809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17811 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17815 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17816 * sysdeps/x86_64/x32/sysdep.h: New file.
17818 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17820 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17821 * sysdeps/x86_64/setjmp.S: Likewise.
17823 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17825 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17826 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17827 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17828 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17829 remove unused global constant.
17831 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17833 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17834 include of <not-cancel.h>.
17836 2012-05-15 Roland McGrath <roland@hack.frob.com>
17838 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17840 2012-05-15 Jeff Law <law@redhat.com>
17841 Andreas Jaeger <aj@suse.de>
17844 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17846 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17847 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17848 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17849 code changing __hst_map_handle.map.
17851 2012-05-15 Roland McGrath <roland@hack.frob.com>
17853 * configure.in (sysnames): Look for Implies-before and Implies-after
17855 * configure: Regenerated.
17857 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17859 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17860 8-byte data alignment with LP_SIZE alignment.
17862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17864 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17869 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17871 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17873 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17874 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17875 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17877 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17879 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17881 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17882 (stackinfo_sub_sp): Likewise.
17884 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17886 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17889 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17891 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17896 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17899 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17901 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17903 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17905 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17906 into R11_LP and load __x86_64_shared_cache_size_half into
17909 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17911 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17914 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17916 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17918 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17920 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17922 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17923 powerpc32/power7/fpu/s_logb.c via #include.
17924 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17925 powerpc32/power7/fpu/s_logbf.c via #include.
17926 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17927 powerpc32/power7/fpu/s_logbl.c via #include.
17929 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17931 * README.libm: Remove file.
17933 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17935 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17936 count for x32. Use R*_LP and omit operand-size suffix.
17938 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17940 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17941 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17942 * sysdeps/x86_64/x32/shlib-versions: New file.
17944 2012-05-14 Roland McGrath <roland@hack.frob.com>
17946 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17947 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17948 Use _dl_fatal_printf instead.
17950 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17952 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17953 set if not set by the user. Do not allow for being unset.
17954 * sysdeps/unix/sysv/linux/configure: Regenerated.
17956 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17958 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17959 the `q' suffix from lea and replace .quad with ASM_ADDR.
17961 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17964 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17966 (PTR_DEMANGLE): Likewise.
17968 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17970 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17972 (ASM_ADDR): Likewise.
17973 (RAX_LP): Likewise.
17974 (RBP_LP): Likewise.
17975 (RBX_LP): Likewise.
17976 (RCX_LP): Likewise.
17977 (RDI_LP): Likewise.
17978 (RSI_LP): Likewise.
17979 (RSP_LP): Likewise.
17982 (R10_LP): Likewise.
17983 (R10_LP): Likewise.
17984 (R11_LP): Likewise.
17985 (R12_LP): Likewise.
17986 (R13_LP): Likewise.
17987 (R14_LP): Likewise.
17988 (R15_LP): Likewise.
17990 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17992 * sysdeps/x86_64/x32/dl-machine.h: New file.
17994 2012-05-14 Andreas Jaeger <aj@suse.de>
17996 * manual/Makefile (subdir): Remove export of subdir.
17997 (all): Remove target.
17998 (.PHONY): Remove all from list.
17999 (mkinstalldirs): Remove.
18000 (.PHONY): Remove installdirs from list.
18001 ($(inst_infodir)/libc.info): Use make-target-directory.
18002 (installdirs): Remove.
18003 (subdir_%): Remove.
18004 (glibc-targets): Remove.
18007 ($(objpfx)stubs ../po/manual.pot): Remove.
18008 ($(objpfx)stamp%): Remove.
18009 (make-target-directory): Remove.
18010 (subdir_install): Remove.
18011 (routines): Remove.
18018 * manual/.gitignore: Remove, it's not needed anymore.
18019 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18021 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18023 (texis): Renamed to $(objpfx)texis.
18024 (texis-path): New, contains path to generated files.
18025 (chapters.%): Use texis-path for complete path, add extra argument
18027 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18028 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18029 (summary,texi, stamp-summary): Use complete path of
18030 files. Generate files in build dir.
18031 (dir-add.texi): Build in build dir.
18032 (libm-err.texi,stamp-libm-err): Likewise.
18033 (version.texi, stamp-version): Likewise.
18034 (.%c.texi): Likewise.
18035 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18036 (mostlyclean): Remove target.
18037 (realclean): Remove target.
18038 (generated): Add new variable with contents from mostlyclean and
18039 realclean, remove entries duplicated in common-mostlyclean, add
18040 stamp-libm-err and stamp-version.
18041 (generated-dirs): Add libc directory.
18042 ($(inst_infodir)/libc.info): Install files from build dir.
18044 * manual/install.texi (Configuring and compiling): Adjust since
18045 the info files are not part of the tar ball anymore.
18047 2012-05-14 Andreas Jaeger <aj@suse.de>
18049 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18052 2012-05-14 Joseph Myers <joseph@codesourcery.com>
18055 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18056 to 2.2.0 where earlier.
18057 * sysdeps/unix/sysv/linux/configure: Regenerated.
18058 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18059 Remove conditional code.
18060 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18061 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18062 Remove conditional code.
18063 [!__NR_lchown]: Likewise.
18064 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18065 [__NR_lchown]: Likewise.
18066 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18067 comment referencing __ASSUME_LCHOWN_SYSCALL.
18068 * sysdeps/unix/sysv/linux/i386/sigaction.c
18069 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18070 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18071 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18072 Remove conditional code.
18073 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18074 (__protocol_available): Remove #if 0 code.
18075 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18077 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18078 * sysdeps/unix/sysv/linux/kernel-features.h
18079 (__ASSUME_GETCWD_SYSCALL): Don't define.
18080 (__ASSUME_REALTIME_SIGNALS): Likewise.
18081 (__ASSUME_PREAD_SYSCALL): Likewise.
18082 (__ASSUME_PWRITE_SYSCALL): Likewise.
18083 (__ASSUME_POLL_SYSCALL): Likewise.
18084 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18085 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18087 (__ASSUME_SIOCGIFNAME): Don't define.
18088 (__ASSUME_MSG_NOSIGNAL): Likewise.
18089 (__ASSUME_SENDFILE): Define unconditionally.
18090 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18091 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18093 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18094 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18095 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18096 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18097 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18098 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18099 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18101 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18102 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18104 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18105 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18107 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18108 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18110 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18111 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18113 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18114 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18116 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18117 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18119 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18122 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18123 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18124 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18125 Remove conditional code.
18126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18127 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18128 Remove conditional code.
18129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18130 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18131 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18132 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18133 Remove conditional code.
18134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18135 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18136 Remove conditional code.
18137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18138 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18139 Remove conditional code.
18140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18141 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18142 Remove conditional code.
18143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18144 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18145 Remove conditional code.
18146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18147 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18150 * sysdeps/unix/sysv/linux/sigaction.c
18151 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18152 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18153 * sysdeps/unix/sysv/linux/sigpending.c
18154 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18155 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18156 * sysdeps/unix/sysv/linux/sigprocmask.c
18157 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18158 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18159 * sysdeps/unix/sysv/linux/sigsuspend.c
18160 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18161 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18162 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18163 (__libc_missing_rt_sigs): Remove.
18164 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18165 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18166 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18167 Remove conditional code.
18168 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18169 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18171 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18172 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18173 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18174 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18176 2012-05-14 Andreas Jaeger <aj@suse.de>
18178 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18179 it's not used in glibc.
18180 (__coshm1): Likewise.
18181 (__acosh1p): Likewise.
18184 * manual/string.texi (Copying and Concatenation): Add missing
18185 variable in concat example.
18186 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18188 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18191 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18192 __builtin_clzl with __builtin_clzll.
18194 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18197 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18200 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18202 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18203 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18204 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18205 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18207 2012-05-14 Mike Frysinger <vapier@gentoo.org>
18209 * NEWS: Update ia64 info.
18211 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18213 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18216 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18218 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18219 * sysdeps/unix/syscalls.list (dup3): Likewise.
18220 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18221 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18223 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18225 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18226 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18228 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18230 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18232 (TLS_IE): Use mov/add instead of movq/addq to load thread
18234 (TLS_GD_PREFIX): New.
18237 2012-05-11 David S. Miller <davem@davemloft.net>
18239 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18240 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18241 (_FPU_SETCW): Likewise.
18243 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18245 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18246 is 32-byte aligned.
18248 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18251 * iconvdata/gb18030.c: Update tables.
18252 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18253 characters specially.
18254 (BODY for TO_LOOP): Add encoding of missing ranges.
18256 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18259 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18260 * sysdeps/mach/hurd/dup3.c: Likewise.
18261 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18262 * sysdeps/powerpc/memmove.c:: Likewise.
18264 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18267 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18269 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18271 * elf/elf.h (R_X86_64_RELATIVE64): New.
18272 (R_X86_64_NUM): Updated.
18273 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18274 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18275 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18276 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18277 tst-quad1pie tst-quad2pie
18278 (modules-names): Add tst-quadmod1 tst-quadmod2.
18279 ($(objpfx)tst-quad1): New dependency.
18280 ($(objpfx)tst-quad2): Likewise.
18281 ($(objpfx)tst-quad1pie): Likewise.
18282 ($(objpfx)tst-quad2pie): Likewise.
18283 * sysdeps/x86_64/tst-quad1.c: New file.
18284 * sysdeps/x86_64/tst-quad1pie.c: New file.
18285 * sysdeps/x86_64/tst-quad2.c: Likewise.
18286 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18287 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18288 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18289 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18290 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18292 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18294 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18295 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18296 * streams/stropts.h (t_scalar_t): Define type.
18298 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18299 (_PATH_PRESERVE): Set to "/var/lib".
18300 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18302 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18305 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18306 if __dir_mkfile succeeded.
18308 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18309 checking for _hurd_dtablesize. Unlock it right after having
18310 finished _hurd_dtable allocation.
18312 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18314 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18315 * sysdeps/mach/hurd/configure: Regenerated.
18316 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18317 special-casing to...
18318 * sysdeps/gnu/configure.in: ... this new file.
18319 * sysdeps/unix/sysv/linux/configure: Regenerated.
18320 * sysdeps/gnu/configure: New generated file.
18322 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18323 for Linux: use nsec instead of usec, as well as:
18324 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18325 members of type struct timespec.
18326 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18328 (struct stat64): Likewise.
18329 (_STATBUF_ST_NSEC): New macro.
18330 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18332 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18333 __strtoul_internal rather than strtoul.
18335 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18337 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18340 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18342 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18343 which preserves existing values.
18344 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18346 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18348 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18349 TIMEOUT values. Return EINVAL for NFDS values either negative or
18350 greater than FD_SETSIZE.
18352 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18354 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18355 allocated, call __vm_protect to finish enabling the existing space, and
18356 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18357 allocate the remainder.
18359 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18361 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18362 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18364 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18366 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18367 sysdeps/mach/hurd/readlink.c.
18369 * posix/tst-sysconf.c (posix_options): Only use
18370 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18371 _POSIX_SYNCHRONIZED_IO when they are defined
18372 * sysdeps/mach/hurd/bits/posix_opt.h:
18373 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18374 (_XOPEN_REALTIME): Undefine macro.
18375 (_XOPEN_REALTIME_THREADS): Undefine macro.
18376 (_XOPEN_SHM): Undefine macro.
18377 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18379 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18381 (_POSIX_ASYNC_IO): Undefine macro.
18382 (_POSIX_PRIORITIZED_IO): Undefine macro.
18383 (_POSIX_SPIN_LOCKS): Define macro to -1.
18385 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18386 SA_NODEFER, SA_RESETHAND.
18387 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18388 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18391 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18393 * elf/Makefile (pldd-modules): Define unconditionally.
18395 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18397 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18399 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18401 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18402 Return ENOENT when name is empty.
18403 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18405 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18407 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18409 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18411 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18413 Fix mlock in all cases except non-readable pages.
18414 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18415 instead of VM_PROT_ALL as parameter to __vm_wire function.
18417 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18418 (__mkdir): When path is `/', just fail with EEXIST.
18419 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18421 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18423 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18424 <sys/uio.h> (for writev).
18425 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18426 and <sys/param.h> (for MIN).
18428 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18430 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18431 REQUESTED_TIME. Properly set the remaining time and return EINTR
18434 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18436 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18437 Depend on against $(link-rpcuserlibs).
18439 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18441 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18442 (__libc_stack_end): Do not use attribute_relro.
18443 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18444 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18445 to libthread-provided value.
18446 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18449 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18452 * bits/libc-lock.h (__libc_once_get): New macro.
18453 * sysdeps/mach/bits/libc-lock.h: Likewise.
18454 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18455 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18456 instead of using implementation details.
18458 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18459 * libio/freopen.c: Likewise.
18460 * libio/freopen64.c: Likewise.
18461 * misc/syslog.c: Likewise.
18462 * nscd/connections.c: Likewise.
18463 * nscd/netgroupcache.c: Likewise.
18464 * sysdeps/posix/getcwd.c: Likewise.
18466 2012-05-10 Roland McGrath <roland@hack.frob.com>
18468 * math/w_ilogbf.c: Add #include <limits.h>.
18470 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18472 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18473 path instead of returning without unlocking.
18475 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18476 immediate-write ioctls.
18477 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18479 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18481 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18482 __builtin_frame_address instead of making assumptions about the
18483 location of the return address relative to DATA. Force early load of
18484 the return address.
18485 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18486 __builtin_frame_address.
18489 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18490 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18491 implement dup3 and do some further code clean-ups.
18492 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18493 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18495 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18497 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18499 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18500 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18501 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18502 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18503 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18506 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18507 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18508 when handler == SIG_ERR, not when handler != SIG_ERR.
18510 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18512 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18513 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18516 accept4 for GNU Hurd.
18517 * include/sys/socket.h (__libc_accept4): New prototype.
18518 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18519 to implement __libc_accept4.
18520 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18522 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18524 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18525 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18526 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18527 signal-defines.sym.
18529 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18531 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18533 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18535 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18536 assertion on O_CLOEXEC flag.
18537 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18538 * hurd/intern-fd.c: Likewise.
18539 * hurd/port2fd.c: Likewise.
18541 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18544 * bits/in.h (IPV6_PKTINFO): Define new macro.
18545 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18547 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18552 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18553 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18554 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18555 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18556 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18557 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18558 * math/libm-test.inc (logb_test) : Additional logb tests.
18560 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18561 Andreas Jaeger <aj@suse.de>
18563 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18564 * configure: Regenerated.
18565 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18566 * config.make.in (link-obsolete-rpc): New substituted variable.
18567 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18568 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18569 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18570 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18571 so that libc.a contains the symbols.
18572 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18573 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18574 * sunrpc/auth_none.c: Likewise.
18575 * sunrpc/auth_unix.c: Likewise.
18576 * sunrpc/authdes_prot.c: Likewise.
18577 * sunrpc/authuxprot.c: Likewise.
18578 * sunrpc/clnt_gen.c: Likewise.
18579 * sunrpc/clnt_perr.c: Likewise.
18580 * sunrpc/clnt_raw.c: Likewise.
18581 * sunrpc/clnt_simp.c: Likewise.
18582 * sunrpc/clnt_tcp.c: Likewise.
18583 * sunrpc/clnt_udp.c: Likewise.
18584 * sunrpc/clnt_unix.c: Likewise.
18585 * sunrpc/des_crypt.c: Likewise.
18586 * sunrpc/des_soft.c: Likewise.
18587 * sunrpc/get_myaddr.c: Likewise.
18588 * sunrpc/key_call.c: Likewise.
18589 * sunrpc/key_prot.c: Likewise.
18590 * sunrpc/netname.c: Likewise.
18591 * sunrpc/pm_getmaps.c: Likewise.
18592 * sunrpc/pm_getport.c: Likewise.
18593 * sunrpc/pmap_clnt.c: Likewise.
18594 * sunrpc/pmap_prot.c: Likewise.
18595 * sunrpc/pmap_prot2.c: Likewise.
18596 * sunrpc/pmap_rmt.c: Likewise.
18597 * sunrpc/publickey.c: Likewise.
18598 * sunrpc/rpc_cmsg.c: Likewise.
18599 * sunrpc/rpc_common.c: Likewise.
18600 * sunrpc/rpc_dtable.c: Likewise.
18601 * sunrpc/rpc_prot.c: Likewise.
18602 * sunrpc/rpc_thread.c: Likewise.
18603 * sunrpc/rtime.c: Likewise.
18604 * sunrpc/svc.c: Likewise.
18605 * sunrpc/svc_auth.c: Likewise.
18606 * sunrpc/svc_raw.c: Likewise.
18607 * sunrpc/svc_run.c: Likewise.
18608 * sunrpc/svc_tcp.c: Likewise.
18609 * sunrpc/svc_udp.c: Likewise.
18610 * sunrpc/svc_unix.c: Likewise.
18611 * sunrpc/svcauth_des.c: Likewise.
18612 * sunrpc/xcrypt.c: Likewise.
18613 * sunrpc/xdr.c: Likewise.
18614 * sunrpc/xdr_array.c: Likewise.
18615 * sunrpc/xdr_float.c: Likewise.
18616 * sunrpc/xdr_intXX_t.c: Likewise.
18617 * sunrpc/xdr_mem.c: Likewise.
18618 * sunrpc/xdr_rec.c: Likewise.
18619 * sunrpc/xdr_ref.c: Likewise.
18620 * sunrpc/xdr_sizeof.c: Likewise.
18621 * sunrpc/xdr_stdio.c: Likewise.
18623 2012-05-10 Roland McGrath <roland@hack.frob.com>
18625 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18626 change. Update copyright years.
18628 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18630 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18632 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18633 Joseph Myers <joseph@codesourcery.com>
18634 Paul Pluzhnikov <ppluzhnikov@google.com>
18637 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18639 [cross-compiling] (extra-libs): Likewise.
18640 [cross-compiling] (extra-libs-others): Likewise.
18641 [cross-compiling] (librpcsvc-routines): Likewise.
18642 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18643 [cross-compiling] (omit-deps): Likewise.
18644 (sunrpc-CPPFLAGS): New variable.
18645 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18646 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18647 (cross-rpcgen-objs): New variable.
18648 (extra-objs): Append $(cross-rpcgen-objs).
18649 ($(cross-rpcgen-objs)): New rule.
18650 ($(objpfx)cross-rpcgen): Likewise.
18651 (rpcgen-cmd): Define to use $(built-program-file). Expand
18653 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18654 ($(objpfx)x%.stmp): Likewise.
18655 * sunrpc/proto.h [IS_IN_build] (_): Define.
18656 [IS_IN_build] (_libc_intl_domainname): Likewise.
18658 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18661 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18662 and R_X86_64_TPOFF64.
18664 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18666 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18667 sysdeps/unix/sysv/syscalls.list.
18670 * sysdeps/unix/sysv/syscalls.list: Remove file.
18672 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18675 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18676 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18677 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18678 (__LC_IDENTIFICATION): Make these macros useful in #if
18679 expressions, as required by C99.
18681 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18683 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18684 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18687 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18689 * stdlib/longlong.h: Updated from GCC.
18691 2012-05-09 Andreas Jaeger <aj@suse.de>
18693 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18694 default is first entry.
18695 (run_mode): Set type.
18696 (main): Remove informal message about syslog.
18697 (options): Fix typo.
18700 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18703 (llrintf): Likewise.
18704 (llrint): Likewise.
18707 (nearbyint): Likewise.
18708 (nearbyintf): Likewise.
18710 2012-05-09 Andreas Jaeger <aj@suse.de>
18711 Pedro Alves <palves@redhat.com>
18713 * nscd/nscd.c (run_mode): Use enum.
18714 (main): Cleanup coding style issue.
18716 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
18717 Andreas Jaeger <aj@suse.de>
18719 * nscd/nscd.c (go_background): Replaced with...
18720 (run_mode): ... this.
18721 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18722 (options): Add -F --foreground.
18723 (main): Implement it.
18724 (parse_opt): Parse it.
18726 2012-05-09 Andreas Jaeger <aj@suse.de>
18729 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18730 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18731 -Wconversion warning.
18732 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18735 2012-05-09 Joseph Myers <joseph@codesourcery.com>
18737 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18739 (LC_ALL): Use macro-int-constant.
18740 (LC_COLLATE): Likewise.
18741 (LC_CTYPE): Likewise.
18742 (LC_MESSAGES): Likewise.
18743 (LC_MONETARY): Likewise.
18744 (LC_NUMERIC): Likewise.
18745 (LC_TIME): Likewise.
18746 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18747 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18748 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18749 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18751 [C99-based standards] (float_t): Expect type.
18752 [C99-based standards] (double_t): Expect type.
18753 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18755 [C99-based standards] (HUGE_VALL): Likewise.
18756 [C99-based standards] (INFINITY): Likewise.
18757 [C99-based standards] (NAN): Likewise.
18758 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18759 [C99-based standards] (FP_NAN): Likewise.
18760 [C99-based standards] (FP_NORMAL): Likewise.
18761 [C99-based standards] (FP_SUBNORMAL): Likewise.
18762 [C99-based standards] (FP_ZERO): Likewise.
18763 [C99-based standards] (FP_FAST_FMA): Use
18764 optional-macro-int-constant. Specify type. Require == 1.
18765 [C99-based standards] (FP_FAST_FMAF): Likewise.
18766 [C99-based standards] (FP_FAST_FMAL): Likewise.
18767 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18768 [C99-based standards] (FP_ILOGBNAN): Likewise.
18769 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18771 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18772 [C99-based standards] (math_errhandling): Specify type.
18773 [ISO99 || ISO11] (signgam): Do not allow.
18774 [non-C99-based standards] (copysignf): Do not allow.
18775 [non-C99-based standards] (exp2f): Likewise.
18776 [non-C99-based standards] (log2f): Likewise.
18777 [non-C99-based standards] (modff): Allow.
18778 [non-C99-based standards] (erff): Do not allow.
18779 [non-C99-based standards] (erfcf): Likewise.
18780 [non-C99-based standards] (gammaf): Likewise.
18781 [non-C99-based standards] (hypotf): Likewise.
18782 [non-C99-based standards] (j0f): Likewise.
18783 [non-C99-based standards] (j1f): Likewise.
18784 [non-C99-based standards] (jnf): Likewise.
18785 [non-C99-based standards] (lgammaf): Likewise.
18786 [non-C99-based standards] (tgammaf): Likewise.
18787 [non-C99-based standards] (y0f): Likewise.
18788 [non-C99-based standards] (y1f): Likewise.
18789 [non-C99-based standards] (ynf): Likewise.
18790 [non-C99-based standards] (isnanf): Likewise.
18791 [non-C99-based standards] (acoshf): Likewise.
18792 [non-C99-based standards] (asinhf): Likewise.
18793 [non-C99-based standards] (atanhf): Likewise.
18794 [non-C99-based standards] (cbrtf): Likewise.
18795 [non-C99-based standards] (expm1f): Likewise.
18796 [non-C99-based standards] (ilogbf): Likewise.
18797 [non-C99-based standards] (log1pf): Likewise.
18798 [non-C99-based standards] (logbf): Likewise.
18799 [non-C99-based standards] (nextafterf): Likewise.
18800 [non-C99-based standards] (remainderf): Likewise.
18801 [non-C99-based standards] (rintf): Likewise.
18802 [non-C99-based standards] (scalbf): Likewise.
18803 [non-C99-based standards] (copysignl): Likewise.
18804 [non-C99-based standards] (exp2l): Likewise.
18805 [non-C99-based standards] (log2l): Likewise.
18806 [non-C99-based standards] (modfl): Allow.
18807 [non-C99-based standards] (erfl): Do not allow.
18808 [non-C99-based standards] (erfcl): Likewise.
18809 [non-C99-based standards] (gammal): Likewise.
18810 [non-C99-based standards] (hypotl): Likewise.
18811 [non-C99-based standards] (j0l): Likewise.
18812 [non-C99-based standards] (j1l): Likewise.
18813 [non-C99-based standards] (jnl): Likewise.
18814 [non-C99-based standards] (lgammal): Likewise.
18815 [non-C99-based standards] (tgammal): Likewise.
18816 [non-C99-based standards] (y0l): Likewise.
18817 [non-C99-based standards] (y1l): Likewise.
18818 [non-C99-based standards] (ynl): Likewise.
18819 [non-C99-based standards] (isnanl): Likewise.
18820 [non-C99-based standards] (acoshl): Likewise.
18821 [non-C99-based standards] (asinhl): Likewise.
18822 [non-C99-based standards] (atanhl): Likewise.
18823 [non-C99-based standards] (cbrtl): Likewise.
18824 [non-C99-based standards] (expm1l): Likewise.
18825 [non-C99-based standards] (ilogbl): Likewise.
18826 [non-C99-based standards] (log1pl): Likewise.
18827 [non-C99-based standards] (logbl): Likewise.
18828 [non-C99-based standards] (nextafterl): Likewise.
18829 [non-C99-based standards] (remainderl): Likewise.
18830 [non-C99-based standards] (rintl): Likewise.
18831 [non-C99-based standards] (scalbl): Likewise.
18832 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18833 [non-C99-based standards] (FP_*): Do not allow.
18834 [C99-based standards] (FP_*): Change to
18835 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18836 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18838 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18839 (SIG_ERR): Likewise.
18840 [X/Open-based standards] (SIG_HOLD): Likewise.
18841 (SIG_IGN): Likewise.
18842 (SIGABRT): Use macro-int-constant. Specify type. Require
18844 (SIGFPE): Likewise.
18845 (SIGILL): Likewise.
18846 (SIGINT): Likewise.
18847 (SIGSEGV): Likewise.
18848 (SIGTER): Likewise.
18849 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18850 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18851 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18852 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18853 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18854 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18855 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18856 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18857 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18858 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18859 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18860 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18861 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18862 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18863 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18864 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18865 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18866 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18867 [X/Open-based standards] (SIGTRAP): Likewise.
18868 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18869 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18870 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18871 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18872 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18875 2012-05-08 Ian Wienand <ianw@vmware.com>
18878 * time/tzset.c (__tzset_parse_tz): Update default rules for
18879 daylight time changes in the Energy Policy Act of 2005.
18881 2012-05-09 Andreas Jaeger <aj@suse.de>
18884 * elf/ldconfig.c (parse_conf): Change string to make clear that
18885 ldconfig only issued a warning if ld.so.conf does not exist.
18887 2012-05-08 David S. Miller <davem@davemloft.net>
18889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18890 movxtod instead of popping the value on the stack.
18892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18894 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18896 * config.h.in: Add HAVE_ARM_PCS_VFP.
18898 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
18901 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18902 checking but the checks are disabled for any reason.
18904 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18906 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18907 and ELF64_R_TYPE with ELFW(R_TYPE).
18909 2012-05-08 Joseph Myers <joseph@codesourcery.com>
18911 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18912 (ulimit): Likewise.
18914 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18915 (settimeofday): Likewise.
18917 2012-05-08 Mike Frysinger <vapier@gentoo.org>
18919 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18920 a struct th_u2 inside the union, and move tu_block/tu_code into
18921 a new th_u3 union of tu_block/tu_code inside of that. Move
18922 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18923 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18924 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18925 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18926 (th_stuff): Change to th_u1.tu_stuff.
18928 (th_msg): Change to th_u1.th_u2.tu_data.
18930 2012-05-07 David S. Miller <davem@davemloft.net>
18932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18935 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18936 (SETUP_PIC_REG): Use it.
18937 (SETUP_PIC_REG_LEAF): Use it.
18939 2012-05-07 Joseph Myers <joseph@codesourcery.com>
18943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18945 (EXPL_FINITE): Likewise.
18946 (FLDLOG): Likewise.
18947 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18948 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18950 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18952 (EXPL_FINITE): Likewise.
18953 (FLDLOG): Likewise.
18954 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18955 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18957 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18958 test of -max_value argument for long double.
18959 * sysdeps/i386/fpu/libm-test-ulps: Update.
18960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18962 2012-05-06 David S. Miller <davem@davemloft.net>
18964 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18965 quad soft-float symbols whose references which are compiler
18967 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18969 2012-05-06 Joseph Myers <joseph@codesourcery.com>
18973 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18975 (EXPL_FINITE): Likewise.
18976 (FLDLOG): Likewise.
18979 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18980 Adjust comments for base varying.
18981 (__expl_finite): Change alias to EXPL_FINITE.
18982 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18984 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18985 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18986 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18987 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18988 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18990 (EXPL_FINITE): Likewise.
18991 (FLDLOG): Likewise.
18994 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18995 Adjust comments for base varying.
18996 (__expl_finite): Change alias to EXPL_FINITE.
18997 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19002 * math/libm-test.inc (check_float_internal): Correct ulp
19003 calculation for subnormal expected results.
19005 2012-05-06 Andreas Jaeger <aj@suse.de>
19007 * Makeconfig (+math-flags): New, set to -frounding-math.
19008 (+cflags): Add +math-flags so that all of glibc gets compiled with
19011 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19013 2012-05-05 Joseph Myers <joseph@codesourcery.com>
19015 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19021 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19022 (__ieee754_expl): Allow for and saturate large arguments.
19023 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19024 (u_threshold): Likewise.
19025 (__exp): Call __ieee754_exp before checking for overflow and
19027 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19028 (u_threshold): Likewise.
19029 (__expf): Call __ieee754_expf before checking for overflow and
19031 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19032 (u_threshold): Likewise.
19033 (__expl): Call __ieee754_expl before checking for overflow and
19035 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19036 (__ieee754_expl): Allow for and saturate large arguments.
19037 * math/libm-test.inc (exp_test): Add another test. Do not allow
19038 missing overflow exception on overflow.
19039 (expm1_test): Do not allow missing overflow exception on overflow.
19041 * sysdeps/i386/fpu/e_expl.c: Move to ...
19042 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19043 rather than using inline asm.
19044 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19045 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19046 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19048 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19051 (signal): Likewise.
19055 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19057 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19058 sysdeps/unix/common/syscalls.list.
19059 (fchmod): Likewise.
19060 (fchown): Likewise.
19061 (ftruncate): Likewise.
19062 (getrusage): Likewise.
19063 (gettimeofday): Likewise.
19064 (setpgid): Likewise.
19065 (setregid): Likewise.
19066 (setreuid): Likewise.
19067 (sigaction): Likewise.
19068 (truncate): Likewise.
19069 (vhangup): Likewise.
19070 * sysdeps/unix/common/syscalls.list: Remove file.
19071 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19072 * sysdeps/unix/sysv/linux/Implies: Likewise.
19074 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19076 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19078 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19082 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19085 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19088 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19091 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19094 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19097 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19100 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19104 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19108 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19111 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19115 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19119 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19121 * sysdeps/unix/common/bits/dirent.h: Remove file.
19122 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19124 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19125 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19126 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19127 * sysdeps/unix/bsd/isatty.c: Likewise.
19128 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19129 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19130 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19132 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19135 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19136 long double comparison inaccuracies.
19137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19140 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19142 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19143 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19145 2012-05-04 Joseph Myers <joseph@codesourcery.com>
19148 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19149 nonzero digits before rounding a hex value.
19150 * stdlib/tst-strtod.c (tests): Add another test.
19152 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19154 * sysdeps/s390/fpu/libm-test-ulps: Update.
19156 2012-05-03 Andreas Jaeger <aj@suse.de>
19158 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19159 does not get optimized out.
19160 (malloc_opt_barrier): New.
19162 2012-05-03 Andreas Jaeger <aj@suse.de>
19163 Roland McGrath <roland@hack.frob.com>
19165 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19166 intermediate file deletion.
19167 (generated): Add .symlist files.
19169 2012-05-03 Joseph Myers <joseph@codesourcery.com>
19172 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19173 Redirect under this condition.
19174 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19175 [__USE_GNU] (__dprintf_chk): Not under this condition.
19176 [__USE_GNU] (__vdprintf_chk): Likewise.
19177 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19178 under this condition.
19179 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19180 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19181 [__USE_XOPEN2K8] (vdprintf): Likewise.
19182 [__USE_GNU] (__dprintf_chk): Not under this condition.
19183 [__USE_GNU] (__vdprintf_chk): Likewise.
19184 [__USE_GNU] (dprintf): Likewise.
19185 [__USE_GNU] (vdprintf): Likewise.
19187 2012-05-03 Roland McGrath <roland@hack.frob.com>
19189 * elf/Makefile (common-generated): Set this instead of generated for
19190 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19191 $(all-built-dso)-derived lists.
19193 2012-05-03 Andreas Jaeger <aj@suse.de>
19195 * sysdeps/i386/fpu/libm-test-ulps: Update.
19198 * FAQ.in: Likewise.
19199 * scripts/gen-FAQ.pl: Likewise.
19200 * manual/install.texi (Installation): Point to online location of
19202 * Makefile (files-for-dist): Remove FAQ.
19205 2012-05-02 Allan McRae <allan@archlinux.org>
19207 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19208 (LDFLAGS-reldepmod5.so): Likewise.
19209 (LDFLAGS-reldep6mod1.so): Likewise.
19210 (LDFLAGS-reldep6mod4.so): Likewise.
19211 (LDFLAGS-reldep8mod3.so): Likewise.
19212 (LDFLAGS-unload4mod1.so): Likewise.
19213 (LDFLAGS-unload4mod2.so): Likewise.
19214 (LDFLAGS-tst-initorder): Likewise.
19215 (LDFLAGS-tst-initordera2.so): Likewise.
19216 (LDFLAGS-tst-initordera3.so): Likewise.
19217 (LDFLAGS-tst-initordera4.so): Likewise.
19218 (LDFLAGS-tst-initorderb2.so): Likewise.
19219 (LDFLAGS-noload): Likewise.
19220 (LDFLAGS-next): Likewise.
19221 (LDFLAGS-order2mod1.so): Likewise.
19222 (LDFLAGS-order2mod2.so): Likewise.
19223 (LDFLAGS-tst-initorder2): Likewise.
19224 (LDFLAGS-tst-initorder2a.so): Likewise.
19225 (LDFLAGS-tst-initorder2b.so): Likewise.
19226 (LDFLAGS-tst-initorder2c.so): Likewise.
19227 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19229 2012-05-02 David S. Miller <davem@davemloft.net>
19231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19233 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19236 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19238 2012-05-02 Andreas Jaeger <aj@suse.de>
19240 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19241 since we manipulate rounding mode.
19242 (CPPFLAGS-test-idouble.c): Likewise.
19243 (CPPFLAGS-test-ifloat.c): Likewise.
19244 (CFLAGS-test-ldouble.c): Likewise.
19245 (CFLAGS-test-double.c): Likewise.
19246 (CFLAGS-test-float.c): Likewise.
19247 (CFLAGS-test-misc.c): Likewise.
19248 (CFLAGS-test-test-fenv.c): Likewise.
19250 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19254 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19255 comparisons to determine direction to adjust input.
19257 2012-05-01 Roland McGrath <roland@hack.frob.com>
19259 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19260 output to the target.
19262 * scripts/localplt.awk: New file.
19263 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19264 (check-localplt-CFLAGS): Variable removed.
19265 ($(all-built-dso:=.jmprel)): New static pattern rule.
19266 (generated): Add those targets.
19267 (localplt-built-dso): New variable.
19268 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19270 * elf/check-localplt.c: File removed.
19272 * scripts/check-execstack.awk: New file.
19273 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19274 (check-execstack-CFLAGS): Variable removed.
19275 ($(objpfx)check-execstack.h): Target removed.
19276 ($(objpfx)execstack-default): New target.
19277 (generated): Add that instead of check-execstack.h.
19278 ($(all-built-dso:=.phdr)): New static pattern rule.
19279 (generated): Add those targets.
19280 * elf/check-execstack.c: File removed.
19282 * scripts/check-textrel.awk: New file.
19283 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19284 (check-textrel-CFLAGS): Variable removed.
19285 (all-built-dso): Use := to define.o
19286 ($(all-built-dso:=.dyn)): New static pattern rule.
19287 (generated): Add those targets.
19288 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19289 * config.make.in (READELF): New substituted variable.
19290 * elf/check-textrel.c: File removed.
19292 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19294 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19296 * conform/data/ctype.h-data [C99-based standards] (isblank):
19298 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19299 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19300 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19301 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19302 Specify type. Require positive value.
19303 (EILSEQ): Likewise.
19304 (ERANGE): Likewise.
19305 [ISO || POSIX] (EILSEQ): Do not expect.
19306 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19307 Specify type. Require positive value.
19308 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19309 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19310 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19311 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19312 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19313 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19314 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19315 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19316 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19317 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19318 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19319 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19320 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19321 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19322 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19323 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19324 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19325 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19326 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19327 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19328 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19329 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19330 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19331 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19332 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19333 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19334 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19335 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19336 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19337 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19338 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19339 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19340 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19341 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19342 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19343 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19344 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19345 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19346 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19347 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19348 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19349 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19350 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19351 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19352 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19353 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19354 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19355 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19356 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19357 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19358 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19359 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19360 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19361 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19362 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19363 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19364 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19365 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19366 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19367 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19368 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19369 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19370 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19371 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19372 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19373 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19374 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19375 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19376 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19377 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19378 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19379 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19380 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19381 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19382 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19383 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19384 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19386 (FLT_ROUNDS): Expect as macro, not constant.
19387 (FLT_MANT_DIG): Use macro-int-constant.
19388 (DBL_MANT_DIG): Likewise.
19389 (LDBL_MANT_DIG): Likewise.
19390 (FLT_DIG): Likewise.
19391 (DBL_DIG): Likewise.
19392 (LDBL_DIG): Likewise.
19393 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19394 (DBL_MIN_EXP): Likewise.
19395 (LDBL_MIN_EXP): Likewise.
19396 (FLT_MAX_EXP): Use macro-int-constant.
19397 (DBL_MAX_EXP): Likewise.
19398 (LDBL_MAX_EXP): Likewise.
19399 (FLT_MAX_10_EXP): Likewise.
19400 (DBL_MAX_10_EXP): Likewise.
19401 (LDBL_MAX_10_EXP): Likewise.
19402 (FLT_MAX): Use macro-constant.
19403 (DBL_MAX): Likewise.
19404 (LDBL_MAX): Likewise.
19405 (FLT_EPSILON): Use macro-constant. Give upper bound.
19406 (DBL_EPSILON): Likewise.
19407 (LDBL_EPSILON): Likewise.
19408 (FLT_MIN): Likewise.
19409 (DBL_MIN): Likewise.
19410 (LDBL_MIN): Likewise.
19411 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19412 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19413 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19414 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19415 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19416 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19417 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19418 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19419 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19420 [ISO11] (FLT_TRUE_MIN): Likewise.
19421 [ISO11] (LDBL_TRUE_MIN): Likewise.
19422 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19423 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19424 (SCHAR_MIN): Use macro-int-constant. Specify type.
19425 (SCHAR_MAX): Likewise.
19426 (UCHAR_MAX): Likewise.
19427 (CHAR_MIN): Likewise.
19428 (CHAR_MAX): Likewise.
19429 (MB_LEN_MAX): Use macro-int-constant.
19430 (SHRT_MIN): Use macro-int-constant. Specify type.
19431 (SHRT_MAX): Likewise.
19432 (USHRT_MAX): Likewise.
19433 (INT_MAX): Likewise.
19434 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19436 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19438 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19440 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19441 bound negative. Suffix upper bound with "L".
19442 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19444 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19446 [C99-based standards] (LLONG_MAX): Likewise.
19447 [C99-based standards] (ULLONG_MAX): Likewise.
19448 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19450 [ISO11] (max_align_t): Require type.
19451 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19453 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19454 from $CFLAGS, without defining away __attribute__ calls.
19455 (checknamespace): Use $CFLAGS_namespace.
19457 * conform/conformtest.pl (@keywords): Only include C99 keywords
19458 for standards based on C99 or C11.
19460 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19462 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19465 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19466 usability of symbols in #if.
19468 * conform/conformtest.pl: If macro or constant types start
19469 "promoted:", expect the symbol to be of the following type
19470 promoted by the integer promotions.
19472 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19473 in one place. Also handle "macro-constant".
19475 * conform/conformtest.pl: Only accept expected macro values with
19476 "==". Parse all "macro" lines in one place.
19477 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19479 * conform/conformtest.pl: Handle braced types on "constant" lines
19480 instead of handling "typed-constant".
19481 * conform/data/signal.h-data: Use "constant" instead of
19484 * conform/conformtest.pl: Handle "optional-" at start of lines in
19485 one place rather than duplicating several cases. Handle each
19486 format of "macro" line with initial "optional-".
19488 * conform/conformtest.pl: Only accept expected constant or
19489 optional-constant values with "==". Parse all "constant" lines in
19490 one place. Parse all "optional-constant" lines in one place.
19491 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19492 * conform/data/fmtmsg.h-data: Likewise.
19493 * conform/data/netinet/in.h-data: Likewise.
19494 * conform/data/tar.h-data: Likewise.
19495 * conform/data/limits.h-data: Use "==" form on "constant" and
19496 "optional-constant" lines.
19498 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19499 Use -std=c99 for XOPEN2K.
19500 (@knownproblems): Remove.
19501 (newtoken): Don't check %isknown.
19503 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19504 Do not expect macro.
19505 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19506 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19507 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19508 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19509 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19510 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19511 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19512 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19513 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19514 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19515 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19516 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19517 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19518 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19519 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19520 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19521 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19522 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19523 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19524 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19525 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19526 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19527 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19528 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19529 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19530 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19531 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19532 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19533 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19534 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19535 [XPG3] (acosh): Likewise.
19536 [XPG3] (asinh): Likewise.
19537 [XPG3] (atanh): Likewise.
19538 [XPG3] (cbrt): Likewise.
19539 [XPG3] (expm1): Likewise.
19540 [XPG3] (ilogb): Likewise.
19541 [XPG3] (log1p): Likewise.
19542 [XPG3] (logb): Likewise.
19543 [XPG3] (nextafter): Likewise.
19544 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19545 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19546 [XPG3] (remainder): Likewise.
19547 [XPG3] (rint): Likewise.
19548 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19549 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19550 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19551 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19552 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19553 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19554 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19555 [UNIX98 || XOPEN2K] (scalb): Expect.
19556 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19557 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19558 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19559 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19560 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19561 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19562 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19563 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19564 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19565 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19566 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19567 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19568 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19569 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19570 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19571 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19572 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19573 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19574 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19575 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19576 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19577 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19578 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19579 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19580 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19581 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19582 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19583 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19584 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19585 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19586 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19587 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19588 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19589 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19590 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19591 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19592 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19593 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19594 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19595 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19596 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19597 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19598 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19599 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19600 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19601 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19602 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19603 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19604 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19605 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19606 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19607 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19608 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19609 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19610 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19611 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19612 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19613 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19614 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19615 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19616 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19617 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19618 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19619 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19620 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19621 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19622 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19623 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19624 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19625 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19626 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19627 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19628 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19629 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19630 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19631 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19632 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19633 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19634 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19635 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19636 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19637 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19638 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19639 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19640 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19641 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19642 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19643 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19644 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19645 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19646 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19647 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19648 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19649 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19650 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19651 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19652 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19653 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19654 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19655 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19656 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19657 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19658 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19659 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19660 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19661 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19662 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19663 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19664 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19665 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19666 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19667 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19668 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19669 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19670 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19671 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19672 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19673 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19674 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19675 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19676 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19677 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19678 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19679 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19680 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19681 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19682 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19683 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19684 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19685 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19686 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19687 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19688 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19689 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19690 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19691 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19692 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19694 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19695 _XOPEN_SOURCE_EXTENDED for XPG4.
19697 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19699 * Makeconfig (localtime): Remove variable.
19700 (inst_localtime-file): Likewise.
19702 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19723 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19727 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19728 comparisons to determine direction to adjust input.
19729 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19730 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19731 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19733 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19735 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19737 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19738 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19740 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19742 * math/libm-test.inc (nexttoward_test): Add more tests.
19744 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19748 in version GLIBC_2.1, not GLIBC_2.0.
19749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19752 2012-04-30 Joseph Myers <joseph@codesourcery.com>
19755 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19757 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19758 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19759 * math/libm-test.inc (acos_test): Add more tests.
19760 (asin_test): Likewise.
19761 * sysdeps/i386/fpu/libm-test-ulps: Update.
19762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19765 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19767 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19768 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19769 * math/libm-test.inc (acos_test_tonearest): New function.
19770 (acos_test_towardzero): Likewise.
19771 (acos_test_downward): Likewise.
19772 (acos_test_upward): Likewise.
19773 (asin_test_tonearest): Likewise.
19774 (asin_test_towardzero): Likewise.
19775 (asin_test_downward): Likewise.
19776 (asin_test_upward): Likewise.
19777 (main): Call the new functions.
19778 * sysdeps/i386/fpu/libm-test-ulps: Update.
19779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19783 * math/e_exp10.c: Include <float.h>.
19784 (__ieee754_exp10): Handle underflow here rather than multiplying
19785 large negative argument by M_LN10.
19786 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19788 * math/e_exp10l.c: Include <float.h>.
19789 (__ieee754_exp10l): Handle underflow here rather than multiplying
19790 large negative argument by M_LN10l.
19791 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19792 spurious overflow exception on underflow.
19794 2012-04-29 Marek Polacek <polacek@redhat.com>
19796 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19797 (__fortify_function): New macro.
19798 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19799 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19800 __extern_always_inline.
19801 * libio/bits/stdio2.h: Likewise.
19802 * libio/bits/stdio.h: Likewise.
19803 * string/string.h: Likewise.
19804 * string/bits/string3.h: Likewise.
19805 * include/stdio.h: Likewise.
19806 * stdlib/bits/stdlib.h: Likewise.
19807 * stdlib/stdlib.h: Likewise.
19808 * rt/bits/mqueue2.h: Likewise.
19809 * rt/mqueue.h: Likewise.
19810 * posix/bits/unistd.h: Likewise.
19811 * posix/unistd.h: Likewise.
19812 * io/bits/poll2.h: Likewise.
19813 * io/bits/fcntl2.h: Likewise.
19814 * io/fcntl.h: Likewise.
19815 * io/sys/poll.h: Likewise.
19816 * misc/bits/syslog.h: Likewise.
19817 * misc/bits/syslog-ldbl.h: Likewise.
19818 * misc/sys/syslog.h: Likewise.
19819 * socket/bits/socket2.h: Likewise.
19820 * socket/sys/socket.h: Likewise.
19821 * debug/tst-chk1.c: Likewise.
19822 * wcsmbs/bits/wchar2.h: Likewise.
19823 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19824 * wcsmbs/wchar.h: Likewise.
19826 2012-04-29 Andreas Jaeger <aj@suse.de>
19828 * Makerules (tests): Remove enable-check-abi protection.
19829 (check-abi-warn): Remove.
19830 (check-abi-%): Remove check-abi-warn usage.
19832 * configure.in: Remove check-abi configure option.
19833 * configure: Regenerated.
19834 * config.make.in (enable-check-abi): Remove.
19836 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19839 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19840 double functions to double *_finite functions.
19843 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19844 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19846 * stdio-common/Makefile (tests): Add tst-sprintf3.
19847 * stdio-common/tst-sprintf3.c: New file.
19849 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19850 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19852 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19854 * conform/conformtest.pl: Remove duplicate typed-constant
19857 2012-04-28 David S. Miller <davem@davemloft.net>
19859 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19860 (check-abi-%): Remove AWK script prerequisite and explicit
19862 (check-abi): Rewrite to just diff the symlist with the abilist.
19863 (config-tls, config-abi-config): Delete, no longer used.
19864 (update-abi-%): Remove AWK script and explicit abilist directory.
19865 (update-abi): Rewrite to simply compare and conditionally copy the
19866 symlist and the sysdep abilist file. Remove update-abi-config
19868 * abilist/ld.abilist: Remove.
19869 * abilist/libBrokenLocale.abilist: Remove.
19870 * abilist/libanl.abilist: Remove.
19871 * abilist/libcrypt.abilist: Remove.
19872 * abilist/libdl.abilist: Remove.
19873 * abilist/librt.abilist: Remove.
19874 * abilist/libthread_db.abilist: Remove.
19875 * abilist/libutil.abilist: Remove.
19876 * scripts/extract-abilist.awk: Remove.
19877 * scripts/merge-abilist.awk: Remove.
19878 * sysdeps/generic/libcidn.abilist: New file.
19879 * sysdeps/generic/libnss_compat.abilist: New file.
19880 * sysdeps/generic/libnss_db.abilist: New file.
19881 * sysdeps/generic/libnss_dns.abilist: New file.
19882 * sysdeps/generic/libnss_files.abilist: New file.
19883 * sysdeps/generic/libnss_hesiod.abilist: New file.
19884 * sysdeps/generic/libnss_nis.abilist: New file.
19885 * sysdeps/generic/libnss_nisplus.abilist: New file.
19886 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19887 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19888 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19890 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19891 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19892 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19893 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19894 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19895 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19896 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19897 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19898 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19900 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19901 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19902 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19903 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19905 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19906 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19907 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19908 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19909 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19910 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19912 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19913 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19914 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19916 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19917 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19919 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19921 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20019 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20020 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20021 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20023 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20024 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20025 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20026 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20027 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20028 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20029 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20030 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20031 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20032 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20059 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20084 2012-04-28 Joseph Myers <joseph@codesourcery.com>
20086 * conform/conformtest.pl: Fix typo in handling typed-constant from
20089 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20091 * README: Cut down references to pre-2.6 Linux kernels and
20092 Linuxthreads. Update lists of configurations in libc and ports
20093 and sort alphabetically. Say "or newer" with Linux kernel version
20096 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20098 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20101 * math/libm-test.inc (logb_test_downward): New test to expose
20102 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20105 2012-04-27 Joseph Myers <joseph@codesourcery.com>
20108 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20110 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20111 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20113 2012-04-26 Joseph Myers <joseph@codesourcery.com>
20115 * sysdeps/unix/i386/brk.S: Remove file.
20116 * sysdeps/unix/i386/dl-brk.S: Likewise.
20117 * sysdeps/unix/i386/pipe.S: Likewise.
20118 * sysdeps/unix/i386/sigreturn.S: Likewise.
20119 * sysdeps/unix/i386/syscall.S: Likewise.
20120 * sysdeps/unix/i386/vfork.S: Likewise.
20121 * sysdeps/unix/i386/wait.S: Likewise.
20123 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20124 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20126 * configure.in (arm*-none*): Do not allow without
20127 --enable-hacker-mode.
20128 (netbsd*): Remove case setting base_os.
20129 (386bsd*): Likewise.
20130 (freebsd*): Likewise.
20133 (sunos*): Likewise.
20134 (ultrix*): Likewise.
20135 (newsos*): Likewise.
20136 (dynix*): Likewise.
20142 (minix*): Likewise.
20143 (irix4*): Likewise.
20144 (irix6*): Likewise.
20145 (solaris[2-9]*): Likewise.
20147 * configure: Regenerated.
20149 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20152 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20153 overflow or cancellation in calculating denominator.
20154 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20155 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20156 down expression to avoid unexpected rounding in newer GCCs.
20157 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20159 2012-04-26 David S. Miller <davem@davemloft.net>
20161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20162 long-double compat symbols.
20163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20177 2012-04-25 David S. Miller <davem@davemloft.net>
20179 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20180 HWCAP_* values only after the memory barriers have been defined.
20181 (atomic_full_barrier): Define.
20182 (atomic_read_barrier): Define.
20183 (atomic_write_barrier): Define.
20185 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20187 * shlib-versions: Add libgcc_s version information.
20188 * sysdeps/generic/libgcc_s.h: Remove.
20189 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20191 * sysdeps/gnu/unwind-resume.c: Likewise.
20192 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20194 2012-04-25 David S. Miller <davem@davemloft.net>
20196 * sysdeps/unix/sparc/brk.S: Delete.
20197 * sysdeps/unix/sparc/dl-brk.S: Delete.
20198 * sysdeps/unix/sparc/pipe.S: Delete.
20199 * sysdeps/unix/sparc/sysdep.S: Delete.
20200 * sysdeps/unix/sparc/sysdep.h: Delete.
20201 * sysdeps/unix/sparc/vfork.S: Delete.
20202 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20203 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20204 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20205 ret_ERRVAL, r0, r1, MOVE): Define.
20206 (JUMPTARGET): Remove.
20207 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20208 sysdeps/unix/sparc/sysdep.h
20209 (ENTRY, END): Remove.
20210 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20212 2012-04-25 Joseph Myers <joseph@codesourcery.com>
20214 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20215 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20218 * timezone/README: Update upstream location and email address for
20220 * timezone/zdump.c: Update from tzcode 2012b.
20221 * timezone/zic.c: Likewise.
20223 * configure.in (libc_cv_as_needed): Remove test.
20224 * configure: Regenerated.
20225 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20226 conditional definition.
20227 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20228 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20229 * config.make.in (have-as-needed): Remove variable.
20231 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20232 Paul Pluzhnikov <ppluzhnikov@google.com>
20234 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20237 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20239 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20240 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20241 * sysdeps/sh/strlen.S: Likewise.
20243 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20245 * sysdeps/unix/fork.S: Remove file.
20246 * sysdeps/unix/i386/fork.S: Likewise.
20247 * sysdeps/unix/sparc/fork.S: Likewise.
20249 * sysdeps/unix/system.c: Remove file.
20250 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20252 * sysdeps/unix/getegid.S: Remove file.
20253 * sysdeps/unix/geteuid.S: Likewise.
20255 2012-04-24 Roland McGrath <roland@hack.frob.com>
20257 * scripts/check-localplt.awk: New file.
20258 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20260 * scripts/data/localplt-generic.data: Add a comment.
20262 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20263 NODE when __dir_mkfile failed.
20264 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20265 Reported by Ludovic Courtès <ludo@gnu.org>.
20267 2012-04-24 Andreas Jaeger <aj@suse.de>
20269 * Makerules (common-clean): Also remove gen-as-const-headers
20272 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20274 * Makerules (native-compile): Do not change working directory for
20275 build. Use $(OUTPUT_OPTION) in command.
20276 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20278 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20281 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20282 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20283 * math/libm-test.inc (floor_test): Add more tests.
20284 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20286 2012-04-24 Joseph Myers <joseph@codesourcery.com>
20288 * sysdeps/unix/getdents.c: Remove file.
20289 * sysdeps/unix/sysv/getdents.c: Likewise.
20290 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20292 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20293 sysdeps/unix/mman/syscalls.list.
20295 (mprotect): Likewise.
20297 (munmap): Likewise.
20298 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20299 * sysdeps/unix/mman/syscalls.list: Remove.
20300 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20302 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20303 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20304 * configure: Regenerated.
20305 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20306 $(libgcc_s_suffix).
20307 * config.make.in (libgcc_s_suffix): Remove variable.
20309 2012-04-23 Joseph Myers <joseph@codesourcery.com>
20311 * sysdeps/unix/sysv/gethostname.c: Move to ...
20312 * sysdeps/posix/gethostname.c: ... here.
20314 * sysdeps/unix/execve.S: Remove file.
20316 * sysdeps/unix/_exit.S: Remove file.
20318 2012-04-23 Andreas Jaeger <aj@suse.de>
20321 * manual/Makefile: Remove make dist support, there's no
20322 need for a stand-alone documentation tar ball.
20323 (TEXI2DVI): Define always, it's not in Makeconfig.
20326 (edition): Removed.
20327 (glibc-doc-$(edition).tar): Removed
20331 (ETAGS): Remove, it's in Makeconfig.
20332 (move-if-change): Remove, it's in Makeconfig.
20334 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
20337 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20338 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20339 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20340 (strtod_l, strtof_l, strtold_l): Remove __wur.
20341 It is not necessarily an error to ignore strtol's return value.
20342 One can reliably look at the stored endptr to decide whether
20343 the number had valid syntax.
20345 2012-04-21 Andreas Jaeger <aj@suse.de>
20348 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20350 2012-04-21 Joseph Myers <joseph@codesourcery.com>
20352 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20353 * sysdeps/unix/sysv/Versions: Remove file.
20355 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20360 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
20363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20364 version from __vm86.
20366 2012-04-20 Joseph Myers <joseph@codesourcery.com>
20368 * sysdeps/unix/common/lxstat.c: Remove file.
20369 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20371 * sysdeps/unix/sysv/Makefile: Remove file.
20373 * sysdeps/unix/sysv/direct.h: Remove file.
20375 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20376 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20377 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20378 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20379 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20380 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20381 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20383 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20385 * sysdeps/unix/xmknod.c: Remove file.
20386 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20388 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20390 * sysdeps/unix/sysv/i386/time.S: Remove file.
20392 * sysdeps/unix/fxstat.c: Remove file.
20393 * sysdeps/unix/xstat.c: Likewise.
20394 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20396 * sysdeps/unix/sysv/sigaction.c: Remove file.
20398 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20399 (sysdep_headers): Remove variable.
20400 [termio.h not in sysdep_headers] (generated): Likewise.
20401 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20402 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20403 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20404 * sysdeps/unix/sysv/tcflow.c: Likewise.
20405 * sysdeps/unix/sysv/tcflush.c: Likewise.
20406 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20407 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20408 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20409 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20410 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20412 * sysdeps/unix/siglist.c: Remove file.
20414 * sysdeps/unix/getppid.S: Remove file.
20416 * sysdeps/unix/mkdir.c: Remove file.
20417 * sysdeps/unix/rmdir.c: Likewise.
20419 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20421 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20423 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20424 errlist-compat value.
20426 2012-04-18 David S. Miller <davem@davemloft.net>
20428 * sysdeps/generic/memcopy.h (reg_char): Delete.
20429 * debug/strcat_chk.c: Use char, not reg_char.
20430 * debug/strcpy_chk.c: Likewise.
20431 * debug/strncat_chk.c: Likewise.
20432 * debug/strncpy_chk.c: Likewise.
20433 * string/memchr.c: Likewise.
20434 * string/memrchr.c: Likewise.
20435 * string/rawmemchr.c: Likewise.
20436 * string/strcat.c: Likewise.
20437 * string/strchr.c: Likewise.
20438 * string/strchrnul.c: Likewise.
20439 * string/strcmp.c: Likewise.
20440 * string/strcpy.c: Likewise.
20441 * string/strncat.c: Likewise.
20442 * string/strncmp.c: Likewise.
20443 * string/strncpy.c: Likewise.
20445 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20447 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20448 __builtin_memcopy is called when src and dest ranges are known to not
20451 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20453 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20454 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20455 fwd_align_merge macro call.
20456 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20457 bwd_align_merge macro call.
20458 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20460 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20462 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20463 bwd_align_merge macros.
20464 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20465 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20466 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20468 2012-04-18 David S. Miller <davem@davemloft.net>
20470 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20472 2012-04-18 Andreas Jaeger <aj@suse.de>
20475 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20476 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20477 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20479 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20480 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20481 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20483 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20484 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20485 Adjust for changed ldbl-128 files.
20487 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20488 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20489 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20491 2012-04-17 David S. Miller <davem@davemloft.net>
20493 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20495 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20497 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20498 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20499 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20500 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20501 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20502 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20504 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20507 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20508 * math/libm-test.inc: Add ilogb errno and exception tests.
20509 * math/w_ilogb.c: New file: ilogb wrapper.
20510 * math/w_ilogbf.c: New file: ilogbf wrapper.
20511 * math/w_ilogbl.c: New file: ilogbl wrapper.
20512 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20513 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20514 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20515 exception being thrown with 0.0 as argument.
20516 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20517 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20518 exception being thrown with 0.0 as argument.
20519 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20520 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20521 exception being thrown with 0.0 as argument.
20522 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20523 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20524 exception being thrown with 0.0 as argument.
20525 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20526 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20527 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20528 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20529 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20530 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20531 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20532 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20533 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20535 2012-04-17 Petr Baudis <pasky@ucw.cz>
20537 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20540 2012-04-16 Marek Polacek <polacek@redhat.com>
20542 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20544 2012-04-16 Marek Polacek <polacek@redhat.com>
20546 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20547 operands of fdivp instruction.
20549 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20551 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20552 * elf/tst-auditmod3b.c: Likewise.
20553 * elf/tst-auditmod4b.c: Likewise.
20554 * elf/tst-auditmod5b.c: Likewise.
20555 * elf/tst-auditmod6b.c: Likewise.
20556 * elf/tst-auditmod6c.c: Likewise.
20557 * elf/tst-auditmod7b.c: Likewise.
20558 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20559 * sysdeps/x86_64/preconfigure.in: Likewise.
20560 * sysdeps/x86_64/preconfigure: Regenerated.
20562 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20564 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20567 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
20569 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20570 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20572 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20575 * locale/iso-639.def: Fix gl language name. Spotted by
20578 2012-04-12 Roland McGrath <roland@hack.frob.com>
20581 * libio/libio.h (__io_write_fn): Update comment.
20583 2012-04-12 Petr Baudis <pasky@ucw.cz>
20586 * stdio.texi (Hook Functions): The user provided writer function
20587 is not allowed to return -1.
20589 2012-04-11 David S. Miller <davem@davemloft.net>
20591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20593 2012-04-11 Mike Frysinger <vapier@gentoo.org>
20595 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20596 Add a leading slash to rtkaio.
20598 2012-04-11 Jim Meyering <meyering@redhat.com>
20601 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20602 It is not necessarily an error to ignore fwrite's return
20603 value. One can reliably use ferror to test for errors after
20606 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20608 * bits/types.h (__snseconds_t): New type.
20609 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20611 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20613 (__SNSECONDS_T_TYPE): Likewise.
20614 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20615 (__SNSECONDS_T_TYPE): Likewise.
20616 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20617 (__SNSECONDS_T_TYPE): Likewise.
20619 2012-04-10 Andreas Jaeger <aj@suse.de>
20622 * manual/time.texi (Processor Time): Return type of times is
20623 elapsed real time since an arbitrary point in the past.
20624 (CPU Time): Move CLK_TCK from here...
20625 (Processor Time): ...to here. Correct description.
20626 * manual/conf.texi (Constants for Sysconf): Correct description of
20629 2012-04-10 David S. Miller <davem@davemloft.net>
20632 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20633 where the is a gap between DT_REL(A) and DT_JMPREL.
20635 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20637 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20638 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20639 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20641 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20643 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20644 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20645 (dl_main): Handle --inhibit-cache.
20646 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20648 * elf/dl-load.c (_dl_map_object): Use it.
20649 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20651 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20654 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20655 (__ieee754_powl): Saturate large exponents rather than testing for
20656 overflow of y*log2(x).
20657 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20658 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20662 * math/s_ctan.c: Include <float.h>.
20663 (__ctan): Avoid internal overflow or cancellation in calculating
20665 * math/s_ctanf.c: Likewise.
20666 * math/s_ctanl.c: Likewise.
20667 * math/s_ctanh.c: Likewise.
20668 * math/s_ctanhf.c: Likewise.
20669 * math/s_ctanhl.c: Likewise.
20670 * math/libm-test.inc (ctan_test): Add more tests.
20671 (ctanh_test): Likewise.
20672 * sysdeps/i386/fpu/libm-test-ulps: Update.
20673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20675 2012-04-09 Andreas Jaeger <aj@suse.de>
20678 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20679 is an optional BSD extension.
20682 * manual/stdio.texi (Opening Streams): Document additional fopen
20685 2012-04-09 Roland McGrath <roland@hack.frob.com>
20687 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20688 %eax without telling the compiler.
20690 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20693 * manual/install.texi: Use sourceware.org.
20695 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20698 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20699 (__ieee754_pow): Generate overflow and underflow using huge*huge
20700 and tiny*tiny rather than just returning constant infinity or zero
20701 for large exponents.
20702 * math/libm-test.inc (pow_test): Require overflow exceptions for
20703 applicable cases of large exponents.
20706 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20707 (__ieee754_pow): Use iterative multiplication algorithm only for
20708 integer exponents with absolute value below 1024. Check for odd
20709 integer exponents when using algorithm for real exponents.
20710 * math/libm-test.inc (pow_test): Add more tests.
20711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20713 2012-04-08 Joseph Myers <joseph@codesourcery.com>
20716 * math/libm-test.inc (exp_test): Do not allow overflow exception
20719 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20722 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20723 instead of __kernel_standard_f.
20725 2012-04-08 Mike Frysinger <vapier@gentoo.org>
20727 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20728 * sysdeps/x86_64/memset_chk.S: Likewise.
20730 2012-04-08 Andreas Jaeger <aj@suse.de>
20733 * manual/startup.texi (Environment Access): Describe return value
20734 for putenv and setenv.
20737 * manual/filesys.texi (Directory Entries): Add description for
20741 * manual/filesys.texi (Directory Entries): Clarify that it's file
20742 system not operating system in the description of DT_UNKNOWN.
20745 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20747 2012-04-08 Stephen Compall <s11@member.fsf.org>
20750 * manual/llio.texi (Opening and Closing Files): Add cross
20751 reference to explain mode argument.
20753 2012-04-07 Mike Frysinger <vapier@gentoo.org>
20755 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20756 * sysdeps/x86_64/memset_chk.S: Likewise.
20758 2012-04-07 David S. Miller <davem@davemloft.net>
20760 * elf/elf.h (R_SPARC_WDISP10): Define.
20761 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20763 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20764 R_SPARC_SIZE64 and R_SPARC_H34.
20766 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20768 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20769 conditions and remove no longer applicable assertion.
20771 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20773 * bits/byteswap.h: Include <features.h>.
20774 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20775 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20777 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20779 * bits/byteswap.h (__bswap_16): Removed.
20780 Include <bits/byteswap-16.h> to get __bswap_16.
20781 * sysdeps/i386/bits/byteswap.h: Likewise.
20782 * sysdeps/s390/bits/byteswap.h: Likewise.
20783 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20784 * bits/byteswap-16.h: New file.
20785 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20786 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20787 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20788 * string/Makefile (headers): Add bits/byteswap-16.h.
20790 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20793 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20795 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20796 * nss/tst-nss-static.c: New.
20798 2012-04-06 Robert Millan <rmh@gnu.org>
20801 * manual/llio.texi (File Position Primitive): lseek
20802 refers to WHENCE when it really means OFFSET.
20804 2012-04-06 Andreas Jaeger <aj@suse.de>
20806 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20807 strncmp declarations.
20809 * abilist/libc.abilist: Add __poll and __ppoll.
20811 2012-04-05 David S. Miller <davem@davemloft.net>
20813 * scripts/check-local-headers.sh: Accept a host triplet in the
20814 path matched by the exclude regexp.
20816 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20818 * sysdeps/powerpc/powerpc32/dl-machine.h
20819 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20820 * sysdeps/s390/s390-32/dl-machine.h
20821 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20822 * sysdeps/sparc/sparc32/dl-machine.h
20823 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20824 * sysdeps/sparc/sparc64/dl-machine.h
20825 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20827 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20829 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20830 undefined symbol errors.
20832 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20835 2012-04-05 Michael Matz <matz@suse.de>
20838 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20840 2012-04-05 Andreas Jaeger <aj@suse.de>
20843 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20846 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20848 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20849 which ROUND is no valid rounding mode.
20851 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20853 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20855 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20857 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20859 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20860 an exception using FPU order intentionally.
20862 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20864 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20865 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20866 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20867 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20869 2012-04-05 Simon Josefsson <simon@josefsson.org>
20872 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20873 EINVAL when BUFLEN is too smal.
20875 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20878 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20879 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20881 2012-04-03 Andreas Jaeger <aj@suse.de>
20884 * manual/setjmp.texi (System V contexts): Fix sentence.
20887 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20888 New macro for this case.
20889 [!__GNUC__] (__bswap_64): New inline function for this case.
20890 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20891 * bits/byteswap.h: Likewise.
20892 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20893 ull, guard with __GLIBC_HAVE_LONG_LONG.
20895 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20896 __GLIBC_HAVE_LONG_LONG.
20898 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20899 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20901 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20904 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20905 inptr and inend, rather than using last_ch.
20907 2012-04-02 David S. Miller <davem@davemloft.net>
20909 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20910 * stdio-common/printf-parse.h (read_int): Change return type to
20911 'int', return -1 on INT_MAX overflow.
20912 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20913 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20914 overflows INT_MAX. Check for overflow of in-format-string precision
20915 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20916 SIZE_MAX not INT_MAX for integer overflow test.
20917 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20918 skip the construct in the format string but do not record anything.
20919 * stdio-common/bug22.c: Adjust to test both width/prevision
20920 INT_MAX overflow as well as total length INT_MAX overflow. Check
20921 explicitly for proper errno values.
20923 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20925 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20927 * string/test-strcmp.c [! WIDE]: Likewise.
20928 * time/tst-mktime2.c: Likewise for INT_MAX.
20929 * string/test-string.h: #include <sys/param.h> for MIN.
20931 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20932 * sysdeps/i386/init-first.c (init): Likewise.
20933 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20934 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20935 * sysdeps/sh/init-first.c (init): Likewise.
20937 2012-04-01 Ulrich Drepper <drepper@gmail.com>
20939 * po/ru.po: Update from translation team.
20940 * po/vi.po: Likewise.
20942 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20944 * resolv/nss_dns/dns-host.c: Merge copyright years.
20946 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20948 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20949 Optimize memcpy with prefetch if
20950 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20951 src, dst pointers have unequal 16 byte alignments.
20953 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20956 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20957 from a CNAME entry and return the minimum ttl for the query.
20958 (gaih_getanswer_slice): Likewise.
20960 2012-03-30 Jeff Law <law@redhat.com>
20962 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20964 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20965 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20967 * resolv/nss_dns/dns-host.c: Update copyright year.
20969 2012-03-30 Ulrich Drepper <drepper@gmail.com>
20971 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20972 requests to save a system call. Fix check that all bytes are sent.
20974 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20975 comments for sendmmsg.
20977 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20980 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20981 with only 1 character between 0x0041 and 0x01b0.
20982 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20983 * wcsmbs/tst-mbsnrtowcs.c: New file.
20985 2012-03-29 David S. Miller <davem@davemloft.net>
20987 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20988 small copies by hand.
20990 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20993 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20994 _nss_compat_initgroups_dyn): Fall back to malloc/free
20995 for large group memberships.
20997 2012-03-28 David S. Miller <davem@davemloft.net>
20999 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21000 that branches into memcpy.
21001 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21002 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21004 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21007 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21008 implementation too.
21009 * sysdeps/sparc/mempcpy.S: New file.
21011 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21012 the IFUNC routine in the libc case.
21013 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21015 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21016 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21017 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21018 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21019 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21020 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21021 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21022 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21024 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21025 loop to 256 bytes instead of 64 bytes and fix test signedness.
21027 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21028 * sysdeps/sparc/sparc32/Makefile: rather than here...
21029 * sysdeps/sparc/sparc64/Makefile: and here.
21031 2012-03-28 Ulrich Drepper <drepper@gmail.com>
21033 * malloc/mallocbug.c: Avoid warnings about unused variables.
21035 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21038 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21039 in the right place. Discard and retry query if response is
21040 larger than input buffer size.
21042 2012-03-28 Joseph Myers <joseph@codesourcery.com>
21047 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21048 x for large integer exponent.
21049 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21050 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21051 sign of result as needed afterwards.
21052 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21053 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21054 result for underflowing pow the same as for overflow.
21055 (__kernel_standard_l): Handle powl overflow and underflow here
21056 rather than calling __kernel_standard.
21057 * math/libm-test.inc (pow_test): Add more tests.
21072 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21073 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21074 (__kernel_standard_l): New function.
21075 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21077 * math/w_acosl.c (__acosl): Likewise.
21078 * math/w_asinl.c (__asinl): Likewise.
21079 * math/w_atan2l.c (__atan2l): Likewise.
21080 * math/w_atanhl.c (__atanhl): Likewise.
21081 * math/w_coshl.c (__coshl): Likewise.
21082 * math/w_exp10l.c (__exp10l): Likewise.
21083 * math/w_exp2l.c (__exp2l): Likewise.
21084 * math/w_fmodl.c (__fmodl): Likewise.
21085 * math/w_hypotl.c (__hypotl): Likewise.
21086 * math/w_j0l.c (__j0l, __y0l): Likewise.
21087 * math/w_j1l.c (__j1l, __y1l): Likewise.
21088 * math/w_jnl.c (__jnl, __ynl): Likewise.
21089 * math/w_lgammal.c (__lgammal): Likewise.
21090 * math/w_log10l.c (__log10l): Likewise.
21091 * math/w_log2l.c (__log2l): Likewise.
21092 * math/w_logl.c (__logl): Likewise.
21093 * math/w_powl.c (__powl): Likewise.
21094 * math/w_remainderl.c (__remainderl): Likewise.
21095 * math/w_scalbl.c (sysv_scalbl): Likewise.
21096 * math/w_sinhl.c (__sinhl): Likewise.
21097 * math/w_sqrtl.c (__sqrtl): Likewise.
21098 * math/w_tgammal.c (__tgammal): Likewise.
21099 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21100 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21101 * math/libm-test.inc (acos_test): Add more tests.
21102 (acosh_test): Likewise.
21103 (asin_test): Likewise.
21104 (atanh_test): Likewise.
21105 (exp_test): Likewise.
21106 (exp10_test): Likewise.
21107 (exp2_test): Likewise.
21108 (expm1_test): Likewise.
21109 (lgamma_test): Likewise.
21110 (log_test): Likewise.
21111 (log10_test): Likewise.
21112 (log1p_test): Likewise.
21113 (log2_test): Likewise.
21114 (pow_test): Do not allow some spurious overflow exceptions.
21115 (sqrt_test): Add more tests.
21116 (tgamma_test): Likewise.
21117 (y0_test): Likewise.
21118 (y1_test): Likewise.
21119 (yn_test): Likewise.
21121 2012-03-27 Anton Blanchard <anton@samba.org>
21123 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21125 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21126 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21127 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21129 2012-03-27 David S. Miller <davem@davemloft.net>
21131 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21133 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21134 have-as-vis3 check.
21136 2012-03-27 Andreas Jaeger <aj@suse.de>
21138 * sysdeps/x86_64/elf/configure.in: Moved to ...
21139 * sysdeps/x86_64/configure.in: ... here.
21140 * sysdeps/x86_64/elf/start.S: Moved to ...
21141 * sysdeps/x86_64/start.S: ... here.
21142 * sysdeps/x86_64/elf/configure: Delete.
21144 * sysdeps/x86_64/configure.in: Merge contents from
21145 sysdeps/i386/configure.in (without i686 check).
21147 * sysdeps/i386/elf/Versions: Merge into ...
21148 * sysdeps/i386/Versions: ... this.
21149 * sysdeps/i386/elf/Versions: Delete file.
21150 * sysdeps/i386/elf/start.S: Moved to ...
21151 * sysdeps/i386/start.S: ...here.
21152 * sysdeps/i386/elf/configure.in: Merge into...
21153 * sysdeps/i386/configure.in: ...here.
21154 * sysdeps/i386/elf/configure.in: Delete file.
21155 * sysdeps/i386/elf/configure: Delete file.
21157 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21158 * debug/backtracesyms.c: ... here.
21159 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21160 * debug/backtracesymsfd.c: ... here.
21161 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21162 * sysdeps/generic/ifunc-sel.h: ... here.
21164 * sysdeps/unix/i386/start.c: Delete file.
21165 * sysdeps/unix/sparc/start.c: Delete file.
21166 * sysdeps/unix/start.c: Delete file.
21168 * sysdeps/sh/elf/configure.in: Moved to ...
21169 * sysdeps/sh/configure.in: ... here.
21170 * sysdeps/sh/elf/start.S: Moved to ...
21171 * sysdeps/sh/start.S: ... here.
21172 * sysdeps/sh/elf/configure: Delete file.
21174 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21175 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21176 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21177 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21178 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21179 * sysdeps/powerpc/powerpc64/start.S: here.
21180 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21181 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21182 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21183 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21184 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21186 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21187 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21188 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21189 * sysdeps/powerpc/powerpc32/start.S: ... here.
21190 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21191 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21192 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21194 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21195 * sysdeps/powerpc/ifunc-sel.h: ... here.
21196 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21197 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21199 * sysdeps/sparc/elf/configure.in: Moved to ...
21200 * sysdeps/sparc/configure.in: ... here.
21201 * sysdeps/sparc/elf/configure: Delete file.
21202 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21203 * sysdeps/sparc/sparc32/start.S: ... here.
21204 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21205 * sysdeps/sparc/sparc64/start.S: ... here.
21206 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21207 * sysdeps/sparc/sparc32/Makefile: ... this.
21208 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21209 * sysdeps/sparc/sparc64/Makefile: ... this.
21211 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21212 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21213 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21214 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21215 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21216 * sysdeps/s390/s390-32/setjmp.S: ... here.
21217 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21218 * sysdeps/s390/s390-32/configure.in: ... here.
21219 * sysdeps/s390/s390-32/elf/configure: Delete file.
21220 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21221 * sysdeps/s390/s390-32/start.S: ... here.
21223 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21224 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21225 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21226 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21227 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21228 * sysdeps/s390/s390-64/setjmp.S: ... here.
21229 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21230 * sysdeps/s390/s390-64/configure.in: ... here
21231 * sysdeps/s390/s390-64/elf/configure: Delete file.
21232 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21233 * sysdeps/s390/s390-64/start.S: ... here.
21234 * sysdeps/s390/s390-64/elf/configure: Delete.
21236 * configure.in: Remove support for elf directories in sysdeps.
21238 * configure: Regenerated.
21239 * sysdeps/i386/configure: Regenerated.
21240 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21241 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21242 * sysdeps/s390/s390-32/configure: Regenerated.
21243 * sysdeps/s390/s390-64/configure: Regenerated.
21244 * sysdeps/sh/configure: Regenerated.
21245 * sysdeps/sparc/configure: Regenerated.
21246 * sysdeps/x86_64/configure: Regenerated.
21248 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21252 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21253 denormal result into account.
21255 2012-03-25 Roland McGrath <roland@hack.frob.com>
21257 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21258 Reported by Allan McRae <allan@archlinux.org>.
21260 2012-03-23 Jeff Law <law@redhat.com>
21262 * nss/getnssent.c (__nss_getent): Fix typo.
21264 2012-03-23 David S. Miller <davem@davemloft.net>
21266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21268 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21270 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21271 to pad to uint64_t for each field.
21272 (dl_tls_index): Replace unsigned long with uint64_t.
21274 2012-03-23 Daniel Jacobowitz <dmj@google.com>
21275 Paul Pluzhnikov <ppluzhnikov@google.com>
21278 * grp/Makefile (otherlibs): Don't set it.
21279 * inet/Makefile (otherlibs): Likewise.
21280 * login/Makefile (otherlibs): Likewise.
21281 * nscd/Makefile (otherlibs): Likewise.
21282 * posix/Makefile (otherlibs): Likewise.
21283 * pwd/Makefile (otherlibs): Likewise.
21284 * rt/Makefile (otherlibs): Likewise.
21285 * sunrpc/Makefile (otherlibs): Likewise.
21286 * nss/Makefile (otherlibs): Likewise.
21287 Add libnss_files to routines and static-only-routines.
21288 ($(objpfx)getent): Remove rule.
21289 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21290 static-only-routines.
21292 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21295 * math/s_cexp.c: Include <float.h>.
21296 (__cexp): Handle exp result overflowing not necessarily
21297 overflowing both real and imaginary parts of result.
21298 * math/s_cexpf.c: Likewise.
21299 * math/s_cexpl.c: Likewise.
21300 * math/libm-test.inc (cexp_test): Add more tests.
21301 * sysdeps/i386/fpu/libm-test-ulps: Update.
21302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21304 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21306 * include/link.h (ELFW): New macro.
21307 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21308 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21310 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21312 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21315 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21317 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21319 (struct La_x32_retval): Likewise.
21321 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21323 * sysdeps/x86_64/preconfigure.in: New file.
21324 * sysdeps/x86_64/preconfigure: New generated file.
21326 2012-03-22 Joseph Myers <joseph@codesourcery.com>
21329 * math/e_exp2l.c: Include <float.h>.
21330 (__ieee754_exp2l): Handle overflow and underflow cases
21331 separately. Only pass fractional part of argument to
21333 * math/libm-test.inc (exp2_test): Add more tests.
21335 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21336 negating x to take absolute value.
21337 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21339 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21340 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21342 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21343 computing low part if x was negated.
21344 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21346 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21348 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21349 la_x32_gnu_pltexit.
21350 (pltexit): Cast int_retval to ptrdiff_t.
21351 * elf/tst-auditmod3b.c: Likewise.
21352 * elf/tst-auditmod4b.c: Likewise.
21353 * elf/tst-auditmod5b.c: Likewise.
21354 * elf/tst-auditmod6b.c: Likewise.
21355 * elf/tst-auditmod6c.c: Likewise.
21356 * elf/tst-auditmod7b.c: Likewise.
21358 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21359 and x32_gnu_pltexit.
21361 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21362 __ELF_NATIVE_CLASS.
21363 (La_x32_regs): New macro.
21364 (La_x32_retval): Likewise.
21365 (la_x32_gnu_pltenter): New function prototype.
21366 (la_x32_gnu_pltexit): Likewise.
21368 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21370 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21375 * configure.in (libc_cv_cc_nofma): Check for option to disable
21376 generation of FMA instructions.
21377 * configure: Regenerate.
21378 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21379 * sysdeps/ieee754/dbl-64/Makefile: New file.
21380 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21381 Remove brandred-fma4.
21382 (CFLAGS-brandred-fma4.c): Remove.
21383 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21384 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21386 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21389 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21391 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21392 LLONG_MAX != LONG_MAX.
21393 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21394 (_fitoa_word): Likewise.
21395 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21396 LLONG_MAX != LONG_MAX.
21397 * stdio-common/_itowa.h: Include <_itoa.h>.
21398 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21399 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21400 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21401 only if not defined.
21402 (_ITOA_WORD_TYPE): Likewise.
21403 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21404 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21406 2012-03-21 David S. Miller <davem@davemloft.net>
21408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21410 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21412 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21413 of x86_64 when setting libc_cv_slibdir, libdir and
21415 * sysdeps/unix/sysv/linux/configure: Regenerated.
21417 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21419 * manual/lang.texi (Old Varargs): Remove section.
21420 (How Variadic): Update menu.
21421 (va_start): Do not mention varargs.h.
21423 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21424 Joseph Myers <joseph@codesourcery.com>
21426 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21428 * configure: Regenerated.
21430 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21432 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21433 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21436 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21439 * Makefile (files-for-dist): Remove NOTES.
21440 (NOTES): Remove rule.
21441 * README: Don't refer to NOTES.
21442 * manual/creature.texi: Don't include macros.texi.
21443 * manual/intro.texi (creature.texi): Remove comment referring to
21446 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21447 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21448 * configure: Regenerated.
21449 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21450 LIBC_TRY_CC_OPTION.
21451 (libc_cv_as_i686): Likewise.
21452 (libc_cv_cc_avx): Likewise.
21453 (libc_cv_cc_sse2avx): Likewise.
21454 (libc_cv_cc_fma4): Likewise.
21455 (libc_cv_cc_novzeroupper): Likewise.
21456 * sysdeps/i386/configure: Regenerated.
21459 * sysdeps/i386/fpu/s_cexp.S: Remove.
21460 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21461 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21462 * math/libm-test.inc (cexp_test): Add more tests.
21463 * sysdeps/i386/fpu/libm-test-ulps: Update.
21464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21466 2012-03-21 Allan McRae <allan@archlinux.org>
21468 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21470 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21473 * math/w_exp2.c: Do not include <float.h>.
21474 (o_threshold, u_threshold): Remove.
21475 (__exp2): Calculate result before checking finiteness and calling
21477 * math/w_exp2f.c: Likewise.
21478 * math/w_exp2l.c: Likewise.
21479 * math/libm-test.inc (exp2_test): Require overflow exception for
21483 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21484 range of signed 64-bit integers before using fistpll. Remove
21485 checks for whether integers fit in mantissa bits.
21486 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21487 the range of signed 32-bit integers before using fistpl. Remove
21488 checks for whether integers fit in mantissa bits.
21489 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21490 (__ieee754_powl): Test for y outside the range of signed 64-bit
21491 integers before using fistpll. Reduce 64-bit values to 63-bit
21493 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21494 divide-by-zero is raised for zero to large negative powers.
21495 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21496 (__ieee754_powl): Test for y outside the range of signed 64-bit
21497 integers before using fistpll. Reduce 64-bit values to 63-bit
21499 * math/libm-test.inc (pow_test): Add more tests.
21501 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21503 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21504 <stdio-common/_itoa.h>.
21505 * debug/segfault.c: Likewise.
21506 * elf/dl-cache.c: Likewise.
21507 * elf/dl-minimal.c: Likewise.
21508 * elf/dl-misc.c: Likewise.
21509 * elf/dl-sysdep.c: Likewise.
21510 * elf/dl-version.c: Likewise.
21511 * elf/rtld.c: Likewise.
21512 * hurd/hurdsock.c: Likewise.
21513 * hurd/lookup-retry.c: Likewise.
21514 * malloc/malloc.c: Likewise.
21515 * malloc/mtrace.c: Likewise.
21516 * nscd/nscd_getgr_r.c: Likewise.
21517 * nscd/nscd_getpw_r.c: Likewise.
21518 * nscd/nscd_getserv_r.c: Likewise.
21519 * posix/getopt_init.c: Likewise.
21520 * posix/wordexp.c: Likewise.
21521 * stdio-common/_itoa.c: Likewise.
21522 * stdio-common/printf_fphex.c: Likewise.
21523 * stdio-common/vfprintf.c: Likewise.
21524 * string/_strerror.c: Likewise.
21525 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21526 * sysdeps/i386/i686/hp-timing.h: Likewise.
21527 * sysdeps/mach/_strerror.c: Likewise.
21528 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21529 * sysdeps/mach/hurd/sethostid.c: Likewise.
21530 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21531 * sysdeps/mach/xpg-strerror.c: Likewise.
21532 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21533 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21534 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21535 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21536 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21537 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21538 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21539 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21540 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21541 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21542 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21543 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21544 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21545 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21546 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21547 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21548 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21549 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21550 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21551 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21552 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21554 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21556 * stdio-common/_itoa.h: Moved to ...
21557 * sysdeps/generic/_itoa.h: Here.
21559 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21561 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21562 instead of "_itoa.h" and "_itowa.h".
21563 * stdio-common/vfprintf.: Likewise.
21565 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21567 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21569 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21570 (__signbit): Likwise.
21571 (llrintf): Likwise.
21574 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21576 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21579 2012-03-20 Joseph Myers <joseph@codesourcery.com>
21581 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21582 OVERFLOW_EXCEPTION_OK.
21583 * math/libm-test.inc ("Philosophy"): Update comment about
21585 (OVERFLOW_EXCEPTION): Define.
21586 (OVERFLOW_EXCEPTION_OK): Likewise.
21587 (INVALID_EXCEPTION_OK): Renumber.
21588 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21589 (IGNORE_ZERO_INF_SIGN): Likewise.
21590 (test_exceptions): Handle FE_OVERFLOW.
21591 (exp10_test): Expect overflow exceptions.
21592 (exp2_test): Likewise.
21593 (expm1_test): Likewise.
21594 (nextafter_test): Likewise.
21595 (pow_test): Likewise.
21596 (scalbn_test): Likewise.
21597 (scalbln_test): Likewise.
21599 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21601 * sysdeps/x86_64/bits/atomic.h
21602 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21604 (atomic_exchange_acq): Likewise.
21605 (__arch_exchange_and_add_body): Likewise.
21606 (__arch_add_body): Likewise.
21607 (atomic_add_negative): Likewise.
21608 (atomic_add_zero): Likewise.
21610 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21612 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21613 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21615 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21617 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21618 Check __x86_64__ instead of __WORDSIZE.
21620 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21622 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21624 2012-03-19 David S. Miller <davem@davemloft.net>
21626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21628 * sysdeps/sparc/fpu/fenv_private.h: New file.
21629 * sysdeps/sparc/fpu/math_private.h: Use it.
21630 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21632 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21633 (libc_feholdexcept_setroundl): Remove.
21634 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21636 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21637 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21639 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21641 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21642 int64_t instead of long int.
21643 (INSERT_WORDS64): Likwise.
21645 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21647 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21648 _Unwind_GetCFA return to _Unwind_Ptr first.
21650 2012-03-19 Joseph Myers <joseph@codesourcery.com>
21653 * math/s_clog.c: Include <float.h>.
21654 (__clog): Scale large or subnormal inputs.
21655 * math/s_clogf.c: Likewise.
21656 * math/s_clogl.c: Likewise.
21657 * math/s_clog10.c: Include <float.h>.
21658 (M_LOG10_2): Define.
21659 (__clog10): Scale large or subnormal inputs.
21660 * math/s_clog10f.c: Likewise.
21661 * math/s_clog10l.c: Likewise.
21662 * math/libm-test.inc (clog_test): Add more tests.
21663 (clog10_test): Likewise.
21664 * sysdeps/i386/fpu/libm-test-ulps: Update.
21665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21668 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21670 * math/libm-test.inc (atan2_test): Add another test.
21672 * Makerules (common-objdir-compile): Remove.
21673 * sysdeps/unix/Makefile (config-generated): Do not add
21674 $(unix-generated) to variable.
21675 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21676 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21678 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21680 [generic bits/local_lim.h] (before-compile): Do not append to
21682 [generic bits/local_lim.h] (common-generated): Likewise.
21683 [generic sys/param.h] (before-compile): Do not append to variable.
21684 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21685 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21686 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21687 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21689 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21690 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21691 [generic sys/param.h] ($(addprefix
21692 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21693 [generic sys/param.h] (common-generated): Do not append to
21695 [generic sys/param.h] (sysdep_headers): Likewise.
21696 [generic bits/errno.h] (before-compile): Do not append to
21698 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21700 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21701 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21702 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21703 [generic bits/errno.h] (common-generated): Do not append to
21705 [generic bits/ioctls.h] (before-compile): Do not append to
21707 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21709 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21710 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21711 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21713 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21714 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21715 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21716 [generic bits/ioctls.h] (common-generated): Do not append to
21718 [generic sys/syscall.h] (syscall.h): Remove variable.
21719 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21721 [generic sys/syscall.h] (before-compile): Do not append to
21723 [generic sys/syscall.h] (common-generated): Likewise.
21724 * sysdeps/unix/errnos-tmpl.c: Remove file.
21725 * sysdeps/unix/errnos.awk: Likewise.
21726 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21727 * sysdeps/unix/ioctls.awk: Likewise.
21728 * sysdeps/unix/mk-local_lim.c: Likewise.
21729 * sysdeps/unix/snarf-ioctls: Likewise.
21731 2012-03-19 Richard Henderson <rth@twiddle.net>
21733 * sysdeps/i386/fpu/fenv_private.h: New file.
21734 * sysdeps/i386/fpu/math_private.h: Use it.
21735 (math_opt_barrier, math_force_eval): Remove.
21736 (libc_feholdexcept_setround_53bit): Remove.
21737 (libc_feupdateenv_53bit): Remove.
21738 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21739 (math_opt_barrier, math_force_eval): Remove.
21740 (libc_feholdexcept): Remove.
21741 (libc_feholdexcept_setround): Remove.
21742 (libc_fetestexcept, libc_fesetenv): Remove.
21743 (libc_feupdateenv_test): Remove.
21744 (libc_feupdateenv, libc_feholdsetround): Remove.
21745 (libc_feresetround): Remove.
21747 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21748 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21750 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21751 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21752 (libc_feupdateenv_testl): New.
21753 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21754 (libc_feupdateenv_testf): New.
21755 (libc_feupdateenv): Use libc_feupdateenv_test.
21756 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21757 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21759 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21760 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21761 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21762 (libc_feresetround_noex): New.
21763 (libc_feresetround_noexf): New.
21764 (libc_feresetround_noexl): New.
21765 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21766 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21767 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21768 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21770 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21771 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21773 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21774 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21775 SET_RESTORE_ROUND_NOEX.
21776 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21777 SET_RESTORE_ROUND_NOEXF.
21778 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21779 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21780 (libc_feholdsetroundf): New.
21781 (libc_feresetround, libc_feresetroundf): New.
21783 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21784 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21785 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21787 * sysdeps/generic/math_private.h: Include <fenv.h>.
21788 (default_libc_feholdexcept): New.
21789 (default_libc_feholdexcept_setround): New.
21790 (default_libc_fesetenv, default_libc_feupdateenv): New.
21791 (libc_feholdexcept): Only define if undefined.
21792 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21793 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21794 (libc_feholdexcept_setroundl): Likewise.
21795 (libc_feholdexcept_setround_53bit): Likewise.
21796 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21797 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21798 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21799 (libc_feupdateenv_53bit): Likewise.
21800 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21801 (libc_feholdexcept): Convert from macro to inline function.
21802 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21803 (libc_fesetenv, libc_feupdateenv): Likewise.
21805 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21806 not previously defined.
21807 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21808 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21809 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21810 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21811 * sysdeps/ieee754/flt-32/math_private.h: New file.
21812 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21813 math_private.h below SET_FLOAT_WORD.
21814 (__isnan, __isinf_ns, __finite): Remove.
21815 (__isnanf, __isinf_nsf, __finitef): Remove.
21817 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21821 2012-03-17 David S. Miller <davem@davemloft.net>
21824 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21827 2012-03-16 David S. Miller <davem@davemloft.net>
21829 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21833 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21835 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21836 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21837 sysdep_routines when subdir is sysvipc.
21838 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21839 __getshmlba helper.
21841 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21843 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21845 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21848 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21850 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21851 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21852 (__lround): Renamed to ...
21853 (__llround): This. Replace long int with long long int.
21854 Define lround functions as aliases of llround functions.
21855 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21857 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21859 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21860 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21861 adresses to uintptr_t. Replace "long int" and "unsigned long
21862 int" with "greg_t" on va_arg.
21864 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21866 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21867 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21869 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21870 Move e_machine check before EI_CLASS check. Handle x32
21871 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21872 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21873 SKIP_EM_IA_64 and include
21874 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21876 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21877 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21878 (add_system_dir): New macro.
21880 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21881 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21883 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21894 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21896 * math/w_j0f.c (j0f): Likewise.
21898 * math/w_j0l.c (__j0l): Likewise.
21900 * math/w_j1.c (j1): Likewise.
21902 * math/w_j1f.c (j1f): Likewise.
21904 * math/w_j1l.c (__j1l): Likewise.
21906 * math/w_jn.c (jn): Likewise.
21908 * math/w_jnf.c (jnf): Likewise.
21910 * math/w_jnl.c (__jnl): Likewise.
21912 * math/libm-test.inc (j0_test): Add more tests.
21913 (j1_test): Likewise.
21914 (jn_test): Likewise. Add trailing semicolon to existing test.
21915 (y0_test): Likewise.
21916 (y1_test): Likewise.
21917 * sysdeps/i386/fpu/libm-test-ulps: Update.
21918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21922 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21923 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21924 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21925 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21926 (__tanl): Set errno for infinite argument.
21927 * sysdeps/i386/fpu/mptan.c: Remove.
21928 * sysdeps/i386/fpu/s_tan.S: Likewise.
21929 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21930 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21931 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21932 * math/libm-test.inc (tan_test): Add more tests and enable more
21933 tests for double and long double.
21934 * sysdeps/i386/fpu/libm-test-ulps: Update.
21935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21937 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21939 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21940 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21942 2012-03-16 Roland McGrath <roland@hack.frob.com>
21944 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21945 * configure.in: Use it for both main tree and add-ons.
21946 * configure: Regenerated.
21948 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21950 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21952 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21954 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21958 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21959 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21960 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21961 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21962 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21964 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21966 != 0 for prec == 2.
21967 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21968 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21969 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21970 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21971 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21972 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21973 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21974 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21975 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21976 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21977 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21978 * math/libm-test.inc (cos_test): Add more tests and enable more
21979 tests for long double.
21980 (sin_test): Likewise.
21981 (sincos_test): Likewise.
21982 * sysdeps/i386/fpu/libm-test-ulps: Update.
21983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21985 2012-03-16 David S. Miller <davem@davemloft.net>
21987 * sysdeps/sparc/fpu/math_private.h: New file.
21989 2012-03-15 David S. Miller <davem@davemloft.net>
21991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21998 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21999 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22000 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22001 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22005 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22006 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22008 * sysdeps/sparc/sparc-ifunc.h: New file.
22009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22034 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22035 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22036 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22043 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22044 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22045 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22046 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22047 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22048 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22049 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22050 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22052 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22054 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22056 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22060 2012-03-15 Andreas Jaeger <aj@suse.de>
22063 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22064 ieee754/flt-32 implementation for sin, cos and sincos.
22065 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22066 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22067 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22068 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22069 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22070 ieee754/flt-32 implementation for tan.
22072 * math/libm-test.inc (cos_test): Enable some large input tests for
22074 (sin_test): Likewise.
22075 (sincos_test): Likewise.
22076 (tan_test): Add tests for large input.
22078 * sysdeps/i386/fpu/libm-test-ulps: Update.
22080 2012-03-15 Andreas Jaeger <aj@suse.de>
22083 * math/libm-test.inc (cos_test): Add more test cases.
22084 (sin_test): Likewise.
22085 (sincos_test): Likewise.
22087 2012-03-15 Andreas Jaeger <aj@suse.de>
22090 * math/libm-test.inc (cos_test): Add a test case for large input
22092 (sin_test): Likewise.
22093 (sincos_test): Likewise.
22095 2012-03-15 Andreas Jaeger <aj@suse.de>,
22096 Joseph Myers <joseph@codesourcery.com>
22099 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22100 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22101 * sysdeps/i386/fpu/branred.c: Likewise.
22102 * sysdeps/i386/fpu/dosincos.c: Likewise.
22103 * sysdeps/i386/fpu/mpa.c: Likewise.
22104 * sysdeps/i386/fpu/s_cos.S: Likewise.
22105 * sysdeps/i386/fpu/s_sin.S: Likewise.
22106 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22107 * sysdeps/i386/fpu/sincos32.c: Likewise.
22109 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22111 (libc_feupdateenv_53bit): Define.
22112 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22114 (libc_feupdateenv_53bit): Define.
22116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22117 53 bit (without extend i386 double precision).
22119 * math/libm-test.inc (sincos_test): Add tests for large input.
22123 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22125 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22129 2012-03-15 David S. Miller <davem@davemloft.net>
22131 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22132 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22133 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22134 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22159 fmin/fmax sysdep routines.
22160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22162 2012-03-14 David S. Miller <davem@davemloft.net>
22164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22166 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22168 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22169 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22170 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22171 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22174 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22176 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22177 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22178 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22179 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22180 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22181 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22184 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22185 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22190 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22191 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22192 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22236 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22241 * sysdeps/sparc/configure.in: New file.
22242 * sysdeps/sparc/configure: Generate.
22243 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22244 * configure: Regenerate.
22245 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22246 * config.make.in (have-as-vis3): New.
22247 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22248 available use -Av9d instead of -Av9a.
22249 * sysdeps/sparc/sparc64/Makefile: Likewise.
22250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22259 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22260 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22261 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22262 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22263 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22265 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22266 fzeros/fnegs to load 0x80000000 into a float register instead of
22268 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22270 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22274 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22275 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22276 ($(inst_includedir)/bits/syscall.h): Remove rule.
22277 ($(objpfx)bits/syscall.d): Include instead of
22278 $(objpfx)syscall-list.d.
22279 (generated): Change syscall-list.h and syscall-list.d to
22280 bits/syscall.h and bits/syscall.d.
22282 2012-03-14 Roland McGrath <roland@hack.frob.com>
22285 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22287 2012-03-14 Joseph Myers <joseph@codesourcery.com>
22290 * math/s_csqrt.c: Include <float.h>.
22291 (__csqrt): Scale large or subnormal inputs.
22292 * math/s_csqrtf.c: Likewise.
22293 * math/s_csqrtl.c: Likewise.
22294 * math/libm-test.inc (csqrt_test): Add more tests.
22295 * sysdeps/i386/fpu/libm-test-ulps: Update.
22296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22299 * math/libm-test.inc (hypot_test): Add more tests.
22301 2012-03-13 David S. Miller <davem@davemloft.net>
22304 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22305 double-precision for the calculation instead of scaling.
22307 2012-03-13 Joseph Myers <joseph@codesourcery.com>
22309 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22310 manipulate bits before adding and subtracting TWO52[sx].
22311 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22312 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22314 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22316 2012-03-13 David S. Miller <davem@davemloft.net>
22318 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22319 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22321 rtld-global-offsets.h
22322 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22324 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22327 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22329 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22330 'err' in the ifdef scope in which it is actually used.
22332 * nss/nss_db/db-init.c: Include string.h
22334 2012-03-12 David S. Miller <davem@davemloft.net>
22336 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22337 masking out of the most significant byte of random value used.
22338 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22339 Fix coding style in previous change.
22341 * sysdeps/unix/sysv/linux/kernel-features.h
22342 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22343 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22345 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22348 2012-03-11 David S. Miller <davem@davemloft.net>
22350 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22351 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22352 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22353 for 'resultvar' otherwise things get truncated on 64-bit.
22355 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22356 Fix masking out of the most significant byte of random value used.
22358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22360 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22364 2012-03-09 David S. Miller <davem@davemloft.net>
22366 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22367 variables with appropriate CPP guards.
22368 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22369 frame pointer, not the stack pointer. Correct layout comments. Fix test
22370 on resulting framesize and the management of the outregs buffer for pltexit.
22371 Preserve floating point return values across _dl_call_pltexit call.
22372 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22373 framesize and the management of the outregs buffer for pltexit.
22374 Preserve floating point return values across _dl_call_pltexit
22376 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22377 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22378 (print_exit): Fix format string for return register value.
22380 2012-03-10 Joseph Myers <joseph@codesourcery.com>
22382 * sunrpc/Makefile (others): Add rpcgen.
22383 ($(objpfx)rpcgen): Remove special build rule and dependency on
22385 * sunrpc/rpcgen.c: New file.
22387 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22390 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22391 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22392 * sysdeps/i386/crti.S: Likewise.
22393 * sysdeps/i386/crtn.S: Likewise.
22394 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22395 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22396 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22397 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22398 * sysdeps/sh/crti.S: Likewise.
22399 * sysdeps/sh/crtn.S: Likewise.
22400 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22403 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22405 * locale/programs/locfile-kw.gperf: Likewise.
22406 * locale/programs/charmap-kw.h: Regenerated.
22407 * locale/programs/locfile-kw.h: Likewise.
22410 * intl/plural.y: Replace FSF snail mail address with URL.
22411 * intl/plural.c: Regenerated.
22413 2012-03-09 Richard Henderson <rth@twiddle.net>
22415 * include/math_private.h: Remove file.
22416 * math/math_private.h: Move file ...
22417 * sysdeps/generic/math_private.h: ... here.
22419 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22420 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22421 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22423 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22424 and <math_private.h>.
22425 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22426 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22427 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22428 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22429 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22431 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22432 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22433 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22434 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22436 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22437 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22438 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22439 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22440 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22441 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22442 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22443 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22444 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22445 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22446 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22447 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22448 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22449 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22450 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22451 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22452 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22453 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22454 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22455 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22456 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22457 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22458 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22459 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22460 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22461 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22462 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22463 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22464 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22465 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22466 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22467 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22468 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22469 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22470 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22471 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22472 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22473 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22474 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22475 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22476 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22477 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22478 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22479 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22480 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22481 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22482 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22483 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22484 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22485 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22486 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22487 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22488 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22489 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22490 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22491 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22492 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22493 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22494 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22495 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22496 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22497 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22498 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22499 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22500 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22501 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22502 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22503 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22504 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22505 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22506 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22507 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22508 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22509 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22510 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22511 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22512 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22513 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22514 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22515 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22516 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22517 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22518 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22519 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22520 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22521 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22522 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22523 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22524 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22525 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22526 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22527 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22528 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22529 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22530 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22531 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22532 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22533 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22534 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22535 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22536 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22537 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22538 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22539 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22540 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22541 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22542 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22543 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22544 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22545 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22546 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22547 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22548 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22549 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22550 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22551 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22552 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22553 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22554 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22555 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22556 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22557 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22558 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22559 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22560 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22561 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22562 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22563 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22564 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22565 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22566 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22567 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22568 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22569 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22570 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22571 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22572 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22573 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22574 * sysdeps/ieee754/k_standard.c: Likewise.
22575 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22576 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22577 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22578 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22579 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22580 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22581 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22582 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22583 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22584 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22585 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22586 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22587 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22588 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22589 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22590 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22591 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22592 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22593 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22594 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22595 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22596 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22597 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22598 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22599 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22630 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22631 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22634 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22635 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22636 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22637 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22638 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22642 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22648 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22649 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22650 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22652 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22661 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22663 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22666 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22668 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22669 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22670 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22671 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22672 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22673 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22674 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22675 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22676 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22677 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22680 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22682 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22683 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22684 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22686 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22687 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22688 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22689 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22690 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22694 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22695 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22696 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22697 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22698 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22700 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22701 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22702 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22703 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22704 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22705 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22706 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22707 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22708 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22709 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22710 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22711 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22712 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22713 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22714 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22715 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22716 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22717 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22718 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22719 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22720 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22721 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22722 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22723 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22724 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22725 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22726 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22727 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22728 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22729 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22730 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22731 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22732 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22733 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22734 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22735 * sysdeps/ieee754/s_lib_version.c: Likewise.
22736 * sysdeps/ieee754/s_matherr.c: Likewise.
22737 * sysdeps/ieee754/s_signgam.c: Likewise.
22738 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22739 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22740 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22741 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22742 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22743 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22744 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22745 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22746 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22747 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22748 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22749 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22750 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22751 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22752 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22753 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22754 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22755 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22756 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22757 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22758 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22760 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22762 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22763 * sunrpc/rpc_main.c: Likewise.
22764 * sunrpc/rpc_svcout.c: Likewise.
22766 2012-03-09 David S. Miller <davem@davemloft.net>
22768 * include/math_private.h: New file.
22770 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22772 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22773 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22774 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22775 from <bits/socket_type.h>.
22776 (enum __socket_type): Don't define here.
22777 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22778 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22779 bits/socket_type.h.
22782 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22783 checking __USE_GNU.
22785 * Makerules ($(inst_includedir)/%.h): New rule.
22786 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22787 (install-others): Remove variable setting.
22788 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22790 2012-03-08 Richard Henderson <rth@twiddle.net>
22792 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22793 from macro to inline function; merge with the
22794 !__LIBC_INTERNAL_MATH_INLINES version.
22795 (__ieee754_sqrtf): Likewise.
22797 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22798 to inline function.
22799 (__rintf, __floor, __floorf): Likewise.
22801 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22802 macro to inline function.
22803 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22805 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22806 not <math/math_private.h>.
22808 2012-03-08 David S. Miller <davem@davemloft.net>
22810 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22812 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22814 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22816 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22818 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22819 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22821 2012-03-08 Ulrich Drepper <drepper@gmail.com>
22823 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22824 be defined individually, they must be defined as a block. Define
22825 S for printing a string instead of hidint the different by using a
22826 macro for adding the 'l'.
22827 * stdio-common/tst-fphex-wide.c: Adjust.
22829 2012-03-07 Marek Polacek <polacek@redhat.com>
22831 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22833 2012-03-08 Marek Polacek <polacek@redhat.com>
22836 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22837 * stdio-common/tst-fphex.c: Define a few macros to make the
22838 test reusable. Use them.
22839 * stdio-common/tst-fphex-wide.c: New file.
22841 2012-03-08 Joseph Myers <joseph@codesourcery.com>
22844 * manual/macros.texi (gnusystems): New macro.
22845 (nongnusystems): Likewise.
22846 (gnulinuxhurdsystems): Likewise.
22847 (gnuhurdsystems): Likewise..
22848 (gnulinuxsystems): Likewise.
22849 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22850 variants of the GNU system, not "GNU system".
22851 * manual/conf.texi: Likewise.
22852 * manual/errno.texi: Likewise. Update example of errno macro
22854 * manual/filesys.texi: Likewise.
22855 (getumask): Document as specific to GNU/Hurd.
22856 * manual/install.texi: Likewise. Reword some references to
22858 * manual/intro.texi: Likewise.
22859 * manual/io.texi: Likewise.
22860 (File Name Portability): Detail which constraints are inapplicable
22861 to all GNU systems and which are only inapplicable to GNU/Hurd.
22862 * manual/job.texi: Likewise.
22863 * manual/llio.texi: Likewise.
22864 (O_NOCTTY): Document as present on GNU/Linux.
22865 * manual/maint.texi: Likewise.
22866 * manual/memory.texi: Likewise.
22867 * manual/pattern.texi: Likewise.
22868 * manual/pipe.texi: Likewise.
22869 * manual/process.texi: Likewise.
22870 * manual/resource.texi: Likewise.
22871 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22873 * manual/setjmp.texi: Likewise.
22874 * manual/signal.texi: Likewise.
22875 * manual/startup.texi: Likewise.
22876 * manual/stdio.texi: Likewise.
22877 * manual/terminal.texi: Likewise.
22878 (ONLCR): Document as POSIX.
22879 (OXTABS): Document availability on GNU/Linux as XTABS.
22880 (ONOEOT): Document availability separately from other bits.
22881 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22882 * manual/time.texi: Likewise.
22883 * manual/users.texi: Likewise.
22884 * INSTALL: Regenerated.
22885 * sysdeps/gnu/errlist.c: Regenerated.
22887 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22888 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22889 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22891 * configure: Regenerated.
22893 2012-03-07 Joseph Myers <joseph@codesourcery.com>
22895 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22896 default includes instead of AC_HEADER_CHECK.
22897 * sysdeps/i386/configure: Regenerated.
22900 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22901 * math/s_cacoshf.c (__cacoshf): Likewise.
22902 * math/s_cacoshl.c (__cacoshl): Likewise.
22903 * math/s_casinh.c (__casinh): Set signs of result from argument.
22904 * math/s_casinhf.c (__casinhf): Likewise.
22905 * math/s_casinhl.c (__casinhl): Likewise.
22906 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22907 (casinh_test): Add more tests.
22908 * sysdeps/i386/fpu/libm-test-ulps: Update.
22909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22911 2012-03-07 Ulrich Drepper <drepper@gmail.com>
22913 * po/zh_TW.po: Update from translation team.
22915 * login/Makefile (distribute): Remove variable.
22916 * catgets/Makefile: Likewise.
22917 * mach/Makefile: Likewise.
22918 * malloc/Makefile: Likewise.
22919 * misc/Makefile: Likewise.
22920 * iconv/Makefile: Likewise.
22921 * nscd/Makefile: Likewise.
22922 * hurd/Makefile: Likewise.
22923 * manual/Makefile: Likewise.
22924 * locale/Makefile: Likewise.
22925 * intl/Makefile: Likewise.
22926 * conform/Makefile: Likewise.
22927 * nss/Makefile: Likewise.
22928 * time/Makefile: Likewise.
22929 * soft-fp/Makefile: Likewise.
22930 * dirent/Makefile: Likewise.
22931 * gmon/Makefile: Likewise.
22932 * po/Makefile: Likewise.
22933 * rt/Makefile: Likewise.
22934 * socket/Makefile: Likewise.
22935 * math/Makefile: Likewise.
22936 * signal/Makefile: Likewise.
22937 * debug/Makefile: Likewise.
22938 * elf/Makefile: Likewise.
22939 * timezone/Makefile: Likewise.
22940 * stdlib/Makefile: Likewise.
22941 * iconvdata/Makefile: Likewise.
22942 * sunrpc/Makefile: Likewise.
22943 * io/Makefile: Likewise.
22944 * argp/Makefile: Likewise.
22945 * inet/Makefile: Likewise.
22946 * hesiod/Makefile: Likewise.
22947 * grp/Makefile: Likewise.
22948 * csu/Makefile: Likewise.
22949 * wctype/Makefile: Likewise.
22950 * crypt/Makefile: Likewise.
22951 * libio/Makefile: Likewise.
22952 * string/Makefile: Likewise.
22953 * nis/Makefile: Likewise.
22954 * resolv/Makefile: Likewise.
22955 * stdio-common/Makefile: Likewise.
22956 * wcsmbs/Makefile: Likewise.
22957 * dlfcn/Makefile: Likewise.
22958 * posix/Makefile: Likewise.
22961 * timezone/Makefile: Don't install timezone files, just the programs
22964 2012-03-06 Ulrich Drepper <drepper@gmail.com>
22966 * nss/databases.def: Add missing gshadow entry.
22968 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22970 2012-03-06 Marek Polacek <polacek@redhat.com>
22973 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22974 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22975 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22976 * stdio-common/tst-long-dbl-fphex.c: New file.
22978 2012-03-06 David S. Miller <davem@davemloft.net>
22980 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22981 (set_obp_int): New function.
22982 (get_obp_int): New function.
22983 (__get_clockfreq_via_dev_openprom): Likewise.
22984 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22985 Avoid unused variable warnings on 'val' and use builtin_expect.
22986 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22988 (INLINE_CLONE_SYSCALL): Likewise.
22990 2012-03-05 David S. Miller <davem@davemloft.net>
22992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22994 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22998 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22999 only for |x| >= 40.
23000 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23002 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23004 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23005 Replace gettimeofday with __vdso_gettimeofday.
23007 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23008 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23009 __vdso_clock_gettime and __vdso_getcpu.
23011 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23012 time with __vdso_time.
23014 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23016 * manual/lang.texi (size_t): Note types to which size_t may be
23017 equivalent with the GNU C Library, but do not describe when
23018 differences between them are significant.
23020 2012-03-05 Andreas Jaeger <aj@suse.de>
23022 * sysdeps/i386/fpu/libm-test-ulps: Update.
23024 2012-03-05 Joseph Myers <joseph@codesourcery.com>
23027 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23028 (__ieee754_pow): Save and restore rounding mode and use
23029 round-to-nearest for main computations.
23030 * math/libm-test.inc (pow_test_tonearest): New function.
23031 (pow_test_towardzero): Likewise.
23032 (pow_test_downward): Likewise.
23033 (pow_test_upward): Likewise.
23034 (main): Call the new functions.
23035 * sysdeps/i386/fpu/libm-test-ulps: Update.
23036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23039 * math/libm-test.inc (cosh_test_tonearest): New function.
23040 (cosh_test_towardzero): Likewise.
23041 (cosh_test_downward): Likewise.
23042 (cosh_test_upward): Likewise.
23043 (sinh_test_tonearest): Likewise.
23044 (sinh_test_towardzero): Likewise.
23045 (sinh_test_downward): Likewise.
23046 (sinh_test_upward): Likewise.
23047 (main): Call the new functions.
23048 * sysdeps/i386/fpu/libm-test-ulps: Update.
23049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23051 2012-03-05 Tom de Vries <tom@codesourcery.com>
23053 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23054 default stack guard is set in last bytes.
23055 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23057 2012-03-05 Kees Cook <keescook@chromium.org>
23059 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23062 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23063 possibly allocate from heap instead of stack.
23064 * stdio-common/bug-vfprintf-nargs.c: New file.
23065 * stdio-common/Makefile (tests): Add nargs overflow test.
23067 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23071 2012-03-03 Marek Polacek <polacek@redhat.com>
23073 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23074 * math/math_private.h: Likewise.
23075 * stdlib/tst-strtod.c: Likewise.
23076 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23077 * sysdeps/x86_64/bits/atomic.h: Likewise.
23079 2012-03-02 David S. Miller <davem@davemloft.net>
23081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23085 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23086 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23087 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23088 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23090 2012-03-02 Roland McGrath <roland@hack.frob.com>
23093 * manual/examples/README: New file, says the example source files
23094 can be used under GPL>=2.
23095 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23096 line containing just "*/".
23097 * manual/examples/add.c: Add copyright header (GPL>=2).
23098 * manual/examples/argp-ex1.c: Likewise.
23099 * manual/examples/argp-ex2.c: Likewise.
23100 * manual/examples/argp-ex3.c: Likewise.
23101 * manual/examples/argp-ex4.c: Likewise.
23102 * manual/examples/atexit.c: Likewise.
23103 * manual/examples/db.c: Likewise.
23104 * manual/examples/dir.c: Likewise.
23105 * manual/examples/dir2.c: Likewise.
23106 * manual/examples/execinfo.c: Likewise.
23107 * manual/examples/filecli.c: Likewise.
23108 * manual/examples/filesrv.c: Likewise.
23109 * manual/examples/fmtmsgexpl.c: Likewise.
23110 * manual/examples/genpass.c: Likewise.
23111 * manual/examples/inetcli.c: Likewise.
23112 * manual/examples/inetsrv.c: Likewise.
23113 * manual/examples/isockad.c: Likewise.
23114 * manual/examples/longopt.c: Likewise.
23115 * manual/examples/memopen.c: Likewise.
23116 * manual/examples/memstrm.c: Likewise.
23117 * manual/examples/mkfsock.c: Likewise.
23118 * manual/examples/mkisock.c: Likewise.
23119 * manual/examples/mygetpass.c: Likewise.
23120 * manual/examples/pipe.c: Likewise.
23121 * manual/examples/popen.c: Likewise.
23122 * manual/examples/rprintf.c: Likewise.
23123 * manual/examples/search.c: Likewise.
23124 * manual/examples/select.c: Likewise.
23125 * manual/examples/setjmp.c: Likewise.
23126 * manual/examples/sigh1.c: Likewise.
23127 * manual/examples/sigusr.c: Likewise.
23128 * manual/examples/stpcpy.c: Likewise.
23129 * manual/examples/strdupa.c: Likewise.
23130 * manual/examples/strftim.c: Likewise.
23131 * manual/examples/strncat.c: Likewise.
23132 * manual/examples/subopt.c: Likewise.
23133 * manual/examples/swapcontext.c: Likewise.
23134 * manual/examples/termios.c: Likewise.
23135 * manual/examples/testopt.c: Likewise.
23136 * manual/examples/testpass.c: Likewise.
23137 * manual/examples/timeval_subtract.c: Likewise.
23140 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23142 * manual/timeval_subtract.c.texi: ... here, new file.
23144 2012-03-02 David S. Miller <davem@davemloft.net>
23146 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23148 2012-03-02 Joseph Myers <joseph@codesourcery.com>
23151 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23152 (__sin): Save and restore rounding mode and use round-to-nearest
23153 for all computations.
23154 (__cos): Save and restore rounding mode and use round-to-nearest
23155 for all computations.
23156 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23158 (tan): Save and restore rounding mode and use round-to-nearest for
23160 * math/libm-test.inc (cos_test_tonearest): New function.
23161 (cos_test_towardzero): Likewise.
23162 (cos_test_downward): Likewise.
23163 (cos_test_upward): Likewise.
23164 (sin_test_tonearest): Likewise.
23165 (sin_test_towardzero): Likewise.
23166 (sin_test_downward): Likewise.
23167 (sin_test_upward): Likewise.
23168 (tan_test_tonearest): Likewise.
23169 (tan_test_towardzero): Likewise.
23170 (tan_test_downward): Likewise.
23171 (tan_test_upward): Likewise.
23172 (main): Call the new functions.
23173 * sysdeps/i386/fpu/libm-test-ulps: Update.
23174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23177 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23178 small n, then large n, before computing and testing k+n.
23179 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23180 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23182 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23184 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23185 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23186 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23187 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23188 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23189 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23190 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23191 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23192 * math/libm-test.inc (scalbn_test): Add more tests.
23193 (scalbln_test): Likewise.
23195 * manual/filesys.texi (mode_t): Describe constraints on size and
23196 signedness, not exact equivalence to a particular type.
23198 (ino64_t): Likewise.
23200 (nlink_t): Likewise.
23201 (blkcnt_t): Likewise.
23202 (blkcnt64_t): Likewise.
23203 * manual/llio.texi (off_t): Likewise.
23206 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23207 (__ieee754_exp): Save and restore rounding mode and use
23208 round-to-nearest for all computations.
23209 * math/libm-test.inc (exp_test_tonearest): New function.
23210 (exp_test_towardzero): Likewise.
23211 (exp_test_downward): Likewise.
23212 (exp_test_upward): Likewise.
23213 (main): Call the new functions.
23214 * sysdeps/i386/fpu/libm-test-ulps: Update.
23215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23217 2012-03-01 Chris Demetriou <cgd@google.com>
23219 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23220 have predictable order.
23222 2012-03-01 David S. Miller <davem@davemloft.net>
23224 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23226 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23227 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23228 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23229 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23231 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23232 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23233 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23235 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23236 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23237 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23238 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23239 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23243 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23244 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23245 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23247 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23248 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23249 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23250 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23251 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23252 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23253 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23254 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23255 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23256 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23257 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23258 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23259 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23260 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23261 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23262 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23263 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23264 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23265 * sysdeps/sparc/elf/configure: Regenerated.
23267 2012-03-01 Joseph Myers <joseph@codesourcery.com>
23269 * configure.in (AS, LD): Require binutils 2.20 or later.
23270 * configure: Regenerated.
23271 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23272 as required minimum version.
23273 * INSTALL: Regenerated.
23277 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23278 before squaring exponent.
23279 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23280 bottom long double and 27 bits of top long double before squaring
23282 * math/libm-test.inc (erfc_test): Add more tests.
23283 * sysdeps/i386/fpu/libm-test-ulps: Update.
23284 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23287 2012-03-01 Kai Tietz <ktietz@redhat.com>
23289 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23290 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23291 containing bit-fields.
23292 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23293 * soft-fp/single.h (_FP_UNION_S): Likewise.
23294 * soft-fp/double.h (_FP_UNION_D): Likewise.
23296 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23299 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23300 not include ../strcmp.S.
23301 [USE_AS_STRNCASECMP_L]: Likewise.
23302 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23303 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23304 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23305 (__strncasecmp_l_ia32): Define as alias to
23306 __strncasecmp_l_nonascii.
23309 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23310 * sysdeps/i386/fpu/libm-test-ulps: Update.
23311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23313 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23316 2012-02-29 Jeff Law <law@redhat.com>
23318 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23319 out of bounds read.
23321 2012-02-29 Marek Polacek <polacek@redhat.com>
23324 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23325 * elf/Makefile: Add rules to run tst-unused-dep.out.
23327 2012-02-28 David S. Miller <davem@davemloft.net>
23329 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23330 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23331 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23332 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23333 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23334 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23336 2012-02-29 Joseph Myers <joseph@codesourcery.com>
23338 * math/libm-test.inc (llround_test): Move one test from
23339 lround_test. Use TEST_f_L in moved test.
23340 (lround_test): Move misplaced test to llround_test. Add testcase
23343 2012-02-28 Ulrich Drepper <drepper@gmail.com>
23345 * sysdeps/x86_64/fpu/e_expf.S: New file.
23346 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23348 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23351 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23352 of remain_len that may cause incomplete multi-byte character and
23354 * posix/bug-regex33.c: New file.
23355 * posix/Makefile (tests): Add bug-regex33.
23357 2012-02-28 Joseph Myers <joseph@codesourcery.com>
23359 * manual/macros.texi: New file.
23360 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23361 * manual/libc.texinfo: Include macros.texi.
23362 * manual/creatute.texi: Likewise.
23363 * manual/install.texi: Likewise.
23364 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23365 @glibcadj{} in references to the GNU C Library.
23366 * manual/charset.texi: Likewise.
23367 * manual/conf.texi: Likewise.
23368 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23369 when not using those macros.
23370 * manual/creature.texi: Likewise.
23371 * manual/crypt.texi: Likewise.
23372 * manual/errno.texi: Likewise.
23373 * manual/filesys.texi: Likewise.
23374 * manual/header.texi: Likewise.
23375 * manual/install.texi: Likewise.
23376 * manual/intro.texi: Likewise.
23377 * manual/io.texi: Likewise.
23378 * manual/job.texi: Likewise.
23379 * manual/lang.texi: Likewise.
23380 * manual/libc.texiinfo: Likewise.
23381 * manual/llio.texi: Likewise.
23382 * manual/locale.texi: Likewise.
23383 * manual/maint.texi: Likewise.
23384 * manual/math.texi: Likewise.
23385 * manual/memory.texi: Likewise.
23386 * manual/message.texi: Likewise.
23387 * manual/nss.texi: Likewise.
23388 * manual/pattern.texi: Likewise.
23389 * manual/process.texi: Likewise.
23390 * manual/resource.texi: Likewise.
23391 * manual/search.texi: Likewise.
23392 * manual/setjmp.texi: Likewise.
23393 * manual/signal.texi: Likewise.
23394 * manual/socket.texi: Likewise.
23395 * manual/startup.texi: Likewise.
23396 * manual/stdio.texi: Likewise.
23397 * manual/string.texi: Likewise.
23398 * manual/sysinfo.texi: Likewise.
23399 * manual/syslog.texi: Likewise.
23400 * manual/terminal.texi: Likewise.
23401 * manual/time.texi: Likewise.
23402 * manual/users.texi: Likewise.
23403 * INSTALL: Regenerated.
23404 * NOTES: Regenerated.
23405 * sysdeps/gnu/errlist.c: Regenerated.
23407 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23409 * include/dirent.h: Include <dirstream.h> before
23412 2012-02-28 David S. Miller <davem@davemloft.net>
23414 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23415 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23416 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23417 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23419 2012-02-27 David S. Miller <davem@davemloft.net>
23421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23423 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23424 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23427 frame pointer instead of stack pointer relative arg slot.
23428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23429 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23430 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23432 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23435 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23437 2012-02-27 David S. Miller <davem@davemloft.net>
23439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23443 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23444 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23445 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23446 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23448 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23450 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23451 later. Allow versions 5-9.
23452 * configure: Regenerated.
23453 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23454 required minimum version and 4.6 as recommended version. Do not
23455 mention bugs in GCC 2.7 and 2.8.
23456 * INSTALL: Regenerated.
23458 2012-02-27 David S. Miller <davem@davemloft.net>
23460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23464 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23465 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23466 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23467 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23469 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23470 manipulate bits before adding and subtracting TWO112[sx].
23471 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23473 2012-02-27 Roland McGrath <roland@hack.frob.com>
23476 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23477 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23478 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23479 being in POSIX, because they are in 1003.1-2008.
23481 * rt/tst-aio.c: Include <fcntl.h>.
23482 * rt/tst-aio7.c: Likewise.
23483 * rt/tst-aio64.c: Likewise.
23485 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23487 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23489 * manual/install.texi (--with-headers): Describe headers as
23490 interface headers, not private headers.
23491 (Specific advice for GNU/Linux systems): Describe use of headers
23492 from "make headers_install", not private headers from older
23494 * INSTALL: Regenerated.
23495 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23497 * sysdeps/unix/sysv/linux/configure: Regenerated.
23499 * manual/llio.texi (fclean): Remove documentation.
23501 * manual/Makefile (libc-texi-generated): New variable. Include
23503 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23504 $(libc-texi-generated), not duplicated list of files.
23505 (version.texi, stamp-version): New rules.
23506 (realclean): Remove $(libc-texi-generated), not individual files
23507 from that list. Do not remove dir-add.texinfo.
23508 * manual/libc.texinfo: Comment out uses of edition numbers and
23509 references to printed manual. Remove last-updated dates.
23510 (EDITION): Comment out.
23512 (VERSION, UPDATED): Remove.
23513 (version.texi): Include.
23515 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23517 * sysdeps/posix/spawni.c: Include <signal.h>.
23518 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23519 * sysdeps/pthread/aio_fsync.c: Likewise.
23521 2012-02-26 Ulrich Drepper <drepper@gmail.com>
23523 * conform/Makefile (tests): Run only when not cross-compiling and
23524 when fast-check is not defined.
23526 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23527 * conform/data/limits.h-data: Fixes for POSIX2008.
23528 * conform/run-conformtest.sh: Run all tests.
23529 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23531 * include/bits/dlfcn.h: Likewise.
23532 * include/langinfo.h: Likewise.
23533 * include/monetary.h: Likewise.
23534 * include/sys/poll.h: Likewise.
23536 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23538 * posix/spawn.h: Define __need_sigset_t.
23539 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23540 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23541 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23542 to get sigevent_t only.
23543 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23544 only for __USE_GNU.
23545 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23546 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23547 process_vm_writev only for __USE_GNU.
23548 * termios/termios.h: Declare tcgetsid also for POSIX2008.
23550 * conform/Makefile: For now ignore errors from run-conformtest.
23551 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23552 POSIX to avoid namespace pollution. Don't prepend headers.
23553 * conform/data/aio.h-data: Fixes for POSIX testing.
23554 * conform/data/fcntl.h-data: Likewise.
23555 * conform/data/glob.h-data: Likewise.
23556 * conform/data/grp.h-data: Likewise.
23557 * conform/data/pthread.h-data: Likewise.
23558 * conform/data/pwd.h-data: Likewise.
23559 * conform/data/signal.h-data: Likewise.
23560 * conform/data/spawn.h-data: Likewise.
23561 * conform/data/stdio.h-data: Likewise.
23562 * conform/data/stdlib.h-data: Likewise.
23563 * conform/data/stropts.h-data: Likewise.
23564 * conform/data/sys/mman.h-data: Likewise.
23565 * conform/data/sys/stat.h-data: Likewise.
23566 * conform/data/sys/types.h-data: Likewise.
23567 * conform/data/sys/wait.h-data: Likewise.
23568 * conform/data/time.h-data: Likewise.
23569 * conform/data/unistd.h-data: Likewise.
23570 * conform/data/utime.h-data: Likewise.
23572 * io/sys/stat.h: fchmod was always in POSIX.
23573 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23574 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23575 * rt/aio.h: Define __need_timespec before including <time.h>.
23576 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23577 struct. Add forward declaration of pthread_attr_t and use it in
23579 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23580 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23581 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23582 always remove CLK_TCK definition.
23584 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23586 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23588 2012-02-25 Ulrich Drepper <drepper@gmail.com>
23590 * conform/run-conformtest.sh: New file.
23591 * conform/Makefile: Run run-conformtest for tests.
23592 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23595 * conform/data/uchar.h-data: New file.
23596 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23597 * conform/data/arpa/inet.h-data: Likewise.
23598 * conform/data/assert.h-data: Likewise.
23599 * conform/data/complex.h-data: Likewise.
23600 * conform/data/cpio.h-data: Likewise.
23601 * conform/data/ctype.h-data: Likewise.
23602 * conform/data/dirent.h-data: Likewise.
23603 * conform/data/dlfcn.h-data: Likewise.
23604 * conform/data/errno.h-data: Likewise.
23605 * conform/data/fcntl.h-data: Likewise.
23606 * conform/data/float.h-data: Likewise.
23607 * conform/data/fmtmsg.h-data: Likewise.
23608 * conform/data/fnmatch.h-data: Likewise.
23609 * conform/data/ftw.h-data: Likewise.
23610 * conform/data/glob.h-data: Likewise.
23611 * conform/data/grp.h-data: Likewise.
23612 * conform/data/iconv.h-data: Likewise.
23613 * conform/data/inttypes.h-data: Likewise.
23614 * conform/data/langinfo.h-data: Likewise.
23615 * conform/data/libgen.h-data: Likewise.
23616 * conform/data/limits.h-data: Likewise.
23617 * conform/data/locale.h-data: Likewise.
23618 * conform/data/math.h-data: Likewise.
23619 * conform/data/monetary.h-data: Likewise.
23620 * conform/data/mqueue.h-data: Likewise.
23621 * conform/data/ndbm.h-data: Likewise.
23622 * conform/data/net/if.h-data: Likewise.
23623 * conform/data/netdb.h-data: Likewise.
23624 * conform/data/netinet/in.h-data: Likewise.
23625 * conform/data/nl_types.h-data: Likewise.
23626 * conform/data/poll.h-data: Likewise.
23627 * conform/data/pthread.h-data: Likewise.
23628 * conform/data/pwd.h-data: Likewise.
23629 * conform/data/regex.h-data: Likewise.
23630 * conform/data/sched.h-data: Likewise.
23631 * conform/data/search.h-data: Likewise.
23632 * conform/data/semaphore.h-data: Likewise.
23633 * conform/data/setjmp.h-data: Likewise.
23634 * conform/data/signal.h-data: Likewise.
23635 * conform/data/spawn.h-data: Likewise.
23636 * conform/data/stdarg.h-data: Likewise.
23637 * conform/data/stdio.h-data: Likewise.
23638 * conform/data/stdlib.h-data: Likewise.
23639 * conform/data/string.h-data: Likewise.
23640 * conform/data/strings.h-data: Likewise.
23641 * conform/data/stropts.h-data: Likewise.
23642 * conform/data/sys/ipc.h-data: Likewise.
23643 * conform/data/sys/mman.h-data: Likewise.
23644 * conform/data/sys/msg.h-data: Likewise.
23645 * conform/data/sys/resource.h-data: Likewise.
23646 * conform/data/sys/select.h-data: Likewise.
23647 * conform/data/sys/sem.h-data: Likewise.
23648 * conform/data/sys/shm.h-data: Likewise.
23649 * conform/data/sys/socket.h-data: Likewise.
23650 * conform/data/sys/stat.h-data: Likewise.
23651 * conform/data/sys/statvfs.h-data: Likewise.
23652 * conform/data/sys/time.h-data: Likewise.
23653 * conform/data/sys/timeb.h-data: Likewise.
23654 * conform/data/sys/times.h-data: Likewise.
23655 * conform/data/sys/types.h-data: Likewise.
23656 * conform/data/sys/uio.h-data: Likewise.
23657 * conform/data/sys/un.h-data: Likewise.
23658 * conform/data/sys/utsname.h-data: Likewise.
23659 * conform/data/sys/wait.h-data: Likewise.
23660 * conform/data/syslog.h-data: Likewise.
23661 * conform/data/tar.h-data: Likewise.
23662 * conform/data/termios.h-data: Likewise.
23663 * conform/data/utime.h-data: Likewise.
23664 * conform/data/utmpx.h-data: Likewise.
23665 * conform/data/varargs.h-data: Likewise.
23666 * conform/data/wchar.h-data: Likewise.
23667 * conform/data/wctype.h-data: Likewise.
23668 * conform/data/wordexp.h-data: Likewise.
23670 * include/stropts.h: New file.
23671 * include/uchar.h: New file.
23672 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23673 * include/assert.h: Likewise.
23674 * include/ctype.h: Likewise.
23675 * include/dirent.h: Likewise.
23676 * include/dlfcn.h: Likewise.
23677 * include/fcntl.h: Likewise.
23678 * include/fnmatch.h: Likewise.
23679 * include/glob.h: Likewise.
23680 * include/grp.h: Likewise.
23681 * include/libio.h: Likewise.
23682 * include/locale.h: Likewise.
23683 * include/math.h: Likewise.
23684 * include/net/if.h: Likewise.
23685 * include/netdb.h: Likewise.
23686 * include/netinet/in.h: Likewise.
23687 * include/pthread.h: Likewise.
23688 * include/pwd.h: Likewise.
23689 * include/regex.h: Likewise.
23690 * include/sched.h: Likewise.
23691 * include/search.h: Likewise.
23692 * include/setjmp.h: Likewise.
23693 * include/signal.h: Likewise.
23694 * include/stdio.h: Likewise.
23695 * include/stdlib.h: Likewise.
23696 * include/string.h: Likewise.
23697 * include/sys/cdefs.h: Likewise.
23698 * include/sys/mman.h: Likewise.
23699 * include/sys/msg.h: Likewise.
23700 * include/sys/resource.h: Likewise.
23701 * include/sys/select.h: Likewise.
23702 * include/sys/socket.h: Likewise.
23703 * include/sys/stat.h: Likewise.
23704 * include/sys/statvfs.h: Likewise.
23705 * include/sys/time.h: Likewise.
23706 * include/sys/times.h: Likewise.
23707 * include/sys/uio.h: Likewise.
23708 * include/sys/utsname.h: Likewise.
23709 * include/sys/wait.h: Likewise.
23710 * include/termios.h: Likewise.
23711 * include/time.h: Likewise.
23712 * include/ulimit.h: Likewise.
23713 * include/unistd.h: Likewise.
23714 * include/utime.h: Likewise.
23715 * include/wchar.h: Likewise.
23716 * include/wctype.h: Likewise.
23717 * include/wordexp.h: Likewise.
23719 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23721 * time/time.h: TIME_UTC must be a macro.
23722 Make timespec_get available for ISO C11 only as well.
23724 2012-02-24 Ulrich Drepper <drepper@gmail.com>
23726 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23727 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23729 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23731 * configure.in: Use -o not -a in test for unsupported multi-arch.
23733 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23735 * manual/texinfo.tex: Update to version 2012-01-19.16.
23737 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23739 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23741 2012-02-24 Roland McGrath <roland@hack.frob.com>
23744 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23745 * manual/fdl-1.3.texi: New file.
23746 * manual/fdl-1.1.texi: File removed.
23749 * manual/libc.texinfo (FDL_VERSION): New @set.
23750 Use it for mention of FDL in cover text.
23751 (Documentation License): Use it in @include file name.
23753 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23754 Roland McGrath <roland@hack.frob.com>
23757 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23758 not LONG_LONG_MAX and LONG_LONG_MIN.
23759 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23760 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23762 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23764 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23768 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23769 manipulate bits before adding and subtracting TWO23[sx].
23770 * math/libm-test.inc (nearbyint_test): Add more tests.
23772 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23775 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23776 bits before adding and subtracting TWO23[sx].
23777 * math/libm-test.inc (rint_test): Add more tests.
23778 (rint_test_tonearest): Likewise.
23779 (rint_test_towardzero): Likewise.
23780 (rint_test_downward): Likewise.
23781 (rint_test_upward: Likewise.
23783 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23786 * include/stdc-predef.h: New file. Extracted from features.h.
23787 * include/features.h: Include stdc-predef.h.
23788 * Makefile (headers): Add stdc-predef.h.
23789 * CONFORMANCE (Compiler limitations): Update.
23791 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23793 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23795 2012-02-21 David S. Miller <davem@davemloft.net>
23797 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23798 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23800 2012-02-20 David S. Miller <davem@davemloft.net>
23802 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23803 using a normal save/restore sequence, rather than allocating a
23804 dummy stack frame just to store a frame pointer and restore.
23805 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23807 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23809 * manual/install.texi: Fix stray word in line-wrapped comment.
23811 2012-02-20 David S. Miller <davem@davemloft.net>
23813 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23814 both binutils and gcc support GOTDATA.
23816 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23817 "rd %pc" in the PIC register setup sequences.
23819 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23820 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23821 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23822 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23823 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23824 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23825 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23826 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23827 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23828 (SYSCALL_ERROR_HANDLER): Likewise.
23829 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23830 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23831 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23832 (SYSCALL_ERROR_HANDLER): Likewise.
23834 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23835 (HAVE_GCC_GOTDATA): New.
23836 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23837 relocation support in both binutils and gcc.
23838 * sysdeps/sparc/elf/configure: Regenerate.
23840 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23841 * sysdeps/sparc/sparc32/elf/configure: Delete.
23842 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23843 * sysdeps/sparc/sparc64/elf/configure: Delete.
23844 * sysdeps/sparc/elf/configure.in: New file.
23845 * sysdeps/sparc/elf/configure: Generate.
23847 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23848 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23849 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23850 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23851 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23853 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23855 * manual/install.texi: Do not mention specific glibc version
23857 * manual/libc.texinfo (VERSION, UPDATED): Update.
23858 (@copying): Use @copyright{} and range of years.
23860 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23863 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23864 [crti.S not in sysdirs] (generated): Do not append.
23865 [crti.S not in sysdirs] (omit-deps): Likewise.
23866 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23867 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23868 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23869 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23870 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23872 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23873 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23874 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23875 * csu/defs.awk: Remove file.
23876 * sysdeps/generic/initfini.c: Likewise.
23877 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23879 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23882 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23884 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23885 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23886 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23887 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23888 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23889 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23891 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23892 (__EPOLL_PACKED): Define to empty if not defined by
23894 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23898 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23900 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23901 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23902 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23903 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23905 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23909 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23911 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23913 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23914 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23915 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23918 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23920 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23921 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23923 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23925 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23926 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23928 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23930 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23933 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23935 * math/w_acos.c: Use non-signaling floating-point comparisons.
23936 * math/w_acosf.c: Likewise.
23937 * math/w_acosh.c: Likewise.
23938 * math/w_acoshf.c: Likewise.
23939 * math/w_acoshl.c: Likewise.
23940 * math/w_acosl.c: Likewise.
23941 * math/w_asin.c: Likewise.
23942 * math/w_asinf.c: Likewise.
23943 * math/w_asinl.c: Likewise.
23944 * math/w_atanh.c: Likewise.
23945 * math/w_atanhf.c: Likewise.
23946 * math/w_atanhl.c: Likewise.
23947 * math/w_exp2.c: Likewise.
23948 * math/w_exp2f.c: Likewise.
23949 * math/w_exp2l.c: Likewise.
23950 * math/w_j0.c: Likewise.
23951 * math/w_j0f.c: Likewise.
23952 * math/w_j0l.c: Likewise.
23953 * math/w_j1.c: Likewise.
23954 * math/w_j1f.c: Likewise.
23955 * math/w_j1l.c: Likewise.
23956 * math/w_jn.c: Likewise.
23957 * math/w_jnf.c: Likewise.
23958 * math/w_log.c: Likewise.
23959 * math/w_log10.c: Likewise.
23960 * math/w_log10f.c: Likewise.
23961 * math/w_log10l.c: Likewise.
23962 * math/w_log2.c: Likewise.
23963 * math/w_log2f.c: Likewise.
23964 * math/w_log2l.c: Likewise.
23965 * math/w_logf.c: Likewise.
23966 * math/w_logl.c: Likewise.
23967 * math/w_sqrt.c: Likewise.
23968 * math/w_sqrtf.c: Likewise.
23969 * math/w_sqrtl.c: Likewise.
23970 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23971 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23972 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23973 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23974 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23976 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23979 * manual/string.texi (strnlen): Use correct parameter name in
23980 equivalent expression.
23982 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23985 * manual/users.texi (seteuid): Consistently use neweuid for
23988 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23991 * manual/nss.texi (Services in the NSS configuration): Correct
23992 list of services in example configuration file.
23994 2012-02-19 Nick Bowler <nbowler@draconx.ca>
23997 * manual/arith.texi: Remove statements about negative zero
23998 behaving identically to zero.
24000 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24003 * manual/install.texi: Do not document upgrading from libc5.
24005 2012-02-18 Joseph Myers <joseph@codesourcery.com>
24008 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24010 2012-02-18 David S. Miller <davem@davemloft.net>
24012 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24013 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24014 %o7 across the call.
24015 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24017 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24018 SETUP_PIC_REG_LEAF.
24019 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24020 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24021 * sysdeps/sparc/crtn.S: Likewise.
24023 2012-02-17 Ulrich Drepper <drepper@gmail.com>
24025 * aout/Makefile: Remove.
24027 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24030 * manual/examples/argp-ex1.c (main): Format definition in GNU
24032 * manual/examples/argp-ex2.c (main): Likewise.
24033 * manual/examples/argp-ex3.c (main): Likewise.
24034 * manual/examples/argp-ex4.c (main): Likewise.
24035 * manual/examples/longopt.c (main): Use new-style prototype
24037 * manual/examples/strncat.c (main): Specify return type and use
24038 (void) for arguments.
24039 * manual/examples/subopt.c (main): Use char **argv argument.
24041 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24044 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24047 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24050 * manual/string.texi (strchr): Change when strchrnul is
24053 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24056 * manual/locale.texi (setlocale): Document LOCPATH.
24058 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24061 * manual/process.texi (execle): Move @dots{} before last argument.
24063 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
24066 * manual/charset.texi (Generic Charset Conversion): Fix typo
24067 (LC_TYPE -> LC_CTYPE).
24069 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24072 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24073 (scalbnf): Likewise.
24074 (scalbnl): Likewise.
24075 (scalbln): Likewise.
24076 (scalblnf): Likewise.
24077 (scalblnl): Likewise.
24078 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24079 (vwarnx): Likewise.
24082 * manual/filesys.texi (telldir): Use braces around return type.
24083 * manual/llio.texi (mmap): Add space after comma.
24084 (mmap64): Likewise.
24085 * manual/math.texi (jn): Use @var{} on parameter names.
24091 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24093 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24095 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24096 (sched_get_priority_max): Likewise.
24097 * manual/signal.texi (sigvec): Add space after comma.
24098 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24100 (if_indextoname): Likewise.
24101 (if_freenameindex): Likewise.
24102 (sendto): Use ',' instead of '.' in prototype.
24103 * manual/startup.texi (syscall): Use @dots{} instead of literal
24105 * manual/stdio.texi (__fpending): Separate initial words of
24106 paragraph from @deftypefun line.
24107 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24109 (vsyslog): Use @var{} on parameter names.
24110 * manual/terminal.texi (stty): Use @var{} on parameter names.
24111 * manual/users.texi (getutmp): Use @var{} on parameter names.
24112 (getutmpx): Likewise.
24114 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24117 * manual/stdio.texi (fopen): Fix typos in description of
24120 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24123 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24124 get clock_id definition.
24126 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
24129 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24130 (madvise): Cast every argument to void on its own.
24132 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24135 * manual/startup.texi (Exit Status): Fix typo.
24137 2012-02-17 Joseph Myers <joseph@codesourcery.com>
24140 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24141 * manual/examples/argp-ex2.c: Likewise.
24142 * manual/examples/argp-ex3.c: Likewise.
24144 2012-02-16 Richard Henderson <rth@redhat.com>
24146 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24147 * sysdeps/s390/s390-32/initfini.c: Remove.
24148 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24149 * sysdeps/s390/s390-64/initfini.c: Remove.
24151 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24153 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24154 compiler output for sysdeps/generic/initfini.c.
24155 * sysdeps/sh/elf/initfini.c: Remove file.
24157 2012-02-16 David S. Miller <davem@davemloft.net>
24160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24162 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24163 * sysdeps/sparc/crti.S: New file.
24164 * sysdeps/sparc/crtn.S: New file.
24165 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24166 * sysdeps/sparc/sparc64/Makefile: Likewise.
24168 2012-02-15 Mike Frysinger <vapier@gentoo.org>
24171 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24173 2012-02-15 Roland McGrath <roland@hack.frob.com>
24176 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24178 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24179 (write, read, close): Likewise.
24180 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24182 2012-02-15 Joseph Myers <joseph@codesourcery.com>
24184 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24185 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24186 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24187 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24189 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24193 2012-02-14 Marek Polacek <polacek@redhat.com>
24195 * sysdeps/x86_64/crti.S: New file.
24196 * sysdeps/x86_64/crtn.S: New file.
24197 * sysdeps/x86_64/elf/initfini.c: Remove file.
24199 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24201 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24202 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24203 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24204 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24206 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24207 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24210 2012-02-13 Joseph Myers <joseph@codesourcery.com>
24212 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24213 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24214 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24215 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24217 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24218 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24221 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24223 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24224 __feraiseexcept instead of feraiseexcept.
24226 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24227 nanosleep invocations.
24228 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24229 strings, and add error checking for a nanosleep invocations.
24231 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24233 Replace FSF snail mail address with URLs, as per GNU coding standards.
24234 Most of the snail mail addresses were wrong anyway, and omitting
24235 them makes the source code easier to maintain. Almost all of the
24236 changes are to license notices and to locale LC_IDENTIFICATION
24237 addresses, except for this one:
24238 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24239 not its snail mail address.
24241 2012-02-09 Richard Henderson <rth@twiddle.net>
24243 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24244 of kernel-features.h.
24246 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24248 2012-02-08 Marek Polacek <polacek@redhat.com>
24250 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24251 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24252 * sysdeps/gnu/_G_config.h: Likewise.
24253 * sysdeps/generic/_G_config.h: Likewise.
24255 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24257 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24261 * sysdeps/powerpc/powerpc32/crti.S: New file.
24262 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24263 * sysdeps/powerpc/powerpc64/crti.S: New file.
24264 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24266 * Makeconfig (have-initfini): Don't set.
24267 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24268 * configure.in (nopic_initfini): Don't substitute.
24269 * config.h.in (HAVE_INITFINI): Don't #undef.
24270 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24271 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24273 2012-02-08 Joseph Myers <joseph@codesourcery.com>
24275 Support crti.S and crtn.S provided directly by architectures.
24276 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24277 [crti.S in sysdirs] (omit-deps): Likewise.
24278 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24279 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24280 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24281 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24282 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24283 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24284 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24285 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24286 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24287 compiler output for sysdeps/generic/initfini.c.
24288 * sysdeps/i386/elf/Makefile: Remove file.
24289 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24291 2012-02-07 Marek Polacek <polacek@redhat.com>
24293 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24294 * sysdeps/gnu/_G_config.h: Likewise.
24295 * sysdeps/mach/hurd/_G_config.h: Likewise.
24297 2012-02-07 Marek Polacek <polacek@redhat.com>
24299 * math/Makefile (tests): Add tst-CMPLX2.
24300 * math/tst-CMPLX2.c: New file.
24302 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24304 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24306 * math/libm-test.inc (jn_test): Add missing L suffix.
24308 2012-02-06 Marek Polacek <polacek@redhat.com>
24310 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24311 * sysdeps/i386/fpu/e_powf.S: Likewise.
24312 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24313 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24314 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24315 * sysdeps/i386/fpu/e_pow.S: Likewise.
24316 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24317 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24318 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24319 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24320 * sysdeps/i386/fpu/e_log2.S: Likewise.
24321 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24322 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24323 * sysdeps/i386/fpu/e_powl.S: Likewise.
24324 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24325 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24326 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24327 * sysdeps/i386/fpu/e_logl.S: Likewise.
24328 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24329 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24330 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24331 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24332 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24333 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24334 * sysdeps/i386/fpu/e_log.S: Likewise.
24335 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24336 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24337 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24338 * sysdeps/i386/fpu/e_logf.S: Likewise.
24339 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24340 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24341 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24342 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24343 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24344 * sysdeps/i386/fpu/e_log10.S: Likewise.
24345 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24346 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24347 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24348 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24349 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24350 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24351 * sysdeps/i386/asm-syntax.h: Likewise.
24352 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24353 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24354 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24355 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24356 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24357 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24358 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24359 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24360 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24361 * sysdeps/powerpc/sysdep.h: Likewise.
24362 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24363 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24365 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24368 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24370 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24372 * sysdeps/i386/sysdep.h: Include <features.h>.
24373 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24376 2012-02-05 Joseph Myers <joseph@codesourcery.com>
24378 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24380 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24383 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24385 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24386 (SETUP_PIC_REG): Use GET_PC_THUNK.
24387 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24390 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24392 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24393 for non-PIC compilation.
24394 (SETUP_PIC_REG): Add .p2align directive.
24395 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24396 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24397 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24398 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24399 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24400 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24401 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24402 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24403 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24404 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24405 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24406 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24407 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24408 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24409 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24410 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24411 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24412 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24413 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24414 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24415 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24416 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24417 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24418 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24419 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24421 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24422 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24423 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24424 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24425 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24426 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24427 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24428 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24429 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24430 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24431 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24432 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24433 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24434 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24435 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24437 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24439 * math/tst-CMPLX.c: Include <stdio.h>.
24441 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24443 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24445 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24446 * sysdeps/sparc/bits/mathdef.h: Likewise.
24448 2012-01-31 Marek Polacek <polacek@redhat.com>
24450 * libio/libio.h: Don't define _PARAMS.
24451 * locale/programs/config.h: Don't define PARAMS.
24452 * stdlib/strtol_l.c: Likewise.
24453 (__strtol_l): Remove PARAMS from the prototype.
24455 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24457 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24458 names. Just use the correct names. Remove unnecessary wrapper
24460 * malloc/arena.c: Likewise.
24461 * malloc/hooks.c: Likewise.
24463 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24464 ARENA_TEST says not to. Simplify test for creation of a new arena.
24465 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24467 2012-01-30 Ulrich Drepper <drepper@gmail.com>
24469 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24471 (update_get_addr): New function.
24472 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24473 GET_ADDR_MODULE parameter.
24475 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24477 * crypt/cert.c: Remove __STDC__ conditionals.
24478 * crypt/crypt-entry.c: Likewise.
24479 * crypt/crypt_util.c: Likewise.
24480 * libio/filedoalloc.c: Likewise.
24481 * libio/fileops.c: Likewise.
24482 * libio/genops.c: Likewise.
24483 * libio/iofclose.c: Likewise.
24484 * libio/iofdopen.c: Likewise.
24485 * libio/iofopen.c: Likewise.
24486 * libio/iofopen64.c: Likewise.
24487 * libio/iogetdelim.c: Likewise.
24488 * libio/iopopen.c: Likewise.
24489 * libio/obprintf.c: Likewise.
24490 * libio/oldfileops.c: Likewise.
24491 * libio/oldiofclose.c: Likewise.
24492 * libio/oldiofdopen.c: Likewise.
24493 * libio/oldiofopen.c: Likewise.
24494 * libio/oldiopopen.c: Likewise.
24495 * libio/wfiledoalloc.c: Likewise.
24496 * libio/wgenops.c: Likewise.
24497 * locale/programs/xmalloc.c: Likewise.
24498 * misc/syslog.c: Likewise.
24499 * stdio-common/xbug.c: Likewise.
24500 * string/memchr.c: Likewise.
24501 * string/memcmp.c: Likewise.
24502 * string/memrchr.c: Likewise.
24503 * string/rawmemchr.c: Likewise.
24504 * sysdeps/posix/getcwd.c: Likewise.
24505 * time/strftime_l.c: Likewise.
24507 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24509 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24510 * config.make.in (config-cflags-sse2avx): Define.
24511 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24514 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24516 * scripts/config.guess: Update from upstream config git repository.
24517 * scripts/config.sub: Likewise.
24519 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24521 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24523 (R_TILEPRO_*, R_TILEGX_*): New macros.
24525 * scripts/firstversions.awk: Fix bug in version range handling.
24527 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24529 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24531 * include/sys/epoll.h: New file.
24532 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24535 2012-01-28 Ulrich Drepper <drepper@gmail.com>
24537 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24538 Avoid unnecessary __WORDSIZE == 64 test.
24539 (fmaxf): Use VEX format if possible.
24544 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24545 * math/math_private.h: Remove libc_fegetround* and
24547 * sysdeps/i386/configure.in: Check for -msse2avx.
24548 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24549 also if SSE2AVX is defined.
24550 Remove libc_fegetround* and libc_fesetround*.
24551 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24552 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24553 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24555 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24556 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24557 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24558 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24559 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24561 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24563 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24565 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24567 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24569 2012-01-27 Ulrich Drepper <drepper@gmail.com>
24572 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24574 * Makeconfig (libm): Define.
24575 * elf/Makefile: Add rules to build and run tst-relsort1.
24576 * elf/tst-relsort1.c: New file.
24577 * elf/tst-relsort1mod1.c: New file.
24578 * elf/tst-relsort1mod2.c: New file.
24580 2012-01-27 Joseph Myers <joseph@codesourcery.com>
24582 * math/s_ldexp.c: Remove __STDC__ conditionals.
24583 * math/s_ldexpf.c: Likewise.
24584 * math/s_ldexpl.c: Likewise.
24585 * math/s_nextafter.c: Likewise.
24586 * math/s_nexttowardf.c: Likewise.
24587 * math/s_significand.c: Likewise.
24588 * math/s_significandf.c: Likewise.
24589 * math/s_significandl.c: Likewise.
24590 * math/w_jnl.c: Likewise.
24591 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24592 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24593 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24594 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24595 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24596 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24597 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24598 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24599 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24600 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24601 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24602 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24603 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24604 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24605 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24606 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24607 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24608 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24609 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24610 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24611 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24612 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24613 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24614 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24615 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24616 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24617 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24618 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24619 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24620 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24621 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24622 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24623 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24624 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24625 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24626 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24627 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24628 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24629 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24630 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24631 * sysdeps/ieee754/k_standard.c: Likewise.
24632 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24633 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24634 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24635 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24636 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24638 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24639 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24641 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24642 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24643 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24644 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24645 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24646 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24647 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24648 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24649 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24650 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24651 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24652 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24653 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24654 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24655 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24656 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24657 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24661 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24662 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24664 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24666 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24671 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24672 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24674 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24675 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24676 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24677 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24678 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24679 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24680 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24681 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24682 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24683 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24684 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24685 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24686 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24687 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24688 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24689 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24690 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24691 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24692 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24693 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24694 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24695 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24696 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24697 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24698 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24699 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24700 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24701 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24702 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24703 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24704 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24705 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24706 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24707 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24708 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24709 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24710 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24711 * sysdeps/ieee754/s_matherr.c: Likewise.
24712 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24713 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24714 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24715 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24717 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24719 * crypt/md5.h: Remove __STDC__ conditionals.
24720 * libio/libioP.h: Likewise.
24721 * locale/programs/config.h: Likewise.
24722 * sysdeps/generic/sysdep.h: Likewise.
24723 * sysdeps/i386/asm-syntax.h: Likewise.
24724 * sysdeps/s390/asm-syntax.h: Likewise.
24725 * sysdeps/unix/sysdep.h: Likewise.
24726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24729 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24731 * libio/libio.h: Remove __STDC__ conditionals.
24732 * malloc/obstack.h: Likewise.
24733 * math/complex.h: Likewise.
24734 * math/math.h: Likewise.
24735 * sysdeps/generic/_G_config.h: Likewise.
24736 * sysdeps/gnu/_G_config.h: Likewise.
24737 * sysdeps/mach/hurd/_G_config.h: Likewise.
24738 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24739 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24740 * sysdeps/sparc/bits/mathdef.h: Likewise.
24742 2012-01-26 Ulrich Drepper <drepper@gmail.com>
24745 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24746 Clean up HAS_* macros.
24747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24748 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24750 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24752 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24753 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24754 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24755 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24756 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24758 2012-01-25 Joseph Myers <joseph@codesourcery.com>
24760 * elf/tst-unique3.cc (gets): Remove declaration.
24761 * elf/tst-unique3lib.cc (gets): Likewise.
24762 * elf/tst-unique3lib2.cc (gets): Likewise.
24763 * elf/tst-unique4.cc (gets): Likewise.
24765 2012-01-24 Ulrich Drepper <drepper@gmail.com>
24767 * include/stdio.h: Add C++ protection. Add gets declarations and
24769 * debug/tst-chk1.c: Don't declare gets here.
24770 * stdio-common/tst-gets.c: Likewise.
24772 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24774 * posix/glob: Remove directory.
24776 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24778 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24780 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24782 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24783 of the non-standard EPFNOSUPPORT.
24785 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24787 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24788 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24789 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24791 2012-01-21 Ulrich Drepper <drepper@gmail.com>
24793 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24795 2012-01-20 Ulrich Drepper <drepper@gmail.com>
24797 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24799 * nscd/grpcache.c (cache_addgr): Likewise.
24800 * nscd/hstcache.c (cache_addhst): Likewise.
24801 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24802 * nscd/pwdcache.c (cache_addpw): Likewise.
24803 * nscd/servicescache.c (cache_addserv): Likewise.
24805 2012-01-16 Ulrich Drepper <drepper@gmail.com>
24807 * malloc/malloc.c: Various cleanups.
24808 * malloc/hooks.c: Likewise.
24810 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24811 * stdlib/bug-fmtmsg1.c: New file.
24813 * stdlib/fmtmsg.c (init): Add missing unlock.
24814 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24816 2012-01-12 Marek Polacek <polacek@redhat.com>
24818 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24821 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24823 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24824 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24825 macro to ensure uniqueness of label name.
24826 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24827 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24829 2012-01-11 Ulrich Drepper <drepper@gmail.com>
24831 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24833 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24834 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24835 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24836 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24838 2012-01-10 Ulrich Drepper <drepper@gmail.com>
24840 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24842 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24843 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24844 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24846 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24848 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24849 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24850 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24853 * math/bits/math-finite.h: Add ldexp support.
24855 2012-01-10 Marek Polacek <polacek@redhat.com>
24857 * locale/programs/localedef.h (show_archive_content): Add noreturn
24860 2012-01-09 Ulrich Drepper <drepper@gmail.com>
24862 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24864 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24866 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24868 * io/Makefile (headers): Add bits/poll2.h.
24870 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24873 typo #include statement.
24875 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24877 * include/sys/cdefs.h: Define __attribute_alloc_size.
24878 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24879 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24880 * elf/pldd.c: Likewise.
24881 * iconv/iconv_charmap.c: Likewise.
24882 * iconv/iconvconfig.c: Likewise.
24883 * iconv/strtab.c: Likewise.
24884 * locale/programs/locale.c: Likewise.
24885 * locale/programs/localedef.h: Likewise.
24886 * locale/programs/simple-hash.c: Likewise.
24887 * nscd/nscd.h: Likewise.
24888 * nss/makedb.c: Likewise.
24889 * sysdeps/generic/ldconfig.h: Likewise.
24890 * locale/programs/localedef.c: Remove xmalloc prototype.
24891 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24893 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24895 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24898 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24900 * math/Makefile (tests): Add tst-CMPLX.
24901 * math/tst-CMPLX.c: New file.
24903 * math/complex.h (CMPLXL): Fix typo.
24905 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24906 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24908 * debug/tst-chk1.c: Add poll and ppoll tests.
24909 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24910 * include/sys/poll.h: Add hidden proto for ppoll.
24911 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24912 * sysdeps/mach/hurd/ppoll.c: Likewise.
24913 * io/ppoll.c: Likewise.
24914 * debug/poll_chk.c: New file.
24915 * debug/ppoll_chk.c: New file.
24916 * include/bits/poll2.h: New file.
24917 * io/bits/poll2.h: New file.
24920 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24922 * configure.in: static is always set to yes. Remove.
24923 * config.make.in: Don't set build-static.
24924 * Makeconfig: Remove use of build-static.
24925 * dlfcn/Makefile: Likewise.
24926 * elf/Makefile: Likewise.
24927 * math/Makefile: Likewise.
24928 * misc/Makefile: Likewise.
24929 * nptl/Makefile: Likewise.
24930 * sysdeps/mach/hurd/Makefile: Likewise.
24932 * configure.in: PWD_P is not used anymore.
24933 * config.make.in: Remove PWD_P entry.
24935 * configure.in: Remove last remnants of RANLIB.
24936 No need to check for signed size_t anymore.
24937 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24939 Remove __builtin_expect test because we require at least gcc 3.4.
24940 * aclocal.m4: Likewise.
24942 * wcsmbs/mbrtoc16.c: Implement using towc function.
24943 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24944 * wcsmbs/wcsmbsload.c: Likewise.
24945 * iconv/gconv_simple.c: Likewise.
24946 * iconv/gconv_int.h: Likewise.
24947 * iconv/gconv_builtin.h: Likewise.
24948 * iconv/iconv_prog.c: Remove CHAR16 handling.
24950 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24952 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24954 * configure.in: Remove --with-elf and --enable-bounded options.
24955 Dont set base_machine for ia64. More non-ELF conditions removed.
24956 Remove testing and setting of leading underscore information.
24957 * config.make.in (build-bounded): Set to no.
24958 * config.h.in: Remove NO_UNDERSCORES entry.
24959 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24961 * csu/start.c: Remove !NO_UNDERSCORE code.
24962 * locale/localeinfo.h: Likewise.
24963 * sysdeps/generic/machine-gmon.h: Likewise.
24964 * sysdeps/generic/sysdep.h: Likewise.
24965 * sysdeps/i386/sysdep.h: Likewise.
24966 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24967 * sysdeps/mach/sysdep.h: Likewise.
24968 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24969 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24970 * sysdeps/sh/sysdep.h: Likewise.
24971 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24972 * sysdeps/unix/i386/sysdep.S: Likewise.
24973 * sysdeps/unix/sparc/start.c: Likewise.
24974 * sysdeps/unix/sparc/sysdep.S: Likewise.
24975 * sysdeps/unix/sparc/sysdep.h: Likewise.
24976 * sysdeps/unix/start.c: Likewise.
24977 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24978 * sysdeps/x86_64/sysdep.h: Likewise.
24980 2012-01-07 Ulrich Drepper <drepper@gmail.com>
24983 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24985 * argp/argp-fmtstream.h: Use const instead __const.
24986 * argp/argp.h: Likewise.
24987 * assert/assert.h: Likewise.
24988 * bits/fenv.h: Likewise.
24989 * bits/sched.h: Likewise.
24990 * bits/sigset.h: Likewise.
24991 * bits/sigthread.h: Likewise.
24992 * catgets/nl_types.h: Likewise.
24993 * conform/data/pthread.h-data: Likewise.
24994 * crypt/crypt-private.h: Likewise.
24995 * crypt/crypt.h: Likewise.
24996 * crypt/crypt_util.c: Likewise.
24997 * ctype/ctype.h: Likewise.
24998 * debug/execinfo.h: Likewise.
24999 * debug/mbsnrtowcs_chk.c: Likewise.
25000 * debug/mbsrtowcs_chk.c: Likewise.
25001 * debug/wcsnrtombs_chk.c: Likewise.
25002 * debug/wcsrtombs_chk.c: Likewise.
25003 * debug/wcstombs_chk.c: Likewise.
25004 * dirent/dirent.h: Likewise.
25005 * dlfcn/dlfcn.h: Likewise.
25006 * elf/neededtest4.c: Likewise.
25007 * grp/grp.h: Likewise.
25008 * gshadow/gshadow.h: Likewise.
25009 * iconv/gconv.h: Likewise.
25010 * iconv/gconv_int.h: Likewise.
25011 * iconv/gconv_simple.c: Likewise.
25012 * iconv/iconv.h: Likewise.
25013 * iconv/loop.c: Likewise.
25014 * iconv/skeleton.c: Likewise.
25015 * include/aio.h: Likewise.
25016 * include/aliases.h: Likewise.
25017 * include/argz.h: Likewise.
25018 * include/arpa/inet.h: Likewise.
25019 * include/assert.h: Likewise.
25020 * include/dirent.h: Likewise.
25021 * include/dlfcn.h: Likewise.
25022 * include/execinfo.h: Likewise.
25023 * include/fcntl.h: Likewise.
25024 * include/fenv.h: Likewise.
25025 * include/glob.h: Likewise.
25026 * include/grp.h: Likewise.
25027 * include/libintl.h: Likewise.
25028 * include/mntent.h: Likewise.
25029 * include/netdb.h: Likewise.
25030 * include/pwd.h: Likewise.
25031 * include/rpc/netdb.h: Likewise.
25032 * include/sched.h: Likewise.
25033 * include/search.h: Likewise.
25034 * include/shadow.h: Likewise.
25035 * include/signal.h: Likewise.
25036 * include/stdio.h: Likewise.
25037 * include/stdlib.h: Likewise.
25038 * include/string.h: Likewise.
25039 * include/sys/socket.h: Likewise.
25040 * include/sys/stat.h: Likewise.
25041 * include/sys/statfs.h: Likewise.
25042 * include/sys/statvfs.h: Likewise.
25043 * include/sys/syslog.h: Likewise.
25044 * include/sys/time.h: Likewise.
25045 * include/sys/uio.h: Likewise.
25046 * include/time.h: Likewise.
25047 * include/unistd.h: Likewise.
25048 * include/utmp.h: Likewise.
25049 * include/wchar.h: Likewise.
25050 * include/wctype.h: Likewise.
25051 * inet/aliases.h: Likewise.
25052 * inet/arpa/inet.h: Likewise.
25053 * inet/netinet/ether.h: Likewise.
25054 * inet/netinet/in.h: Likewise.
25055 * intl/libintl.h: Likewise.
25056 * io/bits/fcntl2.h: Likewise.
25057 * io/fcntl.h: Likewise.
25058 * io/ftw.h: Likewise.
25059 * io/sys/poll.h: Likewise.
25060 * io/sys/stat.h: Likewise.
25061 * io/sys/statfs.h: Likewise.
25062 * io/sys/statvfs.h: Likewise.
25063 * io/utime.h: Likewise.
25064 * libio/bits/stdio.h: Likewise.
25065 * libio/bits/stdio2.h: Likewise.
25066 * libio/libio.h: Likewise.
25067 * libio/libioP.h: Likewise.
25068 * libio/stdio.h: Likewise.
25069 * locale/lc-ctype.c: Likewise.
25070 * locale/locale.h: Likewise.
25071 * login/utmp.h: Likewise.
25072 * malloc/arena.c: Likewise.
25073 * malloc/malloc.c: Likewise.
25074 * malloc/malloc.h: Likewise.
25075 * malloc/mcheck.c: Likewise.
25076 * malloc/mtrace.c: Likewise.
25077 * math/bits/mathcalls.h: Likewise.
25078 * math/fenv.h: Likewise.
25079 * math/math_private.h: Likewise.
25080 * misc/bits/error.h: Likewise.
25081 * misc/bits/syslog.h: Likewise.
25082 * misc/err.h: Likewise.
25083 * misc/error.h: Likewise.
25084 * misc/fstab.h: Likewise.
25085 * misc/mntent.h: Likewise.
25086 * misc/regexp.h: Likewise.
25087 * misc/search.h: Likewise.
25088 * misc/sgtty.h: Likewise.
25089 * misc/sys/mman.h: Likewise.
25090 * misc/sys/syslog.h: Likewise.
25091 * misc/sys/uio.h: Likewise.
25092 * misc/sys/xattr.h: Likewise.
25093 * misc/ttyent.h: Likewise.
25094 * nis/rpcsvc/ypclnt.h: Likewise.
25095 * nss/nss.h: Likewise.
25096 * posix/bits/unistd.h: Likewise.
25097 * posix/fnmatch.h: Likewise.
25098 * posix/glob.h: Likewise.
25099 * posix/sched.h: Likewise.
25100 * posix/spawn.h: Likewise.
25101 * posix/sys/wait.h: Likewise.
25102 * posix/unistd.h: Likewise.
25103 * posix/wordexp.h: Likewise.
25104 * pwd/pwd.h: Likewise.
25105 * resolv/netdb.h: Likewise.
25106 * resource/sys/resource.h: Likewise.
25107 * rt/aio.h: Likewise.
25108 * rt/bits/mqueue2.h: Likewise.
25109 * rt/mqueue.h: Likewise.
25110 * shadow/shadow.h: Likewise.
25111 * signal/signal.h: Likewise.
25112 * socket/send.c: Likewise.
25113 * socket/sendto.c: Likewise.
25114 * socket/sys/socket.h: Likewise.
25115 * stdio-common/printf.h: Likewise.
25116 * stdlib/bits/stdlib.h: Likewise.
25117 * stdlib/fmtmsg.h: Likewise.
25118 * stdlib/monetary.h: Likewise.
25119 * stdlib/stdlib.h: Likewise.
25120 * stdlib/ucontext.h: Likewise.
25121 * streams/stropts.h: Likewise.
25122 * string/argz.h: Likewise.
25123 * string/bits/string2.h: Likewise.
25124 * string/string.h: Likewise.
25125 * string/strings.h: Likewise.
25126 * sunrpc/rpc/auth.h: Likewise.
25127 * sunrpc/rpc/auth_des.h: Likewise.
25128 * sunrpc/rpc/clnt.h: Likewise.
25129 * sunrpc/rpc/netdb.h: Likewise.
25130 * sunrpc/rpc/pmap_clnt.h: Likewise.
25131 * sunrpc/rpc/xdr.h: Likewise.
25132 * sysdeps/generic/inttypes.h: Likewise.
25133 * sysdeps/generic/net/if.h: Likewise.
25134 * sysdeps/generic/sys/swap.h: Likewise.
25135 * sysdeps/gnu/net/if.h: Likewise.
25136 * sysdeps/gnu/utmpx.h: Likewise.
25137 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25138 * sysdeps/i386/i486/bits/string.h: Likewise.
25139 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25140 * sysdeps/s390/bits/string.h: Likewise.
25141 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25142 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25143 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25144 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25145 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25146 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25147 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25148 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25149 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25150 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25151 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25152 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25153 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25154 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25155 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25156 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25157 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25159 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25160 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25161 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25162 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25163 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25164 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25165 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25166 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25167 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25168 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25169 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25170 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25171 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25172 * sysvipc/sys/ipc.h: Likewise.
25173 * sysvipc/sys/msg.h: Likewise.
25174 * sysvipc/sys/sem.h: Likewise.
25175 * sysvipc/sys/shm.h: Likewise.
25176 * termios/termios.h: Likewise.
25177 * time/sys/time.h: Likewise.
25178 * time/time.h: Likewise.
25179 * wcsmbs/bits/wchar2.h: Likewise.
25180 * wcsmbs/uchar.h: Likewise.
25181 * wcsmbs/wchar.h: Likewise.
25182 * wctype/wctype.h: Likewise.
25185 * Makeconfig: Remove all but ELF support including AIX support.
25186 * Makerules: Likewise.
25187 * config.h.in: Likewise.
25188 * config.make.in: Likewise.
25189 * configure: Likewise.
25190 * configure.in: Likewise.
25191 * csu/Makefile: Likewise.
25192 * csu/version.c: Likewise.
25193 * debug/Makefile: Likewise.
25194 * dlfcn/Makefile: Likewise.
25195 * elf/Makefile: Likewise.
25196 * extra-lib.mk: Likewise.
25197 * iconv/Makefile: Likewise.
25198 * include/libc-symbols.h: Likewise.
25199 * include/shlib-compat.h: Likewise.
25200 * resolv/Makefile: Likewise.
25201 * resolv/res_libc.c: Likewise.
25202 * rt/Makefile: Likewise.
25203 * sysdeps/i386/asm-syntax.h: Likewise.
25204 * sysdeps/i386/sysdep.h: Likewise.
25205 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25206 * sysdeps/mach/sysdep.h: Likewise.
25207 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25208 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25209 * sysdeps/s390/asm-syntax.h: Likewise.
25210 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25211 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25212 * sysdeps/sh/sysdep.h: Likewise.
25213 * sysdeps/unix/sparc/sysdep.h: Likewise.
25214 * sysdeps/wordsize-32/divdi3.c: Likewise.
25215 * sysdeps/x86_64/sysdep.h: Likewise.
25217 * argp/Versions: Remove _argp_unlock_xxx.
25220 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25221 * abilist/libBrokenLocale.abilist: Likewise.
25222 * abilist/libanl.abilist: Likewise.
25223 * abilist/libc.abilist: Likewise.
25224 * abilist/libcrypt.abilist: Likewise.
25225 * abilist/libdl.abilist: Likewise.
25226 * abilist/libm.abilist: Likewise.
25227 * abilist/libnsl.abilist: Likewise.
25228 * abilist/libpthread.abilist: Likewise.
25229 * abilist/libresolv.abilist: Likewise.
25230 * abilist/librt.abilist: Likewise.
25231 * abilist/libthread_db.abilist: Likewise.
25232 * abilist/libutil.abilist: Likewise.
25233 * abilist/libnss_db.abilist: New file.
25235 * scripts/abilist.awk: Add support for indirect functions.
25237 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25239 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25241 * shlib-versions: Remove entries for ports architectures.
25243 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25245 * elf/stackguard-macros.h: Remove support for IA-64.
25246 * elf/tst-auditmod1.c: Likewise.
25247 * sysdeps/generic/ldsodefs.h: Likewise.
25249 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25250 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25254 * configure.in: Remove --enable-omitfp support.
25256 * config.make.in: Likewise.
25257 * Makeconfig: Likewise.
25258 * manual/install.texi: Likewise.
25260 In case anyone cares, the IA-64 architecture could move to ports.
25261 * sysdeps/ia64/*: Removed.
25262 * sysdeps/unix/sysv/linux/ia64/*: Removed.
25263 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25266 * configure.in: Remove entries for unsupported architectures.
25269 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25270 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25272 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25273 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25274 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25275 fall back to using wcrtomb.
25276 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25277 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25279 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25280 * wcsmbs/tst-c16c32-1.c: New file.
25282 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25285 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25287 * elf/tst-unique3.cc: Add explicit declaration of gets.
25288 * elf/tst-unique3lib.cc: Likewise.
25289 * elf/tst-unique3lib2.cc: Likewise.
25290 * elf/tst-unique4.cc: Likewise.
25292 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25294 2012-01-06 Joseph Myers <joseph@codesourcery.com>
25297 * assert/assert.h (static_assert): Don't define for C++.
25298 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25299 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25301 2012-01-03 Ulrich Drepper <drepper@gmail.com>
25303 * iconv/loop.c (single loop): Fix assertion in storing of
25306 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25308 2012-01-01 Ulrich Drepper <drepper@gmail.com>
25310 * posix/getconf.c: Update copyright year.
25311 * nss/getent.c: Likewise.
25312 * nss/makedb.c: Likewise.
25313 * iconv/iconvconfig.c: Likewise.
25314 * iconv/iconv_prog.c: Likewise.
25315 * elf/ldconfig.c: Likewise.
25316 * elf/pldd.c: Likewise.
25317 * elf/sotruss.ksh: Likewise.
25318 * catgets/gencat.c: Likewise.
25319 * csu/version.c: Likewise.
25320 * elf/ldd.bash.in: Likewise.
25321 * elf/sprof.c (print_version): Likewise.
25322 * locale/programs/locale.c: Likewise.
25323 * locale/programs/localedef.c: Likewise.
25324 * login/programs/pt_chown.c: Likewise.
25325 * nscd/nscd.c (print_version): Likewise.
25326 * debug/xtrace.sh: Likewise.
25327 * malloc/memusage.sh: Likewise.
25328 * malloc/mtrace.pl: Likewise.
25329 * debug/catchsegv.sh: Likewise.
25331 2011-12-30 Jakub Jelinek <jakub@redhat.com>
25333 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25336 2011-12-24 Ulrich Drepper <drepper@gmail.com>
25339 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25340 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25342 * iconv/gconv_int.h: Likewise.
25343 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25344 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25345 from libc for GLIBC_2.16.
25346 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25347 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25348 * wcsmbs/uchar.h: Really define mbstate_t.
25349 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25350 * wcsmbs/c16rtomb.c: New file.
25351 * wcsmbs/mbrtoc16.c: New file.
25352 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25353 for C/POSIX locale.
25354 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25355 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25357 * wcsmbs/wchar.h: Add missing __restrict.
25359 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25362 * time/Makefile (routines): Add timespec_get.
25363 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25364 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25365 timespec for ISO C11.
25366 * time/timespec_get.c: New file.
25367 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25368 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25371 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25372 * stdlib/stdlib.h: Declare aligned_alloc.
25373 * Versions.def: Add GLIBC_2.16 for libc.
25374 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25377 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25380 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25384 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25387 * assert/assert.h (static_assert): Define.
25389 * version.h: Update for 2.16 development version.
25392 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25395 * version.h (RELEASE): Bump for 2.15 release.
25396 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25398 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25399 Patch by Marek Polacek <mpolacek@redhat.com>.
25401 * bits/byteswap.h: Protect long long constants with __extension__.
25402 * sysdeps/i386/bits/byteswap.h: Likewise.
25403 * sysdeps/ia64/bits/byteswap.h: Likewise.
25404 * sysdeps/s390/bits/byteswap.h: Likewise.
25405 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25407 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25410 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25411 destination buffer.
25412 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25414 2011-12-23 Marek Polacek <polacek@redhat.com>
25416 * elf/dl-addr.c (determine_info): Add inline keyword.
25417 * elf/tst-auditmod4b.c (check_avx): Likewise.
25418 * elf/tst-auditmod6b.c (check_avx): Likewise.
25419 * elf/tst-auditmod6c.c (check_avx): Likewise.
25420 * elf/tst-auditmod7b.c (check_avx): Likewise.
25422 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25424 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25427 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25430 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25431 processing for last bytes.
25433 2011-08-06 Bruno Haible <bruno@clisp.org>
25436 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25437 U+0385, not to U+1FEE.
25440 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25441 entry for U+00A5 U+0301.
25443 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25446 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25447 buffer for the output is too small.
25449 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25453 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25454 SSE flags if possible.
25456 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25459 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25460 processing for last bytes.
25462 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25464 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25465 (syscall-list-default-options, syscall-list-default-condition)
25466 (syscall-list-includes): Define.
25467 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25468 list of ABIs and options and #if conditions for each ABI. Do not
25469 handle common syscalls between ABIs specially.
25470 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25472 (syscall-list-variants, syscall-list-32bit-options)
25473 (syscall-list-32bit-condition, syscall-list-64bit-options)
25474 (syscall-list-64bit-condition): Define.
25475 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25476 (syscall-list-variants, syscall-list-32bit-options)
25477 (syscall-list-32bit-condition, syscall-list-64bit-options)
25478 (syscall-list-64bit-condition): Define.
25479 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25481 (syscall-list-variants, syscall-list-32bit-options)
25482 (syscall-list-32bit-condition, syscall-list-64bit-options)
25483 (syscall-list-64bit-condition): Define.
25484 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25486 (syscall-list-variants, syscall-list-32bit-options)
25487 (syscall-list-32bit-condition, syscall-list-64bit-options)
25488 (syscall-list-64bit-condition): Define.
25490 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25492 * locale/iso-639.def: Add brx entry.
25495 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25496 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25498 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25499 __feraiseexcept_renamed.
25501 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25504 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25505 EPOLLET with unsigned values.
25506 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25507 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25509 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25510 to large cancellation.
25511 * math/s_cacoshf.c: Likewise.
25512 * math/s_cacoshl.c: Likewise.
25514 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25518 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25519 * math/s_cacoshf.c: Likewise.
25520 * math/s_cacoshl.c: Likewise.
25522 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25525 * iconv/gconv.h: Define __GCONV_SWAP.
25526 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25527 * iconvdata/utf-16.c: Likewise.
25528 * iconvdata/utf-32.c: Likewise.
25530 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25533 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25534 numerator after shifting it by one limb.
25536 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25538 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25539 under [__USE_EXTERN_INLINES].
25541 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25544 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25546 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25548 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25549 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25551 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25552 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25553 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25554 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25555 for strncasecmp/strncasecmp_l compilation.
25556 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25557 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25559 2011-12-08 Marek Polacek <mpolacek@redhat.com>
25562 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25565 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25568 * time/tzfile.c (__tzfile_read): Check values from file header.
25570 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25572 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25573 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25574 * powerpc/powerpc32/dl-start.S: Likewise.
25575 * powerpc/powerpc32/elf/start.S: Likewise.
25576 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25577 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25578 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25579 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25580 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25581 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25582 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25583 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25584 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25585 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25586 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25587 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25588 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25589 * powerpc/powerpc32/memset.S: Likewise.
25590 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25591 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25592 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25593 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25594 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25595 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25596 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25597 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25598 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25599 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25600 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25601 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25602 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25604 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25606 * math/libm-test.inc: Added more nearbyint tests.
25607 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25608 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25609 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25610 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25612 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25614 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25617 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25619 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25620 Add wcscpy-ssse3 wcscpy-c.
25621 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25622 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25623 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25624 * sysdeps/x86_64/wcschr.S: New file.
25625 * sysdeps/x86_64/wcsrchr.S: New file.
25626 * string/test-strcmp.c: Remove checking of wcscmp function for
25628 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25629 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25630 wcsrchr-sse2 wcsrchr-c.
25631 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25632 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25633 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25634 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25635 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25636 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25637 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25638 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25639 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25640 * wcsmbc/wcschr.c (WCSCHR): New macro.
25642 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25644 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25645 * wcsmbs/test-wcsrchr.c: New file.
25646 * string/test-strrchr.c: Add wcsrchr support.
25648 * wcsmbs/test-wcscpy.c: New file.
25649 * string/test-strcpy.c: Add wcscpy support.
25652 2011-12-10 Ulrich Drepper <drepper@gmail.com>
25654 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25657 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25660 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25662 2011-12-04 Ulrich Drepper <drepper@gmail.com>
25664 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25665 Minor optimizations.
25667 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25668 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25669 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25671 2011-12-03 Ulrich Drepper <drepper@gmail.com>
25673 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25674 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25675 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25676 for gcc to avoid warnings.
25677 * inet/Makefile (tests): Add tst-checks.
25678 * inet/tst-checks.c: New file.
25680 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25683 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25686 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25687 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25689 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25691 2011-12-02 Ulrich Drepper <drepper@gmail.com>
25693 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25696 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25698 2011-11-29 Joseph Myers <joseph@codesourcery.com>
25700 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25701 conditional on GCC version.
25702 (__arch_compare_and_exchange_val_8_acq)
25703 (__arch_compare_and_exchange_val_16_acq)
25704 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25705 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25706 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25708 2011-12-02 Joseph Myers <joseph@codesourcery.com>
25710 * sysdeps/sh/backtrace.c: New file.
25712 2011-12-02 Andreas Schwab <schwab@redhat.com>
25714 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25717 2011-12-01 Andreas Schwab <schwab@redhat.com>
25719 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25720 falling back to utime.
25722 2011-11-30 Andreas Schwab <schwab@redhat.com>
25724 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25725 expectations for float.
25727 2011-11-29 Andreas Schwab <schwab@redhat.com>
25729 * locale/weight.h (findidx): Add parameter len.
25730 * locale/weightwc.h (findidx): Likewise.
25731 * posix/fnmatch_loop.c (FCT): Adjust caller.
25732 * posix/regcomp.c (build_equiv_class): Likewise.
25733 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25734 * posix/regexec.c (check_node_accept_bytes): Likewise.
25735 * string/strcoll_l.c (STRCOLL): Likewise.
25736 * string/strxfrm_l.c (STRXFRM): Likewise.
25738 2011-11-17 Ulrich Drepper <drepper@gmail.com>
25740 * Makefile.in: Remove CVSOPT handling.
25741 * configure.in: Remove use of AC_REVISION.
25742 * iconvdata/Makefile (distribute): No need to filter out CVS.
25743 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25746 2011-11-16 Andreas Schwab <schwab@redhat.com>
25748 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25749 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25750 [USE_AS_STRNCASECMP_L]: Likewise.
25751 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25752 NO_TLS_DIRECT_SEG_REFS.
25753 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25754 Fix argument offsets for non-PIC.
25755 [USE_AS_STRNCASECMP_L]: Likewise.
25756 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25757 NO_TLS_DIRECT_SEG_REFS.
25759 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25761 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25763 * locale/loadlocale.c (_nl_load_locale): Likewise.
25765 2011-11-15 Andreas Schwab <schwab@redhat.com>
25767 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25768 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25769 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25770 (SYSCALL_GETTIME): Set errno on error.
25772 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25773 count references to noai6ai_cached.
25775 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25777 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25779 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25780 FD_CLOEXEC for /proc/self/maps.
25782 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25783 FD_CLOEXEC for /proc/meminfo.
25785 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25788 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25789 FD_CLOEXEC for given file.
25791 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25793 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25794 FD_CLOEXEC for /etc/hosts.
25795 (_gethtent): Likewise.
25797 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25799 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25800 cancellation and set FD_CLOEXEC for /etc/netgroup.
25802 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25803 reading /etc/publickey.
25805 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25806 allow cancellation when reading /etc/group.
25808 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25810 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25812 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25813 when using data file.
25815 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25817 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25818 (write_nis_obj): Use "c" and "e" in fopen.
25820 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25822 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25824 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25826 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25828 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25831 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25833 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25835 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25837 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25838 file parsing and set FD_CLOEXEC.
25840 2011-11-14 Ulrich Drepper <drepper@gmail.com>
25842 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25844 2011-11-14 Andreas Schwab <schwab@redhat.com>
25846 * malloc/arena.c (arena_get2): Don't call reused_arena when
25847 _int_new_arena failed.
25849 2011-11-14 Ulrich Drepper <drepper@gmail.com>
25851 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25852 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25853 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25854 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25855 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25856 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25857 to compile strcasecmp and strncasecmp.
25858 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25859 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25861 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25863 2011-11-13 Ulrich Drepper <drepper@gmail.com>
25865 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25866 locale-defines.sym to gen-as-const-headers.
25867 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25868 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25869 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25870 to compile strcasecmp and strncasecmp.
25871 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25872 strcasecmp_l and strncasecmp_l.
25873 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25874 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25875 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25876 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25877 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25878 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25879 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25880 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25881 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25882 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25883 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25885 2011-11-12 Ulrich Drepper <drepper@gmail.com>
25887 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25888 result of SYSDEP_GETTIME_CPU to retval.
25889 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25890 parameter list to macro. Remove trailing semicolon. Adjust users.
25892 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25895 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25897 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25899 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25900 from unused variable.
25902 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25904 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25907 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25910 * sunrpc/rpc_prot.c (rejected): Fix case value.
25912 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25913 unsigned long long int to avoid warnings in shift.
25915 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25917 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25920 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25921 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25922 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25924 * nis/nis_table.c (nis_list): Use variable of correct type for
25925 result of __follow_path call.
25927 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25929 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25930 of math functions ceil, trunc, floor, round, and sqrt, when
25931 avaliable on the platform.
25932 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25934 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25935 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25936 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25938 2011-10-30 Marek Polacek <mpolacek@redhat.com>
25940 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25941 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25943 2011-11-11 Roland McGrath <roland@hack.frob.com>
25945 * include/unistd.h: Fix __readlink return type.
25946 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25948 2011-11-11 Ulrich Drepper <drepper@gmail.com>
25950 * stdlib/ucontext.h: Undo last change for makecontext.
25952 2011-11-11 Andreas Schwab <schwab@redhat.com>
25954 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25956 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25957 * setjmp/setjmp.h: Mark functions as non-leaf.
25958 * setjmp/bits/setjmp2.h: Likewise.
25959 * stdlib/ucontext.h: Likewise.
25961 2011-11-10 Andreas Schwab <schwab@redhat.com>
25963 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25964 (reused_arena): Don't check arena limit.
25965 (arena_get2): Atomically check arena limit.
25967 2011-11-08 Ulrich Drepper <drepper@gmail.com>
25969 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25970 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25972 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25975 2011-11-07 Andreas Schwab <schwab@redhat.com>
25977 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25978 handler when locking.
25980 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25981 Fix size of allocated buffer.
25983 2011-11-04 Andreas Schwab <schwab@redhat.com>
25986 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25987 declarations for long double functions.
25988 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25990 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25992 2011-11-03 Andreas Schwab <schwab@redhat.com>
25994 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25997 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26000 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26002 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26004 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26006 * include/alloca.h (stackinfo_alloca_round): Define.
26007 (extend_alloca): Use it.
26008 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26009 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26012 * scripts/check-local-headers.sh: Ignore libaudit.h.
26014 * nscd/Makefile (extra-objs): Make recursively expanded.
26016 2011-11-01 Ulrich Drepper <drepper@gmail.com>
26018 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26019 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26021 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26022 * posix/tst-rfc3484-2.c: Likewise.
26023 * posix/tst-rfc3484-3.c: Likewise.
26025 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26027 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26029 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26030 process_vm_writev from libc using GLIBC_2.15 version.
26032 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26034 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26036 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26039 2011-10-31 Ulrich Drepper <drepper@gmail.com>
26042 * nss/getent.c (initgroups_keys): Show error message in case no group
26045 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26046 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26047 __bump_nl_timestamp.
26048 * nscd/connections (nscd_init): When host database is served open
26049 netlink socket and request notification about configuration changes.
26050 (main_loop_poll): Track netlink file descriptor and bump timestamp
26051 in case data becomes available.
26052 (main_loop_epoll): Likewise.
26053 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26054 (database_pers_head): Add extra_data fileds.
26055 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26056 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26057 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26059 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26060 in6ai data, call __free_in6ai.
26061 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26062 Add -DHAVE_NETLINK.
26063 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26064 interface information. Reuse previous data if netlink timestamp
26066 (__bump_nl_timestamp): New function.
26067 (__free_in6ai): New function.
26069 2011-10-30 Ulrich Drepper <drepper@gmail.com>
26071 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26072 close_not_cancel_no_status here.
26073 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26075 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26078 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26081 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26082 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26083 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26085 2011-07-03 Andreas Jaeger <aj@suse.de>
26088 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26089 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26090 * math/libm-test.inc (sin_test): Add test case.
26092 2011-10-29 Ulrich Drepper <drepper@gmail.com>
26095 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26096 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26098 * elf/chroot_canon.c (chroot_canon): Cleanups.
26100 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26103 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26104 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26106 * string/test-strchr.c: Make usable for strchrnul testing.
26107 * string/test-strchrnul.c: New file.
26108 * string/Makefile (strop-tests): Add strchrnul.
26110 * po/it.po: Update from translation team.
26111 * po/es.po: Likewise.
26113 2011-10-28 Ulrich Drepper <drepper@gmail.com>
26115 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26116 the three constants needed as parameters. Drop the others.
26117 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26118 __m128i_strloadu_tolower.
26119 Create and initialize variable zero and use it in all the places
26120 where _mm_setzero_si128 was used.
26122 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26123 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26124 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26125 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26127 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26128 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26129 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26130 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26131 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26132 __mpranred, __mptan.
26133 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26134 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26135 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26136 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26137 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26138 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26139 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26140 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26141 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26143 2011-10-28 Andreas Schwab <schwab@redhat.com>
26145 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26146 redefine if SHARED.
26147 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26150 wide char related routines to wcsmbs subdir.
26152 2011-10-27 Andreas Schwab <schwab@redhat.com>
26155 * misc/sys/cdefs.h (__THROWNL): Define.
26156 * posix/unistd.h: Use __THREADNL instead of __THREAD
26157 for memory synchronization functions.
26159 2011-10-26 Roland McGrath <roland@hack.frob.com>
26162 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26164 * manual/stdio.texi (Obstack Streams): Node removed.
26166 2011-10-26 Andreas Schwab <schwab@redhat.com>
26168 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26169 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26170 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26172 * math/math_private.h (math_force_eval): Allow non-addressable
26174 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26176 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26178 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26179 file is not needed.
26181 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26182 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26183 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26184 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26185 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26186 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26187 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26188 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26190 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26191 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26192 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26193 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26194 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26195 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26196 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26197 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26198 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26199 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26200 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26201 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26202 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26203 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26204 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26205 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26206 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26207 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26208 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26210 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26211 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26213 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26214 place. Use VEX encoding when compiling for AVX.
26216 2011-10-25 Andreas Schwab <schwab@redhat.com>
26218 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26219 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26221 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26223 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26225 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26226 useless if() expression.
26227 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26228 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26229 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26230 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26231 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26232 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26233 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26234 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26235 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26236 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26237 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26238 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26239 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26240 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26241 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26242 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26243 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26244 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26245 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26247 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26249 2011-10-25 Andreas Schwab <schwab@redhat.com>
26251 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26253 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26255 2011-10-25 Ulrich Drepper <drepper@gmail.com>
26257 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26258 .text section. Avoid duplicate constants.
26259 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26260 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26261 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26262 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26263 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26266 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26267 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26268 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26269 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26270 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26271 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26272 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26273 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26274 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26275 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26276 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26277 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26278 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26279 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26280 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26281 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26282 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26283 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26284 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26285 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26286 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26287 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26288 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26289 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26290 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26291 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26292 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26293 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26294 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26295 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26296 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26297 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26298 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26299 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26300 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26301 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26302 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26303 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26305 2011-10-24 Ulrich Drepper <drepper@gmail.com>
26307 * sysdeps/x86_64/dla.h: Move to ...
26308 * sysdeps/x86_64/fpu/dla.h: ...here.
26309 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26310 situations. Use __builtin_fma only for gcc 4.6 and up.
26312 * config.make.in: Add have-mfma4 entry.
26313 * configure.in: Substitute libc_cv_cc_fma4.
26314 * math/Makefile (dbl-only-routines): Add sincostab.
26315 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26316 Use __sincostab not sincos.
26317 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26319 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26320 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26321 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26322 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26324 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26325 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26326 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26327 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26329 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26330 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26332 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26333 define aliases when function name is a macro.
26334 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26335 sysdeps/ieee754/dbl-64/sincos.tbl.
26336 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26337 fma4-enabled routines.
26338 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26339 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26340 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26341 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26342 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26343 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26344 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26345 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26346 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26347 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26348 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26349 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26350 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26351 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26352 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26353 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26354 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26355 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26356 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26357 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26358 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26359 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26360 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26361 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26362 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26363 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26364 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26365 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26366 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26367 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26369 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26371 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26373 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26374 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26375 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26377 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26378 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26380 2011-10-24 Andreas Schwab <schwab@redhat.com>
26382 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26384 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26386 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26388 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26390 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26392 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26393 Remove unused variable magic_bits.
26394 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26396 * string/strnlen.c: Define and use STRNLEN macro.
26397 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26398 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26399 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26400 * wcsmbs/wcslen.c: Define and use WCSLEN.
26401 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26402 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26403 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26404 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26405 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26406 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26407 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26409 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26411 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26412 strnlen-sse2-no-bsf.
26413 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26414 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26415 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26416 Add strnlen support.
26417 (USE_AS_STRNLEN): New macro.
26418 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26419 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26420 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26421 * sysdeps/x86_64/wcslen.S: New file.
26423 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26425 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26426 XMM-moves are used for copying on small sizes.
26428 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26430 * wcsmbs/Makefile (strop-tests): Add wcschr.
26431 * wcsmbs/test-wcschr.c: New file.
26432 * string/test-strchr.c: Update.
26433 Add wcschr support.
26436 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26438 * wcsmbs/Makefile (strop-tests): Add wcslen.
26439 * wcsmbs/test-wcslen.c: New file.
26440 * string/test-strlen.c: Update.
26441 Add wcslen support.
26444 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26446 * po/it.po: Update from translation team.
26448 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26450 * sysdeps/x86_64/wcscmp.S: Update.
26451 Fix wrong comparison semantics.
26452 wcscmp shall use signed comparison not unsigned.
26453 Don't use substraction to avoid overflow bug.
26454 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26455 * wcsmbc/wcscmp.c: Likewise.
26456 * string/test-strcmp.c: Likewise.
26457 Add new tests to check cases with negative values.
26459 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26461 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26462 * sysdeps/x86_64/dla.h: ...here. New file.
26463 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26464 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26465 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26466 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26467 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26468 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26469 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26470 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26471 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26473 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26475 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26476 __ynl_finite aliases.
26478 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26482 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26484 [DLA_FMA] (EMULV): Use DLA_FMA.
26485 [DLA_FMA] (MUL12): Use EMULV.
26486 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26487 that are not needed.
26488 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26489 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26493 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26496 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26498 * math/s_nan.c: Undef __nan.
26499 * math/s_nanf.c: Undef __nanf.
26500 * math/s_nanl.c: Undef __nanl.
26501 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26504 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26506 * math/s_catan.c: Add branch predictions.
26507 * math/s_catanf.c: Likewise.
26508 * math/s_catanh.c: Likewise.
26509 * math/s_catanhf.c: Likewise.
26510 * math/s_catanhl.c: Likewise.
26511 * math/s_catanl.c: Likewise.
26512 * math/s_cexp.c: Likewise.
26513 * math/s_cexpf.c: Likewise.
26514 * math/s_cexpl.c: Likewise.
26515 * math/s_clog.c: Likewise.
26516 * math/s_clog10.c: Likewise.
26517 * math/s_clog10f.c: Likewise.
26518 * math/s_clog10l.c: Likewise.
26519 * math/s_clogf.c: Likewise.
26520 * math/s_clogl.c: Likewise.
26521 * math/s_csqrt.c: Likewise.
26522 * math/s_csqrtf.c: Likewise.
26523 * math/s_csqrtl.c: Likewise.
26524 * math/s_ctanf.c: Likewise.
26525 * math/s_ctanh.c: Likewise.
26526 * math/s_ctanhf.c: Likewise.
26527 * math/s_ctanhl.c: Likewise.
26528 * math/s_ctanl.c: Likewise.
26530 * math/math_private.h: Define __nan, __nanf, __nanl.
26531 * math/s_cacosh.c: Include <math_private.h>.
26532 * math/s_cacoshl.c: Likewise.
26533 * math/s_casinh.c: Likewise.
26534 * math/s_casinhf.c: Likewise.
26535 * math/s_casinhl.c: Likewise.
26536 * math/s_ccos.c: Rely entire on ccosh.
26537 * math/s_ccosf.c: Rely entire on ccoshf.
26538 * math/s_ccosl.c: Rely entirely on ccoshl.
26539 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26540 Remove tests for FE_INVALID.
26541 * math/s_ccoshf.c: Likewise.
26542 * math/s_ccoshl.c: Likewise.
26543 * math/s_csin.c: Likewise.
26544 * math/s_csinf.c: Likewise.
26545 * math/s_csinh.c Likewise.
26546 * math/s_csinhf.c: Likewise.
26547 * math/s_csinhl.c: Likewise.
26548 * math/s_csinl.c: Likewise.
26549 * math/s_ctan.c: Likewise.
26550 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26551 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26552 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26554 2011-10-21 Ulrich Drepper <drepper@gmail.com>
26556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26557 compilation problems.
26559 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26562 2011-10-20 Ulrich Drepper <drepper@gmail.com>
26564 * sysdeps/i386/configure.in: Test for -mfma4 option.
26565 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26566 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26567 COMMON_CPUID_INDEX_80000001.
26568 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26569 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26570 use it if FMA3 is not supported.
26571 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26573 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26574 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26576 2011-10-20 Andreas Schwab <schwab@redhat.com>
26579 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26580 it would create a cycle with a link time dependency.
26582 2011-10-19 Ulrich Drepper <drepper@gmail.com>
26584 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26586 * string/Makefile (strop-tests): Add rawmemchr.
26587 * string/test-rawmemchr.c: New file.
26589 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26590 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26591 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26592 when compiling str{,n}casecmp and when AVX is available. Hook up
26593 new optimized code in initializers.
26595 2011-10-19 Andreas Schwab <schwab@redhat.com>
26597 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26598 __feraiseexcept instead of feraiseexcept.
26600 2011-10-18 Ulrich Drepper <drepper@gmail.com>
26602 * math/math_private.h: Define defaults for libc_fetestexcept and
26604 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26605 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26606 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26607 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26608 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26609 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26610 libc_fetestexcept and libc_feupdateenv.
26612 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26613 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26614 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26615 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26616 libc_feholdexcept_setround.
26618 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26619 Add s_nearbyint-c and s_nearbyintf-c.
26620 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26621 nearbyintf inlines.
26622 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26623 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26624 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26625 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26627 * math/math_private.h: Define defaults for libc_fegetround,
26628 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26629 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26630 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26631 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26632 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26633 standard functions.
26634 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26635 Remove comments and hacks for old compiler versions.
26636 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26637 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26638 libc_feholdexceptl.
26640 2011-10-18 Andreas Schwab <schwab@redhat.com>
26642 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26643 (__feraiseexcept_renamed): Add __NTH.
26644 (feraiseexcept): Add __NTH. Rename local variables to fix
26645 namespace violations.
26647 2011-10-17 Ulrich Drepper <drepper@gmail.com>
26649 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26651 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26653 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26654 recently added interfaces.
26655 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26657 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26658 about macro parameter expansion.
26660 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26661 __NO_MATH_INLINES is defined. Cleanups.
26663 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26664 and __floorf is target has SSE4.1.
26665 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26666 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26667 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26668 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26670 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26672 (floorf): Likewise.
26674 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26676 2011-10-17 Andreas Schwab <schwab@redhat.com>
26678 * misc/sys/cdefs.h: Fix last change.
26680 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26683 2011-10-16 Ulrich Drepper <drepper@gmail.com>
26685 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26687 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26688 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26689 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26690 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26691 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26692 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26693 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26694 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26695 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26696 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26697 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26698 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26699 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26700 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26701 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26702 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26703 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26704 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26705 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26706 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26707 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26708 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26710 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26711 ceil, ceilf, floor, floorf.
26713 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26714 Perform IRELATIVE relocations last.
26716 * elf/do-rel.h: Add another parameter nrelative, replacing the
26717 local variable with the same name. Change name of the function
26718 to end in Rel or Rela (uppercase).
26719 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26720 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26721 elf_dynamic_do_##reloc function.
26723 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26725 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26726 is sufficient, at least on modern CPUs.
26728 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26730 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26731 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26733 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26735 * math/bits/math-finite.h: Add entries for exp.
26736 * math/e_expl.c: Add __*_finite alias.
26737 * sysdeps/i386/fpu/e_exp.S: Likewise.
26738 * sysdeps/i386/fpu/e_expf.S: Likewise.
26739 * sysdeps/i386/fpu/e_expl.c: Likewise.
26740 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26741 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26742 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26743 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26744 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26745 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26746 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26748 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26749 is sufficient, at least on modern CPUs.
26751 * ctype/ctype-info.c (__ctype_init): Define.
26752 * include/ctype.h (__ctype_init): Declare.
26753 (__ctype_b_loc): The variable is always initialized.
26754 (__ctype_toupper_loc): Likewise.
26755 (__ctype_tolower_loc): Likewise.
26756 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26757 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26759 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26761 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26763 * configure.in: Also look in $cxxmachine/include for C++ system
26766 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26768 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26769 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26770 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26771 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26772 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26773 (USE_AS_WMEMCMP): New macro.
26775 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26776 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26777 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26778 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26779 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26780 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26781 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26782 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26783 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26784 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26785 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26786 (USE_AS_WMEMCMP): New macro.
26787 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26788 * sysdeps/string/test-memcmp.c: Update.
26789 Fix simple_wmemcmp.
26791 * wcsmbs/wmemcmp.c: Update.
26792 (WMEMCMP): New macro.
26795 2011-10-12 Andreas Jaeger <aj@suse.de>
26798 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26800 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26802 * libio/iofwide.c (do_length): Avoid warning.
26804 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26806 2011-10-14 Ulrich Drepper <drepper@gmail.com>
26808 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26810 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26811 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26812 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26813 * sysdeps/i386/i686/fpu/e_log.S: New file.
26814 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26815 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26817 * ctype/ctype.h: Add support for inlined isXXX functions when
26818 compiling C++ code.
26820 2011-10-14 Andreas Schwab <schwab@redhat.com>
26822 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26824 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26826 2011-10-13 Roland McGrath <roland@hack.frob.com>
26829 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26831 2011-10-13 Andreas Schwab <schwab@redhat.com>
26833 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26834 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26837 * sysdeps/x86_64/memrchr.S: Check for zero size.
26839 * string/stratcliff.c: Add memrchr tests.
26841 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26844 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26845 rawmemchr-sse2 rawmemchr-sse2-bsf.
26846 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26847 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26848 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26849 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26850 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26851 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26852 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26853 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26854 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26855 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26856 * string/memrchr.c (MEMRCHR): New macro.
26858 2011-10-12 Ulrich Drepper <drepper@gmail.com>
26860 Add integration with gcc's -ffinite-math-only and optimize wrapper
26862 * Versions.def: Define GLIBC_2.15 version for libm.
26863 * math/Makefile (headers): Add bits/math-finite.h.
26864 * math/bits/math-finite.h: New file.
26865 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26866 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26867 * math/e_acoshl.c: Add __*_finite alias.
26868 * math/e_acosl.c: Likewise.
26869 * math/e_asinl.c: Likewise.
26870 * math/e_atan2l.c: Likewise.
26871 * math/e_atanhl.c: Likewise.
26872 * math/e_coshl.c: Likewise.
26873 * math/e_exp10.c: Likewise.
26874 * math/e_exp10f.c: Likewise.
26875 * math/e_exp10l.c: Likewise.
26876 * math/e_exp2l.c: Likewise.
26877 * math/e_fmodl.c: Likewise.
26878 * math/e_gammal_r.c: Likewise.
26879 * math/e_hypotl.c: Likewise.
26880 * math/e_j0l.c: Likewise.
26881 * math/e_j1l.c: Likewise.
26882 * math/e_jnl.c: Likewise.
26883 * math/e_lgammal_r.c: Likewise.
26884 * math/e_log10l.c: Likewise.
26885 * math/e_log2l.c: Likewise.
26886 * math/e_logl.c: Likewise.
26887 * math/e_powl.c: Likewise.
26888 * math/e_sinhl.c: Likewise.
26889 * math/e_sqrtl.c: Likewise.
26890 * math/e_scalb.c: Completely rewritten and optimized.
26891 * math/e_scalbf.c: Likewise.
26892 * math/e_scalbl.c: Likewise.
26893 * math/w_acos.c: Likewise.
26894 * math/w_acosf.c: Likewise.
26895 * math/w_acosl.c: Likewise.
26896 * math/w_acosh.c: Likewise.
26897 * math/w_acoshf.c: Likewise.
26898 * math/w_acoshl.c: Likewise.
26899 * math/w_asin.c: Likewise.
26900 * math/w_asinf.c: Likewise.
26901 * math/w_asinl.c: Likewise.
26902 * math/w_atan2.c: Likewise.
26903 * math/w_atan2f.c: Likewise.
26904 * math/w_atan2l.c: Likewise.
26905 * math/w_atanh.c: Likewise.
26906 * math/w_atanhf.c: Likewise.
26907 * math/w_atanhl.c: Likewise.
26908 * math/w_exp10.c: Likewise.
26909 * math/w_exp10f.c: Likewise.
26910 * math/w_exp10l.c: Likewise.
26911 * math/w_fmod.c: Likewise.
26912 * math/w_fmodf.c: Likewise.
26913 * math/w_fmodl.c: Likewise.
26914 * math/w_j0.c: Likewise.
26915 * math/w_j0f.c: Likewise.
26916 * math/w_j0l.c: Likewise.
26917 * math/w_j1.c: Likewise.
26918 * math/w_j1f.c: Likewise.
26919 * math/w_j1l.c: Likewise.
26920 * math/w_jn.c: Likewise.
26921 * math/w_jnf.c: Likewise.
26922 * math/w_log.c: Likewise.
26923 * math/w_logf.c: Likewise.
26924 * math/w_logl.c: Likewise.
26925 * math/w_log10.c: Likewise.
26926 * math/w_log10f.c: Likewise.
26927 * math/w_log10l.c: Likewise.
26928 * math/w_log2.c: Likewise.
26929 * math/w_log2f.c: Likewise.
26930 * math/w_log2l.c: Likewise.
26931 * math/w_pow.c: Likewise.
26932 * math/w_powf.c: Likewise.
26933 * math/w_powl.c: Likewise.
26934 * math/w_remainder.c: Likewise.
26935 * math/w_remainderf.c: Likewise.
26936 * math/w_remainderl.c: Likewise.
26937 * math/w_scalb.c: Likewise.
26938 * math/w_scalbf.c: Likewise.
26939 * math/w_scalbl.c: Likewise.
26940 * math/w_sqrt.c: Likewise.
26941 * math/w_sqrtf.c: Likewise.
26942 * math/w_sqrtl.c: Likewise.
26943 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26944 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26946 * math/math_private.h: Declare __kernel_standard_f.
26947 * math/w_cosh.c: Remove cruft and optimize a bit.
26948 * math/w_coshf.c: Likewise.
26949 * math/w_coshl.c: Likewise.
26950 * math/w_exp2.c: Likewise.
26951 * math/w_exp2f.c: Likewise.
26952 * math/w_exp2l.c: Likewise.
26953 * math/w_hypot.c: Likewise.
26954 * math/w_hypotf.c: Likewise.
26955 * math/w_hypotl.c: Likewise.
26956 * math/w_lgamma.c: Likewise.
26957 * math/w_lgamma_r.c: Likewise.
26958 * math/w_lgammaf.c: Likewise.
26959 * math/w_lgammaf_r.c: Likewise.
26960 * math/w_lgammal.c: Likewise.
26961 * math/w_lgammal_r.c: Likewise.
26962 * math/w_sinh.c: Likewise.
26963 * math/w_sinhf.c: Likewise.
26964 * math/w_sinhl.c: Likewise.
26965 * math/w_tgamma.c: Likewise.
26966 * math/w_tgammaf.c: Likewise.
26967 * math/w_tgammal.c: Likewise.
26968 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26969 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26970 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26971 Minor optimizations. Pretty printing. Remove cruft.
26972 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26973 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26974 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26975 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26976 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26977 * sysdeps/i386/fpu/e_asin.S: Likewise.
26978 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26979 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26980 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26981 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26982 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26983 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26984 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26985 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26986 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26987 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26988 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26989 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26990 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26991 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26992 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26993 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26994 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26995 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26996 * sysdeps/i386/fpu/e_log.S: Likewise.
26997 * sysdeps/i386/fpu/e_log10.S: Likewise.
26998 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26999 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27000 * sysdeps/i386/fpu/e_log2.S: Likewise.
27001 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27002 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27003 * sysdeps/i386/fpu/e_logf.S: Likewise.
27004 * sysdeps/i386/fpu/e_logl.S: Likewise.
27005 * sysdeps/i386/fpu/e_pow.S: Likewise.
27006 * sysdeps/i386/fpu/e_powf.S: Likewise.
27007 * sysdeps/i386/fpu/e_powl.S: Likewise.
27008 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27009 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27010 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27011 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27012 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27013 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27014 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27015 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27016 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27017 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27018 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27019 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27020 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27021 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27022 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27023 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27024 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27025 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27026 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27027 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27028 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27029 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27030 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27031 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27033 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27034 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27035 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27036 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27037 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27038 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27039 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27040 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27041 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27042 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27043 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27044 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27045 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27046 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27047 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27048 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27049 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27050 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27051 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27052 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27053 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27054 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27055 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27056 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27057 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27058 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27059 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27060 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27061 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27062 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27063 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27064 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27065 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27066 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27067 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27068 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27069 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27070 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27071 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27072 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27073 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27074 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27075 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27076 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27077 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27078 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27079 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27080 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27081 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27082 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27083 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27084 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27085 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27086 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27087 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27088 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27089 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27090 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27091 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27092 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27093 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27094 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27095 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27096 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27097 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27098 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27099 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27100 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27101 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27102 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27103 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27104 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27105 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27106 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27107 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27108 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27109 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27110 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27111 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27112 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27113 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27114 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27115 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27116 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27117 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27118 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27119 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27120 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27121 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27122 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27123 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27124 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27125 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27126 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27127 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27128 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27129 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27130 (__isnanf): Likewise.
27131 (__isinf_ns): Likewise.
27132 (__isinf_nsf): Likewise.
27133 (__finite): Likewise.
27134 (__finitef): Likewise.
27135 (__ieee754_sqrt): Define as macro.
27136 (__ieee754_sqrtf): Define as macro.
27137 (__ieee754_sqrtl): Define as macro.
27138 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27140 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27141 __FINITE_MATH_ONLY__ consistent.
27142 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27144 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27146 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27149 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27151 2011-10-09 Ulrich Drepper <drepper@gmail.com>
27153 * po/ja.po: Update from translation team.
27155 2011-10-08 Roland McGrath <roland@hack.frob.com>
27157 * locale/programs/locarchive.c (prepare_address_space): New function.
27158 (create_archive, enlarge_archive, open_archive): Use it.
27160 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27161 inside [SHARED], where it is used.
27163 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27165 * nss/getent.c (netgroup_keys): Remove unused variable.
27166 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27168 2011-10-08 Ulrich Drepper <drepper@gmail.com>
27170 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27171 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27172 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27173 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27174 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27175 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27176 * math/Makefile (libm-calls): Add s_isinf_ns.
27177 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27178 * math/multc3.c: Likewise.
27179 * math/s_casin.c: Likewise.
27180 * math/s_casinf.c: Likewise.
27181 * math/s_casinl.c: Likewise.
27182 * math/s_ccos.c: Likewise.
27183 * math/s_ccosf.c: Likewise.
27184 * math/s_ccosl.c: Likewise.
27185 * math/s_ctan.c: Likewise.
27186 * math/s_ctanf.c: Likewise.
27187 * math/s_ctanh.c: Likewise.
27188 * math/s_ctanhf.c: Likewise.
27189 * math/s_ctanhl.c: Likewise.
27190 * math/s_ctanl.c: Likewise.
27191 * math/w_fmod.c: Likewise.
27192 * math/w_fmodf.c: Likewise.
27193 * math/w_fmodl.c: Likewise.
27194 * math/w_remainder.c: Likewise.
27195 * math/w_remainderf.c: Likewise.
27196 * math/w_remainderl.c: Likewise.
27197 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27198 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27199 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27200 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27201 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27202 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27203 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27204 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27206 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27208 * stdio-common/printf_fphex.c: Likewise.
27209 * stdio-common/printf_size.c: Likewise.
27211 * math/e_exp10.c: Include math_private.h using <...> not "...".
27212 * math/e_exp10f.c: Likewise.
27213 * math/e_exp10l.c: Likewise.
27214 * math/e_exp2l.c: Likewise.
27215 * math/e_j0l.c: Likewise.
27216 * math/e_j1l.c: Likewise.
27217 * math/e_jnl.c: Likewise.
27218 * math/e_lgammal_r.c: Likewise.
27219 * math/e_rem_pio2l.c: Likewise.
27220 * math/e_scalb.c: Likewise.
27221 * math/e_scalbf.c: Likewise.
27222 * math/e_scalbl.c: Likewise.
27223 * math/k_cosl.c: Likewise.
27224 * math/k_sinl.c: Likewise.
27225 * math/k_tanl.c: Likewise.
27226 * math/s_cacoshf.c: Likewise.
27227 * math/s_catan.c: Likewise.
27228 * math/s_catanf.c: Likewise.
27229 * math/s_catanh.c: Likewise.
27230 * math/s_catanhf.c: Likewise.
27231 * math/s_catanhl.c: Likewise.
27232 * math/s_catanl.c: Likewise.
27233 * math/s_ccosh.c: Likewise.
27234 * math/s_ccoshf.c: Likewise.
27235 * math/s_ccoshl.c: Likewise.
27236 * math/s_cexp.c: Likewise.
27237 * math/s_cexpf.c: Likewise.
27238 * math/s_cexpl.c: Likewise.
27239 * math/s_clog.c: Likewise.
27240 * math/s_clog10.c: Likewise.
27241 * math/s_clog10f.c: Likewise.
27242 * math/s_clog10l.c: Likewise.
27243 * math/s_clogf.c: Likewise.
27244 * math/s_clogl.c: Likewise.
27245 * math/s_csin.c: Likewise.
27246 * math/s_csinf.c: Likewise.
27247 * math/s_csinh.c: Likewise.
27248 * math/s_csinhf.c: Likewise.
27249 * math/s_csinhl.c: Likewise.
27250 * math/s_csinl.c: Likewise.
27251 * math/s_csqrt.c: Likewise.
27252 * math/s_csqrtf.c: Likewise.
27253 * math/s_csqrtl.c: Likewise.
27254 * math/s_ctan.c: Likewise.
27255 * math/s_ctanf.c: Likewise.
27256 * math/s_ctanh.c: Likewise.
27257 * math/s_ctanhf.c: Likewise.
27258 * math/s_ctanhl.c: Likewise.
27259 * math/s_ctanl.c: Likewise.
27260 * math/s_ldexp.c: Likewise.
27261 * math/s_ldexpf.c: Likewise.
27262 * math/s_ldexpl.c: Likewise.
27263 * math/s_significand.c: Likewise.
27264 * math/s_significandf.c: Likewise.
27265 * math/s_significandl.c: Likewise.
27266 * math/w_acos.c: Likewise.
27267 * math/w_acosf.c: Likewise.
27268 * math/w_acosh.c: Likewise.
27269 * math/w_acoshf.c: Likewise.
27270 * math/w_acoshl.c: Likewise.
27271 * math/w_acosl.c: Likewise.
27272 * math/w_asin.c: Likewise.
27273 * math/w_asinf.c: Likewise.
27274 * math/w_asinl.c: Likewise.
27275 * math/w_atan2.c: Likewise.
27276 * math/w_atan2f.c: Likewise.
27277 * math/w_atan2l.c: Likewise.
27278 * math/w_atanh.c: Likewise.
27279 * math/w_atanhf.c: Likewise.
27280 * math/w_atanhl.c: Likewise.
27281 * math/w_cosh.c: Likewise.
27282 * math/w_coshf.c: Likewise.
27283 * math/w_coshl.c: Likewise.
27284 * math/w_dremf.c: Likewise.
27285 * math/w_exp10.c: Likewise.
27286 * math/w_exp10f.c: Likewise.
27287 * math/w_exp10l.c: Likewise.
27288 * math/w_exp2.c: Likewise.
27289 * math/w_exp2f.c: Likewise.
27290 * math/w_fmod.c: Likewise.
27291 * math/w_fmodf.c: Likewise.
27292 * math/w_fmodl.c: Likewise.
27293 * math/w_hypot.c: Likewise.
27294 * math/w_hypotf.c: Likewise.
27295 * math/w_hypotl.c: Likewise.
27296 * math/w_j0.c: Likewise.
27297 * math/w_j0f.c: Likewise.
27298 * math/w_j0l.c: Likewise.
27299 * math/w_j1.c: Likewise.
27300 * math/w_j1f.c: Likewise.
27301 * math/w_j1l.c: Likewise.
27302 * math/w_jn.c: Likewise.
27303 * math/w_jnf.c: Likewise.
27304 * math/w_jnl.c: Likewise.
27305 * math/w_lgamma.c: Likewise.
27306 * math/w_lgamma_r.c: Likewise.
27307 * math/w_lgammaf.c: Likewise.
27308 * math/w_lgammaf_r.c: Likewise.
27309 * math/w_lgammal.c: Likewise.
27310 * math/w_lgammal_r.c: Likewise.
27311 * math/w_log.c: Likewise.
27312 * math/w_log10.c: Likewise.
27313 * math/w_log10f.c: Likewise.
27314 * math/w_log10l.c: Likewise.
27315 * math/w_log2.c: Likewise.
27316 * math/w_log2f.c: Likewise.
27317 * math/w_log2l.c: Likewise.
27318 * math/w_logf.c: Likewise.
27319 * math/w_logl.c: Likewise.
27320 * math/w_pow.c: Likewise.
27321 * math/w_powf.c: Likewise.
27322 * math/w_powl.c: Likewise.
27323 * math/w_remainder.c: Likewise.
27324 * math/w_remainderf.c: Likewise.
27325 * math/w_remainderl.c: Likewise.
27326 * math/w_scalb.c: Likewise.
27327 * math/w_scalbf.c: Likewise.
27328 * math/w_scalbl.c: Likewise.
27329 * math/w_sinh.c: Likewise.
27330 * math/w_sinhf.c: Likewise.
27331 * math/w_sinhl.c: Likewise.
27332 * math/w_sqrt.c: Likewise.
27333 * math/w_sqrtf.c: Likewise.
27334 * math/w_sqrtl.c: Likewise.
27335 * math/w_tgamma.c: Likewise.
27336 * math/w_tgammaf.c: Likewise.
27337 * math/w_tgammal.c: Likewise.
27339 * po/ja.po: Update from translation team.
27341 2011-09-29 Andreas Jaeger <aj@suse.de>
27344 * sunrpc/netname.c (netname2host): Fix logic.
27348 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27350 * math/w_remainder.c (__remainder): Likewise.
27351 * math/w_remainderf.c (__remainderf): Likewise.
27352 * math/libm-test.inc (remainder_test): Add test cases.
27354 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27356 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27359 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27361 * string/test-memcmp.c: Avoid unncessary #defines.
27362 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27364 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27366 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27367 Use new sse2 version for core i3 - i7 as it's faster
27368 than sse42 version.
27369 (bit_Prefer_PMINUB_for_stringop): New.
27370 * sysdeps/x86_64/rawmemchr.S: Update.
27371 Replace with faster SSE2 version.
27372 * sysdeps/x86_64/memrchr.S: New file.
27373 * sysdeps/x86_64/memchr.S: Update.
27374 Replace with faster SSE2 version.
27376 2011-09-12 Marek Polacek <mpolacek@redhat.com>
27378 * elf/dl-load.c (lose): Add cast to avoid warning.
27380 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27382 * po/ca.po: Update from translation team.
27384 * inet/getnetgrent_r.c: Hook up nscd.
27385 * nscd/Makefile (routines): Add nscd_netgroup.
27386 (nscd-modules): Add netgroupcache.
27387 (CFLAGS-netgroupcache.c): Define.
27388 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27389 (cache_search): Add const to second parameter.
27390 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27392 (dbs): Add netgrdb entry.
27393 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27394 (verify_persistent_db): Handle netgrdb.
27395 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27396 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27398 (netgroup_response_header): Define.
27399 (innetgroup_response_header): Define.
27400 (datahead): Add netgroup_response_header and innetgroup_response_header
27402 * nscd/nscd.conf: Add entries for netgroup cache.
27403 * nscd/nscd.h (dbtype): Add netgrdb.
27404 (_PATH_NSCD_NETGROUP_DB): Define.
27405 (netgroup_iov_disabled): Declare.
27406 (xmalloc, xcalloc, xrealloc): Move declarations here.
27407 (cache_search): Adjust prototype.
27408 Add netgroup-related prototypes.
27409 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27410 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27411 (__nscd_innetgr): Declare.
27412 * nscd/selinux.c (perms): Use access_vector_t as element type and
27413 add netgroup-related initializers.
27414 * nscd/netgroupcache.c: New file.
27415 * nscd/nscd_netgroup.c: New file.
27416 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27417 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27418 For four parameters use innetgr.
27419 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27420 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27421 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27422 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27424 * nscd/connections.c (register_traced_file): Don't register file
27425 for disabled databases.
27427 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27429 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27431 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27432 from tree and freeing node.
27434 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27436 * nss/nsswitch.c (__nss_database_lookup): Handle
27437 nss_parse_service_list out of memory case.
27439 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27441 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27442 out of memory case.
27444 2011-10-04 Andreas Schwab <schwab@redhat.com>
27446 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27447 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27449 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27450 elf_machine_rela, elf_machine_lazy_rel.
27451 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27452 (ELF_DYNAMIC_DO_REL): Likewise.
27453 (ELF_DYNAMIC_DO_RELA): Likewise.
27454 (ELF_DYNAMIC_RELOCATE): Likewise.
27455 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27456 to ELF_DYNAMIC_DO_REL.
27457 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27458 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27459 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27461 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27462 skip_ifunc, don't call ifunc function if non-zero.
27463 (elf_machine_rela): Likewise.
27464 (elf_machine_lazy_rel): Likewise.
27465 (elf_machine_lazy_rela): Likewise.
27466 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27467 (elf_machine_lazy_rel): Likewise.
27468 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27470 (elf_machine_lazy_rel): Likewise.
27471 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27473 (elf_machine_lazy_rel): Likewise.
27474 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27475 (elf_machine_lazy_rel): Likewise.
27476 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27477 (elf_machine_lazy_rel): Likewise.
27478 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27479 (elf_machine_lazy_rel): Likewise.
27480 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27481 (elf_machine_lazy_rel): Likewise.
27482 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27483 (elf_machine_lazy_rel): Likewise.
27484 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27485 (elf_machine_lazy_rel): Likewise.
27487 2011-09-28 Ulrich Drepper <drepper@gmail.com>
27489 * nss/nss_files/files-init.c (_nss_files_init): Use static
27490 initialization for all the *_traced_file variables.
27492 2011-09-28 Andreas Schwab <schwab@redhat.com>
27494 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27496 2011-09-27 Roland McGrath <roland@hack.frob.com>
27499 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27501 2011-09-27 Andreas Schwab <schwab@redhat.com>
27503 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27504 Reread the line before reparsing it.
27506 2011-09-26 Andreas Schwab <schwab@redhat.com>
27508 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27510 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27511 Maxim Kuvyrkov <maxim@codesourcery.com>
27512 Joseph Myers <joseph@codesourcery.com>
27514 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27515 if needed for __stack_chk_guard.
27517 2011-09-19 Roland McGrath <roland@hack.frob.com>
27519 * sysdeps/posix/spawni.c (script_execute): Always define it.
27520 It will be optimized away if unused.
27521 (maybe_script_execute): New function.
27522 (__spawni): Call it.
27524 * Makerules: Don't include tls.make.
27525 (config-tls): Always set to thread.
27526 * tls.make.c: File removed.
27528 2011-09-19 Mike Frysinger <vapier@gentoo.org>
27530 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27531 * config.make.in (CPPFLAGS-config): New substituted variable.
27533 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27535 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27538 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27539 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27541 2011-09-15 Roland McGrath <roland@hack.frob.com>
27543 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27544 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27545 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27546 (CALL_FAIL): Likewise.
27547 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27548 (CALL_FAIL): Macro removed.
27549 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27551 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27553 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27554 for __FINITE_MATH_ONLY__ == 1.
27556 2011-09-15 Andreas Schwab <schwab@redhat.com>
27558 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27559 __ieee754_sqrt instead of sqrt.
27560 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27561 __ieee754_sqrtf instead of sqrtf.
27562 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27563 __floorf instead of floorf.
27564 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27565 __floorf, __truncf instead of floorf, truncf.
27567 2011-09-14 Ulrich Drepper <drepper@gmail.com>
27569 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27571 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27572 __extern_always_inline.
27573 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27576 2011-09-14 Andreas Schwab <schwab@redhat.com>
27578 * elf/rtld.c (dl_main): Also relocate in dependency order when
27579 doing symbol dependency testing.
27581 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27583 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27584 Always define `refsym'.
27586 2011-09-13 Andreas Schwab <schwab@redhat.com>
27588 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27589 (__FD_ELT): Renamed from __FDELT.
27590 * misc/bits/select2.h (__FD_ELT): Likewise.
27591 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27592 __FD_MASK instead of __FDELT, __FDMASK.
27593 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27595 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27598 * elf/Makefile (gen-ldd): Fix pattern.
27600 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27601 (init_tls): Likewise.
27603 2011-09-12 Ulrich Drepper <drepper@gmail.com>
27605 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27607 2011-09-12 Andreas Schwab <schwab@redhat.com>
27609 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27610 `struct cmsghdr *' instead of `void *'.
27611 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27614 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27616 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27618 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27619 ldd_rewrite_script.
27621 2011-09-11 Ulrich Drepper <drepper@gmail.com>
27623 * configure.in: Remove --with-tls option.
27624 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27625 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27626 out in case it is missing.
27627 * sysdeps/ia64/elf/configure.in: Likewise.
27628 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27629 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27630 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27631 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27632 * sysdeps/sh/elf/configure.in: Likewise.
27633 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27634 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27635 * sysdeps/x86_64/elf/configure.in: Likewise.
27636 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27637 * sysdeps/mach/hurd/tls.h: Likewise.
27640 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27643 * configure.in: Fix use of AC_INIT.
27645 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27647 2011-09-10 Ulrich Drepper <drepper@gmail.com>
27649 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27651 * malloc/hooks.c: Likewise.
27654 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27655 variables statically.
27656 (narenas): Initialize.
27657 (list_lock): Initialize.
27658 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27659 initializtion of main_arena and list_lock. Small cleanups.
27660 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27661 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27662 Add initializers to main_arena and mp_.
27663 (malloc_state): Remove pagesize member. Change all users to use
27666 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27667 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27668 is always initialized.
27670 * malloc/malloc.c: Removed unused configurations and dead code.
27671 * malloc/arena.c: Likewise.
27672 * malloc/hooks.c: Likewise.
27673 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27675 * include/tls.h: Removed. USE___THREAD must always be defined.
27676 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27677 * elf/dl-libc.c: Likewise.
27678 * elf/dl-tsd.c: Likewise.
27679 * include/errno.h: Likewise.
27680 * include/netdb.h: Likewise.
27681 * include/resolv.h: Likewise.
27682 * inet/herrno-loc.c: Likewise.
27683 * inet/herrno.c: Likewise.
27684 * malloc/arena.c: Likewise.
27685 * malloc/hooks.c: Likewise.
27686 * malloc/malloc.c: Likewise.
27687 * resolv/res-state.c: Likewise.
27688 * resolv/res_libc.c: Likewise.
27689 * sysdeps/i386/dl-machine.h: Likewise.
27690 * sysdeps/ia64/dl-machine.h: Likewise.
27691 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27692 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27693 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27694 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27695 * sysdeps/sh/dl-machine.h: Likewise.
27696 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27697 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27698 * sysdeps/unix/i386/sysdep.S: Likewise.
27699 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27700 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27701 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27702 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27703 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27704 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27705 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27706 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27709 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27710 * sysdeps/x86_64/dl-machine.h: Likewise.
27711 * tls.make.c: Likewise.
27713 * configure.in: Remove --with-__thread option. Make tests for
27714 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27715 tls_model attribute fail if no support is available. Remove
27717 * Makeconfig: Adjust for dropped configure option. All features are
27719 * Makerules: Likewise.
27720 * Versions.def: Likewise.
27721 * argp/argp-fmtstream.c: Likewise.
27722 * argp/argp-fmtstream.h: Likewise.
27723 * argp/argp-help.c: Likewise.
27724 * assert/assert.c: Likewise.
27725 * config.h.in: Likewise.
27726 * config.make.in: Likewise.
27727 * configure: Likewise.
27728 * configure.in: Likewise.
27729 * csu/Versions: Likewise.
27730 * csu/init.c: Likewise.
27731 * elf/tst-audit2.c: Likewise.
27732 * elf/tst-tls10.c: Likewise.
27733 * elf/tst-tls10.h: Likewise.
27734 * elf/tst-tls11.c: Likewise.
27735 * elf/tst-tls12.c: Likewise.
27736 * elf/tst-tls14.c: Likewise.
27737 * elf/tst-tlsmod11.c: Likewise.
27738 * elf/tst-tlsmod12.c: Likewise.
27739 * elf/tst-tlsmod13.c: Likewise.
27740 * elf/tst-tlsmod13a.c: Likewise.
27741 * elf/tst-tlsmod14a.c: Likewise.
27742 * elf/tst-tlsmod15b.c: Likewise.
27743 * elf/tst-tlsmod16a.c: Likewise.
27744 * elf/tst-tlsmod16b.c: Likewise.
27745 * elf/tst-tlsmod7.c: Likewise.
27746 * elf/tst-tlsmod8.c: Likewise.
27747 * elf/tst-tlsmod9.c: Likewise.
27748 * gmon/gmon.c: Likewise.
27749 * grp/fgetgrent_r.c: Likewise.
27750 * grp/putgrent.c: Likewise.
27751 * hurd/fopenport.c: Likewise.
27752 * include/libc-symbols.h: Likewise.
27753 * include/tls.h: Likewise.
27754 * intl/gettextP.h: Likewise.
27755 * intl/loadinfo.h: Likewise.
27756 * locale/global-locale.c: Likewise.
27757 * locale/localeinfo.h: Likewise.
27758 * mach/devstream.c: Likewise.
27759 * malloc/arena.c: Likewise.
27760 * malloc/set-freeres.c: Likewise.
27761 * misc/err.c: Likewise.
27762 * misc/getttyent.c: Likewise.
27763 * misc/mntent_r.c: Likewise.
27764 * posix/getopt.c: Likewise.
27765 * posix/wordexp.c: Likewise.
27766 * pwd/fgetpwent_r.c: Likewise.
27767 * resolv/Versions: Likewise.
27768 * resolv/res_hconf.c: Likewise.
27769 * shadow/fgetspent_r.c: Likewise.
27770 * shadow/putspent.c: Likewise.
27771 * stdio-common/printf_fphex.c: Likewise.
27772 * stdio-common/tmpfile.c: Likewise.
27773 * stdlib/abort.c: Likewise.
27774 * stdlib/fmtmsg.c: Likewise.
27775 * sunrpc/auth_unix.c: Likewise.
27776 * sunrpc/clnt_perr.c: Likewise.
27777 * sunrpc/clnt_tcp.c: Likewise.
27778 * sunrpc/clnt_udp.c: Likewise.
27779 * sunrpc/clnt_unix.c: Likewise.
27780 * sunrpc/openchild.c: Likewise.
27781 * sunrpc/svc_simple.c: Likewise.
27782 * sunrpc/svc_tcp.c: Likewise.
27783 * sunrpc/svc_udp.c: Likewise.
27784 * sunrpc/svc_unix.c: Likewise.
27785 * sunrpc/xdr.c: Likewise.
27786 * sunrpc/xdr_array.c: Likewise.
27787 * sunrpc/xdr_rec.c: Likewise.
27788 * sunrpc/xdr_ref.c: Likewise.
27789 * sunrpc/xdr_stdio.c: Likewise.
27791 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27793 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27795 2011-07-03 Andreas Jaeger <aj@suse.de>
27797 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27798 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27799 regenerate with gen-libm-tests.pl.
27801 2010-05-12 Petr Baudis <pasky@suse.cz>
27804 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27805 around j0() zero points by switching to j1().
27806 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27807 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27808 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27809 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27811 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27813 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27815 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27817 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27818 Patch in part by Pavel Roskin <proski@gnu.org>.
27821 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27823 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27824 Free memory block if necessary.
27827 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27828 be NULL. Don't lock in this case.
27830 2011-09-09 Roland McGrath <roland@hack.frob.com>
27832 * elf/elf.h (ELFOSABI_GNU): New macro.
27833 (ELFOSABI_LINUX): Define to that.
27835 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27837 * string/strncat.c (strncat): Undef the symbol in case it has been
27838 defined in bits/string.h.
27840 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27842 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27844 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27847 2011-08-17 Andreas Jaeger <aj@suse.de>
27849 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27851 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27852 Ian Lance Taylor <iant@google.com>
27854 * math/libm-test.inc (lround_test): New testcase.
27855 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27857 2011-09-08 Ulrich Drepper <drepper@gmail.com>
27859 * Makefile: Remove support for automatic cvs check-ins.
27860 * Makerules: Likewise.
27861 * config.make.in: Likewise.
27862 * configure.in: Likewise.
27863 * intl/Makefile: Likewise.
27864 * locale/Makefile: Likewise.
27865 * po/Makefile: Likewise.
27866 * posix/Makefile: Likewise.
27867 * sysdeps/gnu/Makefile: Likewise.
27868 * sysdeps/mach/hurd/Makefile: Likewise.
27869 * sysdeps/sparc/sparc32/Makefile: Likewise.
27872 * posix/Makefile (bug-regex32-ENV): Define.
27873 Patch by John Stanley <jpsinthemix@verizon.net>.
27875 * misc/Makefile (headers): Add bits/select2.h.
27876 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27877 * misc/bits/select2.h: New file.
27878 * include/bits/select2.h: New file.
27879 * debug/Makefile (routines): Add fdelt_chk.
27880 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27881 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27883 * debug/fdelt_chk.c: New file.
27885 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27886 * wcsmbs/test-wmemcmp.c: Likewise.
27887 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27888 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27890 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27892 * string/Makefile (strop-tests): Add memcmp.
27893 * string/test-wmemcmp.c: New file.
27894 * string/test-memcmp.c: Add wmemcmp support.
27896 2011-09-08 Roland McGrath <roland@hack.frob.com>
27899 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27902 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27903 garbage value in a __mach_port_mod_refs call in the cases of the
27904 task-self and thread-self ports.
27906 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27908 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27910 2011-09-08 Andreas Schwab <schwab@redhat.com>
27912 * elf/dl-load.c (lose): Check for non-null L.
27914 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27916 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27918 * elf/dl-libc.c (dlerror_run): Pass back error code from
27922 * elf/dl-load.c (lose): Free l_origin if it is valid.
27924 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27926 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27927 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27928 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27929 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27930 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27931 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27933 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27935 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27936 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27937 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27938 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27939 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27940 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27941 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27942 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27943 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27944 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27946 2011-08-15 Alan Modra <amodra@gmail.com>
27949 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27950 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27951 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27952 ppc_mcount to static-only-routines.
27953 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27955 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27956 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27958 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27960 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27961 for finite and infinity parameters.
27963 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27965 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27966 and add nop instructions for throughput optimization.
27967 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27969 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27971 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27972 aligned copy for power7 with vector-scalar instructions.
27973 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27975 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27977 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27980 2011-09-07 Andreas Schwab <schwab@redhat.com>
27983 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27986 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27988 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27989 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27990 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27991 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27994 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27996 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27997 Forgot to demangle the pointer.
27999 * sysdeps/i386/sysdep.h: Define atom_text_section.
28000 * sysdeps/x86_64/sysdep.h: Likewise.
28001 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28002 section with atom_text_section.
28003 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28004 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28005 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28006 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28007 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28009 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28010 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28011 already be defined. Change to take two parameters and don't assign
28012 result to variable. Adjust all users.
28013 Define INTERNAL_GETTIME if not already defined.
28014 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28016 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28017 HAVE_CLOCK_GETTIME_VSYSCALL.
28018 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28020 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28021 gettimeofday vsyscall, just use time.
28023 2011-09-06 Andreas Schwab <schwab@redhat.com>
28025 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28028 2011-09-06 Ulrich Drepper <drepper@gmail.com>
28030 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28032 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28034 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28035 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28036 syscall if possible.
28038 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28040 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28041 e_ident. Don't pass to find_mapsXX.
28042 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28044 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28046 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28047 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28048 * sysdeps/x86_64/multiarch/strchr.S: Update.
28049 Check bit_slow_BSF bit.
28050 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28051 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28052 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28054 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28057 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28059 (tryshell): Define.
28060 (__spawni): Change last parameter to be flag. Test
28061 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28062 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28063 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28064 * posix/spawni.c: Likewise.
28065 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28066 * posix/spawnp.c: Likewise. Change normal version to use
28067 SPAWN_XFLAGS_USE_PATH.
28068 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28069 SPAWN_XFLAGS_TRY_SHELL.
28072 * posix/glob.h: Remove gcc 1.x support.
28075 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28077 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28080 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28082 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28083 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28084 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28085 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28086 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28087 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28089 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28091 * sysdeps/x86_64/wcscmp.S: New file.
28093 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28094 wcscmp-c wcscmp-sse2
28095 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28096 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28097 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28098 * wcsmbs/wcscmp.c: Allow renaming.
28100 2011-09-05 David S. Miller <davem@davemloft.net>
28102 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28103 stack slot, rather than the struct return pointer slot.
28104 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28105 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28107 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28109 2011-09-05 Ulrich Drepper <drepper@gmail.com>
28111 * po/ja.po: Update from translation team.
28114 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28115 kernel in 64-bit binaries.
28117 2011-09-01 David S. Miller <davem@davemloft.net>
28119 * elf/elf.h (HWCAP_SPARC_*): Move to..
28120 * sysdeps/sparc/sysdep.h: this new file and add new values.
28121 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28122 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28123 _DL_HWCAP_COUNT to 24.
28124 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28126 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28127 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28128 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28130 instead of magic constants.
28131 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28133 2011-08-31 David S. Miller <davem@davemloft.net>
28135 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28137 Reimplement to do errno handling inline.
28138 (SYSCALL_ERROR_HANDLER): New macro.
28139 (__SYSCALL_STRING): Do not do errno handling in asm.
28140 (__CLONE_SYSCALL_STRING): Delete.
28141 (__INTERNAL_SYSCALL_STRING): Delete.
28142 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28143 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28144 (PSEUDO): Reimplement to do errno handling inline.
28145 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28146 (SYSCALL_ERROR_HANDLER): New macro.
28147 (__SYSCALL_STRING): Do not do errno handling in asm.
28148 (__CLONE_SYSCALL_STRING): Delete.
28149 (__INTERNAL_SYSCALL_STRING): Delete.
28150 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28151 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28153 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28154 (inline_syscall*): Add 'err' argument.
28155 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28156 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28157 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28158 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28160 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28161 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28163 2011-08-30 Andreas Schwab <schwab@redhat.com>
28165 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28167 2011-08-29 Jiri Olsa <jolsa@redhat.com>
28169 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28172 2011-08-24 David S. Miller <davem@davemloft.net>
28174 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28176 2011-08-24 Andreas Schwab <schwab@redhat.com>
28178 * elf/Makefile: Add rules to build and run unload8 test.
28179 * elf/unload8.c: New file.
28180 * elf/unload8mod1.c: New file.
28181 * elf/unload8mod1x.c: New file.
28182 * elf/unload8mod2.c: New file.
28183 * elf/unload8mod3.c: New file.
28185 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28188 2011-08-23 David S. Miller <davem@davemloft.net>
28190 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28191 subtract stack bias.
28192 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28193 %sp not %fp in calculations.
28194 (_JMPBUF_UNWINDS_ADJ): Likewise.
28196 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28197 (aio_suspend): Call it to force an exception region around the
28198 AIO_MISC_WAIT() invocation.
28200 2011-08-23 Andreas Schwab <schwab@redhat.com>
28202 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28205 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28207 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28209 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28210 and <dl-machine.h>.
28211 (Elf64_FuncDesc): Remove.
28213 2011-08-22 David S. Miller <davem@davemloft.net>
28215 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28216 sigaltstack check, add missing cfi directives.
28217 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28218 missing cfi directives, and sigaltstack handling.
28220 2011-08-16 Andreas Schwab <schwab@redhat.com>
28223 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28224 object is seen twice.
28225 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28227 * elf/Makefile (distribute): Add tst-initorder2.c.
28228 (tests): Add tst-initorder2.
28229 (modules-names): Add tst-initorder2a tst-initorder2b
28230 tst-initorder2c tst-initorder2d. Add rules to build them.
28231 ($(objpfx)tst-initorder2.out): New rule.
28232 * elf/tst-initorder2.c: New file.
28233 * elf/tst-initorder2.exp: New file.
28235 2011-08-22 Andreas Schwab <schwab@redhat.com>
28237 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28239 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28240 dependencies back to end of function.
28242 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28243 $(elfobjdir)/ld.so.
28245 2011-08-21 Ulrich Drepper <drepper@gmail.com>
28247 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28248 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28249 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28250 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28251 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28252 of __vdso_gettimeofday.
28253 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28254 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28256 (_libc_vdso_platform_setup): Remove initialization of
28257 __vdso_gettimeofday and __vdso_time.
28259 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28261 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28262 and fgetc_unlocked.
28263 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28266 * elf/dl-open.c (add_to_global): Report additions to the global scope
28267 for LD_DEBUG=scopes.
28268 (dl_open_worker): Also print scope of newly loaded dependencies.
28269 (_dl_show_scope): Indicate if there is no scope.
28272 * stdio-common/Makefile (tests): Add bug24.
28273 * stdio-common/bug24.c: New file.
28275 2011-08-19 Andreas Jaeger <aj@suse.de>
28278 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28279 non-existant file when using close-on-exec mode.
28281 2011-08-20 Ulrich Drepper <drepper@gmail.com>
28283 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28284 the very first instruction.
28286 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28287 the CFI state in the end.
28288 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28289 inclusion of dl-trampoline.h.
28290 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28292 2011-08-19 Andreas Schwab <schwab@redhat.com>
28294 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28295 expectations for long double.
28297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28298 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28300 2011-08-14 David S. Miller <davem@davemloft.net>
28302 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28303 artificual limit depends upon the system page size.
28305 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28307 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28308 * resolv/Makefile: Define CFLAGS-libresolv.
28310 2011-08-17 Andreas Schwab <schwab@redhat.com>
28312 * nss/makedb.c (compute_tables): Make variables used in nested
28315 2011-08-17 Ulrich Drepper <drepper@gmail.com>
28317 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28318 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28319 if buffer was too small.
28321 * elf/pldd.c (main): Attach to all threads in the process.
28322 Rewrite /proc handling to use *at functions.
28324 2011-08-16 Ulrich Drepper <drepper@gmail.com>
28326 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28327 specifies first scope to show.
28328 (dl_open_worker): Update callers. Move printing scope of new
28329 object to before the relocation.
28330 * elf/rtld.c (dl_main): Update _dl_show_scope call.
28331 * sysdeps/generic/ldsodefs.h: Update declaration.
28333 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28334 string for the scope number.
28336 2011-08-14 Ulrich Drepper <drepper@gmail.com>
28338 * nscd/servicescache.c (cache_addserv): Make sure written is always
28341 2011-08-14 Roland McGrath <roland@hack.frob.com>
28343 * sysdeps/i386/i486/bits/atomic.h
28344 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28345 statement expression, so as to suppress "set but not used" warning.
28346 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28348 * string/strncat.c (STRNCAT): Use prototype definition.
28350 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28351 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28353 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28354 (localedef-modules): Add localedef.
28355 (locale-modules): Add locale.
28357 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28358 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28359 to avoid a warning.
28361 2011-08-14 David S. Miller <davem@davemloft.net>
28363 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28364 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28366 2011-08-13 Ulrich Drepper <drepper@gmail.com>
28368 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28369 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28370 * elf/rtld.c (dl_main): Set l_name of vDSO.
28371 Call _dl_show_scope when DL_DEBUG_SCOPES.
28372 (process_dl_debug): Recognize scopes flag and also set it for all.
28373 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28374 Declare _dl_show_scope.
28376 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28377 (do_dlopen): Pass caller_dlopen to dl_open.
28378 (__libc_dlopen_mode): Initialize caller_dlopen.
28380 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28381 of libc. Make tolower call locale-independent. Optimize a bit by
28382 using isdigit instead of isalnum.
28383 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28385 2011-08-12 Ulrich Drepper <drepper@gmail.com>
28387 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28388 was a dependency or dynamically loaded.
28390 2011-08-11 Ulrich Drepper <drepper@gmail.com>
28392 * intl/l10nflist.c: Allow architecture-specific pop function.
28393 * sysdeps/x86_64/l10nflist.c: New file.
28395 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28398 2011-08-10 Andreas Schwab <schwab@redhat.com>
28400 * include/dirent.h: Add libc_hidden_proto for scandirat and
28401 scandirat64. Don't declare __scandirat64.
28402 * dirent/scandirat.c: Add libc_hidden_def.
28403 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28404 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28406 2011-08-10 David S. Miller <davem@davemloft.net>
28408 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28410 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28411 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28412 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28414 2011-08-09 Ulrich Drepper <drepper@gmail.com>
28416 * Versions.def [libc]: Add GLIBC_2.15.
28417 * dirent/Makefile (routines): Add scandirat and scandirat64.
28418 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28420 * dirent/dirent.h: Declare scandirat and scandirat64.
28421 * dirent/scandirat.c: New file.
28422 * dirent/scandirat64.c: New file.
28423 * sysdeps/wordsize-64/scandirat.c: New file.
28424 * sysdeps/wordsize-64/scandirat64.c: New file.
28425 * dirent/opendir.c: Define opendirat.
28426 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28428 * dirent/scandir64.c: Adjust for scandir.c change.
28429 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28430 __scandirat64, and __scandir_cancel_handler.
28431 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28432 additional parameter and use openat instead of open (outside of ld.so).
28433 Add new __opendir as wrapper around __opendirat.
28434 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28435 here without requiring old scandirat implementation.
28437 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28439 * dirent/scandir.c (cancel_handler): Renamed to
28440 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28441 defined. Adjust users.
28442 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28443 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28445 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28447 * string/test-string.h (IMPL): Use __STRING to expand name and then
28450 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28453 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28455 * string/Makefile: Update.
28456 (strop-tests): Append strncat.
28457 * string/test-wcscmp.c: New file.
28458 New comprehensive test for wcscmp.
28459 * string/test-strcmp.c: Update.
28460 (WIDE): New define.
28462 2011-07-22 Andreas Schwab <schwab@redhat.com>
28464 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28467 2011-07-26 Andreas Schwab <schwab@redhat.com>
28469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28470 encoding to ACE if AI_IDN.
28472 2011-08-01 Jakub Jelinek <jakub@redhat.com>
28474 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28475 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28477 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28479 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28480 Fix overflow bug in strncat.
28481 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28483 * string/test-strncat.c: Update.
28484 Add new tests for checking overflow bugs.
28486 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28489 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28490 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28491 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28492 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28493 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28494 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28495 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28496 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28498 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28499 (USE_AS_STRCAT): Define.
28500 Add strcat and strncat support.
28501 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28503 2011-07-25 Andreas Schwab <schwab@redhat.com>
28505 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28506 __n bigger than INT_MAX+1.
28507 (__strncmp_g): Likewise.
28509 2011-07-23 Ulrich Drepper <drepper@gmail.com>
28511 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28512 * libio/stido.h: Likewise.
28514 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28516 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28519 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28520 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28521 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28522 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28523 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28526 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28529 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28531 (_dl_x86_64_save_sse): Likewise.
28533 2011-07-22 Ulrich Drepper <drepper@gmail.com>
28535 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28537 (_dl_x86_64_save_sse): Likewise.
28539 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28541 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28543 2011-07-21 Andreas Schwab <schwab@redhat.com>
28545 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28547 (_dl_x86_64_save_sse): Use correct AVX check.
28549 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28551 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28552 bug in strncpy/strncat.
28553 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28555 2011-07-21 Ulrich Drepper <drepper@gmail.com>
28557 * string/tester.c (test_strcat): Add tests for different alignments
28558 of source and destination.
28559 (test_strncat): Likewise.
28561 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28564 * posix/glob.c (glob): Check passed in values before using them in
28565 expressions to avoid some overflows.
28566 (glob_in_dir): Likewise.
28569 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28570 check for AVX enablement so that we don't crash with old kernels and
28572 * elf/tst-audit4.c: Add same checks here.
28573 * elf/tst-audit6.c: Likewise.
28575 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28577 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28579 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28581 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28583 * po/cs.po: Update from translation team.
28584 * po/bg.po: Likewise.
28586 2011-07-12 Marek Polacek <mpolacek@redhat.com>
28588 * misc/sys/cdefs.h: Add support for const attribute.
28589 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28590 to gnu_dev_{major,minor,makedev} functions.
28592 2011-07-20 Marek Polacek <mpolacek@redhat.com>
28594 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28596 2011-07-20 Andreas Schwab <schwab@redhat.com>
28598 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28601 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28603 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28604 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28605 register in order to avoid conflicts with the soft frame pointer
28606 being held in r11 when necessary.
28607 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28608 (INTERNAL_VSYSCALL_NCS): Likewise.
28610 2011-07-14 Marek Polacek <mpolacek@redhat.com>
28612 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28613 * elf/dl-fini.c (_dl_fini): Adjust caller.
28614 * elf/dl-close.c (_dl_close_worker): Likewise.
28615 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28617 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28619 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28620 "aux_cache->nlibs < 0".
28622 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28623 in the reload-count case.
28625 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28628 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28629 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28630 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28631 * sysdeps/x86_64/multiarch/strcat.S: New file.
28632 * sysdeps/x86_64/multiarch/strncat.S: New file.
28633 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28634 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28635 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28636 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28637 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28638 (USE_AS_STRCAT): Define.
28639 Add strcat and strncat support.
28640 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28641 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28642 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28643 * string/strncat.c: Update.
28644 (USE_AS_STRNCAT): Define.
28645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28646 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28648 * sysdeps/x86_64/multiarch/init-arch.h
28649 (bit_Prefer_PMINUB_for_stringop): New.
28650 (index_Prefer_PMINUB_for_stringop): Likewise.
28651 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28652 bit_Prefer_PMINUB_for_stringop.
28654 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28656 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28658 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28659 of casting of buffer.
28660 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28661 buffer32 and buffer64.
28662 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28663 writes instead of casting of buffer.
28664 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28666 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28669 2011-07-19 Andreas Schwab <schwab@redhat.com>
28671 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28673 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28675 * nscd/nscd.c (termination_handler): Don't do anything for a database
28676 if it has not yet been initialized.
28678 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28680 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28682 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28684 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28686 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28688 * po/nl.po: Update from translation team.
28689 * po/sv.po: Likewise.
28691 2011-07-16 Roland McGrath <roland@hack.frob.com>
28693 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28694 now disallowed by GCC.
28696 * configure.in (use-default-link): Default to yes if a test -shared
28697 link meets our qualifications.
28698 * configure: Regenerated.
28700 * config.make.in (output-format): New variable.
28701 * configure.in: Check for ld --print-output-format support.
28702 * configure: Regenerated.
28703 * Makerules ($(common-objpfx)format.lds)
28704 [$(output-format) != unknown]: Just use $(output-format),
28705 instead of the linker-script munging.
28707 2011-07-14 Roland McGrath <roland@hack.frob.com>
28709 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28710 of $(common-objpfx)shlib.lds.
28711 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28713 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28714 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28716 * configure.in (-z relro check): Adjust test code to add a large
28717 writable data section after it.
28718 * configure: Regenerated.
28720 2011-07-11 Roland McGrath <roland@hack.frob.com>
28722 * configure.in (-z relro check): Fix test code to make the variable
28724 * configure: Regenerated.
28726 2011-07-11 Ulrich Drepper <drepper@gmail.com>
28728 * nscd/nscd.h (struct traced_file): Define.
28729 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28730 elements. Add traced_files.
28731 (inotify_fd): Declare.
28732 (register_traced_file): Declare.
28733 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28734 (inotify_fd): Export.
28735 (resolv_conf_descr): Remove.
28736 (nscd_init): Move inotify descriptor creation to main.
28737 Don't register files for notification here.
28738 (register_traced_file): New function.
28739 (invalidate_cache): Don't use reset_res to determine whether to call
28740 res_init, go through the list of registered files.
28741 (main_loop_poll): The inotify descriptors are now stored in the
28742 structures for the traced files.
28743 (main_loop_epoll): Likewise
28744 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28745 to __nss_disable_nscd.
28746 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28747 for a database anymore. Check the records for all the registered
28749 * nss/Makefile (libnss_files-routines): Add files-init.
28750 (libnss_db-routines): Add db-init.
28751 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28752 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28753 * nss/nss_db/db-init.c: New file.
28754 * nss/nss_files/files-init.c: New file.
28755 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28756 __nss_lookup_function.
28757 (__nss_lookup_function): Call nss_load_library.
28758 (nss_load_all_libraries): New function.
28759 (__nss_disable_nscd): Take parameter with callback function for files
28760 to register. Set is_nscd. Load all the DSOs for the NSS modules
28761 used for the cached services.
28762 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28763 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28764 options for features to all the files in nscd.
28766 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28768 2011-07-10 Roland McGrath <roland@hack.frob.com>
28770 * csu/elf-init.c (__libc_csu_init): Comment typo.
28772 2011-07-09 Ulrich Drepper <drepper@gmail.com>
28774 * po/pl.po: Update from translation team.
28775 * po/ja.po: Likewise.
28776 * po/ru.po: Likewise.
28777 * po/ko.po: Likewise.
28778 * po/fr.po: Likewise.
28780 2011-07-09 Roland McGrath <roland@hack.frob.com>
28782 * configure.in (.ctors/.dtors header and trailer check):
28783 Use an empirical test on a built program.
28784 * configure: Regenerated.
28786 * configure.in (-z relro check): Use an empirical test on a built DSO.
28787 Detect, but do not require, on ia64.
28788 * configure: Regenerated.
28790 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28791 Update tests that use readelf to use $READELF instead.
28792 * configure: Regenerated.
28794 2011-07-08 Ulrich Drepper <drepper@gmail.com>
28796 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28797 if the result is not used.
28799 2011-07-05 Andreas Jaeger <aj@suse.de>
28802 * stdlib/tst-strtod.c: Add testcase.
28804 2011-07-07 Ulrich Drepper <drepper@gmail.com>
28806 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28807 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28808 The latter has a higher limit. Take additional parameter to pass to
28810 (__pathconf): Pass file to __statfs_link_max.
28811 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28813 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28817 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28818 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28820 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28821 (__statfs_filesize_max): Likewise.
28822 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28824 2011-07-05 Andreas Jaeger <aj@suse.de>
28826 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28828 2011-07-06 Marek Polacek <mpolacek@redhat.com>
28830 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28832 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28835 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28837 * Makefile (strop-tests): Add strncat.
28838 * string/test-strncat.c: New file.
28840 2011-06-30 Marek Polacek <mpolacek@redhat.com>
28842 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28844 2011-06-21 Andreas Jaeger <aj@suse.de>
28846 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28847 Copy rule from iconvdata/Makefile.
28849 2011-07-06 Ulrich Drepper <drepper@gmail.com>
28852 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28853 but no long options are defined, just return 'W'.
28855 2011-06-22 Marek Polacek <mpolacek@redhat.com>
28858 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28860 2011-07-06 Ulrich Drepper <drepper@gmail.com>
28862 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28864 (innetgr): Likewise.
28866 2011-07-05 Roland McGrath <roland@hack.frob.com>
28868 * config.make.in (install_root): Default to $(DESTDIR).
28870 2011-07-05 Ulrich Drepper <drepper@gmail.com>
28872 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28874 2011-07-02 Roland McGrath <roland@hack.frob.com>
28876 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28878 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28879 containing directory rather than embedding absolute directory names.
28881 * scripts/check-local-headers.sh: Rewritten using awk.
28882 Match by word, not by line. Print error messages for matches.
28883 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28885 * Makerules [shlib-lds-flags empty]:
28886 ($(common-objpfx)libc_pic.opts): New target.
28887 ($(common-objpfx)libc_pic.os.clean): New target.
28888 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28890 * config.make.in (OBJCOPY): New variable.
28891 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28892 * configure: Regenerated.
28894 * config.make.in (use-default-link): New variable.
28895 * configure.in (use_default_link): Grok --with-default-link to set it.
28896 * configure: Regenerated.
28897 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28898 (shlib-lds, shlib-lds-flags): Define to empty.
28900 * Makerules (shlib-lds): New variable.
28901 (shlib-lds-flags): New variable.
28902 (build-shlib, build-moduile, build-module-asneeded): Use it.
28903 ($(common-objpfx)libc.so): Use $(shlib-lds).
28904 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28905 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28907 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28908 DT_FLAGS/DT_FLAGS_1 with zero flags.
28910 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28911 linker script munging.
28913 2011-07-02 Ulrich Drepper <drepper@gmail.com>
28915 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28917 * crypt/sha512.c (sha512_process_block): Perform total addition using
28918 128-bit if possible.
28919 (__sha512_finish_ctx): Likewise.
28920 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28922 * crypt/sha256.c (SWAP64): Define.
28923 (sha256_process_block): Perform total addition using 64-bit if
28925 (__sha256_finish_ctx): Likewise.
28927 2011-07-01 Ulrich Drepper <drepper@gmail.com>
28929 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28930 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28931 * nscd/hstcache.c (cache_addhst): Likewise.
28932 * nscd/grpcache.c (cache_addgr): Likewise.
28933 * nscd/aicache.c (addhstaiX): Likewise
28934 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28936 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
28938 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28939 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28940 * nscd/hstcache.c (cache_addhst): Likewise.
28941 * nscd/grpcache.c (cache_addgr): Likewise.
28942 * nscd/aicache.c (addhstaiX): Likewise
28944 2011-07-01 Andreas Schwab <schwab@redhat.com>
28946 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28947 domain only when needed.
28949 2011-06-30 Andreas Schwab <schwab@redhat.com>
28951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28952 is always restored.
28954 2011-06-29 Ulrich Drepper <drepper@gmail.com>
28956 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28957 are re-adding the entry.
28958 * nscd/servicescache.c (cache_addserv): Likewise.
28960 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28962 * sysdeps/generic/dl-irel.h: fix protection against multiple
28964 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28966 2011-06-28 Ulrich Drepper <drepper@gmail.com>
28969 * malloc/memusage.sh: Fix quoting in message.
28970 * debug/xtrace.sh: Likewise.
28972 * configure.in: Remove support for --experimental-malloc option, make
28974 * config.make.in: Likewise.
28975 * malloc/Makefile: Likewise.
28977 2011-06-27 Andreas Schwab <schwab@redhat.com>
28979 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28980 two-byte characters.
28982 2011-06-27 Roland McGrath <roland@hack.frob.com>
28984 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28985 AC_CACHE_CHECK invocation.
28986 * configure: Regenerated.
28988 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28990 2011-06-27 Ulrich Drepper <drepper@gmail.com>
28993 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28994 bit from old_res_options.
28996 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28998 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28999 value type for setfct.
29001 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29003 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29004 __gettimeofday instead of gettimeofday.
29006 2011-06-26 Ulrich Drepper <drepper@gmail.com>
29008 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29010 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29012 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29014 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29017 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29020 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29021 strcpy-sse2-unaligned strncpy-sse2-unaligned
29022 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29023 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29024 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29025 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29026 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29027 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29028 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29029 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29030 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29031 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29032 (STRCPY): Support SSE2 and SSSE3 versions.
29034 2011-06-24 Ulrich Drepper <drepper@gmail.com>
29037 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29038 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29039 kernels which artificially limit size of requests.
29041 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29043 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29044 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29045 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29046 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29047 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29048 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29049 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29050 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29051 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29052 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29053 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29054 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29055 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29056 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29057 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29059 Enable unaligned load optimization for Intel Core i3, i5 and i7
29061 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29063 (index_Fast_Unaligned_Load): Define.
29064 (HAS_FAST_UNALIGNED_LOAD): Define.
29066 2011-06-23 Marek Polacek <mpolacek@redhat.com>
29068 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29070 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29073 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29074 until it is clear that the information is realy needed.
29075 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29077 2011-06-22 Andreas Schwab <schwab@redhat.com>
29079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29081 2011-06-22 Ulrich Drepper <drepper@gmail.com>
29083 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29084 /sys/devices/system/cpu/online if it is usable.
29086 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29087 reading the information from the /proc filesystem to once a second.
29089 2011-06-21 Andreas Jaeger <aj@suse.de>
29091 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29092 NULL after inclusion of kernel headers.
29094 2011-06-21 Ulrich Drepper <drepper@gmail.com>
29096 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29097 calls to internal_setent.
29100 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29101 addresses using gethostbyname4_r ignore IPv4 addresses.
29103 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29104 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29106 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29108 2011-06-20 David S. Miller <davem@davemloft.net>
29110 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29112 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29114 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29115 (elf_irel): Use it.
29116 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29117 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29118 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29119 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29120 * sysdeps/x86_64/dl-irel.h: Likewise.
29122 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29123 * elf/dl-sym.c: Likewise.
29125 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29127 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29128 need to dereference resplen2.
29130 2011-06-14 Andreas Schwab <schwab@redhat.com>
29132 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29134 2011-06-15 Ulrich Drepper <drepper@gmail.com>
29136 * Makeconfig: Define vardbdir and inst_vardbdir.
29137 * nss/Makefile: Add rules to install db-Makefile.
29139 * nss/nss_db/db-XXX.c: Cleanup.
29141 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29142 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29144 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29145 * nss/makedb.c: Implement -g option to specify that value strings
29146 are generated and should not be added to table iterated over for
29148 * nss/nss_db/db-initgroups.c: New file.
29150 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29153 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29154 (internal_getgrouplist): Adjust to name change.
29155 Update use_initgroups_entry if this is not the first call.
29156 * nss/databases.def: Add initgroups entry.
29158 * nss/makedb.c (compute_tables): Check result of multiple hash table
29159 sizes to minimize maximum chain length.
29161 2011-06-14 Ulrich Drepper <drepper@gmail.com>
29163 * Versions.def: Add entry for libnss_db.
29164 * shlib-versions: Likewise.
29165 * nss/Makefile: Add rules to build libnss_db.
29166 * nss/Versions: Add libnss_db information. Organize libnss_files
29168 * nss/db-Makefile: Add gshadow support. Change rules for the new
29169 makedb progra. Some minor improvements to generate smaller files.
29170 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29172 * nss/makedb.c: ...here.
29173 Improve database format to be smaller and require less memory at
29175 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29177 * nss/nss_db/db-netgrp.c: Likewise.
29178 * nss/nss_db/db-open.c: Likewise.
29179 * nss/nss_files/flies-XXX.x: Adjust comments.
29180 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29181 * nss/nss_files/files-grp.c: Likewise.
29182 * nss/nss_files/files-hosts.c: Likewise.
29183 * nss/nss_files/files-network.c: Likewise.
29184 * nss/nss_files/files-proto.c: Likewise.
29185 * nss/nss_files/files-pwd.c: Likewise.
29186 * nss/nss_files/files-rpc.c: Likewise.
29187 * nss/nss_files/files-service.c: Likewise.
29188 * nss/nss_files/files-sgrp.c: Likewise.
29189 * nss/nss_files/files-spwd.c: Likewise.
29190 * nss/nss_db/db-alias.c: Removed.
29191 * nss/nss_db/dummy-db.h: Removed.
29193 2011-06-02 Ulrich Drepper <drepper@gmail.com>
29195 * nss/makedb.c: Rewritten to not use database library.
29196 * nss/Makefile: Update to build new makedb program.
29198 2011-06-14 Andreas Jaeger <aj@suse.de>
29200 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29201 memset declaration.
29203 2011-06-10 Andreas Schwab <schwab@redhat.com>
29205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29208 2011-06-10 Roland McGrath <roland@hack.frob.com>
29210 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29211 * elf/Makefile ($(objpfx)ld.so): Likewise.
29213 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29214 Don't list ld.so twice in dependencies.
29216 * posix/bug-regex31.c: Include <stdlib.h>.
29218 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29220 * nis/nss_compat/compat-spwd.c
29221 (getspent_next_nss_netgr): Remove unused variable.
29222 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29224 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29225 nonmembers" output to use the right array.
29227 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29229 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29231 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29232 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29233 * catgets/gencat.c (read_input_file): Likewise.
29234 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29236 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29237 variable definition inside #if's controlling its use.
29239 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29241 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29243 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29245 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29248 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29250 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29251 * configure: Regenerated.
29253 * Makerules: Revert last change.
29254 * elf/Makefile: Likewise.
29256 2011-06-09 Roland McGrath <roland@hack.frob.com>
29258 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29259 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29260 (reloc-link): Likewise.
29262 2011-06-09 Ulrich Drepper <drepper@gmail.com>
29264 * elf/Makefile: Add rules to build pldd.
29265 * elf/pldd.c: New file.
29266 * elf/pldd-xx.c: New file.
29268 2011-06-07 Ulrich Drepper <drepper@gmail.com>
29270 * version.h: Update for 2.15 development version.
29272 2011-06-07 David S. Miller <davem@davemloft.net>
29274 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29276 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29277 elf_machine_lazy_rel): Likewise.
29278 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29279 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29280 elf_machine_lazy_rel): Likewise.
29281 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29282 dl_hwcap via passed in argument.
29283 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29286 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29288 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29290 2011-06-06 Roland McGrath <roland@hack.frob.com>
29293 * manual/fdl-1.1.texi: New file, verbatim from:
29294 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29295 * manual/lgpl-2.1.texi: New file, verbatim from:
29296 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29297 * manual/Makefile (licenses): New variable, list those new file names.
29299 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29301 * manual/fdl.texi: File removed.
29302 * manual/lesser.texi: File removed.
29303 * manual/libc.texinfo (Copying, Documentation License):
29304 Use new @include file names, put @appendix directive before @include.
29306 2011-06-04 Jakub Jelinek <jakub@redhat.com>
29309 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29310 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29311 (mq_open): Add __NTH.
29313 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29316 Assume Intel Core i3/i5/i7 processor if AVX is available.
29318 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29320 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29323 2011-05-31 Andreas Schwab <schwab@redhat.com>
29325 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29326 memory. Use alloca_account. Fix memory leak when retrying.
29328 2011-05-31 Ulrich Drepper <drepper@gmail.com>
29330 * version.h (RELEASE): Bump for 2.14 release.
29331 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29333 * config.make.in (RANLIB): Remove entry.
29335 2011-05-30 Ulrich Drepper <drepper@gmail.com>
29337 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29338 (libc.pot): Work around missing support for .ksh extension in xgettext.
29341 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29342 if both request failed.
29343 (send_dg): In case of server errors clear resplen or *resplen2.
29346 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29347 when there are multiple maps.
29348 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29349 (_dl_fini): Remove test here.
29351 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29353 2011-05-29 Ulrich Drepper <drepper@gmail.com>
29356 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29357 bit from old_res_options.
29358 (gaih_inet): Likewise.
29361 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29364 * resolv/res_init.c (res_setoptions): Make the code more compact.
29367 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29371 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29373 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29376 * malloc/malloc.h: Declare malloc hook variables as volatile.
29378 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29382 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29383 raise in the comment.
29384 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29385 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29386 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29388 2011-05-28 Ulrich Drepper <drepper@gmail.com>
29391 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29392 grow the buffers more if it already has to be sufficient.
29393 (build_wcs_upper_buffer): Likewise.
29394 * posix/regexec.c (check_matching): Likewise.
29395 (clean_state_log_if_needed): Likewise.
29396 (extend_buffers): Don't enlarge buffers beyond size of the input
29398 Patches mostly by Emil Wojak <emil@wojak.eu>.
29399 * posix/bug-regex32.c: New file.
29400 * posix/Makefile (tests): Add bug-regex32.
29402 * locale/findlocale.c (_nl_find_locale): Return right away if
29403 _nl_explode_name failed.
29404 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29406 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29408 * debug/xtrace.sh: Unify messages.
29409 * malloc/memusage.sh: Likewise.
29412 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29413 time symbol from vDSO. Substitute with vsyscall if not available.
29414 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29417 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29418 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29419 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29420 Add sendmmsg and internal_sendmmsg.
29421 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29422 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29423 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29425 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29426 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29427 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29429 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29432 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29433 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29435 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29439 * iconvdata/Makefile (tests): Add bug-iconv9.
29440 * iconvdata/bug-iconv9.c: New file.
29442 2011-05-27 Andreas Schwab <schwab@redhat.com>
29445 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29447 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29449 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29450 (struct user_regs_struct): Change intcs field back to cs.
29452 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29454 * po/ja.po: Update from translation team.
29456 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29459 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29460 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29462 2011-05-20 Andreas Schwab <schwab@redhat.com>
29464 * stdlib/longlong.h: Update from GCC.
29466 2011-05-23 Andreas Schwab <schwab@redhat.com>
29468 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29470 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29471 Add parameter name.
29472 (__sysconf): Pass it down.
29474 2011-05-22 Ulrich Drepper <drepper@gmail.com>
29477 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29479 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29480 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29481 add in in __libc_use_alloca calls. Adjust callers.
29482 (glob): Use malloc in some situations.
29484 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29485 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29488 2011-05-21 Ulrich Drepper <drepper@gmail.com>
29490 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29491 and CLOCK_BOOTTIME_ALARM.
29494 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29497 * string/_strerror.c (__strerror_r): Print negative errors as signed
29501 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29502 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29503 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29505 * configure.in: Fix typo in redirection and correct removal of test
29506 files in two cases.
29509 * locale/setlocale.c (new_composite_name): Fix test to check for
29510 identical name of all categories.
29513 * libio/filedoalloc.c (local_isatty): New function.
29514 (_IO_file_doallocate): Use local_isatty.
29515 * stdio-common/perror.c (perror): In case a new stream is used
29516 forward the stream error.
29517 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29520 2011-05-20 Ulrich Drepper <drepper@gmail.com>
29523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29525 * include/alloca.h (extend_alloca_account): Define.
29528 * posix/regex.h: Fix comments with documentation of user-accessible
29529 fields after compilation and describe correct free'ing of pattern
29530 after re_compile_pattern.
29531 Patch by Reuben Thomas <rrt@sc3d.org>.
29533 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29535 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29536 and -mno-altivec to prevent the compiler from using Altivec and/or
29537 VSX instructions when the corresponding registers are not available.
29539 2011-05-19 Andreas Schwab <schwab@redhat.com>
29541 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29543 2011-05-19 Ulrich Drepper <drepper@gmail.com>
29545 * libio/freopen.c (freopen): Use __dup2, not dup2.
29546 * libio/freopen64.c (freopen64): Likewise.
29548 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29551 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29552 * math/Makefile (tests): Add test-powl.
29553 (CFLAGS-test-powl.c): Define.
29554 * math/test-powl.c: New file.
29556 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29558 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29560 2011-05-17 Ulrich Drepper <drepper@gmail.com>
29563 * iconvdata/gb18030.c: Update to GB18020-2005.
29565 2011-05-16 Ulrich Drepper <drepper@gmail.com>
29567 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29568 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29569 Patch by Aharon Robbins <arnold@skeeve.com>.
29572 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29576 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29577 through underflows.
29580 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29581 point to strings before performing equality test for error_one_per_line
29585 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29588 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29589 (struct user_fpregs_struct): Avoid __uint*_t types.
29592 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29593 symbol info. Use it instead of calling _dl_addr locally.
29594 (lock_and_info): New function.
29595 (tr_freehook): Call lock_and_info and pass symbol info as additional
29596 parameter to tr_where.
29597 (tr_mallochook): Likewise.
29598 (tr_reallochook): Likewise.
29599 (tr_memalignhook): Likewise.
29601 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29602 used and couldn't be at all thread-safe.
29604 2011-05-15 Ulrich Drepper <drepper@gmail.com>
29606 * libio/freopen.c (freopen): Don't close old file descriptor
29607 before the new one is opened. Instead dup the new file descriptor
29608 to the old one after the new stream is created.
29609 * libio/freopen64.c (freopen64): Likewise.
29610 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29611 * libio/fileops.c (_IO_new_file_close_it): Handle new
29612 _IO_FLAGS2_NOCLOSE flag.
29613 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29614 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29615 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29616 _IO_FLAGS2_NOCLOSE flag.
29617 * include/unistd.h: Add hidden_proto for dup3.
29618 Define __have_dup3.
29619 * io/dup3.c: Define hidden symbol.
29620 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29623 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29624 when an incomplete long option is used.
29625 * posix/tst-getopt_long1.c: New file.
29626 * posix/Makefile (tests): Add tst-getopt_long1.
29629 * scripts/config.guess: Update from autoconf-2.68.
29630 * scripts/config.sub: Likewise.
29633 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29635 (has_cpuclock): ...this. New function.
29636 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29637 macro here based on has_cpuclock code.
29640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29641 First byte (not low byte) is now always NUL.
29642 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29644 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29645 Use non-cancelable interfaces.
29648 * locale/iso-639.def: Add entry for Sorani.
29651 * include/stdlib.h: Move include protection to the right place.
29652 Define abort_msg_s. Declare __abort_msg with it.
29653 * stdlib/abort.c (__abort_msg): Adjust type.
29654 * assert/assert.c (__assert_fail_base): New function. Majority
29655 of code from __assert_fail. Allocate memory for __abort_msg with
29657 (__assert_fail): Now call __assert_fail_base.
29658 * assert/assert-perr.c: Remove bulk of implementation. Use
29659 __assert_fail_base.
29660 * include/assert.hL Declare __assert_fail_base.
29661 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29663 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29665 2011-05-14 Ulrich Drepper <drepper@gmail.com>
29669 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29670 until all modules are registered in the DTV.
29671 * elf/Makefile: Add rules to build and run tst-tls19.
29672 * elf/tst-tls19.c: New file.
29673 * elf/tst-tls19mod1.c: New file.
29674 * elf/tst-tls19mod2.c: New file.
29675 * elf/tst-tls19mod3.c: New file.
29676 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29679 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29683 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29684 two-byte sequence errors.
29685 * iconvdata/Makefile (tests): Add bug-iconv8.
29686 * iconvdata/bug-iconv8.c: New file.
29689 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29692 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29695 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29696 (dummy_getcfa): New function.
29697 (init): Get _Unwind_GetCFA address, use dummy if not found.
29698 (backtrace_helper): In recursion check, also check whether CFA changes.
29699 (__backtrace): Completely initialize arg.
29701 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29702 storing incomplete byte sequence in state object. Avoid testing for
29703 guaranteed too small input if we know there is enough data available.
29705 2011-05-11 Andreas Schwab <schwab@redhat.com>
29707 * Makeconfig (+link-pie): Indent.
29708 * Rules (binaries-pie): Define if $(have-fpie) and
29710 (binaries-shared): Also filter out $(binaries-pie).
29711 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29712 * nscd/Makefile (others-pie): Add nscd.
29713 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29714 ($(objpfx)nscd): Remove command override.
29715 * login/Makefile (others-pie): Add pt_chown.
29716 ($(objpfx)pt_chown): Remove command override.
29717 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29718 remove command overrides.
29720 2011-05-13 Ulrich Drepper <drepper@gmail.com>
29722 * libio/tst_putwc.c: Fix error messages.
29725 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29726 currently writing and seek to current position when not.
29727 * libio/Makefile (tests): Add bug-fclose1.
29728 * libio/bug-fclose1.c: New file.
29730 2011-05-12 Ulrich Drepper <drepper@gmail.com>
29733 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29734 don't set DF_1_NODELETE here.
29735 (do_lookup_x): When entering new entry test for copy relocation
29736 and if necessary set DF_1_NODELETE flag.
29737 * elf/tst-unique4.cc: New file.
29738 * elf/tst-unique4.h: New file.
29739 * elf/tst-unique4lib.cc: New file.
29740 * elf/Makefile: Add rules to build and run tst-unique4.
29741 Patch by Piotr Bury <pbury@goahead.com>.
29743 2011-05-11 Ulrich Drepper <drepper@gmail.com>
29746 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29749 * misc/mntent_r.c (addmntent): Flush the stream after the output
29752 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29753 (is_trusted_path_normalize): Skip initial colon. Append slash
29754 to empty buffer. Duplicate is_trusted_path code but allow
29755 constructed patch to be prefix.
29756 (is_dst): Allow $ORIGIN followed by /.
29757 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29758 Correct testing of result of is_trusted_path_normalize
29759 (decompose_rpath): Fix warning.
29761 2011-05-10 Ulrich Drepper <drepper@gmail.com>
29764 * grp/initgroups.c (internal_getgrouplist): When we found the service
29765 list through the initgroups entry in nsswitch.conf do not always
29766 continue on a successful lookup. Don't always use the
29767 __nss_group_database value if it is set.
29768 * nss/nsswitch.conf (initgroups): Change action for successful db
29769 lookup to continue for compatibility.
29771 2011-05-09 Ulrich Drepper <drepper@gmail.com>
29774 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29776 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29778 * iconvdata/tst-tables.sh: Likewise.
29779 * iconvdata/cp770.c: New file.
29780 * iconvdata/cp771.c: New file.
29781 * iconvdata/cp772.c: New file.
29782 * iconvdata/cp773.c: New file.
29783 * iconvdata/cp774.c: New file.
29784 * iconvdata/testdata/CP770: New file.
29785 * iconvdata/testdata/CP770..UTF8: New file.
29786 * iconvdata/testdata/CP771: New file.
29787 * iconvdata/testdata/CP771..UTF8: New file.
29788 * iconvdata/testdata/CP772: New file.
29789 * iconvdata/testdata/CP772..UTF8: New file.
29790 * iconvdata/testdata/CP773: New file.
29791 * iconvdata/testdata/CP773..UTF8: New file.
29792 * iconvdata/testdata/CP774: New file.
29793 * iconvdata/testdata/CP774..UTF8: New file.
29795 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29797 * iconvdata/gen-8bit-gap.sh: Likewise.
29798 * iconvdata/gen-8bit.sh: Likewise.
29800 * locale/iso-639.def: Add ary entry.
29803 * locale/C-translit.h.in: Add U20A1 transliteration.
29806 * locale/iso-639.def: Add wae entry.
29807 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29810 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29814 * locale/C-translit.h.in: Add entry for U20B9.
29815 Patch by pravin.d.s@gmail.com.
29817 2011-05-08 Ulrich Drepper <drepper@gmail.com>
29820 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29821 ENAMETOOLONG use generic getcwd.
29822 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29823 in rtld. Use *stat64.
29824 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29825 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29826 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29827 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29828 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29829 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29830 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29831 __fstatat64 macros.
29832 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29833 * dirent/rewinddir.c: Add libc_hidden_def.
29834 * sysdeps/mach/hurd/rewinddir.c: Likewise.
29835 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
29837 * include/dirent.h (__alloc_dir): Add flags parameter.
29838 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29839 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29841 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29842 from fdopendir if O_CLOEXEC is already set.
29844 2011-03-15 Alan Modra <amodra@gmail.com>
29846 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29847 l_tls_firstbyte_offset non-zero. Save padding offset in
29848 l_tls_firstbyte_offset for later use.
29849 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29850 freeing static tls block.
29852 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29854 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29855 where #ifdef was intended. The intent is to prevent ARG_MAX from
29856 being defined by the kernel headers.
29858 2011-05-07 Ulrich Drepper <drepper@gmail.com>
29861 * resolv/resolv.h: Define RES_NOTLDQUERY.
29862 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29863 no-tld-query and set RES_NOTLDQUERY.
29864 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29865 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29866 modern BIND to search name as TLD unless forbidden.
29868 2011-05-07 Petr Baudis <pasky@suse.cz>
29869 Ulrich Drepper <drepper@gmail.com>
29872 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29873 (is_trusted_path): ...to here.
29874 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29875 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29876 using is_trusted_path_normalize() in setuid scripts.
29878 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29880 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29881 __BEGIN/__END_DECLS.
29883 2011-05-06 Ulrich Drepper <drepper@gmail.com>
29885 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29886 NSS_STATUS_NOTFOUND if no record was found.
29888 2011-05-05 Andreas Schwab <schwab@redhat.com>
29890 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29891 (headers-not-in-tirpc): Remove rpc/netdb.h
29892 * resolv/netdb.h: Revert last change.
29894 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29896 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29897 circular dependency between libgcc.a and libc.a.
29899 2011-05-05 Andreas Schwab <schwab@redhat.com>
29901 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29902 * nis/Makefile: Don't install rpcsvc/*.
29903 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29904 instead of <rpc/types.h>.
29905 (MAXHOSTNAMELEN): Define.
29907 2011-05-03 Andreas Schwab <schwab@redhat.com>
29909 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29911 2011-04-28 Maciej Babinski <mbabinski@google.com>
29914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29915 gethostbyname4_r when IPv6 results are possible.
29917 2011-05-02 Ulrich Drepper <drepper@gmail.com>
29920 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29921 _PC_PIPE_BUF handling.
29923 2011-04-30 Bruno Haible <bruno@clisp.org>
29926 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29927 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29929 * inet/getnameinfo.c (getnameinfo): Likewise.
29931 2011-04-29 Ulrich Drepper <drepper@gmail.com>
29933 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29934 to groups setting in database lookup.
29935 * nss/nsswitch.conf: Add initgroups entry.
29937 2011-04-22 Ulrich Drepper <drepper@gmail.com>
29940 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29942 Patch by Eric Blake <eblake@redhat.com>.
29944 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29946 * sunrpc/Makefile (need-export-routines): Add svc_run.
29947 (routines): Remove svc_run.
29948 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29949 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29950 * sunrpc/svc_run.c (svc_run): Likewise.
29951 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29953 2011-04-21 Ulrich Drepper <drepper@gmail.com>
29955 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29956 problem in reallocation in last patch.
29958 2011-04-20 Ulrich Drepper <drepper@gmail.com>
29960 * sunrpc/Makefile: Move inclusion of Rules.
29962 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29964 * nss/nss_files/files-initgroups.c: New file.
29965 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29966 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29967 _nss_files_initgroups_dyn.
29969 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29971 * elf/elf.h (R_ARM_IRELATIVE): Define.
29973 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29975 * po/ru.po: Update from translation team.
29977 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29979 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29982 2011-02-06 Mike Frysinger <vapier@gentoo.org>
29985 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29986 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29987 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29988 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29989 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29991 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29993 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29995 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29996 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29997 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29999 2011-04-17 Ulrich Drepper <drepper@gmail.com>
30002 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30004 * stdlib/bug-getcontext.c: New file.
30005 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30007 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30009 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30010 instructions into .machine "z9-109".
30011 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30012 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30014 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30016 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30017 between environment variables and auxiliary vector.
30019 2011-04-16 Ulrich Drepper <drepper@gmail.com>
30021 * Makefile: Add rules to build linkobj/libc.so.
30022 * include/libc-symbols.h: Define libc_hidden_nolink.
30023 * include/rpc/auth.h: Mark functions which are to be hidden.
30024 * include/rpc/auth_des.h: Likewise.
30025 * include/rpc/auth_unix.h: Likewise.
30026 * include/rpc/clnt.h: Likewise.
30027 * include/rpc/des_crypt.h: Likewise.
30028 * include/rpc/key_prot.h: Likewise.
30029 * include/rpc/pmap_clnt.h: Likewise.
30030 * include/rpc/pmap_prot.h: Likewise.
30031 * include/rpc/pmap_rmt.h: Likewise.
30032 * include/rpc/rpc_msg.h: Likewise.
30033 * include/rpc/svc.h: Likewise.
30034 * include/rpc/svc_auth.h: Likewise.
30035 * include/rpc/xdr.h: Likewise.
30036 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30037 * nss/Makefile: Likewise.
30038 * sunrpc/Makefile: Don't install headers. Build library with normal
30039 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30040 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30041 for the compat linking library. Remove use of INTDEF/INTUSE.
30042 * sunrpc/auth_none.c: Likewise.
30043 * sunrpc/auth_unix.c: Likewise.
30044 * sunrpc/authdes_prot.c: Likewise.
30045 * sunrpc/authuxprot.c: Likewise.
30046 * sunrpc/clnt_gen.c: Likewise.
30047 * sunrpc/clnt_perr.c: Likewise.
30048 * sunrpc/clnt_raw.c: Likewise.
30049 * sunrpc/clnt_simp.c: Likewise.
30050 * sunrpc/clnt_tcp.c: Likewise.
30051 * sunrpc/clnt_udp.c: Likewise.
30052 * sunrpc/clnt_unix.c: Likewise.
30053 * sunrpc/des_crypt.c: Likewise.
30054 * sunrpc/des_soft.c: Likewise.
30055 * sunrpc/get_myaddr.c: Likewise.
30056 * sunrpc/key_call.c: Likewise.
30057 * sunrpc/key_prot.c: Likewise.
30058 * sunrpc/netname.c: Likewise.
30059 * sunrpc/pm_getmaps.c: Likewise.
30060 * sunrpc/pm_getport.c: Likewise.
30061 * sunrpc/pmap_clnt.c: Likewise.
30062 * sunrpc/pmap_prot.c: Likewise.
30063 * sunrpc/pmap_prot2.c: Likewise.
30064 * sunrpc/pmap_rmt.c: Likewise.
30065 * sunrpc/publickey.c: Likewise.
30066 * sunrpc/rpc_cmsg.c: Likewise.
30067 * sunrpc/rpc_common.c: Likewise.
30068 * sunrpc/rpc_dtable.c: Likewise.
30069 * sunrpc/rpc_prot.c: Likewise.
30070 * sunrpc/rpc_thread.c: Likewise.
30071 * sunrpc/rtime.c: Likewise.
30072 * sunrpc/svc.c: Likewise.
30073 * sunrpc/svc_auth.c: Likewise.
30074 * sunrpc/svc_authux.c: Likewise.
30075 * sunrpc/svc_raw.c: Likewise.
30076 * sunrpc/svc_run.c: Likewise.
30077 * sunrpc/svc_simple.c: Likewise.
30078 * sunrpc/svc_tcp.c: Likewise.
30079 * sunrpc/svc_udp.c: Likewise.
30080 * sunrpc/svc_unix.c: Likewise.
30081 * sunrpc/svcauth_des.c: Likewise.
30082 * sunrpc/xcrypt.c: Likewise.
30083 * sunrpc/xdr.c: Likewise.
30084 * sunrpc/xdr_array.c: Likewise.
30085 * sunrpc/xdr_float.c: Likewise.
30086 * sunrpc/xdr_intXX_t.c: Likewise.
30087 * sunrpc/xdr_mem.c: Likewise.
30088 * sunrpc/xdr_rec.c: Likewise.
30089 * sunrpc/xdr_ref.c: Likewise.
30090 * sunrpc/xdr_sizeof.c: Likewise.
30091 * sunrpc/xdr_stdio.c: Likewise.
30093 2011-04-10 Ulrich Drepper <drepper@gmail.com>
30096 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30097 * sysdeps/ia64/dl-tls.h: Likewise.
30098 * sysdeps/powerpc/dl-tls.h: Likewise.
30099 * sysdeps/s390/dl-tls.h: Likewise.
30100 * sysdeps/sh/dl-tls.h: Likewise.
30101 * sysdeps/sparc/dl-tls.h: Likewise.
30102 * sysdeps/x86_64/dl-tls.h: Likewise.
30103 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30105 2011-03-14 Andreas Schwab <schwab@redhat.com>
30107 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30108 rpath element also skip the following colon.
30109 (expand_dynamic_string_token): Add is_path parameter and pass
30110 down to DL_DST_REQUIRED and _dl_dst_substitute.
30111 (decompose_rpath): Call expand_dynamic_string_token with
30112 non-zero is_path. Ignore empty rpaths.
30113 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30116 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30121 2011-04-09 Ulrich Drepper <drepper@gmail.com>
30124 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30125 Patch by Filipe David Manana <fdmanana@apache.org>.
30127 2011-04-07 Andreas Schwab <schwab@redhat.com>
30129 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30130 Maintain aligned stack.
30131 (CHECK_RSP): Remove unused macro.
30133 2011-04-03 Ulrich Drepper <drepper@gmail.com>
30135 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30136 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30138 2011-04-02 Ulrich Drepper <drepper@gmail.com>
30140 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30142 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30144 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30147 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30148 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30149 * sysdeps/x86_64/memmove.c: New file.
30150 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30151 (memcpy): Renamed to ...
30152 (__new_memcpy): This.
30153 (memcpy): Provide GLIBC_2_14 memcpy.
30154 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30155 (memcpy): Provide GLIBC_2_2_5 memcpy.
30157 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30160 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30162 2011-03-30 Andreas Schwab <schwab@redhat.com>
30164 * misc/syncfs.c: New file.
30165 * misc/Makefile (routines): Add syncfs.
30166 * posix/unistd.h: Declare syncfs.
30167 * sysdeps/unix/syscalls.list: Add syncfs.
30169 2011-04-01 Andreas Schwab <schwab@redhat.com>
30171 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30173 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30174 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30176 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30177 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30178 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30179 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30181 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30183 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30184 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30185 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30186 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30187 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30189 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30191 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30192 sync_file_range.c with -fexceptions.
30193 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30194 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30195 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30196 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30197 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30198 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30199 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30200 sync_file_range as cancellation point
30201 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30202 now a wrapper around __call_sync_file_range with cancellation handling.
30203 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30204 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30205 function name to __call_sync_file_range.
30206 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30207 Add call_sync_file_range.
30209 2011-04-01 Andreas Schwab <schwab@redhat.com>
30211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30214 2011-04-01 Ulrich Drepper <drepper@gmail.com>
30216 * iconv/iconv.h: Fix typo in comment.
30217 * io/fcntl.h: Likewise.
30218 * libio/stdio.h: Likewise.
30219 * posix/spawn.h: Likewise.
30220 * posix/unistd.h: Likewise.
30221 * stdlib/stdlib.h: Likewise.
30222 * time/time.h: Likewise.
30223 * wcsmbs/wchar.h: Likewise.
30225 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30226 open_by_handle): Add.
30227 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30228 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30229 Augment a few comments.
30230 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30232 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30233 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30234 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30235 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30238 * io/fcntl.h (AT_EMPTY_PATH): Define.
30240 2011-03-30 Ulrich Drepper <drepper@gmail.com>
30242 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30243 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30244 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30246 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30247 * Versions.def: Add GLIBC_2.14.
30248 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30251 2011-03-22 Ulrich Drepper <drepper@gmail.com>
30253 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30255 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30257 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30260 * string/test-strncmp.c (do_page_test): New function.
30261 (check2): Likewise.
30262 (test_main): Call check2.
30263 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30265 2011-03-20 Ulrich Drepper <drepper@gmail.com>
30268 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30269 Handle cache information in CPU leaf 4.
30270 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30272 2011-03-18 Ulrich Drepper <drepper@gmail.com>
30275 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30276 character representation.
30277 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30279 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30281 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30282 END(__isnan) to END(__isnanf) to match function entry point/label
30283 EALIGN(__isnanf,...).
30285 2011-03-10 Jakub Jelinek <jakub@redhat.com>
30287 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30289 2011-03-10 Ulrich Drepper <drepper@gmail.com>
30292 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30293 copy from the symbol referenced in the relocation to initialize the
30295 Patch by Piotr Bury <pbury@goahead.com>.
30296 * elf/Makefile: Add rules to build and tst-unique3.
30297 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30298 * elf/tst-unique3.cc: New file.
30299 * elf/tst-unique3.h: New file.
30300 * elf/tst-unique3lib.cc: New file.
30301 * elf/tst-unique3lib2.cc: New file.
30303 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30305 2011-03-10 Mike Frysinger <vapier@gentoo.org>
30307 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30308 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30311 2011-03-06 Ulrich Drepper <drepper@gmail.com>
30313 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30314 to-be-loaded object along a path to loader is ld.so.
30316 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30317 Ulrich Drepper <drepper@gmail.com>
30319 * sysdeps/x86_64/memset.S: After aligning destination, code
30320 branches to different locations depending on the value of
30321 misalignment, when multiarch is enabled. Fix this.
30323 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30325 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30326 Set _x86_64_preferred_memory_instruction for AMD processsors.
30327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30328 Set bit_Prefer_SSE_for_memop for AMD processors.
30330 2011-03-04 Ulrich Drepper <drepper@gmail.com>
30332 * libio/fmemopen.c (fmemopen): Optimize a bit.
30334 2011-03-03 Andreas Schwab <schwab@redhat.com>
30336 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30338 2011-03-03 Roland McGrath <roland@redhat.com>
30340 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30342 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30344 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30345 __bzero_ultra1 instead of __memset_ultra1.
30347 2011-02-23 Andreas Schwab <schwab@redhat.com>
30348 Ulrich Drepper <drepper@gmail.com>
30351 * include/link.h (struct link_map): Add l_orig_initfini.
30352 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30353 returning unsuccessfully.
30354 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30355 close of a file loaded at startup, restore the original l_initfini
30357 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30358 list, store the pointer.
30359 * elf/Makefile ($(objpfx)noload-mem): New rule.
30360 (noload-ENV): Define.
30361 (tests): Add $(objpfx)noload-mem.
30362 * elf/noload.c: Include <memcheck.h>.
30363 (main): Call mtrace. Close all opened handles.
30365 2011-02-17 Andreas Schwab <schwab@redhat.com>
30368 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30369 dependencies are missing.
30371 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30373 Fix __if_freereq crash: Unlike the generic version which uses free,
30375 * sysdeps/mach/hurd/ifreq.h: New file.
30377 2011-01-27 Petr Baudis <pasky@suse.cz>
30378 Ulrich Drepper <drepper@gmail.com>
30381 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30382 to extend_alloca().
30383 * stdio-common/bug23.c: New file.
30384 * stdio-common/Makefile (tests): Add bug23.
30386 2010-09-28 Andreas Schwab <schwab@redhat.com>
30387 Ulrich Drepper <drepper@gmail.com>
30390 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30391 before performing relro protection. At old place add assertion
30392 to make sure nothing changed.
30394 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30395 Glauber de Oliveira Costa <glommer@gmail.com>
30397 * elf/elf.h: Add new ARM TLS relocs.
30399 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30402 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30404 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30406 * sysdeps/wordsize-64/tst-writev.c: New file.
30408 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30410 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30411 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30412 insns in _dl_start to prevent a TOC reference before relocs are
30415 2011-02-15 Ulrich Drepper <drepper@gmail.com>
30418 * Makeconfig: Remove RANLIB definition.
30419 * Makerules: Don't use RANLIB.
30420 * aclocal.m4: Remove ranlib test.
30421 * configure.in: No need to check for ranlib.
30422 * elf/rtld-Rules: Don't use RANLIB.
30424 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30426 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30428 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30429 inclusion protection macro.
30431 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30432 SIGRTMIN and SIGRTMAX and print information in that case only when
30433 SIGRTMIN is defined.
30435 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30437 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30438 arginfo fn returning -1.
30440 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30441 and thousands string is zero terminated.
30443 2011-02-03 Andreas Schwab <schwab@redhat.com>
30445 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30446 sysdeps/unix/sysv/linux/bits/socket.h.
30448 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30450 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30451 (__CPU_COUNT): Remove old macros.
30452 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30453 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30454 (__CPU_ALLOC, __CPU_FREE): Add macros.
30455 (__sched_cpualloc, __sched_cpufree): Add declarations.
30457 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30459 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30460 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30461 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30462 (readdhstai): Return value of addhstaiX call.
30463 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30464 (addgrbyX): Return value returned by cache_addgr.
30465 (readdgrbyname): Return value returned by addgrbyX.
30466 (readdgrbygid): Likewise.
30467 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30468 (addpwbyX): Return value returned by cache_addpw.
30469 (readdpwbyname): Return value returned by addhstbyX.
30470 (readdpwbyuid): Likewise.
30471 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30472 (addservbyX): Return value returned by cache_addserv.
30473 (readdservbyname): Return value returned by addservbyX:
30474 (readdservbyport): Likewise.
30475 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30476 (addhstbyX): Return value returned by cache_addhst.
30477 (readdhstbyname): Return value returned by addhstbyX.
30478 (readdhstbyaddr): Likewise.
30479 (readdhstbynamev6): Likewise.
30480 (readdhstbyaddrv6): Likewise.
30481 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30482 (readdinitgroups): Return value returned by addinitgroupsX.
30483 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30484 (prune_cache): Keep track of timeout value of re-added entries.
30485 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30486 * nscd/nscd.h: Adjust prototypes of readd* functions.
30488 2011-02-04 Roland McGrath <roland@redhat.com>
30490 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30491 (nis_stats): Likewise.
30492 * nis/nis_modify.c (nis_modify): Likewise.
30493 * nis/nis_remove.c (nis_remove): Likewise.
30494 * nis/nis_add.c (nis_add): Likewise.
30496 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30498 * posix/fnmatch_loop.c: Add some consts.
30500 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30502 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30505 * config.make.in (config-cflags-novzeroupper): Define.
30506 * configure.in: Substitute libc_cv_cc_novzeroupper.
30507 * elf/Makefile (AVX-CFLAGS): Define.
30508 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30509 (CFLAGS-tst-auditmod4a.c): Likewise.
30510 (CFLAGS-tst-auditmod4b.c): Likewise.
30511 (CFLAGS-tst-auditmod6b.c): Likewise.
30512 (CFLAGS-tst-auditmod6c.c): Likewise.
30513 (CFLAGS-tst-auditmod7b.c): Likewise.
30514 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30516 2011-02-02 Ulrich Drepper <drepper@gmail.com>
30518 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30519 function to the callback.
30520 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30522 2011-02-02 Andreas Schwab <schwab@redhat.com>
30524 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30527 2011-01-19 Ulrich Drepper <drepper@gmail.com>
30530 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30532 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30534 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30537 * elf/Makefile: Add rules to build and run new test.
30538 * elf/tst-initorder.c: New file.
30539 * elf/tst-initorder.exp: New file.
30540 * elf/tst-initordera1.c: New file.
30541 * elf/tst-initordera2.c: New file.
30542 * elf/tst-initordera3.c: New file.
30543 * elf/tst-initordera4.c: New file.
30544 * elf/tst-initorderb1.c: New file.
30545 * elf/tst-initorderb2.c: New file.
30546 * elf/tst-order-a1.c: New file.
30547 * elf/tst-order-a2.c: New file.
30548 * elf/tst-order-a3.c: New file.
30549 * elf/tst-order-a4.c: New file.
30550 * elf/tst-order-b1.c: New file.
30551 * elf/tst-order-b2.c: New file.
30552 * elf/tst-order-main.c: New file.
30553 New test case by George Gensure <werkt0@gmail.com>.
30555 2010-10-01 Andreas Schwab <schwab@redhat.com>
30557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30558 decoding ACE if AI_CANONIDN.
30560 2011-01-18 Ulrich Drepper <drepper@gmail.com>
30562 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30564 2011-01-17 Ulrich Drepper <drepper@gmail.com>
30566 * version.h (RELEASE): Bump for 2.13 release.
30567 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30569 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30571 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30573 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30574 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30575 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30576 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30577 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30578 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30580 * posix/getconf.c: Update copyright year.
30581 * catgets/gencat.c: Likewise.
30582 * csu/version.c: Likewise.
30583 * debug/catchsegv.sh: Likewise.
30584 * debug/xtrace.sh: Likewise.
30585 * elf/ldconfig.c: Likewise.
30586 * elf/ldd.bash.in: Likewise.
30587 * elf/sprof.c (print_version): Likewise.
30588 * iconv/iconv_prog.c: Likewise.
30589 * iconv/iconvconfig.c: Likewise.
30590 * locale/programs/locale.c: Likewise.
30591 * locale/programs/localedef.c: Likewise.
30592 * malloc/memusage.sh: Likewise.
30593 * malloc/mtrace.pl: Likewise.
30594 * nscd/nscd.c (print_version): Likewise.
30595 * nss/getent.c: Likewise.
30597 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30598 PF_CAIF, and PF_ALG.
30599 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30601 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30603 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30604 (modules-names): Use them.
30605 (ifunc-test-modules, ifunc-pie-tests): Define.
30606 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30607 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30608 (test-extras): Likewise.
30609 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30610 $(compile-command.c).
30611 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30612 (all-built-dso): Define.
30613 (check-textrel.out, check-execstack.out): Depend on it.
30615 * configure.in: Don't override --enable-multi-arch.
30617 2011-01-15 Ulrich Drepper <drepper@gmail.com>
30620 * nscd/hstcache.c (tryagain): Define.
30621 (cache_addhst): Return tryagain not notfound for temporary errors.
30622 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30625 2011-01-14 Ulrich Drepper <drepper@gmail.com>
30628 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30629 to make the syscall.
30630 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30633 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30634 and fall back to matching as normal character if the string ends before
30635 the matching ']' is found. This is what POSIX requires.
30636 * posix/testfnm.c: Adjust test result.
30637 * posix/globtest.sh: Adjust test result. Add new test.
30638 * posix/tst-fnmatch.input: Likewise.
30639 * posix/tst-fnmatch2.c: Add new test.
30641 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30643 * elf/Makefile (check-execstack): Revert last change. Depend on
30645 (check-execstack.h): New target.
30646 (generated): Add check-execstack.h.
30647 * elf/check-execstack.c: Include "check-execstack.h".
30648 (main): Revert last change.
30649 (handle_file): Return zero if GNU_STACK is absent and
30650 DEFAULT_STACK_PERMS doesn't include PF_X.
30652 2011-01-13 Ulrich Drepper <drepper@gmail.com>
30654 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30655 in child fails because the descriptor is already closed.
30656 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30657 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30658 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30661 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30665 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30666 temporary buffer used to handle multi lookups locally.
30667 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30669 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30671 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30674 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30676 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30677 alignment for SSE2.
30679 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30682 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30683 characters. When rounding increased number of integer digits recompute
30685 * stdio-common/tst-grouping.c: New file.
30686 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30688 2011-01-09 Ulrich Drepper <drepper@gmail.com>
30690 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30691 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30693 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30695 * bits/select.h: Likewise.
30697 2011-01-08 Ulrich Drepper <drepper@gmail.com>
30699 * po/ja.po: Update from translation team.
30701 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
30704 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30705 implementation just like for lxstat, fxstatat, et al.
30707 2010-12-27 Jim Meyering <meyering@redhat.com>
30710 * posix/regexec.c (build_trtable): Return failure indication upon
30711 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30713 2010-12-25 Ulrich Drepper <drepper@gmail.com>
30716 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30717 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30718 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30719 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30722 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30725 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30726 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30728 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30730 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30731 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30732 script has SORT_BY_INIT_PRIORITY.
30733 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30734 NO_CTORS_DTORS_SECTIONS is defined.
30735 * elf/soinit.c: Likewise.
30736 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30737 NO_CTORS_DTORS_SECTIONS is defined.
30738 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30739 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30740 * sysdeps/sh/init-first.c: Likewise.
30741 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30743 2010-12-24 Ulrich Drepper <drepper@gmail.com>
30745 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30746 always use the slow path.
30748 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30750 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30751 similar rule which adds the sysdep directories to the header search in
30752 order to pick up the correct platform stackinfo.h.
30753 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30754 perform test if it is, otherwise return successfully without testing.
30755 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30756 DEFAULT_STACK_PERMS define in stackinfo.h.
30757 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30758 defined in stackinfo.h.
30759 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30760 DEFAULT_STACK_PERMS defined in stackinfo.h.
30761 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30762 * sysdeps/ia64/stackinfo.h: Likewise.
30763 * sysdeps/s390/stackinfo.h: Likewise.
30764 * sysdeps/sh/stackinfo.h: Likewise.
30765 * sysdeps/sparc/stackinfo.h: Likewise.
30766 * sysdeps/x86_64/stackinfo.h: Likewise.
30767 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30768 PF_X for powerpc64. Retain PF_X for powerpc32.
30770 2010-12-19 Ulrich Drepper <drepper@gmail.com>
30772 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30774 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30775 GETDENTS_64BIT_ALIGNED.
30777 2010-12-14 Ulrich Drepper <dreper@gmail.com>
30779 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30781 2010-12-10 Andreas Schwab <schwab@redhat.com>
30783 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30786 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30787 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30789 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30790 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30792 2010-12-09 Ulrich Drepper <drepper@gmail.com>
30795 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30798 2010-12-09 Jakub Jelinek <jakub@redhat.com>
30800 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30802 2010-12-03 Ulrich Drepper <drepper@gmail.com>
30804 * po/it.po: Update from translation team.
30806 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30808 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30811 2010-11-30 Ulrich Drepper <drepper@gmail.com>
30813 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30815 2010-11-24 Andreas Schwab <schwab@redhat.com>
30817 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30819 (gaih_getanswer_slice): Likewise.
30821 2010-10-20 Jakub Jelinek <jakub@redhat.com>
30823 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30825 2010-05-31 Petr Baudis <pasky@suse.cz>
30828 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30829 silently even in the chroot mode.
30831 2010-11-22 Ulrich Drepper <drepper@gmail.com>
30833 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30834 last patch a bit. Pretty printing
30836 2010-05-31 Petr Baudis <pasky@suse.cz>
30839 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30840 initialization of skip_initgroups_dyn.
30842 2010-11-19 Ulrich Drepper <drepper@gmail.com>
30844 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30845 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30847 2010-11-16 Ulrich Drepper <drepper@gmail.com>
30849 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30851 2010-11-11 Andreas Schwab <schwab@redhat.com>
30853 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30854 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30855 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30856 ($(objpfx)tst-fnmatch-mem): New rule.
30857 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30858 * posix/tst-fnmatch.c (main): Call mtrace.
30860 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30863 Support Intel processor model 6 and model 0x2c.
30865 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
30867 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30870 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30873 * string/test-strncasecmp.c (check_result): New function.
30874 (do_one_test): Use it.
30875 (check1): New function.
30876 (test_main): Use it.
30877 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30878 Support strcasecmp and strncasecmp.
30880 2010-11-08 Ulrich Drepper <drepper@gmail.com>
30883 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30884 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30886 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30888 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30890 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30892 * sysdeps/x86_64/multiarch/bzero.S: New file.
30893 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30894 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30895 * sysdeps/x86_64/multiarch/memset.S: New file.
30896 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30898 Set bit_Prefer_SSE_for_memop for Intel processors.
30899 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30901 (index_Prefer_SSE_for_memop): Define.
30902 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30904 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
30906 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30907 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30909 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30912 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30913 (__x86_64_raw_data_cache_size_half): Likewise.
30914 (__x86_64_raw_shared_cache_size): Likewise.
30915 (__x86_64_raw_shared_cache_size_half): Likewise.
30917 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30918 (__x86_64_raw_data_cache_size_half): Likewise.
30919 (__x86_64_raw_shared_cache_size): Likewise.
30920 (__x86_64_raw_shared_cache_size_half): Likewise.
30921 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30922 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30923 and __x86_64_raw_shared_cache_size_half. Round
30924 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30925 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30926 to multiple of 256 bytes.
30928 2010-11-03 Ulrich Drepper <drepper@gmail.com>
30931 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30932 of inacessible symlinks. Verify result of symlink before returning it.
30933 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30934 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30936 2010-10-28 Erich Ritz <erichritz@gmail.com>
30938 * math/math.h (isinf): Fix typo in comment.
30940 2010-11-01 Ulrich Drepper <drepper@gmail.com>
30942 * po/da.po: Update from translation team.
30944 2010-10-26 Ulrich Drepper <drepper@gmail.com>
30946 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30947 is added to the list.
30949 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30950 Ulrich Drepper <drepper@gmail.com>
30952 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30953 the global list here. Move code to...
30954 (_dl_add_to_namespace_list): ...here. New function.
30955 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30956 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30957 * elf/dl-load.c (lose): Don't remove the element from the list.
30958 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30959 (_dl_map_object): Likewise.
30961 2010-10-25 Ulrich Drepper <drepper@gmail.com>
30964 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30965 into all bytes of SSE register.
30966 Patch by Richard Li <richardpku@gmail.com>.
30968 2010-10-24 Ulrich Drepper <drepper@gmail.com>
30971 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30974 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30976 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30977 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30978 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30979 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30984 2010-10-22 Andreas Schwab <schwab@redhat.com>
30986 * include/dlfcn.h (__RTLD_SECURE): Define.
30987 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30988 mode & __RTLD_SECURE instead.
30989 (open_path): Rename preloaded parameter to secure.
30990 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30991 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30992 * elf/dl-deps.c (openaux): Likewise.
30993 * elf/rtld.c (struct map_args): Remove is_preloaded.
30994 (map_doit): Don't use it.
30995 (dl_main): Likewise.
30996 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30997 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30999 2010-09-09 Andreas Schwab <schwab@redhat.com>
31001 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31002 (sysd-rules-targets): Remove duplicates.
31003 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31004 rtld-%.$o dependency.
31006 2010-10-18 Andreas Schwab <schwab@redhat.com>
31008 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31009 _dl_map_object do it.
31011 2010-10-19 Ulrich Drepper <drepper@gmail.com>
31013 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31014 fast fma builtins, define the macros in the C99 standard.
31015 (FP_FAST_FMAF): Likewise.
31016 (FP_FAST_FMAL): Likewise.
31017 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31019 * bits/mathdef.h: Update copyright year.
31020 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31022 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31024 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31025 builtins, define the macros in the C99 standard.
31026 (FP_FAST_FMAF): Likewise.
31027 (FP_FAST_FMAL): Likewise.
31028 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31030 (FP_FAST_FMAF): Likewise.
31032 2010-10-15 Jakub Jelinek <jakub@redhat.com>
31035 * math/libm-test.inc (fma_test): Some new testcases.
31036 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31037 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31038 y and infinite z. Do multiplication by C already in long double.
31039 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31040 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31041 y and infinite z. Do bitwise or of inexact bit into u.d.
31042 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31043 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31044 * sysdeps/i386/fpu/s_fma.S: Removed.
31045 * sysdeps/i386/fpu/s_fmal.S: Removed.
31047 2010-10-16 Jakub Jelinek <jakub@redhat.com>
31050 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31051 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31052 computation is not scheduled after fetestexcept. Fix value
31053 of minimum denormal long double.
31055 2010-10-14 Jakub Jelinek <jakub@redhat.com>
31058 * math/libm-test.inc (fma_test): Add some more tests.
31059 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31062 2010-10-15 Andreas Schwab <schwab@redhat.com>
31064 * scripts/data/localplt-s390-linux-gnu.data: New file.
31065 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31067 2010-10-13 Jakub Jelinek <jakub@redhat.com>
31070 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31071 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31073 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31075 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31076 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31077 if one of x and y is very large and the other is subnormal.
31078 * sysdeps/s390/fpu/s_fmaf.c: New file.
31079 * sysdeps/s390/fpu/s_fma.c: New file.
31080 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31081 * sysdeps/powerpc/fpu/s_fma.S: New file.
31082 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31083 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31084 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31086 2010-10-12 Jakub Jelinek <jakub@redhat.com>
31089 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31091 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31092 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31093 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31094 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31095 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31096 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31097 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31099 2010-10-12 Ulrich Drepper <drepper@redhat.com>
31102 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31103 * posix/bug-regex31.input: Add test case.
31105 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31107 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31108 * posix/bug-regex31.input: New file.
31111 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31112 (parse_sub_exp): Fix last change, use postorder.
31114 * posix/bug-regex31.c: New file.
31115 * posix/Makefile: Add rules to build and run bug-regex31.
31117 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31120 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31123 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31124 to have entries in sys_siglist.
31127 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31130 2010-10-07 Jakub Jelinek <jakub@redhat.com>
31133 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31134 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31135 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31136 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31137 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31138 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31139 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31140 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31141 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31142 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31143 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31144 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31145 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31146 * math/ftestexcept.c (fetestexcept): Likewise.
31147 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31148 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31149 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31150 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31151 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31152 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31153 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31155 2010-10-11 Ulrich Drepper <drepper@gmail.com>
31158 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31161 2010-10-06 Ulrich Drepper <drepper@gmail.com>
31163 * string/bug-strstr1.c: New file.
31164 * string/Makefile: Add rules to build and run bug-strstr1.
31166 2010-10-05 Eric Blake <eblake@redhat.com>
31169 * string/str-two-way.h (two_way_long_needle): Always clear memory
31170 when skipping input due to the shift table.
31172 2010-10-03 Ulrich Drepper <drepper@gmail.com>
31175 * malloc/mcheck.c: Handle large requests.
31178 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31179 for strncmp and strncasecmp.
31180 * string/stratcliff.c: Add tests for strcmp and strncmp.
31181 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31183 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31185 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31188 2010-09-30 Andreas Jaeger <aj@suse.de>
31190 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31191 (CGROUP_SUPER_MAGIC): Define.
31192 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31193 Handle btrfs and cgroup file systems.
31194 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31197 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
31199 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31200 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31202 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31205 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31206 trying to locate the ELF header.
31208 2010-09-27 Andreas Schwab <schwab@redhat.com>
31211 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31212 Mask out sign-bit copies when constructing f_fsid.
31214 2010-09-24 Petr Baudis <pasky@suse.cz>
31216 * debug/stack_chk_fail_local.c: Add missing licence exception.
31217 * debug/warning-nop.c: Likewise.
31219 2010-09-15 Joseph Myers <joseph@codesourcery.com>
31221 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31222 implementing getdents64 using getdents syscall, set d_type if
31223 __ASSUME_GETDENTS32_D_TYPE.
31225 2010-09-16 Andreas Schwab <schwab@redhat.com>
31227 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31228 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31230 2010-09-21 Ulrich Drepper <drepper@redhat.com>
31233 * posix/unistd.h: Undo change of feature selection for ftruncate from
31236 2010-09-20 Ulrich Drepper <drepper@redhat.com>
31238 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31241 2010-09-20 Andreas Schwab <schwab@redhat.com>
31243 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31245 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31247 2010-09-14 Andreas Schwab <schwab@redhat.com>
31249 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31250 variables after CHECK_SP call.
31251 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31253 2010-09-13 Andreas Schwab <schwab@redhat.com>
31254 Ulrich Drepper <drepper@redhat.com>
31256 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31257 re-relocationg ld.so.
31258 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31259 _dl_init_paths call.
31260 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31263 2010-09-14 Ulrich Drepper <drepper@redhat.com>
31265 * resolv/res_init.c (__res_vinit): Count the default server we added.
31267 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31268 Ulrich Drepper <drepper@redhat.com>
31271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31272 (____longjmp_chk): Use %ebx for saving value across system call.
31275 2010-09-06 Andreas Schwab <schwab@redhat.com>
31277 * manual/Makefile: Don't mix pattern rules with normal rules.
31279 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31281 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31283 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31284 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31285 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31286 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31287 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31290 2010-09-04 Ulrich Drepper <drepper@redhat.com>
31293 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31294 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31296 2010-09-02 Ulrich Drepper <drepper@redhat.com>
31298 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31299 * sysdeps/x86_64/addmul_1.S: Likewise.
31300 * sysdeps/x86_64/lshift.S: Likewise.
31301 * sysdeps/x86_64/mul_1.S: Likewise.
31302 * sysdeps/x86_64/rshift.S: Likewise.
31303 * sysdeps/x86_64/sub_n.S: Likewise.
31304 * sysdeps/x86_64/submul_1.S: Likewise.
31306 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31308 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31309 Define __sched_param instead of SCHED_* and sched_param when
31310 <bits/sched.h> is included with __need_schedparam defined.
31311 * bits/sched.h [__need_schedparam]
31312 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31313 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31314 (__defined_schedparam): Define to 1.
31315 (__sched_param): New structure, identical to sched_param.
31316 (__need_schedparam): Undefine.
31318 2010-08-31 Mike Frysinger <vapier@gentoo.org>
31320 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31321 (epoll_create1): Declare.
31323 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31325 2010-08-31 Andreas Schwab <schwab@redhat.com>
31328 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31329 shifting retval into place.
31331 2010-09-01 Ulrich Drepper <drepper@redhat.com>
31333 * nis/rpcsvc/nis.h: Update copyright notice.
31334 * nis/rpcsvc/nis.x: Likewise.
31335 * nis/rpcsvc/nis_callback.h: Likewise.
31336 * nis/rpcsvc/nis_callback.x: Likewise.
31337 * nis/rpcsvc/nis_object.x: Likewise.
31338 * nis/rpcsvc/nis_tags.h: Likewise.
31339 * nis/rpcsvc/yp.h: Likewise.
31340 * nis/rpcsvc/yp.x: Likewise.
31341 * nis/rpcsvc/ypupd.h: Likewise.
31342 * nis/yp_xdr.c: Likewise.
31343 * nis/ypupdate_xdr.c: Likewise.
31345 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31346 mainly the body of pmap_getport. Add parameters to specify timeouts.
31347 (pmap_getport): Use __libc_rpc_getport.
31348 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31349 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31350 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31352 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31357 2010-08-27 Roland McGrath <roland@redhat.com>
31359 * sysdeps/i386/i686/multiarch/Makefile
31360 (CFLAGS-varshift.c): New variable.
31362 2010-08-27 Ulrich Drepper <drepper@redhat.com>
31364 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31365 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31367 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31369 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31371 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31373 * sysdeps/x86_64/strlen.S: Unroll the loop.
31374 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31375 strlen-sse2 strlen-sse2-bsf.
31376 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31377 __strlen_no_bsf if bit_Slow_BSF is set.
31378 (__strlen_sse42): Removed.
31379 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31380 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31382 2010-08-25 Roland McGrath <roland@redhat.com>
31384 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31385 * sysdeps/x86_64/multiarch/varshift.c: New file.
31386 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31387 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31388 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31389 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31391 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31394 strlen-sse2 strlen-sse2-bsf.
31395 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31396 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31397 (__strlen_sse2): Removed.
31398 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31399 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31401 bit_Slow_BSF for Atom.
31402 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31403 (index_Slow_BSF): Define.
31404 (HAS_SLOW_BSF): Define.
31406 2010-08-25 Ulrich Drepper <drepper@redhat.com>
31409 * resolv/res_init.c (__res_vinit): When no server address at all
31410 is given default to loopback.
31412 2010-08-24 Roland McGrath <roland@redhat.com>
31414 * configure.in: Remove config-name.h generation.
31415 * configure: Regenerated.
31416 * config-name.in: File removed.
31417 * scripts/config-uname.sh: New file.
31418 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31419 ($(objdir)config-name.h): New target.
31421 * sunrpc/rpc_parse.h: Avoid nested comment.
31423 2010-08-24 Richard Henderson <rth@redhat.com>
31424 Ulrich Drepper <drepper@redhat.com>
31425 H.J. Lu <hongjiu.lu@intel.com>
31427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31429 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31430 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31431 _mm_alignr_epi8 with _mm_loadu_si128.
31432 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31433 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31434 (__m128i_shift_right): Removed.
31435 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31436 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31437 * sysdeps/x86_64/multiarch/varshift.h: New file.
31438 * sysdeps/x86_64/multiarch/varshift.S: New file.
31440 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31442 * configure.in: Move assembler checks to before sysdep dir checking.
31444 2010-08-20 Petr Baudis <pasky@suse.cz>
31446 * LICENSES: Sync the sunrpc license.
31448 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31450 * sunrpc/auth_des.c: Update copyright notice once again.
31451 * sunrpc/auth_none.c: Likewise.
31452 * sunrpc/auth_unix.c: Likewise.
31453 * sunrpc/authdes_prot.c: Likewise.
31454 * sunrpc/authuxprot.c: Likewise.
31455 * sunrpc/bindrsvprt.c: Likewise.
31456 * sunrpc/clnt_gen.c: Likewise.
31457 * sunrpc/clnt_perr.c: Likewise.
31458 * sunrpc/clnt_raw.c: Likewise.
31459 * sunrpc/clnt_simp.c: Likewise.
31460 * sunrpc/clnt_tcp.c: Likewise.
31461 * sunrpc/clnt_udp.c: Likewise.
31462 * sunrpc/clnt_unix.c: Likewise.
31463 * sunrpc/des_crypt.c: Likewise.
31464 * sunrpc/des_soft.c: Likewise.
31465 * sunrpc/get_myaddr.c: Likewise.
31466 * sunrpc/getrpcport.c: Likewise.
31467 * sunrpc/key_call.c: Likewise.
31468 * sunrpc/key_prot.c: Likewise.
31469 * sunrpc/openchild.c: Likewise.
31470 * sunrpc/pm_getmaps.c: Likewise.
31471 * sunrpc/pm_getport.c: Likewise.
31472 * sunrpc/pmap_clnt.c: Likewise.
31473 * sunrpc/pmap_prot.c: Likewise.
31474 * sunrpc/pmap_prot2.c: Likewise.
31475 * sunrpc/pmap_rmt.c: Likewise.
31476 * sunrpc/rpc/auth.h: Likewise.
31477 * sunrpc/rpc/auth_unix.h: Likewise.
31478 * sunrpc/rpc/clnt.h: Likewise.
31479 * sunrpc/rpc/des_crypt.h: Likewise.
31480 * sunrpc/rpc/key_prot.h: Likewise.
31481 * sunrpc/rpc/netdb.h: Likewise.
31482 * sunrpc/rpc/pmap_clnt.h: Likewise.
31483 * sunrpc/rpc/pmap_prot.h: Likewise.
31484 * sunrpc/rpc/pmap_rmt.h: Likewise.
31485 * sunrpc/rpc/rpc.h: Likewise.
31486 * sunrpc/rpc/rpc_des.h: Likewise.
31487 * sunrpc/rpc/rpc_msg.h: Likewise.
31488 * sunrpc/rpc/svc.h: Likewise.
31489 * sunrpc/rpc/svc_auth.h: Likewise.
31490 * sunrpc/rpc/types.h: Likewise.
31491 * sunrpc/rpc/xdr.h: Likewise.
31492 * sunrpc/rpc_clntout.c: Likewise.
31493 * sunrpc/rpc_cmsg.c: Likewise.
31494 * sunrpc/rpc_common.c: Likewise.
31495 * sunrpc/rpc_cout.c: Likewise.
31496 * sunrpc/rpc_dtable.c: Likewise.
31497 * sunrpc/rpc_hout.c: Likewise.
31498 * sunrpc/rpc_main.c: Likewise.
31499 * sunrpc/rpc_parse.c: Likewise.
31500 * sunrpc/rpc_parse.h: Likewise.
31501 * sunrpc/rpc_prot.c: Likewise.
31502 * sunrpc/rpc_sample.c: Likewise.
31503 * sunrpc/rpc_scan.c: Likewise.
31504 * sunrpc/rpc_scan.h: Likewise.
31505 * sunrpc/rpc_svcout.c: Likewise.
31506 * sunrpc/rpc_tblout.c: Likewise.
31507 * sunrpc/rpc_util.c: Likewise.
31508 * sunrpc/rpc_util.h: Likewise.
31509 * sunrpc/rpcinfo.c: Likewise.
31510 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31511 * sunrpc/rpcsvc/key_prot.x: Likewise.
31512 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31513 * sunrpc/rpcsvc/mount.x: Likewise.
31514 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31515 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31516 * sunrpc/rpcsvc/rex.x: Likewise.
31517 * sunrpc/rpcsvc/rstat.x: Likewise.
31518 * sunrpc/rpcsvc/rusers.x: Likewise.
31519 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31520 * sunrpc/rpcsvc/spray.x: Likewise.
31521 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31522 * sunrpc/rtime.c: Likewise.
31523 * sunrpc/svc.c: Likewise.
31524 * sunrpc/svc_auth.c: Likewise.
31525 * sunrpc/svc_authux.c: Likewise.
31526 * sunrpc/svc_raw.c: Likewise.
31527 * sunrpc/svc_run.c: Likewise.
31528 * sunrpc/svc_simple.c: Likewise.
31529 * sunrpc/svc_tcp.c: Likewise.
31530 * sunrpc/svc_udp.c: Likewise.
31531 * sunrpc/svc_unix.c: Likewise.
31532 * sunrpc/svcauth_des.c: Likewise.
31533 * sunrpc/xcrypt.c: Likewise.
31534 * sunrpc/xdr.c: Likewise.
31535 * sunrpc/xdr_array.c: Likewise.
31536 * sunrpc/xdr_float.c: Likewise.
31537 * sunrpc/xdr_mem.c: Likewise.
31538 * sunrpc/xdr_rec.c: Likewise.
31539 * sunrpc/xdr_ref.c: Likewise.
31540 * sunrpc/xdr_sizeof.c: Likewise.
31541 * sunrpc/xdr_stdio.c: Likewise.
31543 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31546 2010-08-19 Andreas Schwab <schwab@redhat.com>
31548 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31550 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
31552 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31553 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31554 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31555 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31556 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31557 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31558 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31559 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31560 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31561 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31562 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31563 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31564 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31565 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31567 2010-07-26 Anton Blanchard <anton@samba.org>
31569 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31570 * malloc/arena.c (heap_trim): Likewise.
31572 2010-08-16 Ulrich Drepper <drepper@redhat.com>
31574 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31576 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31577 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31579 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31581 * sysdeps/i386/elf/Makefile: New file.
31583 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31585 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31586 from fanotify_init.
31587 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31588 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31590 2010-08-15 Ulrich Drepper <drepper@redhat.com>
31592 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31594 * sysdeps/multiarch/strcmp.S: Likewise.
31596 2010-08-14 Ulrich Drepper <drepper@redhat.com>
31598 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31599 strncase_l-nonascii.
31600 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31601 Add strncase_l-ssse3.
31602 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31603 * sysdeps/x86_64/strcmp.S: Likewise.
31604 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31605 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31606 * sysdeps/x86_64/strncase.S: New file.
31607 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31608 * sysdeps/x86_64/strncase_l.S: New file.
31609 * string/Makefile (strop-tests): Add strncasecmp.
31610 * string/test-strncasecmp.c: New file.
31612 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31615 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31616 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31618 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31620 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31622 2010-08-12 Ulrich Drepper <drepper@redhat.com>
31624 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31625 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31626 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31628 2010-05-01 Alan Modra <amodra@gmail.com>
31630 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31631 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31632 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31633 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31634 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31635 tidying. Don't tail-call __sigjmp_save for static lib.
31636 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31638 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31639 (CALL_MCOUNT): Add eh info, and nop after bl.
31640 (TAIL_CALL_SYSCALL_ERROR): New macro.
31641 (PSEUDO_RET): Use it.
31642 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31643 Correct save location of integer regs and cr.
31644 (_dl_profile_resolve): Correct cr save location. Delete nops
31645 after bl when SHARED. Reduce cfi size a little by better
31646 placement of cfi directives.
31647 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31648 make a stack frame. Instead use parm save area as a temp.
31649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31650 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31652 Don't make a stack frame for parent, use parm save area.
31653 Increase child stack frame to 112 bytes. Don't save unused reg,
31654 and adjust reg usage. Set up cfi on error recovery and
31655 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31657 (__makecontext): Add dummy nop after jump to exit.
31658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31659 Use correct parm save area and cr save, reduce stack frame.
31660 Correct cfi for possible PSEUDO_RET frame setup.
31661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31662 Branch to local label emitted by PSEUDO_RET rather than
31665 2010-08-12 Andreas Schwab <schwab@redhat.com>
31668 * locale/programs/locale.c (print_assignment): New function.
31669 (show_locale_vars): Use it.
31671 2010-08-11 Ulrich Drepper <drepper@redhat.com>
31673 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31675 (struct statfs64): Likewise.
31676 (_STATFS_F_FLAGS): Define.
31677 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31678 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31679 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31680 (ST_VALID): Define locally.
31681 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31682 __statvfs_getflags, use the provided value.
31683 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31684 __ASSUME_STATFS_F_FLAGS.
31686 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31688 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31689 Add sys/fanotify.h.
31690 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31691 fanotify_mask for GLIBC_2.13.
31692 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31693 fanotify_init and fanotify_mark.
31694 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31695 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31697 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31699 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31700 prlimit64 for GLIBC_2.13.
31701 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31703 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31706 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31707 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31708 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31709 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31711 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31714 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31715 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31717 * nss/Makefile: Add rules to build and run tst-nss-test1.
31718 * shlib-versions: Add entry for libnss_test1.
31719 * nss/nss_test1.c: New file.
31720 * nss/tst-nss-test1.c: New file.
31722 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31723 (__nss_configure_lookup): Set appropriate entry in
31724 __nss_configure_lookup to true.
31725 * nss/nsswitch.h: Define enum with indeces of databases in
31726 databases and __nss_database_custom arrays. Declare
31727 __nss_database_custom.
31728 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31729 to avoid using nscd when custom rules are installed.
31730 * nss/getXXbyYY_r.c: Likewise.
31731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31733 * nss/nss_files/files-parse.c: Whitespace fixes.
31735 2010-08-09 Ulrich Drepper <drepper@redhat.com>
31738 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31739 * posix/fnmatch_loop.c: Likewise.
31741 2010-07-17 Andi Kleen <ak@linux.intel.com>
31743 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31744 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31745 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31746 * Versions.def [GLIBC_2.13]: Add.
31748 2010-08-06 Ulrich Drepper <drepper@redhat.com>
31750 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31751 Also fail if tpwd after pwuid call is NULL.
31753 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31755 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31756 when converting to ms.
31758 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31760 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31761 EOPNOTSUPP errors with ENOTTY.
31762 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31763 EOPNOTSUPP errors with ENOTTY.
31765 2010-07-31 Ulrich Drepper <drepper@redhat.com>
31767 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31768 Add strcasecmp_l-ssse3.
31769 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31771 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31772 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31773 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31775 2010-07-30 Ulrich Drepper <drepper@redhat.com>
31777 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31779 * string/Makefile (strop-tests): Add strcasecmp.
31780 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31781 strcasecmp_l-nonascii.
31782 (gen-as-const-headers): Add locale-defines.sym.
31783 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31784 * sysdeps/x86_64/strcasecmp.S: New file.
31785 * sysdeps/x86_64/strcasecmp_l.S: New file.
31786 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31787 * sysdeps/x86_64/locale-defines.sym: New file.
31788 * string/test-strcasecmp.c: New file.
31790 * string/test-strcasestr.c: Test both ends of the range of characters.
31791 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31793 2010-07-29 Roland McGrath <roland@redhat.com>
31796 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31798 2010-07-27 Ulrich Drepper <drepper@redhat.com>
31800 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31803 2010-07-27 Andreas Schwab <schwab@redhat.com>
31805 * manual/memory.texi (Malloc Tunable Parameters): Document
31808 2010-07-26 Roland McGrath <roland@redhat.com>
31811 * configure.in (-fgnu89-inline check): Set and substitute
31812 gnu89_inline, not libc_cv_gnu89_inline.
31813 * configure: Regenerated.
31814 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31816 2010-07-26 Ulrich Drepper <drepper@redhat.com>
31818 * string/test-strnlen.c: New file.
31819 * string/Makefile (strop-tests): Add strnlen.
31820 * string/tester.c (test_strnlen): Add a few more test cases.
31821 * string/tst-strlen.c: Better error reporting.
31823 * sysdeps/x86_64/strnlen.S: New file.
31825 2010-07-24 Ulrich Drepper <drepper@redhat.com>
31827 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31828 lower-latency instructions.
31830 2010-07-23 Ulrich Drepper <drepper@redhat.com>
31832 * string/test-strcasestr.c: New file.
31833 * string/test-strstr.c: New file.
31834 * string/Makefile (strop-tests): Add strstr and strcasestr.
31835 * string/str-two-way.h: Don't undefine MAX.
31836 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31838 2010-07-21 Andreas Schwab <schwab@redhat.com>
31840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31841 strcasestr-nonascii.
31842 (CFLAGS-strcasestr-nonascii.c): Define.
31843 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31844 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31845 Remove unused attribute.
31847 2010-07-20 Roland McGrath <roland@redhat.com>
31849 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31850 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31851 ld.so.cache was broken. With it, there is no way to disable dsocaps
31852 like LD_HWCAP_MASK can disable hwcaps.
31854 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31856 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31858 2010-07-16 Ulrich Drepper <drepper@redhat.com>
31860 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31861 call in strcasestr.
31862 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31863 __strcasestr_sse42_nonascii.
31864 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31865 strcasestr-nonascii.c.
31866 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31868 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
31870 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31871 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31872 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31873 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31875 2010-07-09 Ulrich Drepper <drepper@redhat.com>
31877 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31880 2010-07-06 Andreas Schwab <schwab@redhat.com>
31883 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31886 2010-07-06 Ulrich Drepper <drepper@redhat.com>
31888 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31889 _PC_PIPE_BUF using F_GETPIPE_SZ.
31891 2010-07-05 Roland McGrath <roland@redhat.com>
31893 * manual/arith.texi (Rounding Functions): Fix rint description
31894 implicit in round description.
31896 2010-07-02 Ulrich Drepper <drepper@redhat.com>
31898 * elf/Makefile: Fix linking for a few tests to make recent linker
31901 2010-06-30 Andreas Schwab <schwab@redhat.com>
31903 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31904 $(common-objpfx)libc_nonshared.a.
31906 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
31908 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31909 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31910 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31911 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31912 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31913 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31914 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31915 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31930 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31931 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31932 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31933 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31934 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31935 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31936 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31937 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31938 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31939 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31940 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31941 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31957 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31959 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31960 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31961 * string/memmove.c (memmove): Renamed to ...
31962 (MEMMOVE): ...this. Default to memmove.
31963 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31964 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31966 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31967 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31968 mempcpy-ssse3-back memmove-ssse3-back.
31969 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31970 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31971 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31972 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31973 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31974 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31975 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31976 * sysdeps/x86_64/multiarch/memmove.c: New file.
31977 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31978 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31979 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31980 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31981 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31982 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31984 (index_Fast_Copy_Backward): Define.
31985 (HAS_ARCH_FEATURE): Define.
31986 (HAS_FAST_REP_STRING): Define.
31987 (HAS_FAST_COPY_BACKWARD): Define.
31989 2010-06-21 Andreas Schwab <schwab@redhat.com>
31991 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31992 Restore proper fallback handling.
31994 2010-06-19 Ulrich Drepper <drepper@redhat.com>
31997 * posix/group_member.c (__group_member): Correct checking loop.
31999 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32000 OOM in getpwuid_r correctly. Return error number when the caller
32001 should return, otherwise -1.
32002 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32003 call returning > 0 value.
32004 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32006 2010-06-07 Andreas Schwab <schwab@redhat.com>
32008 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32009 libc_nonshared.a from targets in modules-names.
32011 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32013 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32016 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
32018 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32019 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32020 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32021 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32023 2010-06-02 Andreas Schwab <schwab@redhat.com>
32025 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32027 2010-06-14 Ulrich Drepper <drepper@redhat.com>
32029 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32031 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32032 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32033 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32034 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32035 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32036 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32038 2010-06-14 Roland McGrath <roland@redhat.com>
32040 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32042 2010-06-07 Jakub Jelinek <jakub@redhat.com>
32044 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32045 __REDIRECT followed by __THROW.
32046 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32047 * posix/getopt.h (getopt): Likewise.
32049 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32051 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32052 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32053 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32055 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32056 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32058 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
32060 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32062 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32066 Properly check family and model.
32068 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32070 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32072 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
32074 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32076 2010-05-21 Ulrich Drepper <drepper@redhat.com>
32078 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32081 2010-05-19 Andreas Schwab <schwab@redhat.com>
32083 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32086 2010-05-21 Andreas Schwab <schwab@redhat.com>
32088 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32089 and internal_recvmmsg.
32090 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32091 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32092 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32093 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32095 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32096 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32097 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32099 2010-05-20 Andreas Schwab <schwab@redhat.com>
32101 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32103 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
32105 POWER7 optimizations.
32106 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32107 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32109 2010-05-19 Ulrich Drepper <drepper@redhat.com>
32111 * version.h: Update for 2.13 development version.
32113 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
32115 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32116 exceptions. Return 0.
32118 2010-05-07 Roland McGrath <roland@redhat.com>
32120 * elf/ldconfig.c (main): Add a const.
32122 2010-05-06 Ulrich Drepper <drepper@redhat.com>
32124 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32125 (args_options): Add no-idn option.
32126 (ahosts_keys_int): Add idn_flags to ai_flags.
32127 (parse_option): Handle 'i' option to clear idn_flags.
32129 * malloc/malloc.c (_int_free): Possible race in the most recently
32130 added check. Only act on the data if no current modification
32133 See ChangeLog.17 for earlier changes.