1 2013-10-03 Joseph Myers <joseph@codesourcery.com>
3 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4 (LOCFILE_ALIGN_MASK): Likewise.
5 (LOCFILE_ALIGN_UP): Likewise.
6 (LOCFILE_ALIGNED_P): Likewise.
7 * locale/programs/ld-collate.c (collate_output): Use the new
8 macros instead of __alignof__ (int32_t).
9 * locale/weight.h (findidx): Likewise.
11 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14 * manual/string.texi: Fix strncat and wcsncat.
16 2013-10-03 Brooks Moses <bmoses@google.com>
19 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20 * Makerules: ...here, and adjust associated comments.
22 2013-10-02 Will Newton <will.newton@linaro.org>
24 * malloc/Makefile: Add tst-pvalloc.
25 * malloc/tst-pvalloc.c: New file.
27 2013-10-02 Will Newton <will.newton@linaro.org>
29 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30 improve test coverage.
32 2013-10-02 Will Newton <will.newton@linaro.org>
34 * malloc/Makefile: Add tst-posix_memalign.
35 * malloc/tst-posix_memalign.c: New file.
37 2013-10-01 Eric Blake <eblake@redhat.com>
39 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40 Use __THROWNL rather than __THROW on static functions.
42 2013-09-30 Petr Machata <pmachata@redhat.com>
44 * elf/elf.h (R_AARCH64_ABS16): New macro.
45 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
48 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
49 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
50 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
53 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
54 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
55 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
56 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
57 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
58 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
59 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
60 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
61 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
62 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
64 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
65 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
66 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
67 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
68 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
69 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
70 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
71 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
72 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
73 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
74 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
75 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
76 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
77 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
78 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
79 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
80 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
81 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
82 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
83 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
84 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
85 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
86 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
87 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
88 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
89 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
90 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
91 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
92 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
93 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
94 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
95 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
96 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
97 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
98 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
99 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
100 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
101 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
102 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
103 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
104 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
105 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
106 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
107 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
108 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
109 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
110 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
111 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
112 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
113 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
114 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
115 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
116 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
117 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
118 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
119 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
120 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
121 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
122 (R_AARCH64_TLSDESC_LDR): Likewise.
123 (R_AARCH64_TLSDESC_ADD): Likewise.
124 (R_AARCH64_TLSDESC_CALL): Likewise.
126 2013-09-30 Andreas Schwab <schwab@suse.de>
129 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
130 the nss database lookup.
131 * nscd/initgrcache.c (addinitgroupsX): Likewise.
132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
134 2013-09-28 Mike Frysinger <vapier@gentoo.org>
136 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
138 2013-09-28 P. J. McDermott <pj@pehjota.net>
140 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
141 ${Bash-specific parameter/pattern/string} parameter expansion.
142 * sysdeps/unix/make-syscalls.sh: Likewise.
144 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
146 * sysdeps/sh/stackguard-macros.h: New file.
148 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
151 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
152 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
153 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
154 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
155 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
157 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
159 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
160 Fix thread ID register.
162 2013-09-25 Joseph Myers <joseph@codesourcery.com>
164 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
165 [POSIX || UNIX98]: Require rather than permitting all symbols from
167 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
168 element of struct sched_param.
169 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
170 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
171 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
172 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
175 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
177 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
178 argument calculation.
180 2013-09-24 Joseph Myers <joseph@codesourcery.com>
182 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
184 [POSIX] (pthread_attr_t): Do not require type.
185 [POSIX] (pthread_cond_t): Likewise.
186 [POSIX] (pthread_condattr_t): Likewise.
187 [POSIX] (pthread_key_t): Likewise.
188 [POSIX] (pthread_mutex_t): Likewise.
189 [POSIX] (pthread_mutexattr_t): Likewise.
190 [POSIX] (pthread_once_t): Likewise.
191 [POSIX] (pthread_t): Likewise.
192 [POSIX-based standards] (pthread_atfork): Expect function.
194 2013-09-24 Joseph Myers <joseph@codesourcery.com>
195 Richard Sandiford <richard@codesourcery.com>
197 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
198 (swap_endianness_p): New extern variable.
199 (set_big_endian): New inline function.
200 (maybe_swap_uint32): Likewise.
201 (maybe_swap_uint32_array): Likewise.
202 (maybe_swap_uint32_obstack): Likewise.
203 * locale/programs/locfile.c: Include <stdbool.h>.
204 (swap_endianness_p): New variable.
205 (add_locale_uint32): Call maybe_swap_uint32.
206 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
207 (write_locale_data): Call maybe_swap_uint32_array.
208 * locale/programs/ld-collate.c (obstack_int32_grow): Call
210 (obstack_int32_grow_fast): Likewise.
211 (output_weightwc): Call maybe_swap_uint32_obstack.
212 (collate_output): Likewise.
213 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
214 (OPT_LITTLE_ENDIAN): Likewise.
215 (options): Add --little-endian and --big-endian options.
216 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
217 * locale/programs/locarchive.c: Include "locfile.h".
221 (create_archive): Use the new macros to access fields of
222 structures directly mapped from or written to locale archives.
223 (oldlocrecentcmp): Likewise.
224 (enlarge_archive): Likewise.
225 (insert_name): Likewise.
226 (add_alias): Likewise.
227 (add_locale): Likewise.
228 (delete_locales_from_archive): Likewise.
229 (show_archive_content): Likewise.
230 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
233 2013-09-24 Roland McGrath <roland@hack.frob.com>
235 * manual/freemanuals.texi: Updated from (newly) canonical copy at
236 http://www.gnu.org/doc/freemanuals.texi.
237 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
239 2013-09-24 Will Newton <will.newton@linaro.org>
241 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
244 2013-09-23 Joseph Myers <joseph@codesourcery.com>
246 * locale/hashval.h (compute_hashval): Interpret bytes of key as
249 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
251 * manual/threads.texi (POSIX Threads): Fix a typo.
253 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
256 * string/tst-strcoll-overflow.c: New test case.
257 * string/Makefile (xtests): Add tst-strcoll-overflow.
258 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
259 cache if string sizes may cause integer overflow.
262 * string/strcoll_l.c (coll_seq): New members rule, idx,
263 save_idx and back_us.
264 (get_next_seq_nocache): New function.
265 (do_compare_nocache): New function.
266 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
269 2013-09-23 Carlos O'Donell <carlos@redhat.com>
272 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
273 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
274 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
277 * elf/Makefile (tests): Add tst-ptrguard1.
278 (tests-static): Add tst-ptrguard1-static.
279 (tst-ptrguard1-ARGS): Define.
280 (tst-ptrguard1-static-ARGS): Define.
281 * elf/tst-ptrguard1.c: New file.
282 * elf/tst-ptrguard1-static.c: New file.
283 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
284 * sysdeps/i386/stackguard-macros.h: Likewise.
285 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
286 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
287 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
288 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
289 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
290 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
292 2013-09-23 Hector Marco <hecmargi@upv.es>
293 Ismael Ripoll <iripoll@disca.upv.es>
294 Carlos O'Donell <carlos@redhat.com>
297 * sysdeps/generic/stackguard-macros.h: Define
298 __pointer_chk_guard_local and POINTER_CHK_GUARD.
299 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
300 Define __pointer_chk_guard_local.
301 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
302 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
304 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
307 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
309 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
311 * include/string.h (__ffs): Declare as hidden.
312 * string/ffs.c (__ffs): Define as hidden.
313 * sysdeps/i386/ffs.c (__ffs): Likewise.
314 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
315 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
316 * sysdeps/s390/ffs.c (__ffs): Likewise.
317 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
319 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
321 * NEWS: Mention malloc probes.
323 * malloc/arena.c (new_heap): New memory_heap_new probe.
324 (grow_heap): New memory_heap_more probe.
325 (shrink_heap): New memory_heap_less probe.
326 (heap_trim): New memory_heap_free probe.
327 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
328 (systrim): New memory_sbrk_less probe.
329 * manual/probes.texi: Document them.
331 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
332 * manual/probes.texi: Document it.
334 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
335 (__libc_realloc): Add memory_realloc_retry probe.
336 (__libc_memalign): Add memory_memalign_retry probe.
337 (__libc_valloc): Add memory_valloc_retry probe.
338 (__libc_pvalloc): Add memory_pvalloc_retry probe.
339 (__libc_calloc): Add memory_calloc_retry probe.
340 * manual/probes.texi: Document them.
342 * malloc/arena.c (get_free_list): Add probe
343 memory_arena_reuse_free_list.
344 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
345 and memory_arena_reuse.
346 (arena_get2) [!PER_THREAD]: Likewise.
347 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
348 memory_arena_reuse_realloc.
349 * manual/probes.texi: Document them.
351 * malloc/malloc.c (__libc_free): Add
352 memory_mallopt_free_dyn_thresholds probe.
353 (__libc_mallopt): Add multiple memory_mallopt probes.
354 * manual/probes.texi: Document them.
356 * malloc/malloc.c: Include stap-probe.h.
357 (__libc_mallopt): Add memory_mallopt probe.
358 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
359 * manual/probes.texi: New.
360 * manual/Makefile (chapters): Add probes.
361 * manual/threads.texi: Set next node.
363 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
366 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
367 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
368 Add `Chinese' to `nan' entry name.
370 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
372 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
373 (POLYNOMIAL): Likewise.
374 (TAYLOR_SINCOS): Likewise.
375 (TAYLOR_SLOW): Likewise.
376 (__sin): Use TAYLOR_SINCOS.
378 (slow): Use TAYLOR_SLOW.
383 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
385 * stdlib/strtod_l.c: Fix buffer overrun.
387 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
389 * benchtests/Makefile (bench): Add sincos.
390 * benchtests/bench-sincos.c: New file.
392 * math/libm-test.inc (cos_test_data): New test inputs.
393 (sin_test_data): Likewise.
395 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
409 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
414 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
418 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
420 * config.h.in (HAVE_MIPS_NAN2008): New macro.
421 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
422 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
423 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
424 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
425 * elf/cache.c (print_entry): Handle the new cache flags.
427 2013-09-18 Joseph Myers <joseph@codesourcery.com>
428 Aldy Hernandez <aldyh@redhat.com>
430 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
431 Change condition to [_SOFT_FLOAT].
432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
435 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
437 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
441 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
442 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
443 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
444 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
445 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
447 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
450 2013-09-18 Joseph Myers <joseph@codesourcery.com>
452 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
453 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
454 (__longjmp): Use LOAD_GP to load saved GPRs.
455 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
456 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
457 (__sigsetjmp): Use SAVE_GP to save GPRs.
459 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
460 Do not append -msoft-float.
461 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
463 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
465 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
467 2013-09-17 Joseph Myers <joseph@codesourcery.com>
470 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
471 (_FPU_GETCW): Use initial "__" on variable and field names but not
472 on macro parameter name.
473 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
474 parentheses around reference to macro parameter.
476 2013-09-13 Richard Sandiford <richard@codesourcery.com>
478 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
480 (ctype_startup): Use uint32_t in cast and sizeof for
483 2013-09-11 Jia Liu <proljc@gmail.com>
485 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
487 [__FreeBSD__]: Likewise.
489 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
491 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
492 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
493 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
494 (strchr): Remove __strchr_sse42 ifunc selection.
495 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
496 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
498 2013-09-11 Will Newton <will.newton@linaro.org>
500 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
501 parameter to RES. Remove hardcoded 1000 value.
502 * benchtests/bench-skeleton.c (main): Pass RES parameter
503 to TIMING_INIT and multiply result by 1000.
505 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
509 2013-09-11 Andreas Schwab <schwab@suse.de>
511 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
513 (O_TMPFILE) [__USE_GNU]: Define.
514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
517 2013-09-11 Will Newton <will.newton@linaro.org>
520 * malloc/malloc.c (__libc_memalign): Check the value of bytes
523 2013-09-11 Will Newton <will.newton@linaro.org>
526 * malloc/malloc.c (__libc_valloc): Check the value of bytes
529 2013-09-11 Will Newton <will.newton@linaro.org>
532 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
535 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
537 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
538 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
539 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
540 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
541 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
543 2013-09-10 Allan McRae <allan@archlinux.org>
546 * manual/arith.texi (Parsing of Floats): Clarify
550 * manual/install.texi (Running make install): Mention
552 * INSTALL: Regenerated.
554 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
556 * csu/init-first.c (_init): Remove the !SHARED condition around
557 FPU control word initialization.
558 * elf/dl-support.c (_dl_fpu_control): New variable.
559 (_dl_aux_init) <AT_FPUCW>: Initialize it.
560 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
561 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
562 * math/test-fpucw-static.c: New file.
563 * math/test-fpucw-ieee.c: New file.
564 * math/test-fpucw-ieee-static.c: New file.
565 * math/Makefile (tests): Add `test-fpucw-ieee' and
567 (tests-static): New variable.
568 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
570 [($(build-shared),yes)]
571 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
573 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
576 2013-09-09 Allan McRae <allan@archlinux.org>
579 * manual/string.texi (Collation Functions): Fix typo in
581 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
584 * stdlib/isomac.c (get_null_defines): Fix memory leak.
587 * libio/memstream.c (open_memstream): Fix memory leak.
588 * libio/wmemstream.c (open_wmemstream): Likewise.
591 * nscd/netgroupcache.c: Fix nesting of ifdefs.
593 2013-09-09 Will Newton <will.newton@linaro.org>
595 * malloc/Makefile: Add tst-realloc to tests.
596 * malloc/tst-realloc.c: New file.
598 2013-09-09 Allan McRae <allan@archlinux.org>
601 * COPYING: Update from GNU website to fix FSF address.
602 * COPYING.LIB: Likewise.
604 2013-09-06 David S. Miller <davem@davemloft.net>
606 * po/zh_TW.po: Update Chinese (traditional) translation from
609 2013-09-06 Richard Sandiford <richard@codesourcery.com>
610 Joseph Myers <joseph@codesourcery.com>
612 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
614 (obstack_chunk_alloc): New macro.
615 (obstack_chunk_free): Likewise.
616 (record_offset): New function.
617 (init_locale_data): Likewise.
618 (align_locale_data): Likewise.
619 (add_locale_empty): Likewise.
620 (add_locale_raw_data): Likewise.
621 (add_locale_raw_obstack): Likewise.
622 (add_locale_string): Likewise.
623 (add_locale_wstring): Likewise.
624 (add_locale_uint32): Likewise.
625 (add_locale_uint32_array): Likewise.
626 (add_locale_char): Likewise.
627 (start_locale_structure): Likewise.
628 (end_locale_structure): Likewise.
629 (start_locale_prelude): Likewise.
630 (end_locale_prelude): Likewise.
631 (write_locale_data): Take locale_file structure rather than an
633 * locale/programs/locfile.h: Include "obstack.h".
634 (struct locale_file): Change to store locale file contents instead
636 (init_locale_data): New prototype.
637 (align_locale_data): Likewise.
638 (add_locale_empty): Likewise.
639 (add_locale_raw_data): Likewise.
640 (add_locale_raw_obstack): Likewise.
641 (add_locale_string): Likewise.
642 (add_locale_wstring): Likewise.
643 (add_locale_uint32): Likewise.
644 (add_locale_uint32_array): Likewise.
645 (add_locale_char): Likewise.
646 (start_locale_structure): Likewise.
647 (end_locale_structure): Likewise.
648 (start_locale_prelude): Likewise.
649 (end_locale_prelude): Likewise.
650 (write_locale_data): Update prototype.
651 * locale/programs/3level.h (struct TABLE): Remove result field.
652 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
653 Use new locale_file interface.
654 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
655 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
656 * locale/programs/ld-address.c (address_output): Use new
657 locale_file interface.
658 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
660 (collate_finish): Don't call collseq_table_finalize.
661 (collate_output): Use new locale_file interface.
662 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
664 (NO_FINALIZE): Change to NO_ADD_LOCALE.
665 (TABLE): Move defines earlier in file.
668 (wctrans_table_add): Move macro and inline function earlier in
670 (struct wctype_table): Move type earlier in file.
671 (add_locale_wctype_table): New static prototype.
672 (struct locale_ctype_t): Use logical types instead of struct iovec
673 pointers for members.
674 (ctype_output): Use new locale_file interface.
675 (wctype_table_finalize): Change to add_locale_wctype_table. Use
676 new locale_file interface.
677 (allocate_arrays): Update for use of new locale_file interface.
678 * locale/programs/ld-identification.c (identification_output): Use
679 new locale_file interface.
680 * locale/programs/ld-measurement.c (measurement_output): Likewise.
681 * locale/programs/ld-messages.c (messages_output): Likewise.
682 * locale/programs/ld-monetary.c (monetary_output): Likewise.
683 * locale/programs/ld-name.c (name_output): Likewise.
684 * locale/programs/ld-numeric.c (numeric_output): Likewise.
685 * locale/programs/ld-paper.c (paper_output): Likewise.
686 * locale/programs/ld-telephone.c (telephone_output): Likewise.
687 * locale/programs/ld-time.c (time_output): Likewise.
689 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
691 * benchtests/Makefile: Add memrchr benchmark.
692 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
693 benchmark as memrchr.
694 * benchtests/bench-memrchr-ifunc.c: New file.
695 * benchtests/bench-memrchr.c: New file.
697 2013-09-06 Will Newton <will.newton@linaro.org>
699 * benchtests/Makefile (string-bench): Add memcpy.
701 2013-09-05 Carlos O'Donell <carlos@redhat.com>
702 Cong Wang <amwang@redhat.com>
704 * sysdeps/unix/sysv/linux/bits/in.h
705 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
706 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
707 before __USE_KERNEL_IPV6_DEFS uses.
708 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
710 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
711 sockaddr_in6, or ipv6_mreq.
713 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
715 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
716 memory access for final bytes in some large inputs.
717 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
719 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
721 * string/test-memrchr.c: New file.
722 * string/test-memrchr-ifunc.c: New file.
723 * string/Makefile: Add new memrchr testcase.
725 2013-09-05 Mike Frysinger <vapier@gentoo.org>
727 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
728 fanotify_init returns EPERM.
730 2013-09-04 Joseph Myers <joseph@codesourcery.com>
732 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
734 (top level): Treat second token from macro or constant entries for
735 allowed headers as allowed.
736 * include/complex.h: Condition internal declarations on
738 * include/fenv.h: Condition include of <stdbool.h> and internal
739 declarations on [!_ISOMAC].
741 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
744 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
746 2013-09-04 Joseph Myers <joseph@codesourcery.com>
748 * configure.in (--enable-versioning): Remove configure option.
749 (libc_cv_asm_symver_directive): Remove configure test.
750 (libc_cv_ld_version_script_option): Likewise.
751 (VERSIONING): Remove variable and AC_SUBST.
752 (DO_VERSIONING): Remove AC_DEFINE.
753 * configure: Regenerated.
754 * config.h.in (DO_VERSIONING): Remove macro.
755 * Makerules [$(versioning) = yes]: Change conditionals to
756 [$(build-shared) = yes].
757 * config.make.in (versioning): Remove variable.
758 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
759 [$(build-shared) = yes].
760 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
761 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
762 * elf/Makefile [$(versioning) = yes]: Change conditionals to
763 [$(build-shared) = yes].
764 * extra-lib.mk [$(versioning) = yes]: Likewise.
765 * hurd/Makefile [$(versioning) = yes]: Likewise.
766 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
768 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
770 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
771 [SHARED && !NO_HIDDEN].
772 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
774 [SHARED && DO_VERSIONING]: Likewise..
775 * libio/Makefile [$(versioning) = yes]: Change conditionals to
776 [$(build-shared) = yes].
777 * manual/install.texi (--disable-versioning): Remove
779 * INSTALL: Regenerated.
780 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
782 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
783 [$(build-shared) = yes].
784 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
785 * sysdeps/i386/i686/multiarch/strstr-c.c
786 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
787 [SHARED && !NO_HIDDEN].
788 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
789 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
790 * sysdeps/powerpc/powerpc32/dl-machine.c
791 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
792 * sysdeps/powerpc/powerpc32/sysdep.h
793 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
794 to [SHARED && PIC && !NO_HIDDEN].
795 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
796 conditional to [SHARED].
798 2013-09-04 Will Newton <will.newton@linaro.org>
800 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
801 * benchtests/bench-string.h: Include bench-timing.h instead
802 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
803 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
804 call to HP_TIMING_DIFF_INIT.
805 * benchtests/bench-memccpy.c: Use bench-timing.h macros
806 instead of hp-timing.h macros.
807 * benchtests/bench-memchr.c: Likewise.
808 * benchtests/bench-memcmp.c: Likewise.
809 * benchtests/bench-memcpy.c: Likewise.
810 * benchtests/bench-memmem.c: Likewise.
811 * benchtests/bench-memmove.c: Likewise.
812 * benchtests/bench-memset.c: Likewise.
813 * benchtests/bench-rawmemchr.c: Likewise.
814 * benchtests/bench-strcasecmp.c: Likewise.
815 * benchtests/bench-strcasestr.c: Likewise.
816 * benchtests/bench-strcat.c: Likewise.
817 * benchtests/bench-strchr.c: Likewise.
818 * benchtests/bench-strcmp.c: Likewise.
819 * benchtests/bench-strcpy.c: Likewise.
820 * benchtests/bench-strcpy_chk.c: Likewise.
821 * benchtests/bench-strlen.c: Likewise.
822 * benchtests/bench-strncasecmp.c: Likewise.
823 * benchtests/bench-strncat.c: Likewise.
824 * benchtests/bench-strncmp.c: Likewise.
825 * benchtests/bench-strncpy.c: Likewise.
826 * benchtests/bench-strnlen.c: Likewise.
827 * benchtests/bench-strpbrk.c: Likewise.
828 * benchtests/bench-strrchr.c: Likewise.
829 * benchtests/bench-strspn.c: Likewise.
830 * benchtests/bench-strstr.c: Likewise.
832 2013-09-04 Will Newton <will.newton@linaro.org>
834 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
836 2013-09-03 Joseph Myers <joseph@codesourcery.com>
839 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
840 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
841 * math/libm-test.inc (lgamma_test_data): Add more tests.
842 * sysdeps/i386/fpu/libm-test-ulps: Update.
843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
845 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
847 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
848 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
851 Add strcmp-sse2-unaligned
852 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
854 2013-09-02 Mike Frysinger <vapier@gentoo.org>
856 * Versions.def (libc): Add GLIBC_2.19.
858 2013-09-02 Mike Frysinger <vapier@gentoo.org>
860 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
861 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
863 2013-09-02 Joseph Myers <joseph@codesourcery.com>
866 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
867 intermediate calculations in recurrence.
868 (__ieee754_ynf): Likewise.
869 * math/libm-test.inc (jn_test_data): Do not allow spurious
870 underflow exception. Add more tests.
871 (yn_test_data): Add more tests.
872 * sysdeps/i386/fpu/libm-test-ulps: Update.
873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
875 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
877 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
879 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
881 * csu/init-first.c: Fix then/than typos.
882 * locale/programs/ld-collate.c: Likewise.
883 * locale/programs/linereader.h: Likewise.
884 * manual/charset.texi: Likewise.
885 * manual/filesys.texi: Likewise.
886 * manual/stdio.texi: Likewise.
887 * manual/string.texi: Likewise.
888 * stdlib/fmtmsg.c: Likewise.
889 * sysdeps/i386/stpncpy.S: Likewise.
890 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
891 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
892 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
893 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
895 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
897 * elf/dl-open.c: Fix typos.
898 * iconvdata/gbbig5.c: Likewise.
899 * iconvdata/iso-2022-jp.c: Likewise.
900 * iconv/gconv_int.h: Likewise.
901 * iconv/loop.c: Likewise.
902 * nis/rpcsvc/nis.h: Likewise.
903 * resolv/ns_name.c: Likewise.
904 * stdio-common/vfscanf.c: Likewise.
905 * streams/stropts.h: Likewise.
906 * sunrpc/rpc_thread.c: Likewise.
907 * sysdeps/i386/strpbrk.S: Likewise.
908 * sysdeps/ieee754/k_standard.c: Likewise.
909 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
910 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
911 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
912 * sysdeps/mach/hurd/profil.c: Likewise.
913 * sysdeps/s390/dl-procinfo.h: Likewise.
914 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
915 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
916 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
917 * sysdeps/x86_64/dl-trampoline.S: Likewise.
918 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
920 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
922 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
925 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
927 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
929 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
930 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
931 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
932 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
933 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
934 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
935 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
936 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
938 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
939 Roland McGrath <roland@hack.frob.com>
941 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
942 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
944 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
946 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
947 __executable_start symbol instead of _start.
949 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
951 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
952 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
954 * sysdeps/gnu/ldsodefs.h: ... this new file.
956 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
957 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
958 instead of ELFOSABI_LINUX.
960 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
961 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
962 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
963 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
965 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
966 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
967 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
969 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
970 (ibm_extended_long_double): Add ieee_nan member.
971 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
972 (do_test): New function.
974 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
976 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
977 functions, renamed from truncdfsf_test, trunctfsf_test,
979 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
981 (do_test): Run all these.
983 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
985 * argp/argp-help.c: Fix typos.
986 * argp/argp-parse.c: Likewise.
987 * debug/backtracesyms.c: Likewise.
988 * elf/elf.h: Likewise.
989 * malloc/malloc.c: Likewise.
990 * nis/nis_print.c: Likewise.
991 * resolv/res_comp.c: Likewise.
992 * stdlib/stdlib.h: Likewise.
993 * sunrpc/clnt_tcp.c: Likewise.
994 * sunrpc/clnt_udp.c: Likewise.
995 * sunrpc/clnt_unix.c: Likewise.
996 * sysdeps/unix/bsd/ptsname.c: Likewise.
997 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
998 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1005 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1007 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1009 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1012 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1015 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1016 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1017 ($(objpfx)bug-dl-leaf): New rule.
1018 ($(objpfx)bug-dl-leaf.so): Likewise.
1019 ($(objpfx)bug-dl-leaf.out): Likewise.
1020 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1021 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1022 * dlfcn/bug-dl-leaf.c: New test.
1023 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1024 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1025 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1026 (dlclose): Likewise.
1027 (dlmopen): Likewise.
1029 2013-08-27 Roland McGrath <roland@hack.frob.com>
1031 * include/netdb.h [!_ISOMAC]:
1032 Don't include <tls.h>.
1033 (h_errno, __libc_h_errno): Move declaration and macros out of
1036 * include/resolv.h [_RESOLV_H_]:
1037 Don't include <tls.h>.
1038 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1039 * resolv/res_libc.c: Don't include <tls.h>.
1040 (_res): Use __attribute__ ((nocommon)) in place of
1041 __attribute__ ((section (".bss"))).
1043 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1044 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1046 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1048 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1049 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1051 * resolv/res_mkquery.c: Include <sys/time.h>.
1053 * inet/ifreq.c: Moved to ...
1054 * sysdeps/unix/ifreq.c: ... here.
1055 * inet/ifreq.c: New file, true stub version.
1057 * socket/sa_len.c: New file.
1058 * socket/Makefile (aux): Add it.
1059 * sysdeps/unix/sysv/linux/Makefile
1060 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1061 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1062 and #include <socket/sa_len.c>.
1063 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1064 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1066 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1067 * bits/socket.h: ... here.
1069 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1070 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1071 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1073 2013-08-27 Andreas Schwab <schwab@suse.de>
1076 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1077 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1078 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1079 * string/test-strcasecmp.c (test_main): Run tests in several
1081 * string/test-strncasecmp.c (test_main): Likewise.
1083 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1084 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1085 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1087 (__strncasecmp_ssse3) [PIC]: Likewise.
1089 2013-08-26 Roland McGrath <roland@hack.frob.com>
1091 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1093 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1094 instead of explicitly declaring xdecrypt.
1095 * nis/nss_nis/nis-publickey.c: Likewise.
1097 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1100 * nscd/aicache.c: Include res_hconf.h.
1101 (addhstaiX): Initialize res_hconf.
1103 2013-08-26 Andreas Schwab <schwab@suse.de>
1105 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1106 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1108 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1110 * nscd/aicache.c (addhstaiX): Fix indentation.
1112 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1114 * configure.ac: Quote $build_pt_chown test.
1115 * configure: Regenerated.
1117 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1120 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1121 * math/s_cexpf.c (__cexpf): Likewise.
1122 * math/s_cexpl.c (__cexpl): Likewise.
1123 * math/libm-test.inc (cexp_test_data): Correct expected return
1124 value for NaN + i0. Add another test.
1126 2013-08-22 David S. Miller <davem@davemloft.net>
1128 * po/ca.po: Update Catalan translation from translation project.
1129 * po/uk.po: Add Ukrainian translations from translation project.
1131 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1134 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1135 is infinite, not alongside NaN test.
1136 * math/s_fdimf.c (__fdimf): Likewise.
1137 * math/s_fdiml.c (__fdiml): Likewise.
1138 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1141 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
1143 * argp/argp-help.c: Fix typos.
1144 * crypt/speeds.c: Likewise.
1145 * csu/check_fds.c: Likewise.
1146 * elf/dl-load.c: Likewise.
1147 * elf/dl-open.c: Likewise.
1148 * elf/reldep3.c: Likewise.
1149 * elf/reldep.c: Likewise.
1150 * elf/sprof.c: Likewise.
1151 * iconv/iconv_charmap.c: Likewise.
1152 * iconv/skeleton.c: Likewise.
1153 * iconv/strtab.c: Likewise.
1154 * io/lockf64.c: Likewise.
1155 * libio/libioP.h: Likewise.
1156 * resolv/gai_notify.c: Likewise.
1157 * resolv/ns_name.c: Likewise.
1158 * resolv/ns_samedomain.c: Likewise.
1159 * resolv/res_send.c: Likewise.
1160 * stdlib/random.c: Likewise.
1161 * sunrpc/rpc/xdr.h: Likewise.
1162 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1163 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1164 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1165 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1166 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1167 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1169 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1170 * sysdeps/mach/hurd/check_fds.c: Likewise.
1171 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1172 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1173 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1174 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1175 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1176 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1177 * sysdeps/pthread/aio_notify.c: Likewise.
1178 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1179 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1180 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1181 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1182 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1184 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1186 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1187 version if bit_Slow_SSE4_2 is set.
1188 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1189 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1191 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1194 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1195 trampoline stack frame information.
1196 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1197 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1198 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1199 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1200 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1201 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1202 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1203 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1205 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1206 interrupting a syscall and set with option SA_SIGINFO.
1208 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1211 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1212 argument is infinite.
1213 * math/s_cprojf.c (__cprojf): Likewise.
1214 * math/s_cprojl.c (__cprojl): Likewise.
1215 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1216 * math/libm-test.inc (cproj_test_data): Add more tests.
1218 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1220 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1221 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1222 size. Use __ffs to determine corresponding shift.
1224 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1225 Roland McGrath <roland@hack.frob.com>
1227 * Makefile (INSTALL): Remove trailing blank lines from output of
1230 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1232 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1233 Align 32 bit compat elf_greg to 8 bytes.
1235 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1237 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1239 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1241 * string/strcoll_l.c (coll_seq): New structure.
1242 (get_next_seq_cached): New function.
1243 (get_next_seq): New function.
1244 (do_compare): New function.
1245 (STRCOLL): Use GNU style definition. Simplify implementation
1246 by using get_next_seq, get_next_seq_cached and do_compare.
1248 2013-08-16 Florian Weimer <fweimer@redhat.com>
1252 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1254 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1256 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1257 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1258 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1260 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1261 GETDENTS_64BIT_ALIGNED.
1262 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1263 * manual/filesys.texi (Reading/Closing Directory): Document
1264 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1266 * manual/conf.texi (Limits for Files): Add portability note to
1268 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1270 2013-08-13 Andreas Schwab <schwab@suse.de>
1273 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1275 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1276 LDBL_MAX_EXP >= 16384]: Add tests for it.
1278 2013-08-12 David S. Miller <davem@davemloft.net>
1280 * version.h (RELEASE): Set to "development".
1281 (VERSION): Set to "2.18.90".
1282 * NEWS: Add 2.19 section.
1284 2013-08-03 David S. Miller <davem@davemloft.net>
1286 * po/ko.po: Update Korean translation from translation project.
1288 2013-08-01 David S. Miller <davem@davemloft.net>
1290 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1291 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1294 2013-07-30 David S. Miller <davem@davemloft.net>
1296 * po/fr.po: Update French translation from translation project.
1298 2013-07-28 David S. Miller <davem@davemloft.net>
1300 * po/cs.po: Update Czech translation from translation project.
1302 * po/sv.po: Update Swedish translation from translation project.
1304 2013-07-27 David S. Miller <davem@davemloft.net>
1306 * po/eo.po: Update Esperanto translation from translation project.
1308 * po/vi.po: Update Vietnamese translation from translation project.
1310 * po/de.po: Update German translation from translation project.
1312 2013-07-26 David S. Miller <davem@davemloft.net>
1314 * po/bg.po: Update Bulgarian translation from translation project.
1316 * po/nl.po: Update Dutch translation from translation project.
1317 * po/pl.po: Update Polish translation from translation project.
1318 * po/ru.po: Update Russian translation from translation project.
1320 2013-07-24 David S. Miller <davem@davemloft.net>
1322 * po/libc.pot: Update.
1324 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1326 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1328 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1329 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1330 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1332 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1334 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1336 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1337 Andreas Schwab <schwab@suse.de>
1338 Roland McGrath <roland@hack.frob.com>
1339 Joseph Myers <joseph@codesourcery.com>
1340 Carlos O'Donell <carlos@redhat.com>
1343 * config.h.in: Define HAVE_PT_CHOWN.
1344 * config.make.in (build-pt-chown): New variable.
1345 * configure.in (--enable-pt_chown): New configure option.
1346 * configure: Regenerate.
1347 * login/Makefile: Include Makeconfig. Build pt_chown only if
1348 build-pt-chown is enabled.
1349 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1350 pt_chown to fix pty ownership.
1351 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1353 * manual/install.texi (Configuring and compiling): Mention
1354 --enable-pt_chown. Add @findex for grantpt.
1355 * INSTALL: Regenerate.
1357 2013-07-20 David S. Miller <davem@davemloft.net>
1359 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1360 difference between 32-bit and 64-bit.
1362 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1365 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1366 Avoid system header dependency with -ffreestanding.
1367 ($(objpfx)bits/syscall%d): Likewise.
1369 2013-07-13 David S. Miller <davem@davemloft.net>
1371 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1372 underflows from atanl/atan2l due to bug 15319.
1373 (casinh_test_data): Likewise.
1375 2013-07-07 David S. Miller <davem@davemloft.net>
1377 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1379 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1381 * sysdeps/i386/fpu/libm-test-ulps: Update.
1382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1384 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1386 * configure.in (--enable-lock-elision): Fix message text.
1387 * INSTALL: Regenerate.
1388 * configure: Regenerate.
1390 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1394 2013-07-03 Andreas Jaeger <aj@suse.de>
1396 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1398 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1399 (ptrace_peeksiginfo_args): Add.
1400 (__ptrace_peeksiginfo_flags): Add.
1401 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1402 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1403 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1405 2013-07-03 Allan McRae <allan@archlinux.org>
1407 * sysdeps/i386/fpu/libm-test-ulps: Update.
1409 2013-07-02 David S. Miller <davem@davemloft.net>
1411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1413 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1417 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1419 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1422 2013-07-02 Andi Kleen <ak@linux.intel.com>
1424 * config.h.in (ENABLE_LOCK_ELISION): Add.
1425 * configure.in (--enable-lock-elision): Add option.
1426 * manual/install.texi: Document --enable lock elision.
1427 * configure: Regenerate
1428 * INSTALL: Regenerate.
1430 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1432 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1433 SSE4.2 strcasecmp for libc.a.
1434 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1436 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1439 * soft-fp/op-common.h (_FP_FMA): New macro.
1440 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1441 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1442 (_FP_MUL_MEAT_1_imm): ... here.
1443 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1444 (_FP_MUL_MEAT_1_wide): ... here.
1445 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1446 (_FP_MUL_MEAT_1_hard): ... here.
1447 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1448 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1449 (_FP_MUL_MEAT_2_wide): ... here.
1450 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1451 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1452 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1453 (_FP_MUL_MEAT_2_gmp): ... here.
1454 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1455 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1456 (_FP_MUL_MEAT_4_wide): ... here.
1457 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1458 (_FP_MUL_MEAT_4_gmp): ... here.
1459 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1460 (_FP_WFRACBITS_DW_S): Likewise.
1461 (_FP_WFRACXBITS_DW_S): Likewise.
1462 (_FP_HIGHBIT_DW_S): Likewise.
1463 (FP_FMA_S): Likewise.
1464 (_FP_FRAC_HIGH_DW_S): Likewise.
1465 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1466 (_FP_WFRACBITS_DW_D): Likewise.
1467 (_FP_WFRACXBITS_DW_D): Likewise.
1468 (_FP_HIGHBIT_DW_D): Likewise.
1469 (FP_FMA_D): Likewise.
1470 (_FP_FRAC_HIGH_DW_D): Likewise.
1471 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1472 (_FP_WFRACBITS_DW_E): Likewise.
1473 (_FP_WFRACXBITS_DW_E): Likewise.
1474 (_FP_HIGHBIT_DW_E): Likewise.
1475 (FP_FMA_E): Likewise.
1476 (_FP_FRAC_HIGH_DW_E): Likewise.
1477 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1478 (_FP_WFRACBITS_DW_Q): Likewise.
1479 (_FP_WFRACXBITS_DW_Q): Likewise.
1480 (_FP_HIGHBIT_DW_Q): Likewise.
1481 (FP_FMA_Q): Likewise.
1482 (_FP_FRAC_HIGH_DW_Q): Likewise.
1483 * soft-fp/fmasf4.c: New file.
1484 * soft-fp/fmadf4.c: Likewise.
1485 * soft-fp/fmatf4.c: Likewise.
1487 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1489 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1490 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1492 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1494 (index_Slow_SSE4_2): Likewise.
1495 (index_Prefer_PMINUB_for_stringop): Likewise.
1496 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1497 bit_Slow_SSE4_2 is set.
1498 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1499 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1501 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1503 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1504 rtld_global._dl_hwcap2.
1505 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1507 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1508 POWER8 feature descriptions defined in _dl_hwcap2.
1509 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1510 string handling for POWER8 feature bits.
1511 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1512 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1513 _dl_powerpc_cap_flags.
1514 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1515 * sysdeps/powerpc/rtld-global-offsets.sym
1516 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1517 _dl_hwcap2 in the rtld_global_ro structure.
1519 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1521 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1522 hardware capabilities in support of AT_HWCAP2.
1523 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1524 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1526 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1527 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1528 explicitly the unknown a_type display mechanism is used.
1529 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1530 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1532 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1533 to macro prototype for AT_HWCAP2 support.
1534 * sysdeps/i386/dl-procinfo.h: Likewise.
1535 * sysdeps/s390/dl-procinfo.h: Likewise.
1536 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1537 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1538 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1539 return -1 for unknown a_type display fallback.
1540 * sysdeps/sparc/dl-procinfo.h: Likewise.
1541 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1542 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1544 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1546 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1547 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1549 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1552 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1553 mprotect making __stack_prot writable.
1555 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1556 Joseph Myers <joseph@codesourcery.com>
1558 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1559 as being properly aligned.
1561 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1563 * dlfcn/modstatic5.c: New file.
1564 * dlfcn/tststatic5.c: New file.
1565 * dlfcn/Makefile (tests): Add tststatic5.
1566 (tests-static): Likewise.
1567 (modules-names): Add modstatic5.
1568 (tststatic5-ENV): New variable.
1569 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1572 * elf/dl-support.c (_dl_main_map): New variable.
1573 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1574 (_dl_nns, _dl_load_adds): Set to 1.
1575 (_dl_initial_searchlist): Refer to _dl_main_map.
1576 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1577 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1578 call to _dl_get_origin.
1579 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1581 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1582 * dlfcn/modstatic3.c: New file.
1583 * dlfcn/tststatic3.c: New file.
1584 * dlfcn/tststatic4.c: New file.
1585 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1586 (tests-static): Likewise.
1587 (modules-names): Add modstatic3.
1588 (tststatic3-ENV, tststatic4-ENV): New variables.
1589 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1590 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1592 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1594 * configure.in (CC): Require GCC version 4.4 or later.
1595 * configure: Regenerated.
1596 * manual/install.texi (Tools for Compilation): Update GCC version
1598 * INSTALL: Regenerated.
1600 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1603 * string/test-memcmp.c (check2): New.
1604 (main): Call check2.
1606 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1608 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1611 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1613 (dl_open_worker) [!SHARED]: ... here.
1615 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1617 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1619 2013-06-25 Richard Henderson <rth@redhat.com>
1621 * locale/programs/locarchive.c: Include <libc-internal.h>
1623 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1625 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1626 trailing whitespace removed.
1628 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1631 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1632 * locale/programs/locarchive.c: Include libc-mmap.h.
1633 (prepare_address_space): Take two new outputs (the mmap base and len).
1634 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1636 (create_archive): Declare new mmap base and len values for
1637 prepare_address_space, and store the result in ah.
1638 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1639 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1640 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1641 Declare new mmap base and len values for
1642 prepare_address_space, and store the result in new_ah.
1643 (open_archive): Declare new mmap base and len values for
1644 prepare_address_space, and store the result in ah.
1645 (close_archive): If ah->mmap_base is not NULL, use that and
1646 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1647 * sysdeps/generic/libc-mmap.h: New file.
1649 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1651 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1652 (ALIGN_UP): Likewise.
1653 (PTR_ALIGN_DOWN): Likewise.
1654 (PTR_ALIGN_UP): Likewise.
1656 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1658 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1659 entry mapped to PPC_PLATFORM_POWER8.
1660 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1662 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1663 (_dl_string_platform): Add case for exporting platform position for
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1666 search path to sysdeps/powerpc/powerpc32/power8 directory.
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1668 search path to sysdeps/powerpc/powerpc64/power8 directory.
1669 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1671 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1674 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1676 * INSTALL: Regenerate.
1678 * nscd/connections.c (nscd_init): Fix comment.
1680 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1682 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1685 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1686 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1688 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1690 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1692 (DL_DST_REQ_STATIC): Remove macro.
1694 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1697 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1698 with a shift of 0 bits.
1700 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1702 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1705 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1708 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1710 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1712 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1713 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1714 accepts -fno-tree-loop-distribute-patterns.
1715 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1716 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1718 * string/memset.c (memset): Likewise.
1719 * string/test-memmove.c (simple_memmove): Disable loop transformation
1721 * string/test-memset.c (simple_memset): Likewise.
1722 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1723 * benchtests/bench-memset.c (simple_memset): Likewise.
1724 * configure: Regenerated.
1726 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1728 * math/test-misc.c (main): Ignore fesetround failure when failures
1729 of subsequent rounding tests would be ignored.
1732 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1733 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1734 * math/fegetenv.c (__fegetenv): Return 0.
1735 * math/fegetexcept.c (fegetexcept): Return 0.
1736 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1738 * math/feholdexcpt.c (feholdexcept): Return 0.
1739 * math/fesetenv.c (__fesetenv): Return 0.
1740 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1741 argument FE_TONEAREST.
1742 * math/feupdateenv.c (__feupdateenv): Return 0.
1743 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1745 2013-06-18 Roland McGrath <roland@hack.frob.com>
1747 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1748 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1749 ($(objpfx)rtld-%.os rules): Use them.
1751 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1753 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1756 2013-06-17 Roland McGrath <roland@hack.frob.com>
1758 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1759 length of target pattern, then descending length of dependency pattern.
1760 * configure.in (AWK): Require gawk 3.1.2 or newer.
1761 * manual/install.texi (Tools for Compilation): Say that we do.
1762 * configure: Regenerated.
1764 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1765 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1766 * scripts/sysd-rules.awk: ... this new script.
1767 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1768 than a glob-style pattern.
1770 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1772 * math/test-misc.c (main): Do not treat incorrectly rounded
1773 conversions as failure unless ROUNDING_TESTS passes.
1775 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1778 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1779 restore exception state around main square root computation, then
1780 check for inexactness explicitly.
1782 * math/libm-test.inc (fma_test_data): Add another test.
1784 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1786 * manual/threads.texi (Non-POSIX Extensions): New document
1787 node. Document pthread_getattr_default_np and
1788 pthread_setattr_default_np.
1790 * Versions.def (libpthread): Add GLIBC_2.18.
1791 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1800 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1811 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1814 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1816 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1817 H.J. Lu <hjl.tools@gmail.com>
1820 * sysdeps/x86_64/rtld-memset.c: Remove file.
1821 * sysdeps/x86_64/rtld-memset.S: New file.
1823 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1825 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1826 (test_in_one_mode): Take arguments for whether the rounding mode
1827 is supported for each floating-point type.
1828 (do_test): Pass new arguments to test_in_one_mode using
1831 2013-06-13 Roland McGrath <roland@hack.frob.com>
1833 * posix/tst-waitid.c (do_test): Distinguish different instances of
1834 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1835 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1836 before entering the kernel for waitpid.
1838 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1840 * NEWS: Fix note on clock function precision. Text by Roland
1843 2013-06-13 Roland McGrath <roland@hack.frob.com>
1845 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1846 it into place only when and if the sanity check passes.
1848 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1850 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1851 output for whether conversion result is exact. Take argument
1852 indicating whether type is IBM long double.
1853 (round_for_all): Change need_exact field to ibm_ld.
1854 * stdlib/tst-strtod-round.c (struct exactness): New type.
1855 (struct test): Change bool ld_ok field to struct exactness exact.
1856 (TEST): Update all definitions for change to field.
1857 (tests): Regenerate array contents.
1858 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1859 field value. Check for IBM long double here.
1860 (do_test): Update calls to test_in_one_mode.
1862 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1865 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1866 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1868 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1871 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1872 generated by the compiler on loop optimizations.
1873 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1874 general definitions.
1876 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1878 * math/bug-nextafter.c: Include <math-tests.h>.
1879 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1881 * math/bug-nexttoward.c: Include <math-tests.h>.
1882 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1884 * math/test-misc.c: Include <math-tests.h>.
1885 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1888 2013-06-12 Andreas Jaeger <aj@suse.de>
1890 * po/ia.po: Update Interlingua translation from translation
1893 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1895 * include/fenv.h: Include stdbool.h.
1896 (struct rm_ctx): New structure.
1897 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1899 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1900 (SET_RESTORE_ROUNDF): Likewise.
1901 (SET_RESTORE_ROUNDL): Likewise.
1902 (SET_RESTORE_ROUND_NOEX): Likewise.
1903 (SET_RESTORE_ROUND_NOEXF): Likewise.
1904 (SET_RESTORE_ROUND_NOEXL): Likewise.
1905 (SET_RESTORE_ROUND_53BIT): Likewise.
1906 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1907 (libc_feresetround_noexf_ctx): Likewise.
1908 (libc_feresetround_noexl_ctx): Likewise.
1909 (libc_feholdsetround_53bit_ctx): Likewise.
1910 (libc_feresetround_53bit_ctx): Likewise.
1911 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1912 (libc_feholdexcept_setround_sse_ctx): New function.
1913 (libc_fesetenv_sse_ctx): Likewise.
1914 (libc_feupdateenv_sse_ctx): Likewise.
1915 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1916 (libc_feholdexcept_setround_387_ctx): Likewise.
1917 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1918 (libc_feholdsetround_387_prec_ctx): Likewise.
1919 (libc_feholdsetround_387_ctx): Likewise.
1920 (libc_feholdsetround_387_53bit_ctx): Likewise.
1921 (libc_feholdsetround_sse_ctx): Likewise.
1922 (libc_feresetround_sse_ctx): Likewise.
1923 (libc_feresetround_387_ctx): Likewise.
1924 (libc_feupdateenv_387_ctx): Likewise.
1925 (libc_feholdexcept_setroundf_ctx): Define macro.
1926 (libc_fesetenvf_ctx): Likewise.
1927 (libc_feupdateenvf_ctx): Likewise.
1928 (libc_feholdsetroundf_ctx): Likewise.
1929 (libc_feresetroundf_ctx): Likewise.
1930 (libc_feholdexcept_setround_ctx): Likewise.
1931 (libc_fesetenv_ctx): Likewise.
1932 (libc_feupdateenv_ctx): Likewise.
1933 (libc_feholdsetround_ctx): Likewise.
1934 (libc_feresetround_ctx): Likewise.
1935 (libc_feholdexcept_setroundl_ctx): Likewise.
1936 (libc_feupdateenvl_ctx): Likewise.
1937 (libc_feholdsetroundl_ctx): Likewise.
1938 (libc_feresetroundl_ctx): Likewise.
1939 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1940 (libc_feresetround_53bit_ctx): Likewise.
1942 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1944 * locale/iso-639.def: Convert to UTF-8.
1946 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1948 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1949 (EXCEPTION_TESTS_double): Likewise.
1950 (EXCEPTION_TESTS_long_double): Likewise.
1951 (EXCEPTION_TESTS): Likewise.
1952 * math/libm-test.inc (test_exceptions): Only test exceptions if
1953 EXCEPTION_TESTS (FLOAT).
1955 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1957 * benchtests/Makefile (string-bench): Add strcpy_chk and
1959 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1960 * benchtests/bench-stpcpy_chk.c: New file.
1961 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1962 * benchtests/bench-strcpy_chk.c: New file.
1963 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1965 (do_test): Likewise.
1967 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1969 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1970 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1971 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1972 with tabs where appropriate.
1973 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1975 [PPC_PLATFORM_PPC440]: Likewise.
1976 [PPC_PLATFORM_PPC464]: Likewise.
1977 [PPC_PLATFORM_PPC476]: Likewise.
1978 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1979 ppc464, and ppc476 platform strings merging from ports/
1982 2013-06-11 Andreas Schwab <schwab@suse.de>
1985 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1986 (from_ucs4_idx): Regenerate.
1987 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1988 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1989 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1990 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1991 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1992 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1993 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1994 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1995 from FROM_LOOP and TO_LOOP specific macros.
1996 (BODY): Handle combining characters.
1997 * iconvdata/BIG5HKSCS.irreversible: Update.
1998 * iconvdata/BIG5HKSCS.precomposed: New file.
1999 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2001 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2003 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2005 * include/sys/time.h: Fix indentation and add copyright header.
2007 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2008 (do_test): Likewise.
2009 * string/test-memchr.c (do_one_test): Likewise.
2010 (do_test): Likewise.
2011 * string/test-memcmp.c (do_one_test): Likewise.
2012 (do_test): Likewise.
2013 * string/test-memcpy.c (do_one_test): Likewise.
2014 (do_test): Likewise.
2015 * string/test-memmem.c (do_one_test): Likewise.
2016 (do_test): Likewise.
2017 (do_random_tests): Likewise.
2018 * string/test-memmove.c (do_one_test): Likewise.
2019 (do_test): Likewise.
2020 * string/test-memset.c (do_one_test): Likewise.
2021 (do_test): Likewise.
2022 * string/test-rawmemchr.c (do_one_test): Likewise.
2023 (do_test): Likewise.
2024 * string/test-strcasecmp.c (do_one_test): Likewise.
2025 (do_test): Likewise.
2026 * string/test-strcasestr.c (do_one_test): Likewise.
2027 (do_test): Likewise.
2028 * string/test-strcat.c (do_one_test): Likewise.
2029 (do_test): Likewise.
2030 * string/test-strchr.c (do_one_test): Likewise.
2031 (do_test): Likewise.
2032 * string/test-strcmp.c (do_one_test): Likewise.
2033 (do_test): Likewise.
2034 * string/test-strcpy.c (do_one_test): Likewise.
2035 (do_test): Likewise.
2036 * string/test-string.h: Likewise.
2037 (test_init): Likewise.
2038 * string/test-strlen.c (do_one_test): Likewise.
2039 (do_test): Likewise.
2040 * string/test-strncasecmp.c (do_one_test): Likewise.
2041 (do_test): Likewise.
2042 * string/test-strncat.c (do_one_test): Likewise.
2043 (do_test): Likewise.
2044 * string/test-strncmp.c (do_one_test): Likewise.
2045 (do_test_limit): Likewise.
2046 (do_test): Likewise.
2047 * string/test-strncpy.c (do_one_test): Likewise.
2048 (do_test): Likewise.
2049 * string/test-strnlen.c (do_one_test): Likewise.
2050 (do_test): Likewise.
2051 * string/test-strpbrk.c (do_one_test): Likewise.
2052 (do_test): Likewise.
2053 * string/test-strrchr.c (do_one_test): Likewise.
2054 (do_test): Likewise.
2055 * string/test-strspn.c (do_one_test): Likewise.
2056 (do_test): Likewise.
2057 * string/test-strstr.c (do_one_test): Likewise.
2058 (do_test): Likewise.
2060 * benchtests/Makefile (string-bench): Add string benchmarks.
2061 * benchtests/bench-bcopy-ifunc.c: New file.
2062 * benchtests/bench-bcopy.c: New file.
2063 * benchtests/bench-bzero-ifunc.c: New file.
2064 * benchtests/bench-bzero.c: New file.
2065 * benchtests/bench-memccpy-ifunc.c: New file.
2066 * benchtests/bench-memccpy.c: New file.
2067 * benchtests/bench-memchr-ifunc.c: New file.
2068 * benchtests/bench-memchr.c: New file.
2069 * benchtests/bench-memcmp-ifunc.c: New file.
2070 * benchtests/bench-memcmp.c: New file.
2071 * benchtests/bench-memmem-ifunc.c: New file.
2072 * benchtests/bench-memmem.c: New file.
2073 * benchtests/bench-memmove-ifunc.c: New file.
2074 * benchtests/bench-memmove.c: New file.
2075 * benchtests/bench-mempcpy-ifunc.c: New file.
2076 * benchtests/bench-mempcpy.c: New file.
2077 * benchtests/bench-memset-ifunc.c: New file.
2078 * benchtests/bench-memset.c: New file.
2079 * benchtests/bench-rawmemchr-ifunc.c: New file.
2080 * benchtests/bench-rawmemchr.c: New file.
2081 * benchtests/bench-stpcpy-ifunc.c: New file.
2082 * benchtests/bench-stpcpy.c: New file.
2083 * benchtests/bench-stpncpy-ifunc.c: New file.
2084 * benchtests/bench-stpncpy.c: New file.
2085 * benchtests/bench-strcasecmp-ifunc.c: New file.
2086 * benchtests/bench-strcasecmp.c: New file.
2087 * benchtests/bench-strcasestr-ifunc.c: New file.
2088 * benchtests/bench-strcasestr.c: New file.
2089 * benchtests/bench-strcat-ifunc.c: New file.
2090 * benchtests/bench-strcat.c: New file.
2091 * benchtests/bench-strchr-ifunc.c: New file.
2092 * benchtests/bench-strchr.c: New file.
2093 * benchtests/bench-strchrnul-ifunc.c: New file.
2094 * benchtests/bench-strchrnul.c: New file.
2095 * benchtests/bench-strcmp-ifunc.c: New file.
2096 * benchtests/bench-strcmp.c: New file.
2097 * benchtests/bench-strcpy-ifunc.c: New file.
2098 * benchtests/bench-strcpy.c: New file.
2099 * benchtests/bench-strcspn-ifunc.c: New file.
2100 * benchtests/bench-strcspn.c: New file.
2101 * benchtests/bench-strlen-ifunc.c: New file.
2102 * benchtests/bench-strlen.c: New file.
2103 * benchtests/bench-strncasecmp-ifunc.c: New file.
2104 * benchtests/bench-strncasecmp.c: New file.
2105 * benchtests/bench-strncat-ifunc.c: New file.
2106 * benchtests/bench-strncat.c: New file.
2107 * benchtests/bench-strncmp-ifunc.c: New file.
2108 * benchtests/bench-strncmp.c: New file.
2109 * benchtests/bench-strncpy-ifunc.c: New file.
2110 * benchtests/bench-strncpy.c: New file.
2111 * benchtests/bench-strnlen-ifunc.c: New file.
2112 * benchtests/bench-strnlen.c: New file.
2113 * benchtests/bench-strpbrk-ifunc.c: New file.
2114 * benchtests/bench-strpbrk.c: New file.
2115 * benchtests/bench-strrchr-ifunc.c: New file.
2116 * benchtests/bench-strrchr.c: New file.
2117 * benchtests/bench-strspn-ifunc.c: New file.
2118 * benchtests/bench-strspn.c: New file.
2119 * benchtests/bench-strstr-ifunc.c: New file.
2120 * benchtests/bench-strstr.c: New file.
2122 * benchtests/Makefile: Disable parallel execution of targets.
2123 (string-bench): Add memcpy.
2124 (benchset): New variable to store a list of benchmark sets.
2125 (bench-func): Renamed from bench.
2126 (bench-set): New target.
2127 (bench): Depend on bench-func and bench-set.
2128 * benchtests/README: Add section on benchmark sets.
2129 * benchtests/bench-memcpy-ifunc.c: New file.
2130 * benchtests/bench-memcpy.c: New file.
2131 * benchtests/bench-string.h: New file.
2133 2013-06-11 Andreas Schwab <schwab@suse.de>
2136 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2137 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2138 values in the triple.
2139 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2140 terminator in the group key.
2142 2013-06-11 Andreas Jaeger <aj@suse.de>
2144 * po/zh_TW.po: Update Chinese (traditional) translation from
2145 translation project.
2147 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2149 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2150 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2151 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2152 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2153 (clock_getcpuclockid): Likewise.
2154 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2155 Add weak_alias and libc_hidden_def.
2156 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2157 * rt/clock_gettime.c (clock_gettime): Rename to
2158 __clock_gettime. Add weak_alias and libc_hidden_def.
2159 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2160 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2161 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2162 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2163 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2165 * rt/clock_settime.c (clock_settime): Rename to
2166 __clock_settime. Add weak_alias and libc_hidden_def.
2167 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2169 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2171 * mach/err_boot.sub: Remove trailing whitespace.
2172 * mach/err_ipc.sub: Likewise.
2173 * mach/err_mach.sub: Likewise.
2175 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2176 (ROUNDING_TESTS_double): Likewise.
2177 (ROUNDING_TESTS_long_double): Likewise.
2178 (ROUNDING_TESTS): Likewise.
2179 * math/libm-test.inc: Include <math-tests.h>.
2180 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2181 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2182 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2183 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2185 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2187 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2190 2013-06-08 Joseph Myers <joseph@codesourcery.com>
2192 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2193 otherwise empty TRANS lines.
2194 * sysdeps/gnu/errlist.c: Regenerated.
2196 * catgets/gencat.c (error_print): Use (void) in function
2198 * crypt/crypt_util.c (__init_des): Likewise.
2199 * crypt/speeds.c (Stop): Likewise.
2201 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2202 * inet/ruserpass.c (token): Likewise.
2203 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2204 * intl/localealias.c (extend_alias_table): Likewise.
2205 * intl/plural-exp.c (init_germanic_plural): Likewise.
2206 * libio/fcloseall.c (__fcloseall): Likewise.
2207 * libio/genops.c (_IO_flush_all): Likewise.
2208 (_IO_flush_all_linebuffered): Likewise.
2209 (_IO_cleanup): Likewise.
2210 (_IO_iter_begin): Likewise.
2211 (_IO_iter_end): Likewise.
2212 (_IO_list_lock): Likewise.
2213 (_IO_list_unlock): Likewise.
2214 (_IO_list_resetlock): Likewise.
2215 * libio/getchar.c (getchar): Likewise.
2216 * libio/getchar_u.c (getchar_unlocked): Likewise.
2217 * libio/getwchar.c (getwchar): Likewise.
2218 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2219 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2220 * login/getpt.c (__getpt): Likewise.
2221 * login/tst-utmp.c (main): Likewise.
2222 * malloc/hooks.c (__malloc_check_init): Likewise.
2223 * malloc/malloc.c (__malloc_stats): Likewise.
2224 * malloc/mtrace.c (tr_break): Likewise.
2226 (muntrace): Likewise.
2227 * misc/fstab.c (endfsent): Likewise.
2228 * misc/getclktck.c (__getclktck): Likewise.
2229 * misc/getdtsz.c (__getdtablesize): Likewise.
2230 * misc/gethostid.c (gethostid): Likewise.
2231 * misc/getpagesize.c (__getpagesize): Likewise.
2232 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2233 (__get_nprocs): Likewise.
2234 (__get_phys_pages): Likewise.
2235 (__get_avphys_pages): Likewise.
2236 * misc/getttyent.c (getttyent): Likewise.
2237 (setttyent): Likewise.
2238 (endttyent): Likewise.
2239 * misc/getusershell.c (getusershell): Likewise.
2240 (endusershell): Likewise.
2241 (setusershell): Likewise.
2242 (initshells): Likewise.
2243 * misc/hsearch.c (__hdestroy): Likewise.
2244 * misc/sync.c (sync): Likewise.
2245 * misc/syslog.c (closelog_internal): Likewise.
2246 (closelog): Likewise.
2247 * misc/ttyslot.c (ttyslot): Likewise.
2248 * misc/vhangup.c (vhangup): Likewise.
2249 * posix/fork.c (__fork): Likewise.
2250 * posix/getegid.c (__getegid): Likewise.
2251 * posix/geteuid.c (__geteuid): Likewise.
2252 * posix/getgid.c (__getgid): Likewise.
2253 * posix/getpid.c (__getpid): Likewise.
2254 * posix/getppid.c (__getppid): Likewise.
2255 * posix/getuid.c (__getuid): Likewise.
2256 * posix/pause.c (pause): Likewise.
2257 * posix/setpgrp.c (setpgrp): Likewise.
2258 * posix/setsid.c (__setsid): Likewise.
2259 * posix/test-vfork.c (noop): Likewise.
2260 * resolv/gethnamaddr.c (_endhtent): Likewise.
2261 (_gethtent): Likewise.
2262 (ht_endhostent): Likewise.
2263 (gethostent): Likewise.
2264 (dns_service): Likewise.
2265 * stdlib/drand48.c (drand48): Likewise.
2266 * stdlib/lrand48.c (lrand48): Likewise.
2267 * stdlib/mrand48.c (mrand48): Likewise.
2268 * stdlib/rand.c (rand): Likewise.
2269 * stdlib/random.c (__random): Likewise.
2270 * stdlib/setenv.c (clearenv): Likewise.
2271 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2272 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2273 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2274 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2275 (__get_nprocs): Likewise.
2276 (__get_phys_pages): Likewise.
2277 (__get_avphys_pages): Likewise.
2278 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2279 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2280 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2281 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2282 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2283 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2284 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2285 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2286 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2287 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2288 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2289 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2290 * sysdeps/posix/clock.c (clock): Likewise.
2291 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2292 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2293 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2294 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2295 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2296 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2297 (__get_nprocs_conf): Likewise.
2298 (__get_phys_pages): Likewise.
2299 (__get_avphys_pages): Likewise.
2300 * time/clock.c (clock): Likewise.
2301 * time/tzset.c (__tzname_max): Likewise.
2303 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2305 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2306 (__bswap_32): Do not use "register".
2307 * crypt/crypt.c (_ufc_doit_r): Likewise.
2308 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2309 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2310 * gmon/gmon.c (__monstartup): Likewise.
2311 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2312 * hurd/hurdmalloc.c (more_memory): Likewise.
2315 (realloc): Likewise.
2316 (malloc_fork_prepare): Likewise.
2317 (malloc_fork_parent): Likewise.
2318 (malloc_fork_child): Likewise.
2319 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2320 (_svcauth_des): Likewise.
2321 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2322 * inet/inet_net.c (inet_network): Likewise.
2323 * inet/inet_netof.c (inet_netof): Likewise.
2324 * inet/rcmd.c (__validuser2_sa): Likewise.
2325 * io/fts.c (fts_open): Likewise.
2326 (fts_load): Likewise.
2327 (fts_close): Likewise.
2328 (fts_read): Likewise.
2329 (fts_children): Likewise.
2330 (fts_build): Likewise.
2331 (fts_stat): Likewise.
2332 (fts_sort): Likewise.
2333 (fts_alloc): Likewise.
2334 (fts_lfree): Likewise.
2335 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2336 (_IO_file_xsgetn): Likewise.
2337 (_IO_file_xsgetn_mmap): Likewise.
2338 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2339 (_IO_cookie_write): Likewise.
2340 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2341 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2342 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2343 * malloc/obstack.c (_obstack_begin): Likewise.
2344 (_obstack_begin_1): Likewise.
2345 (_obstack_newchunk): Likewise.
2346 (_obstack_allocated_p): Likewise.
2347 (obstack_free): Likewise.
2348 (_obstack_memory_used): Likewise.
2349 * misc/getttyent.c (getttynam): Likewise.
2350 (getttyent): Likewise.
2353 * misc/getusershell.c (initshells): Likewise.
2354 * misc/syslog.c (__vsyslog_chk): Likewise.
2355 * misc/ttyslot.c (ttyslot): Likewise.
2356 * nis/nis_hash.c (__nis_hash): Likewise.
2357 * posix/fnmatch_loop.c (FCT): Likewise.
2358 * posix/getconf.c (print_all): Likewise.
2360 * posix/getopt.c (exchange): Likewise.
2361 * posix/glob.c (globfree): Likewise.
2362 (prefix_array): Likewise.
2363 (__glob_pattern_type): Likewise.
2364 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2365 (NS_GET32): Likewise.
2366 (NS_PUT16): Likewise.
2367 (NS_PUT32): Likewise.
2368 * resolv/gethnamaddr.c (getanswer): Likewise.
2369 (gethostbyname2): Likewise.
2370 (gethostbyaddr): Likewise.
2371 (_gethtent): Likewise.
2372 (_gethtbyname2): Likewise.
2373 (_gethtbyaddr): Likewise.
2374 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2375 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2376 * resolv/res_init.c (__res_vinit): Likewise.
2377 (net_mask): Likewise.
2378 * resolv/res_mkquery.c (outchar): Likewise.
2380 * stdio-common/printf_fp.c (outchar): Likewise.
2382 * stdio-common/printf_fphex.c (outchar): Likewise.
2384 * stdio-common/printf_size.c (outchar): Likewise.
2386 * stdio-common/test_rdwr.c (main): Likewise.
2387 * stdio-common/tfformat.c (matches): Likewise.
2388 * stdio-common/vfprintf.c (outchar): Likewise.
2389 (printf_unknown): Likewise.
2390 (buffered_vfprintf): Likewise.
2391 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2392 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2393 (ReadFile): Likewise.
2394 * stdlib/qsort.c (SWAP): Likewise.
2395 (_quicksort): Likewise.
2396 * stdlib/setenv.c (__add_to_environ): Likewise.
2397 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2398 * stdlib/strtol_l.c (__strtol_l): Likewise.
2399 * stdlib/tst-strtod.c (main): Likewise.
2400 * stdlib/tst-strtol.c (main): Likewise.
2401 * stdlib/tst-strtoll.c (main): Likewise.
2402 * string/bits/string2.h (__strcmp_cc): Likewise.
2403 (__strcmp_cg): Likewise.
2404 (__strcspn_c1): Likewise.
2405 (__strcspn_c2): Likewise.
2406 (__strcspn_c3): Likewise.
2407 (__strspn_c1): Likewise.
2408 (__strspn_c2): Likewise.
2409 (__strspn_c3): Likewise.
2410 (__strsep_1c): Likewise.
2411 (__strsep_2c): Likewise.
2412 (__strsep_3c): Likewise.
2413 * string/memccpy.c (__memccpy): Likewise.
2414 * string/stpcpy.c (__stpcpy): Likewise.
2415 * string/strcmp.c (strcmp): Likewise.
2416 * string/strrchr.c (strrchr): Likewise.
2417 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2419 * sysdeps/mach/hurd/getcwd.c
2420 (_hurd_canonicalize_directory_name_internal): Likewise.
2421 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2422 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2423 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2424 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2425 Likewise, in both definitions.
2426 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2428 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2429 64] (__bswap_64): Likewise.
2430 * time/test_time.c (main): Likewise.
2431 * time/tzfile.c (__tzfile_read): Likewise.
2432 (__tzfile_compute): Likewise.
2433 * time/tzset.c (__tzset_parse_tz): Likewise.
2434 (tzset_internal): Likewise.
2435 (compute_change): Likewise.
2436 * wcsmbs/wcscat.c (__wcscat): Likewise.
2437 * wcsmbs/wcschr.c (wcschr): Likewise.
2438 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2439 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2440 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2441 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2442 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2443 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2444 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2445 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2446 * wcsmbs/wmemset.c (wmemset): Likewise.
2448 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2450 * scripts/config.guess: Update to version 2013-05-16.
2451 * scripts/config.sub: Update to version 2013-04-24.
2452 * scripts/install-sh: Update to version 2011-11-20.07.
2453 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2454 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2456 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2458 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2459 * elf/sln.c: Likewise.
2460 * hurd/hurd/ioctl.h: Likewise.
2461 * hurd/hurdmalloc.c: Likewise.
2462 * hurd/xattr.c: Likewise.
2463 * include/shlib-compat.h: Likewise.
2464 * inet/ruserpass.c: Likewise.
2465 * libio/iofgets_u.c: Likewise.
2466 * libio/iofgetws_u.c: Likewise.
2467 * locale/programs/ld-identification.c: Likewise.
2468 * locale/programs/ld-time.c: Likewise.
2469 * mach/msg-destroy.c: Likewise.
2470 * nss/nss_files/files-netgrp.c: Likewise.
2471 * resolv/res_data.c: Likewise.
2472 * soft-fp/op-1.h: Likewise.
2473 * soft-fp/op-2.h: Likewise.
2474 * soft-fp/op-4.h: Likewise.
2475 * soft-fp/op-common.h: Likewise.
2476 * stdio-common/printf_fphex.c: Likewise.
2477 * stdlib/strtod_l.c: Likewise.
2478 * sunrpc/rpc/clnt.h: Likewise.
2479 * sysdeps/generic/framestate.c: Likewise.
2480 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2481 * sysdeps/i386/bsd-setjmp.S: Likewise.
2482 * sysdeps/i386/__longjmp.S: Likewise.
2483 * sysdeps/i386/setjmp.S: Likewise.
2484 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2485 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2486 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2487 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2488 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2489 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2490 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2491 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2492 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2493 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2494 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2495 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2496 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2497 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2498 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2499 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2500 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2501 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2502 * sysdeps/ieee754/support.c: Likewise.
2503 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2504 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2505 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2506 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2507 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2508 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2509 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2510 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2511 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2512 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2513 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2514 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2515 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2516 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2517 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2518 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2519 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2522 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2524 * posix/transbug.c: Remove executable mode.
2526 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2528 * crypt/speeds.c: Remove trailing whitespace.
2529 * dlfcn/default.c: Likewise.
2530 * elf/ifuncdep2.c: Likewise.
2531 * elf/ifuncmain1.c: Likewise.
2532 * elf/ifuncmain1vis.c: Likewise.
2533 * elf/testobj.h: Likewise.
2534 * elf/tst-stackguard1.c: Likewise.
2535 * gmon/sys/gmon.h: Likewise.
2536 * hurd/hurdmsg.c: Likewise.
2537 * hurd/new-fd.c: Likewise.
2538 * hurd/ports-get.c: Likewise.
2539 * iconvdata/ibm1008_420.c: Likewise.
2540 * inet/tst-getni1.c: Likewise.
2541 * inet/tst-getni2.c: Likewise.
2542 * libio/ioungetc.c: Likewise.
2543 * libio/wfiledoalloc.c: Likewise.
2544 * manual/libm-err-tab.pl: Likewise.
2545 * math/w_dremf.c: Likewise.
2546 * misc/ftruncate.c: Likewise.
2547 * posix/bug-glob2.c: Likewise.
2548 * posix/tst-pcre.c: Likewise.
2549 * posix/wait4.c: Likewise.
2550 * resolv/README: Likewise.
2551 * resolv/res_debug.h: Likewise.
2552 * resolv/tst-inet_ntop.c: Likewise.
2553 * setjmp/bug269-setjmp.c: Likewise.
2554 * soft-fp/extended.h: Likewise.
2555 * soft-fp/op-1.h: Likewise.
2556 * soft-fp/op-2.h: Likewise.
2557 * soft-fp/op-4.h: Likewise.
2558 * soft-fp/op-8.h: Likewise.
2559 * soft-fp/testit.c: Likewise.
2560 * stdio-common/bug16.c: Likewise.
2561 * stdlib/random.c: Likewise.
2562 * sunrpc/rpcsvc/rquota.x: Likewise.
2563 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2564 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2565 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2566 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2567 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2568 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2569 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2570 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2571 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2572 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2573 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2574 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2575 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2576 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2577 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2578 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2579 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2580 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2581 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2582 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2583 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2584 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2585 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2586 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2587 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2588 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2589 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2591 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2592 * sysdeps/ieee754/s_lib_version.c: Likewise.
2593 * sysdeps/mach/hurd/check_fds.c: Likewise.
2594 * sysdeps/mach/hurd/getsockname.c: Likewise.
2595 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2596 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2597 * sysdeps/powerpc/bits/link.h: Likewise.
2598 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2599 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2600 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2601 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2602 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2603 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2604 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2605 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2606 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2607 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2608 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2609 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2610 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2611 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2612 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2613 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2614 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2615 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2616 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2617 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2618 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2619 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2620 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2621 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2622 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2623 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2624 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2625 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2626 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2627 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2628 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2629 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2630 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2631 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2632 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2633 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2634 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2635 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2636 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2637 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2638 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2639 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2640 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2641 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2642 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2643 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2644 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2645 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2646 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2647 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2648 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2649 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2650 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2651 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2652 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2653 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2654 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2655 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2656 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2657 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2658 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2659 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2660 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2661 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2662 * sysdeps/powerpc/sysdep.h: Likewise.
2663 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2664 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2665 * sysdeps/sh/dl-trampoline.S: Likewise.
2666 * sysdeps/sh/memset.S: Likewise.
2667 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2668 * sysdeps/sh/strlen.S: Likewise.
2669 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2670 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2671 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2672 * sysdeps/sparc/sparc32/rem.S: Likewise.
2673 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2674 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2675 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2676 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2677 * sysdeps/sparc/sparc32/urem.S: Likewise.
2678 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2679 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2680 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2681 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2682 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2683 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2684 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2685 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2686 * sysdeps/unix/bsd/times.c: Likewise.
2687 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2688 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2692 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2693 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2694 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2695 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2696 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2697 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2698 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2699 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2700 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2701 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2702 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2703 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2704 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2705 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2706 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2707 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2708 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2709 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2710 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2711 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2712 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2713 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2714 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2715 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2716 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2717 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2718 * sysdeps/x86_64/strcspn.S: Likewise.
2720 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2722 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2723 generated file. Regenerate properly from gen-translit.pl.
2724 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2725 locale/C-translit.h.
2727 2013-06-05 Andreas Schwab <schwab@suse.de>
2730 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2731 week as 6 instead of -1.
2732 * time/tst-strptime.c (day_tests): Add test case.
2734 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2736 * sysdeps/generic/math_private.h
2737 (libc_feholdexcept_setround_53bit): Replace with
2738 libc_feholdsetround_53bit.
2739 (libc_feupdateenv_53bit): Replace with
2740 libc_feresetround_53bit.
2741 (SET_RESTORE_ROUND_53BIT): Adjust.
2743 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2745 * string/test-strchrnul.c: Add copyright header.
2747 * posix/tst-getaddrinfo4.c: Increase test timeout.
2749 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2752 * math/libm-test.inc (MAX_EXP): Remove
2754 (ulp): Use MIN_EXP - MANT_DIG.
2755 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2757 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2759 * po/be.po: Revert last change.
2760 * po/zh_CN.po: Likewise.
2761 * po/header.pot: Likewise.
2763 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2765 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2766 link-libc-deps to empty as target-specific variable.
2767 * Makerules (link-libc-args): New variable.
2768 (libc-for-link): Likewise.
2769 (link-libc-deps): Likewise.
2770 (lib%.so): Depend on $(link-libc-deps). Link with
2772 (build-module): Link with $(link-libc-args).
2773 (build-module-asneeded): Likewise.
2774 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2776 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2777 target-specific variable.
2778 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2779 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2780 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2782 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2784 ($(objpfx)libpcprofile.so): Likewise.
2785 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2787 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2788 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2789 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2791 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2792 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2793 * login/Makefile ($(objpfx)libutil.so): Likewise.
2794 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2795 * math/Makefile ($(objpfx)libm.so): Likewise.
2796 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2797 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2798 variable instead of depending directly on libc.
2799 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2800 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2802 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2804 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2805 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2806 ($(objpfx)libanl.so): Likewise.
2807 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2809 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2811 * sysdeps/i386/fpu/Makefile: Remove file.
2812 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2813 ($(objpfx)libm.so): Remove dependency on ld.so.
2815 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2818 * nis/yp_xdr.c (XDRMAXNAME): Define.
2819 (XDRMAXRECORD): Define.
2820 (xdr_domainname): Use XDRMAXNAME.
2821 (xdr_mapname): Likewise.
2822 (xdr_peername): Likewise.
2823 (xdr_keydat): Use XDRMAXRECORD.
2824 (xdr_valdat): Likewise.
2826 2013-05-30 Jeff Law <law@redhat.com>
2829 * manual/errno.texi (ESTALE): Update to account for more than
2830 just NFS file systems.
2831 * sysdeps/gnu/errlist.c: Regenerated.
2833 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2836 * elf/Makefile (tests): Add tst-null-argv.
2837 (modules-names): Add tst-null-argv-lib.
2838 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2839 (tst-null-argv-ENV): Set environment for tst-null-argv.
2840 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2841 (RTLD_PROGNAME): New macro.
2842 * elf/tst-null-argv.c: New test case.
2843 * elf/tst-null-argv-lib.c: Library for test case.
2844 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2845 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2846 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2847 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2848 * elf/dl-init.c (call_init): Likewise.
2849 (_dl_init): Likewise.
2850 * elf/dl-load.c (print_search_path): Likewise.
2851 (_dl_map_object): Likewise.
2852 * elf/dl-lookup.c (do_lookup_x): Likewise.
2853 (add_dependency): Likewise.
2854 (_dl_lookup_symbol_x): Likewise.
2855 (_dl_debug_bindings): Likewise.
2856 * elf/dl-open.c (_dl_show_scope): Likewise.
2857 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2858 * elf/dl-version.c (match_symbol): Likewise.
2859 (_dl_check_map_versions): Likewise.
2860 * elf/rtld.c (dl_main): Likewise.
2861 (print_unresolved): Use RTLD_PROGNAME.
2862 (print_missing_version): Likewise.
2863 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2864 (elf_machine_rela): Likewise.
2865 * sysdeps/powerpc/powerpc32/dl-machine.c
2866 (__process_machine_rela): Likewise.
2867 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2869 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2871 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2873 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2876 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2880 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2882 * po/be.po: Add descriptive title.
2883 * po/zh_CN.po: Likewise.
2884 * po/header.pot: Likewise.
2886 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2888 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2890 (enlarge_archive): Likewise.
2892 2013-05-28 Ben North <ben@redfrontdoor.org>
2894 * manual/arith.texi (frexp): It is the magnitude of the return
2895 value which lies in [0.5, 1), not the return value itself.
2897 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2901 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2903 * stdio-common/bug26.c (main): Correct fscanf template.
2905 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2906 declare _dl_skip_args.
2908 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2911 * manual/platform.texi: Add missing @end deftypefun.
2913 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2916 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2917 bit of mantissa of 2^16382.
2918 * math/libm-test.inc (hypot_test_data): Add more tests.
2920 * math/libm-test.inc: Add drem and pow10 to list of tested
2922 (pow10_test): New function.
2923 (drem_test): Likewise.
2924 (drem_test_tonearest): Likewise.
2925 (drem_test_towardzero): Likewise.
2926 (drem_test_downward): Likewise.
2927 (drem_test_upward): Likewise.
2928 (main): Call the new functions.
2930 * math/libm-test.inc (finite_test_data): Remove.
2931 (finite_test): Run tests from isfinite_test_data.
2932 (gamma_test_data): Remove.
2933 (gamma_test): Run tests from lgamma_test_data.
2934 * sysdeps/i386/fpu/libm-test-ulps: Update.
2935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2937 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2939 * manual/platform.texi: Add PowerPC PPR function set documentation.
2940 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2943 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2945 * math/libm-test.inc (MAX_EXP): Define.
2947 (ulp): New function.
2948 (check_float_internal): Use ULPDIFF.
2949 (cpow_test): Disable failing test.
2950 (check_ulp): Test ulp() implemetnation.
2951 (main): Call check_ulp before starting tests.
2953 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2955 * math/gen-libm-test.pl (generate_testfile): Do not handle
2956 START_DATA and END_DATA.
2957 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2959 (acos_tonearest_test_data): Likewise.
2960 (acos_towardzero_test_data): Likewise.
2961 (acos_downward_test_data): Likewise.
2962 (acos_upward_test_data): Likewise.
2963 (acosh_test_data): Likewise.
2964 (asin_test_data): Likewise.
2965 (asin_tonearest_test_data): Likewise.
2966 (asin_towardzero_test_data): Likewise.
2967 (asin_downward_test_data): Likewise.
2968 (asin_upward_test_data): Likewise.
2969 (asinh_test_data): Likewise.
2970 (atan_test_data): Likewise.
2971 (atanh_test_data): Likewise.
2972 (atan2_test_data): Likewise.
2973 (cabs_test_data): Likewise.
2974 (cacos_test_data): Likewise.
2975 (cacosh_test_data): Likewise.
2976 (carg_test_data): Likewise.
2977 (casin_test_data): Likewise.
2978 (casinh_test_data): Likewise.
2979 (catan_test_data): Likewise.
2980 (catanh_test_data): Likewise.
2981 (cbrt_test_data): Likewise.
2982 (ccos_test_data): Likewise.
2983 (ccosh_test_data): Likewise.
2984 (ceil_test_data): Likewise.
2985 (cexp_test_data): Likewise.
2986 (cimag_test_data): Likewise.
2987 (clog_test_data): Likewise.
2988 (clog10_test_data): Likewise.
2989 (conj_test_data): Likewise.
2990 (copysign_test_data): Likewise.
2991 (cos_test_data): Likewise.
2992 (cos_tonearest_test_data): Likewise.
2993 (cos_towardzero_test_data): Likewise.
2994 (cos_downward_test_data): Likewise.
2995 (cos_upward_test_data): Likewise.
2996 (cosh_test_data): Likewise.
2997 (cosh_tonearest_test_data): Likewise.
2998 (cosh_towardzero_test_data): Likewise.
2999 (cosh_downward_test_data): Likewise.
3000 (cosh_upward_test_data): Likewise.
3001 (cpow_test_data): Likewise.
3002 (cproj_test_data): Likewise.
3003 (creal_test_data): Likewise.
3004 (csin_test_data): Likewise.
3005 (csinh_test_data): Likewise.
3006 (csqrt_test_data): Likewise.
3007 (ctan_test_data): Likewise.
3008 (ctan_tonearest_test_data): Likewise.
3009 (ctan_towardzero_test_data): Likewise.
3010 (ctan_downward_test_data): Likewise.
3011 (ctan_upward_test_data): Likewise.
3012 (ctanh_test_data): Likewise.
3013 (ctanh_tonearest_test_data): Likewise.
3014 (ctanh_towardzero_test_data): Likewise.
3015 (ctanh_downward_test_data): Likewise.
3016 (ctanh_upward_test_data): Likewise.
3017 (erf_test_data): Likewise.
3018 (erfc_test_data): Likewise.
3019 (exp_test_data): Likewise.
3020 (exp_tonearest_test_data): Likewise.
3021 (exp_towardzero_test_data): Likewise.
3022 (exp_downward_test_data): Likewise.
3023 (exp_upward_test_data): Likewise.
3024 (exp10_test_data): Likewise.
3025 (exp2_test_data): Likewise.
3026 (expm1_test_data): Likewise.
3027 (fabs_test_data): Likewise.
3028 (fdim_test_data): Likewise.
3029 (finite_test_data): Likewise.
3030 (floor_test_data): Likewise.
3031 (fma_test_data): Likewise.
3032 (fma_towardzero_test_data): Likewise.
3033 (fma_downward_test_data): Likewise.
3034 (fma_upward_test_data): Likewise.
3035 (fmax_test_data): Likewise.
3036 (fmin_test_data): Likewise.
3037 (fmod_test_data): Likewise.
3038 (fpclassify_test_data): Likewise.
3039 (frexp_test_data): Likewise.
3040 (gamma_test_data): Likewise.
3041 (hypot_test_data): Likewise.
3042 (ilogb_test_data): Likewise.
3043 (isfinite_test_data): Likewise.
3044 (isgreater_test_data): Likewise.
3045 (isgreaterequal_test_data): Likewise.
3046 (isinf_test_data): Likewise.
3047 (isless_test_data): Likewise.
3048 (islessequal_test_data): Likewise.
3049 (islessgreater_test_data): Likewise.
3050 (isnan_test_data): Likewise.
3051 (isnormal_test_data): Likewise.
3052 (issignaling_test_data): Likewise.
3053 (isunordered_test_data): Likewise.
3054 (j0_test_data): Likewise.
3055 (j1_test_data): Likewise.
3056 (jn_test_data): Likewise.
3057 (ldexp_test_data): Likewise.
3058 (lgamma_test_data): Likewise.
3059 (lrint_test_data): Likewise.
3060 (lrint_tonearest_test_data): Likewise.
3061 (lrint_towardzero_test_data): Likewise.
3062 (lrint_downward_test_data): Likewise.
3063 (lrint_upward_test_data): Likewise.
3064 (llrint_test_data): Likewise.
3065 (llrint_tonearest_test_data): Likewise.
3066 (llrint_towardzero_test_data): Likewise.
3067 (llrint_downward_test_data): Likewise.
3068 (llrint_upward_test_data): Likewise.
3069 (log_test_data): Likewise.
3070 (log10_test_data): Likewise.
3071 (log1p_test_data): Likewise.
3072 (log2_test_data): Likewise.
3073 (logb_test_data): Likewise.
3074 (logb_downward_test_data): Likewise.
3075 (lround_test_data): Likewise.
3076 (llround_test_data): Likewise.
3077 (modf_test_data): Likewise.
3078 (nearbyint_test_data): Likewise.
3079 (nextafter_test_data): Likewise.
3080 (nexttoward_test_data): Likewise.
3081 (pow_test_data): Likewise.
3082 (pow_tonearest_test_data): Likewise.
3083 (pow_towardzero_test_data): Likewise.
3084 (pow_downward_test_data): Likewise.
3085 (pow_upward_test_data): Likewise.
3086 (remainder_test_data): Likewise.
3087 (remainder_tonearest_test_data): Likewise.
3088 (remainder_towardzero_test_data): Likewise.
3089 (remainder_downward_test_data): Likewise.
3090 (remainder_upward_test_data): Likewise.
3091 (remquo_test_data): Likewise.
3092 (rint_test_data): Likewise.
3093 (rint_tonearest_test_data): Likewise.
3094 (rint_towardzero_test_data): Likewise.
3095 (rint_downward_test_data): Likewise.
3096 (rint_upward_test_data): Likewise.
3097 (round_test_data): Likewise.
3098 (scalb_test_data): Likewise.
3099 (scalbn_test_data): Likewise.
3100 (scalbln_test_data): Likewise.
3101 (signbit_test_data): Likewise.
3102 (sin_test_data): Likewise.
3103 (sin_tonearest_test_data): Likewise.
3104 (sin_towardzero_test_data): Likewise.
3105 (sin_downward_test_data): Likewise.
3106 (sin_upward_test_data): Likewise.
3107 (sincos_test_data): Likewise.
3108 (sinh_test_data): Likewise.
3109 (sinh_tonearest_test_data): Likewise.
3110 (sinh_towardzero_test_data): Likewise.
3111 (sinh_downward_test_data): Likewise.
3112 (sinh_upward_test_data): Likewise.
3113 (sqrt_test_data): Likewise.
3114 (tan_test_data): Likewise.
3115 (tan_tonearest_test_data): Likewise.
3116 (tan_towardzero_test_data): Likewise.
3117 (tan_downward_test_data): Likewise.
3118 (tan_upward_test_data): Likewise.
3119 (tanh_test_data): Likewise.
3120 (tgamma_test_data): Likewise.
3121 (trunc_test_data): Likewise.
3122 (y0_test_data): Likewise.
3123 (y1_test_data): Likewise.
3124 (yn_test_data): Likewise.
3125 (significand_test_data): Likewise.
3127 * math/gen-libm-test.pl (@functions): Remove variable.
3128 (generate_testfile): Don't handle START and END lines.
3129 * math/libm-test.inc (START): New macro.
3131 (END_COMPLEX): Likewise.
3132 (acos_test): Use END macro without arguments.
3133 (acos_test_tonearest): Likewise.
3134 (acos_test_towardzero): Likewise.
3135 (acos_test_downward): Likewise.
3136 (acos_test_upward): Likewise.
3137 (acosh_test): Likewise.
3138 (asin_test): Likewise.
3139 (asin_test_tonearest): Likewise.
3140 (asin_test_towardzero): Likewise.
3141 (asin_test_downward): Likewise.
3142 (asin_test_upward): Likewise.
3143 (asinh_test): Likewise.
3144 (atan_test): Likewise.
3145 (atanh_test): Likewise.
3146 (atan2_test): Likewise.
3147 (cabs_test): Likewise.
3148 (cacos_test): Use END_COMPLEX macro without arguments.
3149 (cacosh_test): Likewise.
3150 (carg_test): Use END macro without arguments.
3151 (casin_test): Use END_COMPLEX macro without arguments.
3152 (casinh_test): Likewise.
3153 (catan_test): Likewise.
3154 (catanh_test): Likewise.
3155 (cbrt_test): Use END macro without arguments.
3156 (ccos_test): Use END_COMPLEX macro without arguments.
3157 (ccosh_test): Likewise.
3158 (ceil_test): Use END macro without arguments.
3159 (cexp_test): Use END_COMPLEX macro without arguments.
3160 (cimag_test): Use END macro without arguments.
3161 (clog_test): Use END_COMPLEX macro without arguments.
3162 (clog10_test): Likewise.
3163 (conj_test): Likewise.
3164 (copysign_test): Use END macro without arguments.
3165 (cos_test): Likewise.
3166 (cos_test_tonearest): Likewise.
3167 (cos_test_towardzero): Likewise.
3168 (cos_test_downward): Likewise.
3169 (cos_test_upward): Likewise.
3170 (cosh_test): Likewise.
3171 (cosh_test_tonearest): Likewise.
3172 (cosh_test_towardzero): Likewise.
3173 (cosh_test_downward): Likewise.
3174 (cosh_test_upward): Likewise.
3175 (cpow_test): Use END_COMPLEX macro without arguments.
3176 (cproj_test): Likewise.
3177 (creal_test): Use END macro without arguments.
3178 (csin_test): Use END_COMPLEX macro without arguments.
3179 (csinh_test): Likewise.
3180 (csqrt_test): Likewise.
3181 (ctan_test): Likewise.
3182 (ctan_test_tonearest): Likewise.
3183 (ctan_test_towardzero): Likewise.
3184 (ctan_test_downward): Likewise.
3185 (ctan_test_upward): Likewise.
3186 (ctanh_test): Likewise.
3187 (ctanh_test_tonearest): Likewise.
3188 (ctanh_test_towardzero): Likewise.
3189 (ctanh_test_downward): Likewise.
3190 (ctanh_test_upward): Likewise.
3191 (erf_test): Use END macro without arguments.
3192 (erfc_test): Likewise.
3193 (exp_test): Likewise.
3194 (exp_test_tonearest): Likewise.
3195 (exp_test_towardzero): Likewise.
3196 (exp_test_downward): Likewise.
3197 (exp_test_upward): Likewise.
3198 (exp10_test): Likewise.
3199 (exp2_test): Likewise.
3200 (expm1_test): Likewise.
3201 (fabs_test): Likewise.
3202 (fdim_test): Likewise.
3203 (finite_test): Likewise.
3204 (floor_test): Likewise.
3205 (fma_test): Likewise.
3206 (fma_test_towardzero): Likewise.
3207 (fma_test_downward): Likewise.
3208 (fma_test_upward): Likewise.
3209 (fmax_test): Likewise.
3210 (fmin_test): Likewise.
3211 (fmod_test): Likewise.
3212 (fpclassify_test): Likewise.
3213 (frexp_test): Likewise.
3214 (gamma_test): Likewise.
3215 (hypot_test): Likewise.
3216 (ilogb_test): Likewise.
3217 (isfinite_test): Likewise.
3218 (isgreater_test): Likewise.
3219 (isgreaterequal_test): Likewise.
3220 (isinf_test): Likewise.
3221 (isless_test): Likewise.
3222 (islessequal_test): Likewise.
3223 (islessgreater_test): Likewise.
3224 (isnan_test): Likewise.
3225 (isnormal_test): Likewise.
3226 (issignaling_test): Likewise.
3227 (isunordered_test): Likewise.
3228 (j0_test): Likewise.
3229 (j1_test): Likewise.
3230 (jn_test): Likewise.
3231 (ldexp_test): Likewise.
3232 (lgamma_test): Likewise.
3233 (lrint_test): Likewise.
3234 (lrint_test_tonearest): Likewise.
3235 (lrint_test_towardzero): Likewise.
3236 (lrint_test_downward): Likewise.
3237 (lrint_test_upward): Likewise.
3238 (llrint_test): Likewise.
3239 (llrint_test_tonearest): Likewise.
3240 (llrint_test_towardzero): Likewise.
3241 (llrint_test_downward): Likewise.
3242 (llrint_test_upward): Likewise.
3243 (log_test): Likewise.
3244 (log10_test): Likewise.
3245 (log1p_test): Likewise.
3246 (log2_test): Likewise.
3247 (logb_test): Likewise.
3248 (logb_test_downward): Likewise.
3249 (lround_test): Likewise.
3250 (llround_test): Likewise.
3251 (modf_test): Likewise.
3252 (nearbyint_test): Likewise.
3253 (nextafter_test): Likewise.
3254 (nexttoward_test): Likewise.
3255 (pow_test): Likewise.
3256 (pow_test_tonearest): Likewise.
3257 (pow_test_towardzero): Likewise.
3258 (pow_test_downward): Likewise.
3259 (pow_test_upward): Likewise.
3260 (remainder_test): Likewise.
3261 (remainder_test_tonearest): Likewise.
3262 (remainder_test_towardzero): Likewise.
3263 (remainder_test_downward): Likewise.
3264 (remainder_test_upward): Likewise.
3265 (remquo_test): Likewise.
3266 (rint_test): Likewise.
3267 (rint_test_tonearest): Likewise.
3268 (rint_test_towardzero): Likewise.
3269 (rint_test_downward): Likewise.
3270 (rint_test_upward): Likewise.
3271 (round_test): Likewise.
3272 (scalb_test): Likewise.
3273 (scalbn_test): Likewise.
3274 (scalbln_test): Likewise.
3275 (signbit_test): Likewise.
3276 (sin_test): Likewise.
3277 (sin_test_tonearest): Likewise.
3278 (sin_test_towardzero): Likewise.
3279 (sin_test_downward): Likewise.
3280 (sin_test_upward): Likewise.
3281 (sincos_test): Likewise.
3282 (sinh_test): Likewise.
3283 (sinh_test_tonearest): Likewise.
3284 (sinh_test_towardzero): Likewise.
3285 (sinh_test_downward): Likewise.
3286 (sinh_test_upward): Likewise.
3287 (sqrt_test): Likewise.
3288 (tan_test): Likewise.
3289 (tan_test_tonearest): Likewise.
3290 (tan_test_towardzero): Likewise.
3291 (tan_test_downward): Likewise.
3292 (tan_test_upward): Likewise.
3293 (tanh_test): Likewise.
3294 (tgamma_test): Likewise.
3295 (trunc_test): Likewise.
3296 (y0_test): Likewise.
3297 (y1_test): Likewise.
3298 (yn_test): Likewise.
3299 (significand_test): Likewise.
3301 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3304 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3306 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3309 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3310 __ppc_mdoio and __ppc_mdoom.
3311 * manual/platform.texi: Document new functions __ppc_yield,
3312 __ppc_mdoio and __ppc_mdoom.
3314 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3316 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3317 (main): Mention "tls" pseudo-hwcap is legacy.
3318 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3320 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3322 * math/gen-libm-test.pl (parse_args): Output only string of
3323 arguments as text for test name, not full call or descriptions of
3324 tests for extra outputs.
3325 (generate_testfile): Do not pass function name to parse_args.
3326 Generate this_func variable from START.
3327 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3329 (struct test_ff_f_data): Likewise.
3330 (test_ff_f_data_nexttoward): Likewise.
3331 (struct test_fi_f_data): Likewise.
3332 (struct test_fl_f_data): Likewise.
3333 (struct test_if_f_data): Likewise.
3334 (struct test_fff_f_data): Likewise.
3335 (struct test_c_f_data): Likewise.
3336 (struct test_f_f1_data): Likewise. Remove field extra_name.
3337 (struct test_fF_f1_data): Likewise.
3338 (struct test_ffI_f1_data): Likewise.
3339 (struct test_c_c_data): Rename test_name field to arg_str.
3340 (struct test_cc_c_data): Likewise.
3341 (struct test_f_i_data): Likewise.
3342 (struct test_ff_i_data): Likewise.
3343 (struct test_f_l_data): Likewise.
3344 (struct test_f_L_data): Likewise.
3345 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3347 (COMMON_TEST_SETUP): New macro.
3348 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3349 (COMMON_TEST_CLEANUP): Likewise.
3350 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3351 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3353 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3354 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3356 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3357 (RUN_TEST_fff_f): Take argument string. Call new setup and
3359 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3360 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3362 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3363 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3365 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3366 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3368 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3369 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3371 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3372 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3374 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3375 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3377 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3378 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3380 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3381 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3383 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3384 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3386 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3387 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3389 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3390 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3392 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3393 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3395 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3396 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3398 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3399 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3401 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3402 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3404 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3406 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3408 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3409 to _sifields.sigfault.
3410 (si_addr_lsb): Define new macro.
3411 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3412 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3413 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3415 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3418 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3420 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3422 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3425 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3427 * math/gen-libm-test.pl (parse_args): Do not include expected
3428 result in test name.
3429 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3430 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3431 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3432 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3433 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3436 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3438 * benchtests/Makefile: Sort function entries.
3440 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3441 tanh, asinh, acosh, atanh.
3442 * benchtests/acos-inputs: New file.
3443 * benchtests/acosh-inputs: New file.
3444 * benchtests/asin-inputs: New file.
3445 * benchtests/asinh-inputs: New file.
3446 * benchtests/atanh-inputs: New file.
3447 * benchtests/cosh-inputs: New file.
3448 * benchtests/log-inputs: New file.
3449 * benchtests/sinh-inputs: New file.
3450 * benchtests/tanh-inputs: New file.
3452 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3455 * posix/tst-getaddrinfo4.c: New test.
3456 * posix/Makefile (tests): Add it.
3458 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3461 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3462 when no services were used.
3463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3464 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3466 2013-05-21 Andreas Schwab <schwab@suse.de>
3469 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3470 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3472 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3473 redundant variable declarations and reallocation of buffer when
3474 parsing as IPv6 address. Always set NSS status when called from
3475 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3476 buffer too small. Correct computation of needed size.
3477 * nss/Makefile (tests): Add test-digits-dots.
3478 * nss/test-digits-dots.c: New test.
3480 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3482 * benchtests/Makefile: Remove instructions for adding
3484 * benchtests/README: New file to explain how to execute and
3485 enhance the benchmark tests.
3487 2013-05-21 Andreas Schwab <schwab@suse.de>
3490 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3491 * setjmp/tst-sigsetjmp.c: New test.
3493 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3495 * sysdeps/x86_64/memset.S (memset): New implementation.
3496 (__bzero): Likewise.
3497 (__memset_tail): New function.
3499 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3501 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3502 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3503 __memcpy_sse2_unaligned ifunc selection.
3504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3505 Add memcpy-sse2-unaligned.S.
3506 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3507 Add: __memcpy_sse2_unaligned.
3509 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3512 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3513 math_force_eval before restoring floating-point envrionment.
3514 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3515 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3517 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3519 (__nearbyintl): Use math_force_eval before restoring
3520 floating-point environment.
3521 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3523 * math/gen-libm-test.pl (special_functions): Remove.
3524 (parse_args): Don't handle TEST_extra. Handle functions with no
3526 * math/libm-test.inc (struct test_sincos_data): Replace with
3527 struct test_fFF_11_data.
3528 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3529 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3530 (sincos_test_data): Change element type to struct
3531 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3532 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3533 RUN_TEST_LOOP_sincos.
3534 * math/README.libm-test: Don't mention special handling of
3535 individual functions.
3536 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3537 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3538 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3539 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3540 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3543 * math/gen-libm-test.pl (get_variable): Remove function.
3544 (parse_args): Don't show pointer parameters to call in test
3545 names. Use "extra output N" in test names for extra outputs
3546 rather than naming variables.
3548 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3551 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3552 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3553 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3555 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3557 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3560 * math/gen-libm-test.pl (@tests): Remove variable.
3562 (new_test): Remove function.
3563 (show_exceptions): New function.
3564 (special_functions): Use show_exceptions instead of new_test.
3565 (parse_args): Likewise.
3566 (generate_testfile): Pass only function name in generated call to
3567 print_max_error or print_complex_max_error.
3568 (get_ulps): Do not handle complex tests specially.
3569 (output_test): Rename to ...
3570 (get_all_ulps_for_test): ... this. Return a string rather than
3571 printing to a file. Require ulps to be present.
3572 (output_ulps): Generate arrays rather than #defines.
3573 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3574 (struct ulp_data): New type.
3575 (BUILD_COMPLEX_ULP): Remove macro.
3576 (compare_ulp_data): New function.
3577 (find_ulps): Likewise.
3578 (find_test_ulps): Likewise.
3579 (find_function_ulps): Likewise.
3580 (find_complex_function_ulps): Likewise.
3581 (print_max_error): Determine allowed ulps using
3583 (print_complex_max_error): Determine allowed ulps using
3584 find_complex_function_ulps.
3585 (check_float_internal): Determine max ulps using find_test_ulps.
3586 (check_float): Do not take max_ulp parameter. Update call to
3587 check_float_internal.
3588 (check_complex): Likewise.
3589 (check_int): Do not take max_ulp parameter.
3590 (check_long): Likewise.
3591 (check_bool): Likewise.
3592 (check_longlong): Likewise.
3593 (struct test_f_f_data): Remove max_ulp field.
3594 (struct test_ff_f_data): Likewise.
3595 (struct test_ff_f_data_nexttoward): Likewise.
3596 (struct test_fi_f_data): Likewise.
3597 (struct test_fl_f_data): Likewise.
3598 (struct test_if_f_data): Likewise.
3599 (struct test_fff_f_data): Likewise.
3600 (struct test_c_f_data): Likewise.
3601 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3602 (struct test_fF_f1_data): Likewise.
3603 (struct test_ffI_f1_data): Likewise.
3604 (struct test_c_c_data): Remove max_ulp field.
3605 (struct test_cc_c_data): Likewise.
3606 (struct test_f_i_data): Likewise.
3607 (struct test_ff_i_data): Likewise.
3608 (struct test_f_l_data): Likewise.
3609 (struct test_f_L_data): Likewise.
3610 (struct test_sincos_data): Likewise.
3611 (RUN_TEST_f_f): Do not handle ulps.
3612 (RUN_TEST_LOOP_f_f): Likewise.
3613 (RUN_TEST_2_f): Likewise.
3614 (RUN_TEST_LOOP_2_f): Likewise.
3615 (RUN_TEST_fff_f): Likewise.
3616 (RUN_TEST_LOOP_fff_f): Likewise.
3617 (RUN_TEST_c_f): Likewise.
3618 (RUN_TEST_LOOP_c_f): Likewise.
3619 (RUN_TEST_f_f1): Likewise.
3620 (RUN_TEST_LOOP_f_f1): Likewise.
3621 (RUN_TEST_fF_f1): Likewise.
3622 (RUN_TEST_LOOP_fF_f1): Likewise.
3623 (RUN_TEST_fI_f1): Likewise.
3624 (RUN_TEST_LOOP_fI_f1): Likewise.
3625 (RUN_TEST_ffI_f1): Likewise.
3626 (RUN_TEST_LOOP_ffI_f1): Likewise.
3627 (RUN_TEST_c_c): Likewise.
3628 (RUN_TEST_LOOP_c_c): Likewise.
3629 (RUN_TEST_cc_c): Likewise.
3630 (RUN_TEST_LOOP_cc_c): Likewise.
3631 (RUN_TEST_f_i): Likewise.
3632 (RUN_TEST_LOOP_f_i): Likewise.
3633 (RUN_TEST_f_i_tg): Likewise.
3634 (RUN_TEST_LOOP_f_i_tg): Likewise.
3635 (RUN_TEST_ff_i_tg): Likewise.
3636 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3637 (RUN_TEST_f_b): Likewise.
3638 (RUN_TEST_LOOP_f_b): Likewise.
3639 (RUN_TEST_f_b_tg): Likewise.
3640 (RUN_TEST_LOOP_f_b_tg): Likewise.
3641 (RUN_TEST_f_l): Likewise.
3642 (RUN_TEST_LOOP_f_l): Likewise.
3643 (RUN_TEST_f_L): Likewise.
3644 (RUN_TEST_LOOP_f_L): Likewise.
3645 (RUN_TEST_sincos): Likewise.
3646 (RUN_TEST_LOOP_sincos): Likewise.
3648 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3652 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3653 main case of finite arguments, set rounding mode to FE_TONEAREST
3654 and discard exceptions.
3655 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3657 (remainder_tonearest_test_data): New variable.
3658 (remainder_test_tonearest): New function.
3659 (remainder_towardzero_test_data): New variable.
3660 (remainder_test_towardzero): New function.
3661 (remainder_downward_test_data): New variable.
3662 (remainder_test_downward): New function.
3663 (remainder_upward_test_data): New variable.
3664 (remainder_test_upward): New function.
3665 (main): Call the new test functions.
3667 * math/libm-test.inc (struct test_f_f1_data): Remove field
3669 (struct test_fF_f1_data): Likewise.
3670 (struct test_ffI_f1_data): Likewise.
3671 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3672 based on value of EXTRA_EXPECTED.
3673 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3674 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3675 EXTRA_VAR based on value of EXTRA_EXPECTED.
3676 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3677 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3678 EXTRA_VAR based on value of EXTRA_EXPECTED.
3679 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3680 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3681 EXTRA_VAR based on value of EXTRA_EXPECTED.
3682 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3683 * math/gen-libm-test.pl (parse_args): Don't output initializers
3684 for extra output values.
3686 * math/libm-test.inc (check_int): Expect result to be exactly
3687 equal to expected value and do not handle ulps.
3688 (check_long): Likewise.
3689 (check_longlong): Likewise.
3691 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3693 (cimag_test_data): Likewise.
3694 (conj_test_data): Likewise.
3695 (copysign_test_data): Likewise.
3696 (cproj_test_data): Likewise.
3697 (creal_test_data): Likewise.
3698 (fabs_test_data): Likewise.
3699 (fdim_test_data): Likewise.
3700 (finite_test_data): Likewise.
3701 (floor_test_data): Likewise.
3702 (fmax_test_data): Likewise.
3703 (fmin_test_data): Likewise.
3704 (fmod_test_data): Likewise.
3705 (fpclassify_test_data): Likewise.
3706 (frexp_test_data): Likewise.
3707 (ilogb_test_data): Likewise.
3708 (isfinite_test_data): Likewise.
3709 (isgreater_test_data): Likewise.
3710 (isgreaterequal_test_data): Likewise.
3711 (isinf_test_data): Likewise.
3712 (isless_test_data): Likewise.
3713 (islessequal_test_data): Likewise.
3714 (islessgreater_test_data): Likewise.
3715 (isnan_test_data): Likewise.
3716 (isnormal_test_data): Likewise.
3717 (issignaling_test_data): Likewise.
3718 (isunordered_test_data): Likewise.
3719 (ldexp_test_data): Likewise.
3720 (lrint_test_data): Likewise.
3721 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3722 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3723 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3724 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3725 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3726 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3728 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3729 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3730 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3731 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3733 (lrint_downward_test_data): Test for "inexact" exceptions.
3734 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3735 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3736 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3738 (lrint_upward_test_data): Test for "inexact" exceptions.
3739 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3741 (llrint_test_data): Test for "inexact" exceptions.
3742 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3743 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3744 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3745 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3746 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3747 (llrint_downward_test_data): Test for "inexact" exceptions.
3748 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3749 (llrint_upward_test_data): Test for "inexact" exceptions.
3750 (logb_test_data): Likewise.
3751 (logb_downward_test_data): Likewise.
3752 (nextafter_test_data): Likewise.
3753 (nexttoward_test_data): Likewise.
3754 (remainder_test_data): Likewise.
3755 (remquo_test_data): Likewise.
3756 (scalbn_test_data): Likewise.
3757 (scalbln_test_data): Likewise.
3758 (signbit_test_data): Likewise.
3759 (sqrt_test_data): Likewise.
3760 (significand_test_data): Likewise.
3762 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3765 * benchtests/bench-modf.c (struct args): Mark arg0 as
3767 * scripts/bench.pl: Mark members of struct args as volatile.
3769 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3772 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3773 negative infinity on POWER6 or lower.
3774 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3776 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3779 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3780 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3781 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3782 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3783 (_FP_SETQNAN): New macro.
3784 (_FP_SETQNAN_SEMIRAW): Likewise.
3785 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3786 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3787 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3788 (FP_EXTEND): Use _FP_FRAC_SNANP.
3789 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3790 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3792 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3794 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3797 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3799 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3800 with DIVIDE_BY_ZERO_EXCEPTION.
3801 (gamma_test_data): Likewise.
3802 (lgamma_test_data): Likewise.
3803 (log_test_data): Likewise.
3804 (log10_test_data): Likewise.
3805 (log2_test_data): Likewise.
3806 (tgamma_test_data): Likewise.
3808 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3809 (acos_test_tonearest): Likewise.
3810 (acos_test_towardzero): Likewise.
3811 (acos_test_downward): Likewise.
3812 (acos_test_upward): Likewise.
3813 (acosh_test): Likewise.
3814 (asin_test): Likewise.
3815 (asin_test_tonearest): Likewise.
3816 (asin_test_towardzero): Likewise.
3817 (asin_test_downward): Likewise.
3818 (asin_test_upward): Likewise.
3819 (asinh_test): Likewise.
3820 (atan_test): Likewise.
3821 (atanh_test): Likewise.
3822 (atan2_test): Likewise.
3823 (cabs_test): Likewise.
3824 (cacos_test): Likewise.
3825 (cacosh_test): Likewise.
3826 (casin_test): Likewise.
3827 (casinh_test): Likewise.
3828 (catan_test): Likewise.
3829 (catanh_test): Likewise.
3830 (cbrt_test): Likewise.
3831 (ccos_test): Likewise.
3832 (ccosh_test): Likewise.
3833 (cexp_test): Likewise.
3834 (clog_test): Likewise.
3835 (clog10_test): Likewise.
3836 (cos_test): Likewise.
3837 (cos_test_tonearest): Likewise.
3838 (cos_test_towardzero): Likewise.
3839 (cos_test_downward): Likewise.
3840 (cos_test_upward): Likewise.
3841 (cosh_test): Likewise.
3842 (cosh_test_tonearest): Likewise.
3843 (cosh_test_towardzero): Likewise.
3844 (cosh_test_downward): Likewise.
3845 (cosh_test_upward): Likewise.
3846 (cpow_test): Likewise.
3847 (csin_test): Likewise.
3848 (csinh_test): Likewise.
3849 (csqrt_test): Likewise.
3850 (ctan_test): Likewise.
3851 (ctan_test_tonearest): Likewise.
3852 (ctan_test_towardzero): Likewise.
3853 (ctan_test_downward): Likewise.
3854 (ctan_test_upward): Likewise.
3855 (ctanh_test): Likewise.
3856 (ctanh_test_tonearest): Likewise.
3857 (ctanh_test_towardzero): Likewise.
3858 (ctanh_test_downward): Likewise.
3859 (ctanh_test_upward): Likewise.
3860 (erf_test): Likewise.
3861 (erfc_test): Likewise.
3862 (exp_test): Likewise.
3863 (exp_test_tonearest): Likewise.
3864 (exp_test_towardzero): Likewise.
3865 (exp_test_downward): Likewise.
3866 (exp_test_upward): Likewise.
3867 (exp10_test): Likewise.
3868 (exp2_test): Likewise.
3869 (expm1_test): Likewise.
3870 (fmod_test): Likewise.
3871 (gamma_test): Likewise.
3872 (hypot_test): Likewise.
3873 (j0_test): Likewise.
3874 (j1_test): Likewise.
3875 (jn_test): Likewise.
3876 (lgamma_test): Likewise.
3877 (log_test): Likewise.
3878 (log10_test): Likewise.
3879 (log1p_test): Likewise.
3880 (log2_test): Likewise.
3881 (logb_test_downward): Likewise.
3882 (pow_test): Likewise.
3883 (pow_test_tonearest): Likewise.
3884 (pow_test_towardzero): Likewise.
3885 (pow_test_downward): Likewise.
3886 (pow_test_upward): Likewise.
3887 (remainder_test): Likewise.
3888 (remquo_test): Likewise.
3889 (sin_test): Likewise.
3890 (sin_test_tonearest): Likewise.
3891 (sin_test_towardzero): Likewise.
3892 (sin_test_downward): Likewise.
3893 (sin_test_upward): Likewise.
3894 (sincos_test): Likewise.
3895 (sinh_test): Likewise.
3896 (sinh_test_tonearest): Likewise.
3897 (sinh_test_towardzero): Likewise.
3898 (sinh_test_downward): Likewise.
3899 (sinh_test_upward): Likewise.
3900 (sqrt_test): Likewise.
3901 (tan_test): Likewise.
3902 (tan_test_tonearest): Likewise.
3903 (tan_test_towardzero): Likewise.
3904 (tan_test_downward): Likewise.
3905 (tan_test_upward): Likewise.
3906 (tanh_test): Likewise.
3907 (tgamma_test): Likewise.
3908 (y0_test): Likewise.
3909 (y1_test): Likewise.
3910 (yn_test): Likewise.
3912 * math/gen-libm-test.pl (adjust_arg): Remove function.
3913 (special_function): Remove argument $in_func. Only handle
3914 generating output for tables of tests, not inside functions.
3915 (parse_args): Likewise.
3916 (generate_testfile): Remove variable $in_func. Update call to
3918 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3919 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3920 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3921 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3922 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3923 (MAX_VALUE_INIT): Rename macro to max_value.
3924 (MIN_VALUE_INIT): Rename macro to min_value.
3925 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3926 (plus_zero): Remove variable.
3927 (minus_zero): Likewise.
3928 (plus_infty): Likewise.
3929 (minus_infty): Likewise.
3930 (qnan_value): Likewise.
3931 (max_value): Likewise.
3932 (min_value): Likewise.
3933 (min_subnorm_value): Likewise.
3935 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3937 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3938 uint64_t or uint32_t usage.
3939 * crypt/sha256-block.c: Likewise.
3940 * crypt/sha256-crypt.c: Likewise.
3941 * crypt/sha256.c: Likewise.
3942 * crypt/sha512-block.c: Likewise.
3943 * crypt/sha512-crypt.c: Likewise.
3944 * crypt/sha512.c: Likewise.
3945 * debug/backtrace-tst.c: Likewise.
3946 * debug/pcprofiledump.c: Likewise.
3947 * elf/cache.c: Likewise.
3948 * elf/dl-cache.c: Likewise.
3949 * elf/dl-misc.c: Likewise.
3950 * elf/dl-profile.c: Likewise.
3951 * elf/dl-support.c: Likewise.
3952 * elf/ldconfig.c: Likewise.
3953 * elf/sprof.c: Likewise.
3954 * iconv/dummy-repertoire.c: Likewise.
3955 * iconv/iconv_charmap.c: Likewise.
3956 * iconv/skeleton.c: Likewise.
3957 * iconvdata/8bit-generic.c: Likewise.
3958 * iconvdata/cp737.h: Likewise.
3959 * iconvdata/cp775.h: Likewise.
3960 * iconvdata/ibm1008.h: Likewise.
3961 * iconvdata/ibm1025.h: Likewise.
3962 * iconvdata/ibm1046.h: Likewise.
3963 * iconvdata/ibm1097.h: Likewise.
3964 * iconvdata/ibm1112.h: Likewise.
3965 * iconvdata/ibm1122.h: Likewise.
3966 * iconvdata/ibm1123.h: Likewise.
3967 * iconvdata/ibm1124.h: Likewise.
3968 * iconvdata/ibm1129.h: Likewise.
3969 * iconvdata/ibm1130.h: Likewise.
3970 * iconvdata/ibm1132.h: Likewise.
3971 * iconvdata/ibm1133.h: Likewise.
3972 * iconvdata/ibm1137.h: Likewise.
3973 * iconvdata/ibm1140.h: Likewise.
3974 * iconvdata/ibm1141.h: Likewise.
3975 * iconvdata/ibm1142.h: Likewise.
3976 * iconvdata/ibm1143.h: Likewise.
3977 * iconvdata/ibm1144.h: Likewise.
3978 * iconvdata/ibm1145.h: Likewise.
3979 * iconvdata/ibm1146.h: Likewise.
3980 * iconvdata/ibm1147.h: Likewise.
3981 * iconvdata/ibm1148.h: Likewise.
3982 * iconvdata/ibm1149.h: Likewise.
3983 * iconvdata/ibm1153.h: Likewise.
3984 * iconvdata/ibm1154.h: Likewise.
3985 * iconvdata/ibm1155.h: Likewise.
3986 * iconvdata/ibm1156.h: Likewise.
3987 * iconvdata/ibm1157.h: Likewise.
3988 * iconvdata/ibm1158.h: Likewise.
3989 * iconvdata/ibm1160.h: Likewise.
3990 * iconvdata/ibm1161.h: Likewise.
3991 * iconvdata/ibm1162.h: Likewise.
3992 * iconvdata/ibm1163.h: Likewise.
3993 * iconvdata/ibm1164.h: Likewise.
3994 * iconvdata/ibm1166.h: Likewise.
3995 * iconvdata/ibm1167.h: Likewise.
3996 * iconvdata/ibm12712.h: Likewise.
3997 * iconvdata/ibm1390.h: Likewise.
3998 * iconvdata/ibm1399.h: Likewise.
3999 * iconvdata/ibm16804.h: Likewise.
4000 * iconvdata/ibm4517.h: Likewise.
4001 * iconvdata/ibm4899.h: Likewise.
4002 * iconvdata/ibm4909.h: Likewise.
4003 * iconvdata/ibm4971.h: Likewise.
4004 * iconvdata/ibm5347.h: Likewise.
4005 * iconvdata/ibm803.h: Likewise.
4006 * iconvdata/ibm856.h: Likewise.
4007 * iconvdata/ibm901.h: Likewise.
4008 * iconvdata/ibm902.h: Likewise.
4009 * iconvdata/ibm9030.h: Likewise.
4010 * iconvdata/ibm9066.h: Likewise.
4011 * iconvdata/ibm921.h: Likewise.
4012 * iconvdata/ibm922.h: Likewise.
4013 * iconvdata/ibm9448.h: Likewise.
4014 * iconvdata/isiri-3342.h: Likewise.
4015 * iconvdata/jis0201.h: Likewise.
4016 * include/link.h: Likewise.
4017 * include/netdb.h: Likewise.
4018 * inet/check_native.c: Likewise.
4019 * inet/check_pf.c: Likewise.
4020 * inet/getipv4sourcefilter.c: Likewise.
4021 * inet/getnameinfo.c: Likewise.
4022 * inet/getsourcefilter.c: Likewise.
4023 * inet/htonl.c: Likewise.
4024 * inet/setipv4sourcefilter.c: Likewise.
4025 * inet/setsourcefilter.c: Likewise.
4026 * inet/test-inet6_opt.c: Likewise.
4027 * inet/tst-network.c: Likewise.
4028 * locale/C-collate.c: Likewise.
4029 * locale/C-ctype.c: Likewise.
4030 * locale/C-time.c: Likewise.
4031 * locale/C-translit.h: Likewise.
4032 * locale/loadarchive.c: Likewise.
4033 * locale/programs/3level.h: Likewise.
4034 * locale/programs/charmap.c: Likewise.
4035 * locale/programs/charmap.h: Likewise.
4036 * locale/programs/ld-address.c: Likewise.
4037 * locale/programs/ld-collate.c: Likewise.
4038 * locale/programs/ld-ctype.c: Likewise.
4039 * locale/programs/ld-identification.c: Likewise.
4040 * locale/programs/ld-measurement.c: Likewise.
4041 * locale/programs/ld-messages.c: Likewise.
4042 * locale/programs/ld-monetary.c: Likewise.
4043 * locale/programs/ld-name.c: Likewise.
4044 * locale/programs/ld-numeric.c: Likewise.
4045 * locale/programs/ld-paper.c: Likewise.
4046 * locale/programs/ld-telephone.c: Likewise.
4047 * locale/programs/ld-time.c: Likewise.
4048 * locale/programs/linereader.c: Likewise.
4049 * locale/programs/locale.c: Likewise.
4050 * locale/programs/locarchive.c: Likewise.
4051 * locale/programs/locfile.h: Likewise.
4052 * locale/programs/repertoire.c: Likewise.
4053 * locale/programs/simple-hash.c: Likewise.
4054 * locale/programs/simple-hash.h: Likewise.
4055 * malloc/memusage.c: Likewise.
4056 * malloc/memusagestat.c: Likewise.
4057 * nis/nis_defaults.c: Likewise.
4058 * nis/nis_hash.c: Likewise.
4059 * nis/nis_print.c: Likewise.
4060 * nis/nis_xdr.c: Likewise.
4061 * nscd/connections.c: Likewise.
4062 * nscd/hstcache.c: Likewise.
4063 * nscd/nscd_gethst_r.c: Likewise.
4064 * nscd/nscd_getserv_r.c: Likewise.
4065 * nscd/nscd_helper.c: Likewise.
4066 * nscd/servicescache.c: Likewise.
4067 * nss/makedb.c: Likewise.
4068 * nss/nss_db/db-XXX.c: Likewise.
4069 * nss/nss_db/db-initgroups.c: Likewise.
4070 * nss/nss_db/db-netgrp.c: Likewise.
4071 * nss/nss_files/files-network.c: Likewise.
4072 * nss/nss_files/files-parse.c: Likewise.
4073 * posix/bug-regex5.c: Likewise.
4074 * posix/fnmatch_loop.c: Likewise.
4075 * posix/regcomp.c: Likewise.
4076 * posix/regexec.c: Likewise.
4077 * posix/tst-rfc3484-2.c: Likewise.
4078 * posix/tst-rfc3484-3.c: Likewise.
4079 * posix/tst-rfc3484.c: Likewise.
4080 * resolv/nss_dns/dns-canon.c: Likewise.
4081 * resolv/nss_dns/dns-network.c: Likewise.
4082 * resolv/res_init.c: Likewise.
4083 * resolv/res_mkquery.c: Likewise.
4084 * resolv/tst-aton.c: Likewise.
4085 * stdlib/cxa_atexit.c: Likewise.
4086 * stdlib/cxa_finalize.c: Likewise.
4087 * stdlib/gen-fpioconst.c: Likewise.
4088 * stdlib/strtol_l.c: Likewise.
4089 * string/tst-endian.c: Likewise.
4090 * sunrpc/auth_des.c: Likewise.
4091 * sunrpc/clnt_udp.c: Likewise.
4092 * sunrpc/rtime.c: Likewise.
4093 * sunrpc/svcauth_des.c: Likewise.
4094 * sunrpc/xdr.c: Likewise.
4095 * sunrpc/xdr_intXX_t.c: Likewise.
4096 * sunrpc/xdr_rec.c: Likewise.
4097 * sysdeps/generic/ldconfig.h: Likewise.
4098 * sysdeps/generic/ldsodefs.h: Likewise.
4099 * sysdeps/generic/memusage.h: Likewise.
4100 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4101 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4102 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4103 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4104 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4105 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4106 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4107 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4108 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4110 * sysdeps/posix/getaddrinfo.c: Likewise.
4111 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4112 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4113 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4114 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4115 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4116 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4117 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4118 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4119 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4120 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4121 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4122 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4123 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4124 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4125 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4126 * sysdeps/x86_64/dl-tls.h: Likewise.
4127 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4128 * time/alt_digit.c: Likewise.
4129 * time/era.c: Likewise.
4130 * wcsmbs/tst-c16c32-1.c: Likewise.
4132 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4134 * math/libm-test.inc (struct test_sincos_data): New type.
4135 (RUN_TEST_LOOP_sincos): New macro.
4136 (sincos_test_data): New variable.
4137 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4139 2013-05-16 Richard Henderson <rth@redhat.com>
4141 * math/atest-exp2.c (LIMB64): New macro.
4142 (CONSTSZ): New macro.
4143 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4145 (print_mpn_fp): ... to function scope.
4146 (read_mpn_hex): Remove.
4148 (exp2_mpn): Use mp_log2.
4149 (main): Use mp_exp1.
4151 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4153 * math/libm-test.inc: Remove comment about not testing "inexact"
4155 (INEXACT_EXCEPTION): New macro.
4156 (NO_INEXACT_EXCEPTION): Likewise.
4157 (INVALID_EXCEPTION_OK): Update value.
4158 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4159 (OVERFLOW_EXCEPTION_OK): Likewise.
4160 (UNDERFLOW_EXCEPTION_OK): Likewise.
4161 (IGNORE_ZERO_INF_SIGN): Likewise.
4162 (ERRNO_UNCHANGED): Likewise.
4163 (ERRNO_EDOM): Likewise.
4164 (ERRNO_ERANGE): Likewise.
4165 (test_exceptions): Handle testing "inexact" exceptions.
4166 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4167 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4168 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4169 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4171 (rint_towardzero_test_data): Likewise.
4172 (rint_downward_test_data): Likewise.
4173 (rint_upward_test_data): Likewise.
4175 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4176 with OVERFLOW_EXCEPTION.
4177 (exp10_test_data): Likewise.
4178 (exp2_test_data): Likewise.
4179 (expm1_test_data): Likewise.
4180 (lgamma_test_data): Likewise.
4181 (pow_test_data): Likewise.
4182 (tgamma_test_data): Likewise.
4183 (yn_test_data): Remove duplicate test of overflow.
4185 * math/libm-test.inc (struct test_cc_c_data): New type.
4186 (RUN_TEST_LOOP_cc_c): New macro.
4187 (cpow_test_data): New variable.
4188 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4190 * math/libm-test.inc (struct test_f_L_data): New type.
4191 (RUN_TEST_LOOP_f_L): New macro.
4192 (llrint_test_data): New variable.
4193 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4194 (llrint_tonearest_test_data): New variable.
4195 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4196 (llrint_towardzero_test_data): New variable.
4197 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4198 (llrint_downward_test_data): New variable.
4199 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4200 (llrint_upward_test_data): New variable.
4201 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4202 (llround_test_data): New variable.
4203 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4205 2013-05-13 Peter Collingbourne <pcc@google.com>
4207 * math/atest-exp2.c (get_log2): Remove const attribute.
4209 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4211 * math/libm-test.inc (struct test_f_l_data): New type.
4212 (RUN_TEST_LOOP_f_l): New macro.
4213 (lrint_test_data): New variable.
4214 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4215 (lrint_tonearest_test_data): New variable.
4216 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4217 (lrint_towardzero_test_data): New variable.
4218 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4219 (lrint_downward_test_data): New variable.
4220 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4221 (lrint_upward_test_data): New variable.
4222 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4223 (lround_test_data): New variable.
4224 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4226 2013-05-15 Peter Collingbourne <pcc@google.com>
4228 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4229 (EXTRACT_WORDS64) Use where appropriate.
4230 (INSERT_WORDS64) Likewise.
4232 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4233 constraints with x constraints.
4234 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4236 * malloc/obstack.c (_obstack_compat): Add initializer.
4238 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4240 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4241 si_trapno and add si_addr_lsb to _sifields.sigfault.
4242 (si_trapno): Remove macro.
4243 (si_addr_lsb): Define new macro.
4244 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4246 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4248 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4249 instead of TEST_f_l.
4250 (llrint_test_tonearest): Likewise.
4251 (llrint_test_towardzero): Likewise.
4252 (llrint_test_downward): Likewise.
4253 (llrint_test_upward): Likewise.
4254 (llround_test): Likewise.
4256 * math/libm-test.inc (struct test_f_i_data): Add comment.
4257 (RUN_TEST_LOOP_f_b): New macro.
4258 (RUN_TEST_LOOP_f_b_tg): Likewise.
4259 (finite_test_data): New variable.
4260 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4261 (isfinite_test_data): New variable.
4262 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4263 (isinf_test_data): New variable.
4264 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4265 (isnan_test_data): New variable.
4266 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4267 (isnormal_test_data): New variable.
4268 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4269 (issignaling_test_data): New variable.
4270 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4271 (signbit_test_data): New variable.
4272 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4274 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4275 with INVALID_EXCEPTION.
4276 (acosh_test_data): Likewise.
4277 (asin_test_data): Likewise.
4278 (atanh_test_data): Likewise.
4279 (fmod_test_data): Likewise.
4280 (log_test_data): Likewise.
4281 (log10_test_data): Likewise.
4282 (log2_test_data): Likewise.
4283 (pow_test_data): Likewise.
4284 (sqrt_test_data): Likewise.
4285 (y0_test_data): Likewise.
4286 (y1_test_data): Likewise.
4287 (yn_test_data): Likewise.
4289 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4292 * math/libm-test.inc (struct test_ff_i_data): New type.
4293 (RUN_TEST_LOOP_ff_i_tg): New macro.
4294 (isgreater_test_data): New variable.
4295 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4296 (isgreaterequal_test_data): New variable.
4297 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4298 (isless_test_data): New variable.
4299 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4300 (islessequal_test_data): New variable.
4301 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4302 (islessgreater_test_data): New variable.
4303 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4304 (isunordered_test_data): New variable.
4305 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4307 2013-05-14 David S. Miller <davem@davemloft.net>
4309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4311 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4313 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4315 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4317 (struct test_f_i_data): Change type of max_ulp to int.
4319 * math/libm-test.inc (test_ffI_f1_data): New type.
4320 (RUN_TEST_LOOP_ffI_f1): New macro.
4321 (remquo_test_data): New variable.
4322 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4324 * setjmp/tst-setjmp-fp.c: New file.
4325 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4326 (link-libm): New variable.
4327 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4329 * math/libm-test.inc (struct test_f_i_data): New type.
4330 (RUN_TEST_LOOP_f_i): New macro.
4331 (RUN_TEST_LOOP_f_i_tg): Likewise.
4332 (fpclassify_test_data): New variable.
4333 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4334 (ilogb_test_data): New variable.
4335 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4337 * math/libm-test.inc (scalbln_test): Correct function name in END
4340 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4341 (RUN_TEST_LOOP_fI_f1): New macro.
4342 (frexp_test_data): New variable.
4343 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4345 * math/libm-test.inc (struct test_fF_f1_data): New type.
4346 (RUN_TEST_LOOP_fF_f1): New macro.
4347 (modf_test_data): New variable.
4348 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4350 * math/libm-test.inc (struct test_f_f1_data): New type.
4351 (RUN_TEST_LOOP_f_f1): New macro.
4352 (gamma_test_data): New variable.
4353 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4354 (lgamma_test_data): New variable.
4355 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4357 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4359 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4360 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4361 (main): Comment "tls" pseudo-hwcap.
4363 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4365 * math/libm-test.inc (struct test_fl_f_data): New type.
4366 (RUN_TEST_LOOP_fl_f): New variable.
4367 (scalbln_test_data): New variable.
4368 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4370 * math/libm-test.inc (struct test_fi_f_data): New type.
4371 (RUN_TEST_LOOP_fi_f): New macro.
4372 (ldexp_test_data): New variable.
4373 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4374 (scalbn_test_data): New variable.
4375 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4377 * math/libm-test.inc (struct test_c_f_data): New type.
4378 (RUN_TEST_LOOP_c_f): New macro.
4379 (cabs_test_data): New variable.
4380 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4381 (carg_test_data): New variable.
4382 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4383 (cimag_test_data): New variable.
4384 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4385 (creal_test_data): New variable.
4386 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4388 * math/libm-test.inc (struct test_if_f_data): New type.
4389 (RUN_TEST_LOOP_if_f): New macro.
4390 (jn_test_data): New variable.
4391 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4392 (yn_test_data): New variable.
4393 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4395 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4397 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4399 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4400 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4402 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4404 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4405 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4406 (bench-deps): Add bench-timing.h.
4407 * benchtests-bench-skeleton.c: Include bench-timing.h.
4408 (main): Use TIMING_* macros instead of clock_gettime.
4409 * benchtests/bench-timing.h: New file.
4412 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4413 Renamed from _LIB_VERSION.
4414 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4416 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4418 * math/libm-test.inc (struct test_fff_f_data): New type.
4419 (RUN_TEST_LOOP_fff_f): New macro.
4420 (fma_test_data): New variable.
4421 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4422 (fma_towardzero_test_data): New variable.
4423 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4424 (fma_downward_test_data): New variable.
4425 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4426 (fma_upward_test_data): New variable.
4427 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4429 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4430 (struct test_c_c_data): New type.
4431 (RUN_TEST_LOOP_c_c): New macro.
4432 (cacos_test_data): New variable.
4433 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4434 (cacosh_test_data): New variable.
4435 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4436 (casin_test_data): New variable.
4437 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4438 (casinh_test_data): New variable.
4439 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4440 (catan_test_data): New variable.
4441 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4442 (catanh_test_data): New variable.
4443 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4444 (ccos_test_data): New variable.
4445 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4446 (ccosh_test_data): New variable.
4447 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4448 (cexp_test_data): New variable.
4449 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4450 (clog_test_data): New variable.
4451 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4452 (clog10_test_data): New variable.
4453 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4454 (conj_test_data): New variable.
4455 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4456 (cproj_test_data): New variable.
4457 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4458 (csin_test_data): New variable.
4459 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4460 (csinh_test_data): New variable.
4461 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4462 (csqrt_test_data): New variable.
4463 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4464 (ctan_test_data): New variable.
4465 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4466 (ctan_tonearest_test_data): New variable.
4467 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4468 (ctan_towardzero_test_data): New variable.
4469 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4470 (ctan_downward_test_data): New variable.
4471 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4472 (ctan_upward_test_data): New variable.
4473 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4474 (ctanh_test_data): New variable.
4475 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4476 (ctanh_tonearest_test_data): New variable.
4477 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4478 (ctanh_towardzero_test_data): New variable.
4479 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4480 (ctanh_downward_test_data): New variable.
4481 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4482 (ctanh_upward_test_data): New variable.
4483 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4484 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4487 * math/libm-test.inc (struct test_ff_f_data): New type.
4488 (struct test_ff_f_data_nexttoward): Likewise.
4489 (RUN_TEST_LOOP_2_f): New macro.
4490 (RUN_TEST_LOOP_ff_f): Likewise.
4491 (atan2_test_data): New variable.
4492 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4493 (copysign_test_data): New variable.
4494 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4495 (fdim_test_data): New variable.
4496 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4497 (fmax_test_data): New variable.
4498 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4499 (fmin_test_data): New variable.
4500 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4501 (fmod_test_data): New variable.
4502 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4503 (hypot_test_data): New variable.
4504 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4505 (nextafter_test_data): New variable.
4506 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4507 (nexttoward_test_data): New variable.
4508 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4509 (pow_test_data): New variable.
4510 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4511 (pow_tonearest_test_data): New variable.
4512 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4513 (pow_towardzero_test_data): New variable.
4514 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4515 (pow_downward_test_data): New variable.
4516 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4517 (pow_upward_test_data): New variable.
4518 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4519 (remainder_test_data): New variable.
4520 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4521 (scalb_test_data): New variable.
4522 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4523 * sysdeps/i386/fpu/libm-test-ulps: Update.
4525 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4527 * math/libm-test.inc (fma_test): Use max_value instead of local
4529 (nextafter_test): Likewise.
4531 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4532 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4533 (acos_downward_test_data): New variable.
4534 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4535 (acos_upward_test_data): New variable.
4536 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4537 (acosh_test_data): New variable.
4538 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4539 (asin_test_data): New variable.
4540 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4541 (asin_tonearest_test_data): New variable.
4542 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4543 (asin_towardzero_test_data): New variable.
4544 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4545 (asin_downward_test_data): New variable.
4546 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4547 (asin_upward_test_data): New variable.
4548 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4549 (asinh_test_data): New variable.
4550 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4551 (atan_test_data): New variable.
4552 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4553 (atanh_test_data): New variable.
4554 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4555 (cbrt_test_data): New variable.
4556 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4557 (ceil_test_data): New variable.
4558 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4559 (cos_test_data): New variable.
4560 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4561 (cos_tonearest_test_data): New variable.
4562 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4563 (cos_towardzero_test_data): New variable.
4564 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4565 (cos_downward_test_data): New variable.
4566 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4567 (cos_upward_test_data): New variable.
4568 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4569 (cosh_test_data): New variable.
4570 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4571 (cosh_tonearest_test_data): New variable.
4572 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4573 (cosh_towardzero_test_data): New variable.
4574 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4575 (cosh_downward_test_data): New variable.
4576 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4577 (cosh_upward_test_data): New variable.
4578 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4579 (erf_test_data): New variable.
4580 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4581 (erfc_test_data): New variable.
4582 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4583 (exp_test_data): New variable.
4584 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4585 (exp_tonearest_test_data): New variable.
4586 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4587 (exp_towardzero_test_data): New variable.
4588 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4589 (exp_downward_test_data): New variable.
4590 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4591 (exp_upward_test_data): New variable.
4592 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4593 (exp10_test_data): New variable.
4594 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4595 (exp2_test_data): New variable.
4596 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4597 (expm1_test_data): New variable.
4598 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4599 (fabs_test_data): New variable.
4600 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4601 (floor_test_data): New variable.
4602 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4603 (j0_test_data): New variable.
4604 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4605 (j1_test_data): New variable.
4606 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4607 (log_test_data): New variable.
4608 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4609 (log10_test_data): New variable.
4610 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4611 (log1p_test_data): New variable.
4612 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4613 (log2_test_data): New variable.
4614 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4615 (logb_test_data): New variable.
4616 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4617 (logb_downward_test_data): New variable.
4618 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4619 (nearbyint_test_data): New variable.
4620 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4621 (rint_test_data): New variable.
4622 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4623 (rint_tonearest_test_data): New variable.
4624 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4625 (rint_towardzero_test_data): New variable.
4626 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4627 (rint_downward_test_data): New variable.
4628 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4629 (rint_upward_test_data): New variable.
4630 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4631 (round_test_data): New variable.
4632 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4633 (sin_test_data): New variable.
4634 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4635 (sin_tonearest_test_data): New variable.
4636 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4637 (sin_towardzero_test_data): New variable.
4638 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4639 (sin_downward_test_data): New variable.
4640 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4641 (sin_upward_test_data): New variable.
4642 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4643 (sinh_test_data): New variable.
4644 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4645 (sinh_tonearest_test_data): New variable.
4646 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4647 (sinh_towardzero_test_data): New variable.
4648 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4649 (sinh_downward_test_data): New variable.
4650 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4651 (sinh_upward_test_data): New variable.
4652 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4653 (sqrt_test_data): New variable.
4654 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4655 (tan_test_data): New variable.
4656 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4657 (tan_tonearest_test_data): New variable.
4658 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4659 (tan_towardzero_test_data): New variable.
4660 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4661 (tan_downward_test_data): New variable.
4662 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4663 (tan_upward_test_data): New variable.
4664 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4665 (tanh_test_data): New variable.
4666 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4667 (tgamma_test_data): New variable.
4668 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4669 (trunc_test_data): New variable.
4670 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4671 (y0_test_data): New variable.
4672 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4673 (y1_test_data): New variable.
4674 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4675 (significand_test_data): New variable.
4676 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4678 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4681 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4683 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4685 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4687 2013-05-10 Andreas Jaeger <aj@suse.de>
4690 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4691 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4693 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4695 * math/gen-libm-test.pl (adjust_arg): New function.
4696 (special_functions): Handle generating output in both functions
4698 (parse_args): Likewise.
4699 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4700 $in_func argument to parse_args.
4701 * math/libm-test.inc (struct test_f_f_data): New type.
4702 (IF_ROUND_INIT_): New macro.
4703 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4704 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4705 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4706 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4707 (ROUND_RESTORE_): Likewise.
4708 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4709 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4710 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4711 (ROUND_RESTORE_FE_UPWARD): Likewise.
4712 (RUN_TEST_LOOP_f_f): New macro.
4713 (acos_test_data): New variable.
4714 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4715 (acos_tonearest_test_data): New variable.
4716 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4718 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4720 * benchtests/bench-skeleton.c (startup): Fix coding style.
4722 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4725 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4726 negative infinity argument.
4727 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4728 negative infinity argument.
4729 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4730 negative infinity argument.
4731 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4734 2013-05-10 Florian Weimer <fweimer@redhat.com>
4736 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4737 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4738 * iconv/iconv_prog.c (main): Likewise.
4739 * locale/programs/charmap-dir.c (charmap_readdir)
4740 (fopen_uncompressed): Likewise.
4741 * locale/programs/locfile.c (siblings_uncached)
4742 (write_locale_data): Use lstat64 instead of lstat.
4743 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4746 2013-05-10 Andreas Jaeger <aj@suse.de>
4749 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4753 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4755 * elf/dl-close.c (_dl_close_worker): Add comments.
4757 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4760 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4762 (__ieee754_rem_pio2l): Update comments.
4765 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4767 (__ieee754_rem_pio2l): Update comments.
4769 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4770 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4772 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4775 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4776 (M_PI_34_LOG10El): Likewise.
4777 (M_PI2_LOG10El): Likewise.
4778 (M_PI4_LOG10El): Likewise.
4779 (M_PI_LOG10El): Likewise.
4781 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4785 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4787 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4788 (MINUS_ZERO_INIT): Likewise.
4789 (PLUS_INFTY_INIT): Likewise.
4790 (MINUS_INFTY_INIT): Likewise.
4791 (QNAN_VALUE_INIT): Likewise.
4792 (MAX_VALUE_INIT): Likewise.
4793 (MIN_VALUE_INIT): Likewise.
4794 (MIN_SUBNORM_VALUE_INIT): Likewise.
4795 (plus_zero): Initialize with PLUS_ZERO_INIT.
4796 (minus_zero): Initialize with MINUS_ZERO_INIT.
4797 (plus_infty): Initialize with PLUS_INFTY_INIT.
4798 (minus_infty): Initialize with MINUS_INFTY_INIT.
4799 (qnan_value): Initialize with QNAN_VALUE_INIT.
4800 (max_value): Initialize with MAX_VALUE_INIT.
4801 (min_value): Initialize with MIN_VALUE_INIT.
4802 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4804 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4805 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4806 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4807 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4809 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4810 (RUN_TEST_2_f): Likewise.
4811 (RUN_TEST_ff_f): Likewise.
4812 (RUN_TEST_fi_f): Likewise.
4813 (RUN_TEST_fl_f): Likewise.
4814 (RUN_TEST_fff_f): Likewise.
4815 (RUN_TEST_c_f): Likewise.
4816 (RUN_TEST_f_f1): Likewise.
4817 (RUN_TEST_fF_f1): Likewise.
4818 (RUN_TEST_fI_f1): Likewise.
4819 (RUN_TEST_ffI_f1): Likewise.
4820 (RUN_TEST_c_c): Likewise.
4821 (RUN_TEST_cc_c): Likewise.
4822 (RUN_TEST_f_i): Likewise.
4823 (RUN_TEST_f_i_tg): Likewise.
4824 (RUN_TEST_ff_i_tg): Likewise.
4825 (RUN_TEST_f_b): Likewise.
4826 (RUN_TEST_f_b_tg): Likewise.
4827 (RUN_TEST_f_l): Likewise.
4828 (RUN_TEST_f_L): Likewise.
4829 (RUN_TEST_sincos): Likewise.
4830 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4831 whether to show exceptions. Do not include ");\n" in return
4833 (special_functions): Output call to RUN_TEST_sincos instead of
4834 check_float calls. Update calls to new_test.
4835 (parse_args): Output call to single RUN_TEST_* macro instead of
4836 check_* calls and other assignments. Update calls to new_test.
4842 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4843 input to result for tgamma overflow.
4844 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4845 (gamma_coeff): New variable.
4846 (NCOEFF): New macro.
4847 (gamma_positive): New function.
4848 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4849 underflow here. Use gamma_positive instead of exp (lgamma) for
4851 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4852 (gamma_coeff): New variable.
4853 (NCOEFF): New macro.
4854 (gammaf_positive): New function.
4855 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4856 underflow here. Use gamma_positive instead of exp (lgamma) for
4858 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4859 (gamma_coeff): New variable.
4860 (NCOEFF): New macro.
4861 (gammal_positive): New function.
4862 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4863 underflow here. Use gamma_positive instead of exp (lgamma) for
4865 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4866 (gamma_coeff): New variable.
4867 (NCOEFF): New macro.
4868 (gammal_positive): New function.
4869 (__ieee754_gammal_r): Handle positive infinity, overflow and
4870 underflow here. Handle NaN the same as positive infinity. Remove
4871 check x < 0xffffffff for negative integers. Use gamma_positive
4872 instead of exp (lgamma) for other arguments.
4873 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4874 (gamma_coeff): New variable.
4875 (NCOEFF): New macro.
4876 (gammal_positive): New function.
4877 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4878 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4879 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4880 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4882 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4883 * sysdeps/generic/math_private.h (__gamma_productf): New
4885 (__gamma_product): Likewise.
4886 (__gamma_productl): Likewise.
4887 * math/Makefile (libm-calls): Add gamma_product.
4888 * math/libm-test.inc (tgamma_test): Add more tests.
4889 * sysdeps/i386/fpu/libm-test-ulps: Update.
4890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4892 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4894 * benchtests/bench-skeleton.c (main): Preheat CPU.
4896 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4898 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4900 2013-05-07 Roland McGrath <roland@hack.frob.com>
4902 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4903 and _dl_skip_args_internal.
4905 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4907 * manual/message.texi (Message Translation): Talk about users.
4908 Message to key mapping impacts design.
4910 2013-05-06 Roland McGrath <roland@hack.frob.com>
4912 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4914 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4916 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4917 * sysdeps/wordsize-64/glob64.c: ... here.
4919 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4920 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4923 * debug/getlogin_r_chk.c: Moved to ...
4924 * login/getlogin_r_chk.c: ... here.
4925 * debug/Makefile (routines): Move getlogin_r_chk to ...
4926 * login/Makefile (routines): ... here.
4927 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4928 * login/Versions (libc: GLIBC_2.4): ... here.
4930 * io/poll.c (__poll): Renamed from poll.
4931 Add libc_hidden_def.
4932 (poll): Define as weak alias.
4934 * debug/ptsname_r_chk.c: Moved to ...
4935 * login/ptsname_r_chk.c: ... here.
4936 * debug/Makefile (routines): Move ptsname_r_chk to ...
4937 * login/Makefile (routines): ... here.
4938 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4939 * login/Versions (libc: GLIBC_2.4): ... here.
4941 * posix/getlogin.c: Moved to ...
4942 * login/getlogin.c: ... here.
4943 * posix/getlogin_r.c: Moved to ...
4944 * login/getlogin_r.c: ... here.
4945 * posix/getlogin_r.c: Moved to ...
4946 * login/getlogin_r.c: ... here.
4947 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4948 * login/Makefile (routines): ... here.
4949 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4950 * login/Versions (libc: GLIBC_2.0): ... here.
4952 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4953 (setrlimit): Define as weak alias.
4955 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4956 Call __ names for open, ftruncate, and close.
4957 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4958 (truncate): Define as weak alias.
4960 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4962 * math/gen-libm-test.pl (parse_args): Initialize x before each
4963 test of frexp, modf and remquo.
4965 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4968 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4972 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4974 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4976 2013-05-06 Roland McGrath <roland@hack.frob.com>
4978 * elf/dl-writev.h: New file.
4979 * elf/dl-misc.c: Include it.
4980 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4981 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4983 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4985 * math/libm-test.inc (noXFails): Remove variable.
4986 (noXPasses): Likewise.
4987 (BUILD_COMPLEX_INT): Remove macro.
4988 (print_screen): Remove xfail argument.
4989 (print_screen_max_error): Likewise.
4990 (update_stats): Likewise.
4991 (print_max_error): Likewise. Update calls to other affected
4993 (print_complex_max_error): Likewise.
4994 (test_single_exception): Update calls to print_screen.
4995 (test_single_errno): Likewise.
4996 (check_float_internal): Remove xfail argument. Update calls to
4997 other affected functions.
4998 (check_float): Likewise.
4999 (check_complex): Likewise.
5000 (check_int): Likewise.
5001 (check_long): Likewise.
5002 (check_bool): Likewise.
5003 (check_longlong): Likewise.
5004 (main): Don't print noXFails and noXPasses.
5005 * math/gen-libm-test.pl (top level): Don't mention expected
5006 failure handling in comment.
5007 (new_test): Don't handle expected failures.
5008 (parse_args): Don't mention expected failure handling in comment.
5009 (generate_testfile): Don't handle expected failures.
5010 (parse_ulps): Likewise.
5011 (print_ulps_file): Likewise.
5012 (get_failure): Remove function.
5013 (output_test): Don't handle expected failures.
5014 * make/README.libm-test: Don't mention expected failure handling.
5016 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5017 (minus_zero): Likewise.
5018 (plus_infty): Likewise.
5019 (minus_infty): Likewise.
5020 (qnan_value): Likewise.
5021 (max_value): Likewise.
5022 (min_value): Likewise.
5023 (min_subnorm_value): Likewise.
5024 (initialize): Do not initialize those variables dynamically.
5026 2013-05-03 Roland McGrath <roland@hack.frob.com>
5028 * io/open.c (__open_2): Moved to ...
5029 * io/open_2.c: ... this new file.
5030 * io/open64.c (__open64_2): Moved to ...
5031 * io/open64_2.c: ... this new file.
5032 * io/openat.c (__openat_2): Moved to ...
5033 * io/openat_2.c: ... this new file.
5034 * io/openat64.c (__openat64_2): Moved to ...
5035 * io/openat64_2.c: ... this new file.
5036 * io/Makefile (routines): Add them.
5037 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5038 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5039 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5040 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5041 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5042 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5043 (__openat64): Add hidden_ver.
5044 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5045 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5047 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5048 Separately conditionalize setting of GLRO(dl_sysinfo) so
5049 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5050 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5052 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5054 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5055 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5057 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5058 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5059 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5060 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5061 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5063 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5065 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5068 * math/libm-test.inc (hypot_test): Do not use
5069 IGNORE_ZERO_INF_SIGN.
5071 2013-05-03 Andreas Jaeger <aj@suse.de>
5073 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5075 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5076 (PF_MAX): Adjust for VSOCK change.
5078 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5082 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5085 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5086 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5087 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5089 2013-05-02 David S. Miller <davem@davemloft.net>
5091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5093 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5095 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5097 2013-05-01 Roland McGrath <roland@hack.frob.com>
5099 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5101 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5104 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5105 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5106 Use __attribute__ ((__gnu_inline__)).
5107 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5108 Don't use __attribute__ ((__gnu_inline__)).
5110 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5113 * math/s_catan.c (__catan): Handle small real or imaginary part of
5114 input specially to avoid spurious underflow.
5115 * math/s_catanf.c (__catanf): Likewise.
5116 * math/s_catanh.c (__catanh): Likewise.
5117 * math/s_catanhf.c (__catanhf): Likewise.
5118 * math/s_catanhl.c (__catanhl): Likewise.
5119 * math/s_catanl.c (__catanl): Likewise.
5120 * math/libm-test.inc (catan_test): Add more tests.
5121 (catanh_test): Likewise.
5122 * sysdeps/i386/fpu/libm-test-ulps: Update.
5123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5125 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5129 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5132 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5133 accurately for denominator in atan2.
5134 * math/s_catanf.c (__catanf): Likewise.
5135 * math/s_catanh.c (__catanh): Likewise.
5136 * math/s_catanhf.c (__catanhf): Likewise.
5137 * math/s_catanhl.c (__catanhl): Likewise.
5138 * math/s_catanl.c (__catanl): Likewise.
5139 * math/libm-test.inc (catan_test): Add more tests.
5140 (catanh_test): Likewise.
5141 * sysdeps/i386/fpu/libm-test-ulps: Update.
5142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5144 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5146 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5148 * benchtests/Makefile (bench): Remove slow benchmarks.
5149 * benchtests/atan-inputs: Add slow benchmark inputs.
5150 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5151 (BENCH_FUNC): Accept variant offset.
5153 * benchtests/bench-skeleton.c (main): Run benchmark for each
5155 * benchtests/cos-inputs: Add slow benchmark inputs.
5156 * benchtests/exp-inputs: Likewise.
5157 * benchtests/pow-inputs: Likewise.
5158 * benchtests/sin-inputs: Likewise.
5159 * benchtests/slowatan-inputs: Remove.
5160 * benchtests/slowatan.c: Remove.
5161 * benchtests/slowcos-inputs: Remove.
5162 * benchtests/slowcos.c: Remove.
5163 * benchtests/slowexp-inputs: Remove.
5164 * benchtests/slowexp.c: Remove.
5165 * benchtests/slowpow-inputs: Remove.
5166 * benchtests/slowpow.c: Remove.
5167 * benchtests/slowsin-inputs: Remove.
5168 * benchtests/slowsin.c: Remove.
5169 * benchtests/slowtan-inputs: Remove.
5170 * benchtests/slowtan.c: Remove.
5171 * benchtests/tan-inputs: Add slow benchmark inputs.
5172 * scripts/bench.pl: Parse comments and directives.
5174 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5176 ($(objpfx)bench-%.c): Remove *-ITER.
5177 * benchtests/bench-modf.c: Remove definition of ITER.
5178 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5179 (main): Loop for DURATION seconds instead of fixed number of
5181 * scripts/bench.pl: Don't expect iterations in parameters.
5183 2013-04-29 Roland McGrath <roland@hack.frob.com>
5185 * io/fchdir.c (__fchdir): Renamed from fchdir.
5186 (fchdir): Define as weak alias.
5188 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5190 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5191 (ERRNO_EDOM): Likewise.
5192 (ERRNO_ERANGE): Likewise.
5193 (noErrnoTests): New variable.
5194 (init_max_error): Set errno to 0.
5195 (test_single_errno): New function.
5196 (test_errno): Likewise.
5197 (check_float_internal): Call test_errno. Set errno to 0.
5198 (check_complex): Refer to errno tests in comment.
5199 (check_int): Call test_errno. Set errno to 0.
5200 (check_long): Likewise.
5201 (check_bool): Likewise.
5202 (check_longlong): Likewise.
5203 (cos_test): Use ERRNO_* flags for errno tests instead of
5205 (expm1_test): Likewise.
5206 (fmod_test): Likewise.
5207 (ilogb_test): Likewise.
5208 (lgamma_test): Likewise.
5209 (pow_test): Likewise.
5210 (remainder_test): Likewise.
5211 (sin_test): Likewise.
5212 (tan_test): Likewise.
5213 (yn_test): Likewise.
5214 (initialize): Set errno to 0.
5215 (main): Print number of errno tests.
5216 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5218 2013-04-29 Andreas Jaeger <aj@suse.de>
5221 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5225 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5226 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5230 * stdlib/random.c (__initstate): Return NULL if
5234 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5235 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5238 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5242 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5244 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5245 of individual tests.
5246 (casin_test): Likewise.
5247 (casinh_test): Likewise.
5249 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5252 * math/s_catan.c (__catan): Handle arguments with large real or
5253 imaginary part separately without squaring.
5254 * math/s_catanf.c (__catanf): Likewise.
5255 * math/s_catanh.c (__catanh): Likewise.
5256 * math/s_catanhf.c (__catanhf): Likewise.
5257 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5259 (__catanhl): Handle arguments with large real or imaginary part
5260 separately without squaring.
5261 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5263 (__catanl): Handle arguments with large real or imaginary part
5264 separately without squaring.
5265 * math/libm-test.inc (catan_test): Add more tests.
5266 (catanh_test): Likewise.
5267 * sysdeps/i386/fpu/libm-test-ulps: Update.
5268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5270 2013-04-27 Andreas Jaeger <aj@suse.de>
5273 * stdlib/stdlib.h: Update guards for qecvt.
5274 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5277 2013-04-27 Allan McRae <allan@archlinux.org>
5279 * sysdeps/i386/fpu/libm-test-ulps: Update.
5281 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5284 * math/s_catan.c: Include <float.h>.
5285 (__catan): Ensure underflow exception occurs for underflowed
5287 * math/s_catanf.c: Include <float.h>.
5288 (__catanf): Ensure underflow exception occurs for underflowed
5290 * math/s_catanh.c: Include <float.h>.
5291 (__catanh): Ensure underflow exception occurs for underflowed
5293 * math/s_catanhf.c: Include <float.h>.
5294 (__catanhf): Ensure underflow exception occurs for underflowed
5296 * math/s_catanhl.c: Include <float.h>.
5297 (__catanhl): Ensure underflow exception occurs for underflowed
5299 * math/s_catanl.c: Include <float.h>.
5300 (__catanl): Ensure underflow exception occurs for underflowed
5302 * math/libm-test.inc (catan_test): Add more tests.
5303 (catanh_test): Likewise.
5306 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5308 * math/s_ccoshf.c (__ccoshf): Likewise.
5309 * math/s_ccoshl.c (__ccoshl): Likewise.
5310 * math/s_csin.c (__csin): Likewise.
5311 * math/s_csinf.c (__csinf): Likewise.
5312 * math/s_csinh.c (__csinh): Likewise.
5313 * math/s_csinhf.c (__csinhf): Likewise.
5314 * math/s_csinhl.c (__csinhl): Likewise.
5315 * math/s_csinl.c (__csinl): Likewise.
5316 * math/libm-test.inc (ccos_test): Add more tests.
5317 (ccosh_test): Likewise.
5318 (csin_test): Likewise.
5319 (csinh_test): Likewise.
5321 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5323 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5324 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5325 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5326 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5327 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5328 powerpc/power5+/fpu folders.
5329 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5332 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5334 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5336 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5338 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5339 additions to variable.
5340 [$(config-machine) = x86_64] (modules-names): Likewise.
5341 ($(objpfx)tst-audit3): Remove dependency.
5342 ($(objpfx)tst-audit3.out): Likewise.
5343 ($(objpfx)tst-audit4): Likewise.
5344 ($(objpfx)tst-audit4.out): Likewise.
5345 ($(objpfx)tst-audit5): Likewise.
5346 ($(objpfx)tst-audit5.out): Likewise.
5347 ($(objpfx)tst-audit6): Likewise.
5348 ($(objpfx)tst-audit6.out): Likewise.
5349 ($(objpfx)tst-audit7): Likewise.
5350 ($(objpfx)tst-audit7.out): Likewise.
5351 (tst-audit3-ENV): Remove variable.
5352 (tst-audit4-ENV): Likewise.
5353 (tst-audit5-ENV): Likewise.
5354 (tst-audit6-ENV): Likewise.
5355 (tst-audit7-ENV): Likewise.
5356 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5357 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5358 addition to variable.
5359 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5360 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5361 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5362 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5363 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5364 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5365 tst-audit3, tst-audit4 and tst-audit5.
5366 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5367 tst-audit6 and tst-audit7.
5368 [$(subdir) = elf] (modules-names): Add audit modules for those
5370 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5371 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5372 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5373 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5374 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5375 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5376 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5377 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5378 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5379 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5380 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5381 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5382 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5383 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5384 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5385 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5387 [$(subdir) = elf && $(config-cflags-avx) = yes]
5388 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5389 [$(subdir) = elf && $(config-cflags-avx) = yes]
5390 (CFLAGS-tst-auditmod4a.c): Likewise.
5391 [$(subdir) = elf && $(config-cflags-avx) = yes]
5392 (CFLAGS-tst-auditmod4b.c): Likewise.
5393 [$(subdir) = elf && $(config-cflags-avx) = yes]
5394 (CFLAGS-tst-auditmod6b.c): Likewise.
5395 [$(subdir) = elf && $(config-cflags-avx) = yes]
5396 (CFLAGS-tst-auditmod6c.c): Likewise.
5397 [$(subdir) = elf && $(config-cflags-avx) = yes]
5398 (CFLAGS-tst-auditmod7b.c): Likewise.
5399 * elf/tst-audit3.c: Move to ...
5400 * sysdeps/x86_64/tst-audit3.c: ... here.
5401 * elf/tst-audit4.c: Move to ...
5402 * sysdeps/x86_64/tst-audit4.c: ... here.
5403 * elf/tst-audit5.c: Move to ...
5404 * sysdeps/x86_64/tst-audit5.c: ... here.
5405 * elf/tst-audit6.c: Move to ...
5406 * sysdeps/x86_64/tst-audit6.c: ... here.
5407 * elf/tst-audit7.c: Move to ...
5408 * sysdeps/x86_64/tst-audit7.c: ... here.
5409 * elf/tst-auditmod3a.c: Move to ...
5410 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5411 * elf/tst-auditmod3b.c: Move to ...
5412 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5413 * elf/tst-auditmod4a.c: Move to ...
5414 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5415 * elf/tst-auditmod4b.c: Move to ...
5416 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5417 * elf/tst-auditmod5a.c: Move to ...
5418 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5419 * elf/tst-auditmod5b.c: Move to ...
5420 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5421 * elf/tst-auditmod6a.c: Move to ...
5422 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5423 * elf/tst-auditmod6b.c: Move to ...
5424 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5425 * elf/tst-auditmod6c.c: Move to ...
5426 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5427 * elf/tst-auditmod7a.c: Move to ...
5428 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5429 * elf/tst-auditmod7b.c: Move to ...
5430 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5432 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5435 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5436 define unconditionally.
5437 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5438 define unconditionally.
5439 (INT8_C, INT16_C, etc.): Likewise.
5441 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5443 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5444 __ehdr_start with hidden visibility.
5446 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5448 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5450 * math/libm-test.inc (cos_test): Use accurate hex constants.
5451 (sincost_test): Likewise.
5453 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5455 * math/libm-test.inc (catan_test): Add more tests.
5456 (catanh_test): Likewise.
5458 * math/s_catanf.c (__catanf): Use suffixed floating-point
5460 * math/s_catanhf.c (__catanhf): Likewise.
5461 * math/s_catanhl.c (__catanhl): Likewise.
5462 * math/s_catanl.c (__catanl): Likewise.
5465 * math/s_catan.c (__catan): Calculate imaginary part of result
5466 with log1p not log unless computing log of number close to 0.
5467 * math/s_catanf.c (__catanf): Likewise.
5468 * math/s_catanl.c (__catanl): Likewise.
5469 * math/s_catanh.c (__catanh): Calculate real part of result with
5470 log1p not log unless computing log of number close to 0.
5471 * math/s_catanhf.c (__catanhf): Likewise.
5472 * math/s_catanhl.c (__catanhl): Likewise.
5473 * math/libm-test.inc (catan_test): Add more tests.
5474 (catanh_test): Likewise.
5475 * sysdeps/i386/fpu/libm-test-ulps: Update.
5476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5478 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5480 * benchtests/Makefile: Mention files in which fast and slow
5481 paths of math functions are implemented.
5483 2013-04-23 Roland McGrath <roland@hack.frob.com>
5485 * sysdeps/posix/timespec_get.c: New file.
5487 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5489 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5491 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5493 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5494 powerpc/power5/fpu folders.
5495 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5496 * benchtests/Makefile: Add modf testcase.
5497 * benchtests/bench-modf.c: New file: Benchmark test for mo
5499 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5502 * time/Makefile (tests): Add tst-strptime-whitespace.
5503 * time/strptime_l.c (get_number): Use ISSPACE.
5504 (__strptime_internal): Likewise.
5505 * time/tst-strptime-whitespace.c: New test case.
5507 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5509 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5511 (_nss_files_init): Set it here.
5513 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5515 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5516 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5519 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5521 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5523 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5528 2013-04-21 David S. Miller <davem@davemloft.net>
5530 * po/ru.po: Update Russion translation from translation project.
5532 2013-04-17 Adam Conrad <adconrad@0c3.net>
5534 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5537 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5539 * configure.in: Remove i386 configure warning. Remove i386 case.
5540 * configure: Regenerate.
5541 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5542 Add example to error message.
5543 * sysdeps/i386/configure: Regenerate.
5545 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5547 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5549 * benchtests/cos-inputs: New file.
5550 * benchtests/slowcos-inputs: New file.
5551 * benchtests/slowcos.c: New file.
5552 * benchtests/slowtan-inputs: New file.
5553 * benchtests/slowtan.c: New file.
5554 * benchtests/tan-inputs: New file.
5556 2013-04-16 Roland McGrath <roland@hack.frob.com>
5558 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5561 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5563 * benchtests/Makefile: Include cppflags-iterator.mk to add
5564 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5566 * Makefile.in (bench-clean): New target.
5567 * benchtests/Makefile (bench-clean): Likewise.
5569 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5571 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5573 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5575 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5577 2013-04-15 Andreas Schwab <schwab@suse.de>
5579 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5580 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5581 * nscd/pwdcache.c (cache_addpw): Likewise.
5582 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5585 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5587 * benchtests/Makefile (bench): Write all output to
5588 bench-out.tmp together.
5590 2013-04-15 Andreas Schwab <schwab@suse.de>
5592 * nscd/nscd.c (main): Don't fork again after closing files.
5594 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5596 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5598 * benchtests/Rules (bench-deps): Collect dependencies into a
5599 single variable. Add Makefile to dependencies.
5600 ($(objpfx)bench-%.c): Depend on bench-deps.
5602 2013-04-12 Roland McGrath <roland@hack.frob.com>
5603 Xavier Roche <roche+kml2@exalead.com>
5606 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5607 just that it's a file descriptor.
5608 * manual/llio.texi (Synchronizing AIO Operations): Update description
5609 for EBADF error from aio_fsync.
5611 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5613 * Rules (bench): Move target definition...
5614 * benchtests/Makefile: ... here.
5616 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5618 * math/libm-test.inc (cos_test): Fix PI/2 test.
5619 (sincos_test): Likewise.
5620 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5621 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5623 2013-04-11 Andreas Schwab <schwab@suse.de>
5626 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5627 accept exponent character only when digits were seen.
5628 * stdio-common/Makefile (tests): Add bug26.
5629 * stdio-common/bug26.c: New file.
5632 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5635 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5637 * Makeconfig (rtld-prefix): Define built linker prefix.
5638 * Rules (run-bench): Use it.
5639 * math/Makefile (run-regen-ulps): Likewise.
5641 * Rules (bench): Remove eval.
5643 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5644 Roland McGrath <roland@hack.frob.com>
5645 Ondrej Bilka <neleai@seznam.cz>
5648 * time/getdate.c: Include ctype.h and alloca.h.
5649 (__getdate_r): Trim leading and trailing spaces of input.
5650 * time/tst-getdate.c (tests): Add tests with leading and
5653 2013-04-08 Roland McGrath <roland@hack.frob.com>
5656 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5657 when computing value.
5659 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5661 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5662 Use testrun.sh to run libm tests.
5665 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5667 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5670 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5672 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5674 * Makefile.in (regen-ulps): New target.
5675 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5676 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5677 [ifneq (no,$(PERL)] (regen-ulps): New target.
5678 [ifeq (no,$(PERL)] (regen-ulps): New target.
5679 * math/libm-test.inc (ulps_file_name): Define.
5680 (output_dir): New variable.
5681 (options): Add "output-dir" option.
5682 (parse_opt): Handle 'o' case.
5683 (main): If output_dir is non-NULL use it as a prefix
5685 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5687 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5690 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5691 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5692 fail configure if __sync_val_compare_and_swap is not inlined.
5693 * sysdeps/i386/configure: Regenerate.
5694 * configure.in: Build for i686 when configured for i386.
5695 * configure: Regenerate.
5696 * README: Remove i386 reference.
5698 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5700 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5701 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5703 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5705 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5706 (lmsnanval): New variables.
5707 (F): Add conversion tests.
5708 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5709 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5711 * stdio-common/tstdiomisc.c (F): Properly collect individual
5715 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5716 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5717 Instead, use input NaN values or generate a qNaN by arithmetic
5718 operation. Also fix bugs to comply with the standard.
5719 * math/libm-test.inc (remainder_test): Add more tests.
5722 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5723 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5724 input NaN values or generate a qNaN by arithmetic operation.
5726 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5729 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5732 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5735 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5737 * math/s_cexpf.c (__cexpf): Likewise.
5738 * math/s_cexpl.c (__cexpl): Likewise.
5739 * math/libm-test.inc (cexp_test): Add more tests.
5741 2013-04-03 Andreas Schwab <schwab@suse.de>
5744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5745 order arrays from heap if bigger than alloca cutoff.
5747 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5749 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5750 (SNAN_TESTS_double): Refer to GCC PR56831.
5751 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5754 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5756 * Rules (bench): Move bench.out after the run is complete.
5758 * Rules (bench): Echo currently running benchmark.
5760 * benchtests/Makefile (bench): Add atan and slowatan.
5761 * benchtests/atan-inputs: New file.
5762 * benchtests/slowatan-inputs: New file.
5763 * benchtests/slowatan.c: New file.
5765 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5766 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5770 * sysdeps/unix/sysv/linux/kernel-features.h
5771 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5772 __ASSUME_XFS_RESTRICTED_CHOWN.
5773 * sysdeps/unix/sysv/linux/pathconf.c
5774 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5775 Save and restore errno.
5777 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5780 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5781 arguments using __kernel_casinh.
5782 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5783 arguments using __kernel_casinhf.
5784 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5785 arguments using __kernel_casinhl.
5786 * math/libm-test.inc (cacosh_test): Add more tests.
5787 * sysdeps/i386/fpu/libm-test-ulps: Update.
5788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5790 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5792 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5795 * bench/Makefile (bench): Add sin and slowsin.
5796 * benchtests/sin-inputs: New file.
5797 * benchtests/slowsin-inputs: New file.
5798 * benchtests/slowsin.c: New file.
5800 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5801 (bench): Add slowexp and slowpow.
5802 (exp-ITER): Increase iterations.
5803 (pow-ITER): Likewise.
5804 * benchtests/exp-inputs: Change input.
5805 * benchtests/pow-inputs: Likewise.
5806 * benchtests/slowexp-inputs: New file.
5807 * benchtests/slowexp.c: New file.
5808 * benchtests/slowpow-inputs: New file.
5809 * benchtests/slowpow.c: New file.
5811 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5813 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5815 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5816 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5817 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5818 * benchtests/Makefile: Add rint benchtest.
5819 * benchtests/rint-inputs: Input for rint benchtest.
5821 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5823 * Versions.def (libm): Add GLIBC_2.18.
5824 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5825 hidden libm prototypes.
5826 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5827 * math/Makefile (libm-calls): Add s_issignaling.
5828 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5829 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5830 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5832 * math/math.h [__USE_GNU] (issignaling): New macro.
5833 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5834 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5835 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5836 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5837 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5838 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5839 * manual/arith.texi (issignaling): New section.
5840 * manual/libm-err-tab.pl (@all_functions): Update comment.
5841 * math/gen-libm-test.pl (parse_args): Apply special handling for
5843 * math/libm-test.inc (print_float, issignaling_test): New
5845 (check_float_internal): Add issignaling checks.
5846 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5848 * sysdeps/powerpc/math-tests.h: New file.
5849 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5851 * math/test-snan.c (TEST_FUNC): Likewise.
5853 2013-03-30 David S. Miller <davem@davemloft.net>
5855 * po/de.po: Update from translation team.
5857 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5860 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5861 imaginary part less than 1.0 and real part less than 0.5
5863 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5864 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5865 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5866 (cacos_test): Add more tests.
5867 (casin_test): Likewise.
5868 (casinh_test): Likewise.
5869 * sysdeps/i386/fpu/libm-test-ulps: Update.
5870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5872 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5874 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5877 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5878 (__pow_mp): Replace ONE and MONE with their values.
5879 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5880 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5881 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5882 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5883 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5884 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5886 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5888 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5889 (__pow_mp): Replace ZERO and MZERO with their values.
5890 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5891 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5892 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5893 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5894 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5895 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5898 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5900 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5902 2013-03-28 Roland McGrath <roland@hack.frob.com>
5904 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5905 Declare with __attribute__ ((weak)).
5906 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5907 Call __call_tls_dtors only if it's not NULL.
5909 2013-03-28 Roland McGrath <roland@hack.frob.com>
5911 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5912 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5913 magic __ehdr_start linker symbol if it's defined.
5914 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5915 them up here if it was already done.
5917 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5918 (_dl_aux_init): Use const in cast when setting it.
5919 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5920 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5921 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5923 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5925 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5926 * csu/libc-tls.c: Nor here.
5927 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5929 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5930 (__libc_message): Never call vsyslog.
5932 2013-03-28 Alan Modra <amodra@gmail.com>
5934 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5936 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5939 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5942 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5946 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5949 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5950 Don't add gid passed as argument.
5952 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5954 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5957 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5958 imaginary part between 1.0 and 1.5 and real part less than 0.5
5960 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5961 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5962 * math/libm-test.inc (cacos_test): Add more tests.
5963 (casin_test): Likewise.
5964 (casinh_test): Likewise.
5965 * sysdeps/i386/fpu/libm-test-ulps: Update.
5966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5968 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5970 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5974 (__dbl_mp): Likewise.
5975 (add_magnitudes): Likewise.
5976 (sub_magnitudes): Likewise.
5984 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5986 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5987 (__dubcos): Likewise.
5988 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5989 (__ieee754_acos): Likewise.
5990 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5991 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5993 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5996 (my_log2): Likewise.
5997 (checkint): Likewise.
5998 * sysdeps/ieee754/dbl-64/e_remainder.c
5999 (__ieee754_remainder): Likewise.
6000 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6001 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6003 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6005 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6006 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6007 MANTISSA_STORE_T to store computations on mantissa. Use
6008 macros for rounding and division.
6010 (__dbl_mp): Likewise.
6011 (add_magnitudes): Likewise.
6012 (sub_magnitudes): Likewise.
6015 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6016 powers of two in terms of TWOPOW macro.
6017 (mp_no): Make type of mantissa as MANTISSA_T.
6018 [!RADIXI]: Define RADIXI.
6019 [!TWO52]: Define TWO52.
6020 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6022 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6024 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6025 llroundl symbol when building for PPC32.
6027 2013-03-24 Mark H Weaver <mhw@netris.org>
6029 * manual/arith.texi (Normalization Functions): Fix prototypes for
6030 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6032 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6035 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6036 high value to check if expl overflow.
6037 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6038 to check for underflow and overflow.
6039 * math/libm-test.inc: Add exp test.
6041 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6044 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6047 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6049 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6052 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6054 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6055 wrap blocks consisting of several statements.
6057 * sysdeps/generic/math-tests.h: New file.
6058 * sysdeps/i386/fpu/math-tests.h: Likewise.
6059 * math/test-snan.c: Include it.
6060 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6062 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6065 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6066 (__ieee754_j0l): Do not improve calculations using cos of twice
6067 input for inputs above LDBL_MAX / 2.0L.
6068 (__ieee754_y0l): Likewise.
6069 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6070 (__ieee754_j1l): Do not improve calculations using cos of twice
6071 input for inputs above LDBL_MAX / 2.0L.
6072 (__ieee754_y1l): Likewise.
6073 * math/libm-test.inc (j0_test): Add another test.
6074 (j1_test): Likewise.
6075 (y0_test): Likewise.
6076 (y1_test): Likewise.
6077 * sysdeps/i386/fpu/libm-test-ulps: Update.
6079 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6081 * Rules ($(objpfx)bench-%.c): Include code from a C source
6084 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6087 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6088 imaginary part 1.0 and real part less than 0.5 specially.
6089 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6090 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6091 * math/libm-test.inc (cacos_test): Add more tests.
6092 (casin_test): Likewise.
6093 (casinh_test): Likewise.
6094 * sysdeps/i386/fpu/libm-test-ulps: Update.
6095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6097 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6099 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6100 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6102 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6104 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6105 * config.make.in (config-cflags-sse4): Remove variable.
6106 (config-cflags-avx): Likewise.
6107 (config-cflags-sse2avx): Likewise.
6108 (config-cflags-novzeroupper): Likewise.
6109 (config-asflags-i686): Likewise.
6110 (have-mfma4): Likewise.
6111 (have-as-vis3): Likewise.
6113 * configure.in (MIG): Do not AC_SUBST.
6114 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6115 (libc_cv_cc_sse4): Do not AC_SUBST.
6116 (libc_cv_cc_avx): Likewise.
6117 (libc_cv_cc_sse2avx): Likewise.
6118 (libc_cv_cc_novzeroupper): Likewise.
6119 (libc_cv_cc_fma4): Likewise.
6120 (libc_cv_as_i686): Likewise.
6121 (libc_cv_sparc_as_vis3): Likewise.
6122 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6124 (config-asflags-i686): Likewise.
6125 (config-cflags-avx): Likewise.
6126 (config-cflags-sse2avx): Likewise.
6127 (have-mfma4): Likewise.
6128 (config-cflags-novzeroupper): Likewise.
6129 * sysdeps/mach/configure.in (MIG): Likewise.
6130 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6131 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6133 (config-cflags-avx): Likewise.
6134 (config-cflags-sse2avx): Likewise.
6135 (have-mfma4): Likewise.
6136 (config-cflags-novzeroupper): Likewise.
6137 * configure: Regenerated.
6138 * sysdeps/i386/configure: Likewise.
6139 * sysdeps/mach/configure: Likewise.
6140 * sysdeps/sparc/configure: Likewise.
6141 * sysdeps/x86_64/configure: Likewise.
6143 2013-03-20 Roland McGrath <roland@hack.frob.com>
6146 * locale/programs/localedef.c (options): Put N_ translation marker
6147 on argument names, not just descriptions.
6149 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6151 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6153 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6156 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6158 2013-03-19 Roland McGrath <roland@hack.frob.com>
6160 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6161 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6162 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6163 [!BEFORE_ABORT] (before_abort): New function.
6164 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6165 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6166 (writev_for_fatal): New function.
6167 (WRITEV_FOR_FATAL): New macro; call that.
6168 (backtrace_and_maps): New function.
6169 (BEFORE_ABORT): New macro; call that.
6170 (struct str_list): Type removed.
6171 (__libc_message, __libc_fatal): Functions removed.
6172 Include <sysdeps/posix/libc_fatal.c> instead.
6174 2013-03-19 Joseph Myers <joseph@codesourcery.com>
6176 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6178 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6181 2013-03-19 Andreas Schwab <schwab@suse.de>
6183 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6184 * sysdeps/gnu/configure: Regenerate.
6186 * configure.in: Substitute libc_cv_rtlddir.
6187 * configure: Regenerate.
6188 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6189 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6190 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6191 * elf/Makefile (install-others, CFLAGS-interp.c)
6192 (ldso_install, common-ldd-rewrite): Likewise.
6193 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6194 $(inst_slibdir)/$(rtld-installed-name).
6195 * scripts/rellns-sh: Add -p option.
6196 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6199 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6201 * manual/nptl.texi: Renamed to ...
6202 * manual/threads.texi: ... this.
6203 * manual/Makefile (chapters): Update.
6205 2013-03-18 Roland McGrath <roland@hack.frob.com>
6208 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6209 on argument names, not just descriptions.
6210 * malloc/memusagestat.c (options): Likewise.
6211 * nss/getent.c (options): Likewise.
6213 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
6216 * iconv/iconv_prog.c (options): Put N_ translation marker
6217 on argument names, not just descriptions.
6218 * iconv/iconvconfig.c (options): Likewise.
6220 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
6222 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6223 implementation which is faster on all x86_64 architectures.
6224 Tested on AMD, Intel Nehalem, SNB, IVB.
6225 * sysdeps/x86_64/strnlen.S: Likewise.
6227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6228 Remove all multiarch strlen and strnlen versions.
6229 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6230 Remove strlen and strnlen related parts.
6232 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6234 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6236 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6237 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6238 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6239 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6240 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6241 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6243 2013-03-17 Carlos O'Donell <carlos@redhat.com>
6245 * manual/memory.texi (Malloc Tunable Parameters):
6246 Sort parameters alphabetically. Add comments for missing entries.
6248 2013-03-17 David S. Miller <davem@davemloft.net>
6250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6252 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6255 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6256 for arguments at most half maximum finite value.
6257 * math/libm-test.inc (j0_test): Add more tests.
6258 (j1_test): Likewise.
6259 (y0_test): Likewise.
6260 (y1_test): Likewise.
6261 * sysdeps/i386/fpu/libm-test-ulps: Update.
6262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6265 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6266 1 / x and functions P and Q for arguments above 0x1p256L.
6267 (__ieee754_y0l): Likewise.
6268 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6269 (__ieee754_y1l): Likewise.
6270 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6271 (j1_test): Likewise.
6272 (y0_test): Likewise.
6273 (y1_test): Likewise.
6275 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6277 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6280 2013-03-15 Roland McGrath <roland@hack.frob.com>
6282 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6283 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6284 zero since it's initialized to EXEC_PAGESIZE.
6286 * sysdeps/unix/sysv/linux/ldsodefs.h
6287 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6288 * sysdeps/generic/ldsodefs.h: ... here.
6290 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6292 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6294 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6296 * math/test-snan.c: Renamed from
6297 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6298 * math/Makefile (tests): Add test-snan.
6299 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6302 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6303 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6305 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6306 __builtin_nan family of functions.
6307 * math/libm-test.inc (initialize): Initialize qnan_value with
6308 __builtin_nan family of functions.
6309 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6311 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6313 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6314 storage class. Initialize qNaN_var and sNaN_var with
6315 __builtin_nan and __builtin_nans families of functions,
6318 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6319 (sqrt_test): Remove duplicate test with qNaN input.
6320 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6321 (round_test, signbit_test, significand_test): Note missing +/-Inf
6322 as well as qNaN tests.
6324 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6325 qNaN_var. Fix a few strings, too.
6326 * math/libm-test.inc (nan_value): Rename to qnan_value.
6327 * math/gen-libm-test.pl (%beautify): Adjust to that.
6328 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6329 * math/test-misc.c (main): Likewise.
6330 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6331 to __qnan_bytes, and __qnan_union, respectively.
6332 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6334 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6335 and lqnanval, respectively.
6336 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6337 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6338 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6339 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6341 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6342 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6345 * math/test-misc.c (main): Fix copy'n'pastos.
6346 * misc/tst-efgcvt.c (special): Likewise.
6348 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6349 Remove declarations.
6351 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6353 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6354 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6355 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6356 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6358 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6360 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6361 macro to return vdso values correctly in IFUNC implementations.
6362 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6363 Optimization by using IFUNC.
6365 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6366 Richard Henderson <rth@redhat.com>
6367 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6369 * Makefile.in (bench): New target.
6370 * NEWS: Mention the benchmark framework.
6371 * Rules (bench): Likewise.
6372 (binaries-bench): Generate binaries for functions to
6374 * benchtests/Makefile: New makefile for benchmark tests.
6375 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6377 * benchtests/exp-inputs: New input file for EXP function.
6378 * benchtests/pow-inputs: New input file for POW function.
6379 * scripts/bench.pl: New script to generate source files for
6382 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6384 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6385 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6386 computations on mantissa. Use macros for rounding and
6389 (__dbl_mp): Likewise.
6390 (add_magnitudes): Likewise.
6391 (sub_magnitudes): Likewise.
6394 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6395 powers of two in terms of TWOPOW macro.
6396 (mp_no): Make type of mantissa as MANTISSA_T.
6397 [!RADIXI]: Define RADIXI.
6398 [!TWO52]: Define TWO52.
6399 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6401 * manual/nptl.texi (cindex): Modify threads to pthreads.
6403 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6405 * sysdeps/x86_64/preconfigure: Regenerated.
6407 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6410 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6412 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6413 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6415 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6416 * math/libm-test.inc (j0_test): Do not allow one spurious
6417 underflow exception.
6418 (y1_test): Likewise.
6420 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6422 * manual/Makefile (chapters): Add nptl.
6423 * manual/debug.texi (Debugging Support): Add link to Threads
6425 * manual/nptl.texi: New file.
6427 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6429 2013-03-14 Petr Baudis <pasky@ucw.cz>
6431 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6432 for non-NULL pointer before the memory validity test. Pointed
6433 out by Holger Brunck <holger.brunck@keymile.com>.
6435 2013-03-13 Andreas Schwab <schwab@suse.de>
6437 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6440 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6442 * timezone/zic.c: Update from tzcode 2013b.
6444 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6446 * manual/install.texi (Configuring and compiling):
6447 Mention i686 and i586.
6448 * INSTALL: Regenerate.
6450 2013-03-12 Roland McGrath <roland@hack.frob.com>
6452 * sysdeps/init_array/elf-init.c: New file.
6454 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6455 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6457 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6458 __gmon_start__ as global, but as static with a .preinit_array pointer.
6459 * sysdeps/init_array/gmon-start.c: New file. Use that.
6460 * sysdeps/init_array/crti.S: New file, empty except for comments.
6461 * sysdeps/init_array/crtn.S: Likewise.
6463 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6465 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6468 Remove Prefer_SSE_for_memop.
6469 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6470 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6471 HAS_PREFER_SSE_FOR_MEMOP.
6472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6474 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6475 Remove bzero, memset ifunc support.
6476 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6477 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6478 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6479 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6481 2013-03-11 Andreas Schwab <schwab@suse.de>
6484 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6487 (GLIBC_2.16): Remove pthread_atfork.
6489 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6491 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6492 (ptestcases.h): Likewise.
6494 2013-03-08 Roland McGrath <roland@hack.frob.com>
6496 * Makeconfig ($(common-objpfx)config.status): Depend on
6497 sysdeps/*/preconfigure{,.in} too.
6499 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6501 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6502 (__free_hook): Use void * instead of __malloc_ptr_t.
6503 (__malloc_hook): Likewise.
6504 (__realloc_hook): Likewise.
6505 (__memalign_hook): Likewise.
6506 (__after_morecore_hook): Likewise.
6507 * malloc/arena.c (save_malloc_hook): Likewise.
6508 (save_free_hook): Likewise.
6509 * malloc/hooks.c (malloc_hook_ini): Likewise.
6510 (realloc_hook_ini): Likewise.
6511 (memalign_hook_ini): Likewise.
6512 * malloc/malloc.c (malloc_hook_ini): Likewise.
6513 (realloc_hook_ini): Likewise.
6514 (memalign_hook_ini): Likewise.
6515 (__free_hook): Likewise.
6516 (__malloc_hook): Likewise.
6517 (__realloc_hook): Likewise.
6518 (__memalign_hook): Likewise.
6519 (__libc_malloc): Likewise.
6520 (__libc_free): Likewise.
6521 (__libc_realloc): Likewise.
6522 (__libc_memalign): Likewise.
6523 (__libc_valloc): Likewise.
6524 (__libc_pvalloc): Likewise.
6525 (__libc_calloc): Likewise.
6526 (__posix_memalign): Likewise.
6527 * malloc/morecore.c (__sbrk): Likewise.
6528 (__default_morecore): Likewise.
6530 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6532 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6533 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6536 * malloc/malloc.h (__malloc_size_t): Remove macro.
6537 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6539 (old_memalign_hook): Likewise.
6540 (old_realloc_hook): Likewise.
6541 (struct hdr): Likewise.
6543 (mallochook): Likewise.
6544 (memalignhook): Likewise.
6545 (reallochook): Likewise.
6546 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6547 (tr_old_realloc_hook): Likewise.
6548 (tr_old_memalign_hook): Likewise.
6549 (tr_mallochook): Likewise.
6550 (tr_reallochook): Likewise.
6551 (tr_memalignhook): Likewise.
6553 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6555 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6556 default_ldbl_pack and using as default implementation.
6557 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6559 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6560 redundant definition.
6561 (ldbl_insert_mantissa): Likewise.
6562 (ldbl_canonicalize): Likewise.
6563 (ldbl_nearbyint): Likewise.
6564 (ldbl_pack): Rename to ldbl_pack_ppc.
6565 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6566 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6567 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6569 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6572 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6573 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6574 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6576 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6577 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6578 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6580 2013-03-07 Andreas Jaeger <aj@suse.de>
6582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6585 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6587 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6588 Include mpa.h and declare __MPEXP.
6589 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6590 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6591 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6592 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6593 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6594 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6595 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6597 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6598 (__slowpow): Use long double EXPL and LOGL functions to
6600 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6601 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6602 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6603 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6604 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6605 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6608 intermediate variable to calculate exponent.
6610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6614 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6615 [!NO__SQR]: Define __sqr.
6616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6617 and NO__SQR. Remove all code except __mul and __sqr. Include
6618 sysdeps/ieee754/dbl-64/mpa.c.
6619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6622 * posix/Makefile (tests): Add tst-pathconf.
6623 * posix/tst-pathconf.c: New test case.
6624 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6626 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6628 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6630 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6632 2013-03-06 Andreas Jaeger <aj@suse.de>
6634 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6635 definition via __MAP_ANONYMOUS.
6637 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6638 it's not part of Linux headers.
6640 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6641 (MAP_HUGE_MASK): Define.
6643 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6645 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6646 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6648 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6649 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6651 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6652 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6654 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6656 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6657 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6658 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6659 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6660 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6661 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6663 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6666 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6667 Handle f2fs and efivarfs.
6669 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6672 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6673 (EFIVARFS_MAGIC): Add.
6674 (F2FS_LINK_MAX): Add.
6676 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6678 * stdio-common/vfprintf.c: Replace __builtin_expect with
6681 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6684 * sysdeps/generic/bp-sym.h: Remove file.
6685 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6686 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6687 <bp-sym.h> and <bp-asm.h>.
6688 (__longjmp): Don't use BP_SYM.
6689 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6691 (memcpy): Don't use BP_SYM.
6692 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6693 <bp-sym.h> and <bp-asm.h>.
6694 (memcpy): Don't use BP_SYM.
6695 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6697 (memcpy): Don't use BP_SYM.
6698 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6700 (memset): Don't use BP_SYM.
6701 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6702 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6703 (__bzero): Don't use BP_SYM.
6704 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6705 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6706 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6707 <bp-sym.h> and <bp-asm.h>.
6708 (memcmp): Don't use BP_SYM. Remove comment about bounded
6710 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6711 <bp-sym.h> and <bp-asm.h>.
6712 (memcpy): Don't use BP_SYM.
6713 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6714 <bp-sym.h> and <bp-asm.h>.
6715 (memset): Don't use BP_SYM.
6716 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6717 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6718 (__bzero): Don't use BP_SYM.
6719 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6720 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6721 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6722 <bp-sym.h> and <bp-asm.h>.
6723 (strncmp): Don't use BP_SYM. Remove comment about bounded
6725 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6726 <bp-sym.h> and <bp-asm.h>.
6727 (memcpy): Don't use BP_SYM.
6728 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6729 <bp-sym.h> and <bp-asm.h>.
6730 (memset): Don't use BP_SYM.
6731 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6732 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6733 (__bzero): Don't use BP_SYM.
6734 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6735 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6736 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6737 <bp-sym.h> and <bp-asm.h>.
6738 (__memchr): Don't use BP_SYM.
6739 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6740 <bp-sym.h> and <bp-asm.h>.
6741 (memcmp): Don't use BP_SYM. Remove comment about bounded
6743 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6744 <bp-sym.h> and <bp-asm.h>.
6745 (memcpy): Don't use BP_SYM.
6746 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6747 <bp-sym.h> and <bp-asm.h>.
6748 (__mempcpy): Don't use BP_SYM.
6749 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6750 <bp-sym.h> and <bp-asm.h>.
6751 (__memrchr): Don't use BP_SYM.
6752 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6753 <bp-sym.h> and <bp-asm.h>.
6754 (memset): Don't use BP_SYM.
6755 (__bzero): Likewise.
6756 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6757 <bp-sym.h> and <bp-asm.h>.
6758 (__rawmemchr): Don't use BP_SYM.
6759 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6760 <bp-sym.h> and <bp-asm.h>.
6761 (__STRCMP): Don't use BP_SYM.
6762 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6763 <bp-sym.h> and <bp-asm.h>.
6764 (strchr): Don't use BP_SYM.
6765 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6766 <bp-sym.h> and <bp-asm.h>.
6767 (__strchrnul): Don't use BP_SYM.
6768 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6769 <bp-sym.h> and <bp-asm.h>.
6770 (strlen): Don't use BP_SYM.
6771 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6772 <bp-sym.h> and <bp-asm.h>.
6773 (strncmp): Don't use BP_SYM. Remove comment about bounded
6775 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6776 <bp-sym.h> and <bp-asm.h>.
6777 (__strnlen): Don't use BP_SYM.
6778 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6779 <bp-sym.h> and <bp-asm.h>.
6780 (__GI__setjmp): Don't use BP_SYM.
6781 (_setjmp): Likewise.
6782 (__sigsetjmp): Likewise.
6783 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6784 (L(start_addresses)): Don't use BP_SYM.
6786 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6788 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6789 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6790 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6791 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6792 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6794 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6795 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6796 about bounded pointers.
6797 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6798 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6799 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6801 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6802 about bounded pointers. Remove GKM FIXME comments.
6803 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6804 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6806 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6807 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6808 Remove GKM FIXME comments.
6809 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6810 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6811 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6813 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6814 about bounded pointers. Remove GKM FIXME comment.
6815 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6817 (strncmp): Don't use BP_SYM. Remove comment about bounded
6819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6820 <bp-sym.h> and <bp-asm.h>.
6821 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6823 <bp-sym.h> and <bp-asm.h>.
6824 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6827 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6829 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6832 2013-03-05 David S. Miller <davem@davemloft.net>
6834 * po/es.po: Update from translation team.
6836 2013-03-05 Andreas Jaeger <aj@suse.de>
6838 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6839 <bits/mman-linux.h>.
6840 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6842 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6843 <bits/mman-linux.h> to end of file.
6844 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6846 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6847 <bits/mman-linux.h> to end of file.
6848 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6850 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6851 <bits/mman-linux.h> to end of file.
6853 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6854 (MCL_CURRENT, MCL_FUTURE): Define here.
6856 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6859 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6861 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6863 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6865 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6866 fourth parameter needed for rt_sigprocmask syscall.
6867 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6868 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6869 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6870 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6871 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6872 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6874 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6877 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6878 comment about bounded pointers.
6879 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6880 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6882 2013-03-04 Andreas Jaeger <aj@suse.de>
6884 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6887 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6888 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6889 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6890 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6891 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6892 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6894 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6897 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6898 __ieee754_sqrl instead of __sqrl.
6900 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6902 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6903 * sysdeps/powerpc/fpu_control.h: ... here.
6904 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6905 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6906 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6907 * sysdeps/powerpc/bits/mathinline.h: ... here.
6909 2013-03-01 Roland McGrath <roland@hack.frob.com>
6911 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6912 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6913 to just [NEED_DL_SYSINFO_DSO].
6914 * elf/dl-support.c: Likewise.
6915 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6916 * elf/rtld.c (dl_main): Likewise.
6917 * elf/setup-vdso.h (setup_vdso): Likewise.
6918 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6919 * sysdeps/unix/sysv/linux/dl-sysdep.c
6920 (_dl_discover_osversion): Likewise.
6922 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6924 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6925 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6927 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6929 * NEWS: Mention libm performance improvements and non-x86 PI
6932 * csu/libc-start.c (__pthread_initialize_minimal): Change
6934 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6936 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6939 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6940 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6941 <bp-sym.h> and <bp-asm.h>.
6942 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6943 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6945 (memcpy): Don't use BP_SYM.
6946 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6948 (__mpn_add_n): Don't use BP_SYM.
6949 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6950 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6952 (__mpn_addmul_1): Don't use BP_SYM.
6953 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6954 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6956 (_setjmp): Don't use BP_SYM.
6957 (__novmx_setjmp): Likewise.
6958 (__GI__setjmp): Likewise.
6959 (__vmx_setjmp): Likewise.
6960 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6962 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6963 (__bzero): Don't use BP_SYM.
6964 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6965 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6966 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6967 <bp-sym.h> and <bp-asm.h>.
6968 (memcpy): Don't use BP_SYM.
6969 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6970 <bp-sym.h> and <bp-asm.h>.
6971 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6972 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6973 <bp-sym.h> and <bp-asm.h>.
6974 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6975 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6977 (__mpn_lshift): Don't use BP_SYM.
6978 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6979 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6981 (memset): Don't use BP_SYM.
6982 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6983 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6984 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6986 (__mpn_mul_1): Don't use BP_SYM.
6987 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6988 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6989 <bp-sym.h> and <bp-asm.h>.
6990 (memcmp): Don't use BP_SYM.
6991 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6992 <bp-sym.h> and <bp-asm.h>.
6993 (memcpy): Don't use BP_SYM.
6994 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6995 <bp-sym.h> and <bp-asm.h>.
6996 (memset): Don't use BP_SYM.
6997 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6998 <bp-sym.h> and <bp-asm.h>.
6999 (strncmp): Don't use BP_SYM.
7000 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7001 <bp-sym.h> and <bp-asm.h>.
7002 (memcpy): Don't use BP_SYM.
7003 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7004 <bp-sym.h> and <bp-asm.h>.
7005 (memset): Don't use BP_SYM.
7006 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7007 <bp-sym.h> and <bp-asm.h>.
7008 (__memchr): Don't use BP_SYM.
7009 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7010 <bp-sym.h> and <bp-asm.h>.
7011 (memcmp): Don't use BP_SYM.
7012 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7013 <bp-sym.h> and <bp-asm.h>.
7014 (memcpy): Don't use BP_SYM.
7015 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7016 <bp-sym.h> and <bp-asm.h>.
7017 (__mempcpy): Don't use BP_SYM.
7018 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7019 <bp-sym.h> and <bp-asm.h>.
7020 (__memrchr): Don't use BP_SYM.
7021 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7022 <bp-sym.h> and <bp-asm.h>.
7023 (memset): Don't use BP_SYM.
7024 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7025 <bp-sym.h> and <bp-asm.h>.
7026 (__rawmemchr): Don't use BP_SYM.
7027 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7028 <bp-sym.h> and <bp-asm.h>.
7029 (__STRCMP): Don't use BP_SYM.
7030 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7031 <bp-sym.h> and <bp-asm.h>.
7032 (strchr): Don't use BP_SYM.
7033 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7034 <bp-sym.h> and <bp-asm.h>.
7035 (__strchrnul): Don't use BP_SYM.
7036 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7037 <bp-sym.h> and <bp-asm.h>.
7038 (strlen): Don't use BP_SYM.
7039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7040 <bp-sym.h> and <bp-asm.h>.
7041 (strncmp): Don't use BP_SYM.
7042 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7043 <bp-sym.h> and <bp-asm.h>.
7044 (__strnlen): Don't use BP_SYM.
7045 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7047 (__mpn_rshift): Don't use BP_SYM.
7048 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7049 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7050 <bp-sym.h> and <bp-asm.h>.
7051 (__sigsetjmp): Don't use BP_SYM.
7052 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7053 (L(start_addresses)): Don't use BP_SYM.
7055 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7057 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7058 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7059 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7060 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7062 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7063 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7064 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7065 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7067 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7069 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7070 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7072 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7074 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7075 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7076 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7078 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7080 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7082 (strncmp): Don't use BP_SYM,
7083 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7085 (__mpn_sub_n): Don't use BP_SYM.
7086 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7087 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7089 (__mpn_submul_1): Don't use BP_SYM.
7090 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7092 <bp-sym.h> and <bp-asm.h>.
7093 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7095 <bp-sym.h> and <bp-asm.h>.
7096 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7099 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7102 Use ZK to minimize writes to Z.
7103 (sub_magnitudes): Simplify code a bit.
7104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7105 Use ZK to minimize writes to Z.
7106 (sub_magnitudes): Simplify code a bit.
7108 2013-02-27 Roland McGrath <roland@hack.frob.com>
7110 * csu/gmon-start.c: Add special exception to license text.
7112 2013-02-27 Richard Henderson <rth@redhat.com>
7114 * scripts/config.guess: Update from config.git.
7115 * scripts/config.sub: Likewise.
7117 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7119 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7121 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7123 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7125 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7127 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7129 2013-02-26 Roland McGrath <roland@hack.frob.com>
7131 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7132 [$(build-shared = yes].
7134 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7136 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7137 (__mul): Reduce iterations for calculating mantissa.
7139 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7141 (__mpranred): Likewise.
7144 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7145 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7147 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7149 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7150 Define __attribute__.
7152 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7154 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7156 * posix/regex_internal.h (__attribute): Remove.
7157 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7158 (re_string_context_at): Likewise.
7159 (bitset_not): Use __attribute__ and mark function as possibly
7161 (bitset_merge): Likewise.
7162 (bitset_mask): Likewise.
7163 (re_string_char_size_at): Likewise.
7164 (re_string_wchar_at): Likewise.
7165 (re_string_elem_size_at): Likewise.
7167 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7169 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7173 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7178 (__dbl_mp): Likewise.
7179 (add_magnitudes): Likewise.
7180 (sub_magnitudes): Likewise.
7184 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7187 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7190 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7194 up changes with default code.
7195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7198 2013-02-24 Allan McRae <allan@archlinux.org>
7200 * manual/socket.texi (The Internet Namespace): Order menu items
7201 to match that in the file.
7203 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7204 node listing of the info page menu.
7206 2013-02-21 Joseph Myers <joseph@codesourcery.com>
7209 * sysdeps/i386/bp-asm.h: Remove file.
7210 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7211 (PARMS): Do not use macros from bp-asm.h.
7215 (__mpn_add_n): Do not use BP_SYM
7216 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7218 (PARMS): Do not use macros from bp-asm.h.
7221 (__mpn_addmul_1): Do not use BP_SYM
7222 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7224 (PARMS): Do not use macros from bp-asm.h.
7226 (_setjmp): Likewise. Do not use BP_SYM.
7227 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7229 (PARMS): Do not use macros from bp-asm.h.
7231 (setjmp): Likewise. Do not use BP_SYM.
7232 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7234 (PARMS): Do not use macros from bp-asm.h.
7235 (__frexp): Do not use BP_SYM.
7237 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7239 (PARMS): Do not use macros from bp-asm.h.
7240 (__frexpf): Do not use BP_SYM.
7242 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7244 (PARMS): Do not use macros from bp-asm.h.
7245 (__frexpl): Do not use BP_SYM.
7247 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7249 (PARMS): Do not use macros from bp-asm.h.
7250 (__remquo): Do not use BP_SYM.
7252 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7254 (PARMS): Do not use macros from bp-asm.h.
7255 (__remquof): Do not use BP_SYM.
7256 (remquof): Likewise.
7257 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7259 (PARMS): Do not use macros from bp-asm.h.
7260 (__remquol): Do not use BP_SYM.
7261 (remquol): Likewise.
7262 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7264 (PARMS): Do not use macros from bp-asm.h.
7267 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7268 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7270 (PARMS): Do not use macros from bp-asm.h.
7271 (strlen): Do not use BP_SYM.
7272 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7274 (PARMS): Do not use macros from bp-asm.h.
7278 (__mpn_add_n): Do not use BP_SYM.
7279 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7281 (PARMS): Do not use macros from bp-asm.h.
7284 (__mpn_addmul_1): Do not use BP_SYM.
7285 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7288 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7290 (PARMS): Do not use macros from bp-asm.h.
7293 (__mpn_lshift): Do not use BP_SYM.
7294 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7296 (PARMS): Do not use macros from bp-asm.h.
7300 (memcpy): Likewise. Do not use BP_SYM.
7301 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7302 libc_hidden_def and weak_alias.
7303 (mempcpy): Do not use BP_SYM in weak_alias.
7304 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7306 (PARMS): Do not use macros from bp-asm.h.
7309 [!BZERO_P] (CHR): Likewise.
7310 (memset): Likewise. Do not use BP_SYM.
7311 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7313 (PARMS): Do not use macros from bp-asm.h.
7316 (__mpn_mul_1): Do not use BP_SYM.
7317 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7319 (PARMS): Do not use macros from bp-asm.h.
7322 (__mpn_rshift): Do not use BP_SYM.
7323 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7325 (PARMS): Do not use macros from bp-asm.h.
7328 (strchr): Likewise. Do not use BP_SYM.
7329 (index): Do not use BP_SYM in weak_alias.
7330 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7332 (PARMS): Do not use macros from bp-asm.h.
7335 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7336 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7338 (PARMS): Do not use macros from bp-asm.h.
7339 (strlen): Do not use BP_SYM.
7340 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7342 (PARMS): Do not use macros from bp-asm.h.
7346 (__mpn_sub_n): Do not use BP_SYM.
7347 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7349 (PARMS): Do not use macros from bp-asm.h.
7352 (__mpn_submul_1): Do not use BP_SYM.
7353 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7355 (PARMS): Do not use macros from bp-asm.h.
7359 (__mpn_add_n): Do not use BP_SYM.
7360 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7363 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7365 (PARMS): Do not use macros from bp-asm.h.
7368 (memcmp): Do not use BP_SYM.
7369 (bcmp): Do not use BP_SYM in weak_alias.
7370 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7372 (PARMS): Do not use macros from bp-asm.h.
7376 (memcpy): Likewise. Do not use BP_SYM.
7377 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7379 (PARMS): Do not use macros from bp-asm.h.
7383 (memmove): Likewise. Do not use BP_SYM.
7384 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7386 (PARMS): Do not use macros from bp-asm.h.
7390 (__mempcpy): Likewise. Do not use BP_SYM.
7391 (mempcpy): Do not use BP_SYM in weak_alias.
7392 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7394 (PARMS): Do not use macros from bp-asm.h.
7397 [!BZERO_P] (CHR): Likewise.
7398 (memset): Likewise. Do not use BP_SYM.
7399 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7401 (PARMS): Do not use macros from bp-asm.h.
7403 (strcmp): Do not use BP_SYM.
7404 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7406 (PARMS): Do not use macros from bp-asm.h.
7409 [USE_AS_STRTOK_R] (SAVE): Likewise.
7410 (FUNCTION): Likewise. Do not use BP_SYM.
7411 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7413 (strtok_r): Likewise.
7414 (__GI___strtok_r): Likewise.
7415 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7416 (PARMS): Do not use macros from bp-asm.h.
7419 (__mpn_lshift): Do not use BP_SYM.
7420 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7421 (PARMS): Do not use macros from bp-asm.h.
7424 (__memchr): Do not use BP_SYM.
7425 (memchr): Do not use BP_SYM in weak_alias.
7426 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7427 (PARMS): Do not use macros from bp-asm.h.
7430 (memcmp): Do not use BP_SYM.
7431 (bcmp): Do not use BP_SYM in weak_alias.
7432 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7433 (PARMS): Do not use macros from bp-asm.h.
7436 (__mpn_mul_1): Do not use BP_SYM.
7437 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7439 (PARMS): Do not use macros from bp-asm.h.
7442 (__rawmemchr): Do not use BP_SYM.
7443 (rawmemchr): Do not use BP_SYM in weak_alias.
7444 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7445 (PARMS): Do not use macros from bp-asm.h.
7448 (__mpn_rshift): Do not use BP_SYM.
7449 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7450 (PARMS): Do not use macros from bp-asm.h.
7452 (__sigsetjmp): Likewise. Do not use BP_SYM.
7453 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7454 (_start): Do not use BP_SYM.
7455 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7456 (PARMS): Do not use macros from bp-asm.h.
7459 (__stpcpy): Likewise. Do not use BP_SYM.
7460 (stpcpy): Do not use BP_SYM in weak_alias.
7461 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7463 (PARMS): Do not use macros from bp-asm.h.
7467 (__stpncpy): Likewise. Do not use BP_SYM.
7468 (stpncpy): Do not use BP_SYM in weak_alias.
7469 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7470 (PARMS): Do not use macros from bp-asm.h.
7473 (strchr): Likewise. Do not use BP_SYM.
7474 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7476 (PARMS): Do not use macros from bp-asm.h.
7479 (__strchrnul): Likewise. Do not use BP_SYM.
7480 (strchrnul): Do not use BP_SYM in weak_alias.
7481 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7483 (PARMS): Do not use macros from bp-asm.h.
7485 (strcspn): Do not use BP_SYM.
7486 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7488 (PARMS): Do not use macros from bp-asm.h.
7491 (strpbrk): Likewise. Do not use BP_SYM.
7492 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7494 (PARMS): Do not use macros from bp-asm.h.
7497 (strrchr): Likewise. Do not use BP_SYM.
7498 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7499 (PARMS): Do not use macros from bp-asm.h.
7501 (strspn): Do not use BP_SYM.
7502 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7503 (PARMS): Do not use macros from bp-asm.h.
7507 (FUNCTION): Likewise. Do not use BP_SYM.
7508 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7510 (strtok_r): Likewise.
7511 (__GI___strtok_r): Likewise.
7512 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7513 (PARMS): Do not use macros from bp-asm.h.
7517 (__mpn_sub_n): Do not use BP_SYM.
7518 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7520 (PARMS): Do not use macros from bp-asm.h.
7523 (__mpn_submul_1): Do not use BP_SYM.
7524 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7526 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7528 (PARMS): Do not use macros from bp-asm.h.
7533 (__clone): Do not use BP_SYM.
7534 (clone): Do not use BP_SYM in weak_alias.
7535 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7537 (PARMS): Do not use macros from bp-asm.h.
7539 (__mmap64): Do not use BP_SYM.
7540 (mmap64): Do not use BP_SYM in weak_alias.
7541 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7542 <bp-sym.h> and <bp-asm.h>.
7543 (PARMS): Do not use macros from bp-asm.h.
7544 (__posix_fadvise64_l64): Do not use BP_SYM.
7545 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7546 (PARMS): Do not use macros from bp-asm.h.
7548 (semtimedop): Do not use BP_SYM.
7549 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7552 2013-02-21 Allan McRae <allan@archlinux.org>
7554 * manual/message.texi (Charset conversion in gettext):
7555 Move @end statement to beginning of line.
7557 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7564 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7569 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7571 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7572 tail-call to the resolved function if pltexit isn't needed.
7574 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7577 or Y being zero as being unlikely.
7578 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7581 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7583 * manual/nss.texi (System Databases and Name Service Switch):
7584 Remove frobnicate @pxref.
7586 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7588 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7589 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7591 2013-02-20 Petr Machata <pmachata@redhat.com>
7593 * elf/elf.h (R_ARM_TARGET1): New macro.
7594 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7595 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7596 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7597 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7598 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7599 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7600 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7601 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7602 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7603 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7604 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7605 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7606 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7607 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7608 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7609 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7610 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7611 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7612 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7613 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7614 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7615 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7616 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7617 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7618 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7619 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7620 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7621 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7622 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7623 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7624 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7625 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7626 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7627 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7628 (R_ARM_THM_GOT_BREL12): Likewise.
7629 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7630 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7631 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7632 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7633 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7634 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7635 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7636 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7637 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7639 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7641 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7642 __attribute_used__ to __attribute__ ((unused)).
7644 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7646 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7652 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7655 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7657 (ENTER): Remove both macro definitions.
7659 (CHECK_BOUNDS_LOW): Likewise.
7660 (CHECK_BOUNDS_HIGH): Likewise.
7661 (CHECK_BOUNDS_BOTH): Likewise.
7662 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7663 (RETURN_BOUNDED_POINTER): Likewise.
7664 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7665 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7666 (POP_ERRNO_LOCATION_RETURN): Likewise.
7667 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7668 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7669 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7671 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7672 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7673 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7674 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7675 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7676 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7677 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7678 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7679 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7680 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7681 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7682 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7683 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7684 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7686 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7687 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7689 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7690 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7691 * sysdeps/i386/i586/memset.S (memset): Likewise.
7692 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7693 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7694 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7696 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7697 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7698 Change uses of L(2) to L(out).
7699 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7700 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7701 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7702 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7703 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7705 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7706 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7708 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7709 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7710 (RETURN): Do not use macro LEAVE.
7711 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7712 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7713 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7714 * sysdeps/i386/i686/memset.S (memset): Likewise.
7715 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7716 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7717 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7718 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7720 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7721 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7722 L(1_2) and L(1_3) into L(1).
7723 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7724 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7725 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7726 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7727 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7728 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7729 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7730 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7731 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7733 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7734 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7735 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7736 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7737 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7738 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7739 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7740 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7741 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7742 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7743 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7744 * sysdeps/i386/strspn.S (strspn): Likewise.
7745 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7747 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7748 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7749 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7750 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7752 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7753 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7754 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7756 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7758 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7760 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7763 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7765 * math/atest-exp.c (exp_mpn): Remove ROUND.
7766 * math/atest-exp2.c (exp_mpn): Likewise.
7767 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7769 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7770 * stdlib/tst-tls-atexit-lib.c: Likewise.
7771 * stdlib/tst-tls-atexit.c: Likewise.
7773 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7775 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7776 and __attribute_alloc_size__.
7778 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7780 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7781 __attribute_alloc_size__.
7782 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7783 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7785 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7787 * include/programs/xmalloc.h: New file.
7788 * catgets/gencat.c: Include it.
7789 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7790 * elf/pldd.c: Likewise.
7791 * iconv/iconv_charmap.c: Likewise.
7792 * iconv/iconvconfig.c: Likewise.
7793 * iconv/strtab.c: Likewise.
7794 * locale/programs/locale.c: Likewise.
7795 * locale/programs/localedef.h: Likewise.
7796 * locale/programs/simple-hash.c: Likewise.
7797 * nscd/nscd.h: Likewise.
7798 * nss/makedb.c: Likewise.
7799 * sysdeps/generic/ldconfig.h: Likewise.
7801 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7803 * Versions.def: Add GLIBC_2.18.
7804 * include/link.h (struct link_map): New member l_tls_dtor_count.
7805 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7806 (__call_tls_dtors): Likewise.
7807 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7808 __cxa_thread_atexit_impl.
7809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7817 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7825 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7826 (tests): Add test case tst-tls-atexit.
7827 (modules-names): Add shared library for tst-tls-atexit.
7828 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7829 (GLIBC_PRIVATE): Add __call_tls_dtors.
7830 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7832 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7833 * stdlib/tst-tls-atexit.c: New test case.
7834 * stdlib/tst-tls-atexit-lib.c: New test case.
7836 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7838 * elf/Versions (ld): Add _dl_find_dso_for_object.
7839 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7840 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7841 (dl_open_worker): Use _dl_find_dso_for_object.
7842 * elf/dl-sym.c (do_sym): Likewise.
7843 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7845 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7847 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7848 Syntactic changes only.
7849 (_dl_runtime_profile): Do a tail-call to the resolved function.
7851 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7854 * sysdeps/x86_64/bp-asm.h: Remove file.
7855 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7856 <bp-sym.h> and <bp-asm.h>.
7857 (__clone): Do not use BP_SYM.
7858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7859 <bp-sym.h> and <bp-asm.h>.
7860 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7861 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7863 (_setjmp): Do not use BP_SYM.
7864 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7866 (setjmp): Do not use BP_SYM.
7867 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7869 (mempcpy): Do not use BP_SYM in weak_alias.
7870 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7872 (strchr): Do not use BP_SYM.
7873 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7875 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7876 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7877 (_start): Do not use BP_SYM.
7878 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7880 (strcat): Do not use BP_SYM.
7881 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7883 (STRCMP): Do not use BP_SYM.
7884 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7886 (STRCPY): Do not use BP_SYM.
7887 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7889 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7891 (FUNCTION): Do not use BP_SYM.
7892 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7894 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7896 2013-02-17 Andreas Jaeger <aj@suse.de>
7898 * time/Versions: Sort entries.
7899 * string/Versions: Likewise.
7900 * resolv/Versions: Likewise.
7901 * posix/Versions: Likewise.
7902 * iconv/Versions: Likewise.
7903 * elf/Versions: Likewise.
7904 * wcsmbs/Versions: Likewise.
7906 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7908 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7909 loop termination condition.
7911 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7912 variable to calculate EZ.
7915 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7916 the lower precision input.
7918 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7921 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7922 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7923 (run-via-rtld-prefix): Do not handle %-bp tests.
7924 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7925 (all-object-suffixes): Remove .ob.
7926 (bppfx): Remove variable.
7927 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7928 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7929 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7930 [$(build-bounded) = yes] (libtype.ob): Likewise.
7931 * Makerules (elide-routines.ob): Remove variable.
7932 (do-tests-clean): Do not handle *-bp.out.
7933 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7934 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7935 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7936 (tests): Do not include $(tests-bp.out).
7937 (xtests): Do not include $(xtests-bp.out).
7938 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7939 [$(build-bounded) = yes] ($(addprefix
7940 $(objpfx),$(binaries-bounded))): Remove rule.
7941 ($(objpfx)%-bp.out): Remove rule.
7942 * config.make.in (build-bounded): Remove variable.
7943 * crypt/Makefile [$(build-bounded) = yes]
7944 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7945 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7947 [$(build-bounded) = yes] (install-lib): Likewise.
7948 [$(build-bounded) = yes] (generated): Likewise.
7949 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7951 * intl/Makefile [$(build-bounded) = yes]
7952 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7953 * math/Makefile [$(build-bounded) = yes]
7954 ($(tests:%=$(objpfx)%-bp): Likewise.
7955 * misc/Makefile [$(build-bounded) = yes]
7956 ($(objpfx)tst-tsearch-bp): Likewise.
7957 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7958 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7960 * string/Makefile (o-objects.ob): Remove variable.
7961 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7962 (CFLAGS-.ob): Remove variable.
7963 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7964 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7965 both definitions of variable.
7966 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7967 (ASFLAGS-.ob): Remove variable.
7969 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7972 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7973 Remove __BOUNDED_POINTERS__ from condition.
7974 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7975 * string/bits/string2.h [!__NO_STRING_INLINES &&
7976 !__BOUNDED_POINTERS__]: Likewise.
7977 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7979 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7980 Remove conditional code.
7981 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7982 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7983 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7987 * csu/libc-start.c: Do not include <bp-sym.h>.
7988 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7989 * elf/dl-open.c: Do not include <bp-sym.h>.
7990 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7991 * math/fegetenv.c: Do not include <bp-sym.h>.
7992 (fegetenv): Do not use BP_SYM in versioned symbols.
7993 * nptl/sysdeps/pthread/bits/libc-lockP.h
7994 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7996 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7997 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7998 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7999 (__pthread_mutex_destroy): Likewise.
8000 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8001 (__pthread_mutex_lock): Likewise.
8002 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8003 (__pthread_mutex_trylock): Likewise.
8004 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8005 (__pthread_mutex_unlock): Likewise.
8006 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8007 (__pthread_mutexattr_init): Likewise.
8008 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8009 (__pthread_mutexattr_destroy): Likewise.
8010 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8011 (__pthread_mutexattr_settype): Likewise.
8012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8013 (__pthread_rwlock_init): Likewise.
8014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8015 (__pthread_rwlock_destroy): Likewise.
8016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8017 (__pthread_rwlock_rdlock): Likewise.
8018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8019 (__pthread_rwlock_tryrdlock): Likewise.
8020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8021 (__pthread_rwlock_wrlock): Likewise.
8022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8023 (__pthread_rwlock_trywrlock): Likewise.
8024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8025 (__pthread_rwlock_unlock): Likewise.
8026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8027 (__pthread_key_create): Likewise.
8028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8029 (__pthread_setspecific): Likewise.
8030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8031 (__pthread_getspecific): Likewise.
8032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8035 (_pthread_cleanup_push_defer): Likewise.
8036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8037 (_pthread_cleanup_pop_restore): Likewise.
8038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8039 (pthread_setcancelstate): Likewise.
8040 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8042 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8043 (memchr): Do not use BP_SYM in weak_alias.
8044 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8045 (fegetenv): Do not use BP_SYM in versioned symbols.
8046 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8047 (fesetenv): Do not use BP_SYM in versioned symbols.
8048 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8049 (feupdateenv): Do not use BP_SYM in versioned symbols.
8050 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8051 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8052 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8053 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8054 (open64): Do not use BP_SYM in weak_alias.
8055 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8056 (fegetenv): Do not use BP_SYM in versioned symbols.
8057 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8058 (fesetenv): Do not use BP_SYM in versioned symbols.
8059 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8060 (feupdateenv): Do not use BP_SYM in versioned symbols.
8061 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8062 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8063 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8064 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8065 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8066 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8067 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8069 (__libc_start_main): Do not use BP_SYM.
8071 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8074 redundant return line.
8078 (sub_magnitudes): Likewise.
8084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8088 (sub_magnitudes): Likewise.
8095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8097 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8098 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8101 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8102 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8103 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8104 of __mul for squares.
8105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8109 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8110 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8112 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8115 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8117 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8118 prototype or function definition. Rename ubp_* variables and
8119 parameters. Remove argv definitions conditional on
8120 [__BOUNDED_POINTERS__].
8121 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8122 * elf/dl-runtime.c (_dl_fixup): Likewise.
8123 * include/set-hooks.h (RUN_HOOK): Likewise.
8124 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8126 * string/strcpy.c (strcpy): Do not use __unbounded.
8127 * sysdeps/generic/frame.h (struct layout): Likewise.
8128 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8129 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8130 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8131 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8132 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8133 (__backtrace): Likewise.
8134 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8136 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8137 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8138 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8140 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8141 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8142 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8143 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8144 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8145 Do not use __unbounded.
8146 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8147 Rename __unboundedrlimits parameter to rlimits in prototype.
8148 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8149 Do not use __unbounded.
8150 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8152 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8153 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8154 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8155 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8156 __ptrvalue or __unbounded.
8157 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8158 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8160 (__new_msgctl): Do not use __ptrvalue.
8161 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8163 (__libc_msgrcv): Do not use __ptrvalue.
8164 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8165 startup_info): Do not use __unbounded.
8166 (__libc_start_main): Likewise. Rename ubp_* variables and
8167 parameters. Remove argv definitions conditional on
8168 [__BOUNDED_POINTERS__].
8169 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8171 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8173 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8175 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8177 (__new_shmctl): Do not use __ptrvalue.
8178 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8179 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8181 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8182 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8183 (__libc_sigaction): Likewise.
8184 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8185 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8187 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8189 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
8191 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8193 * string/mempcpy.c: Implement by calling memcpy.
8195 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8197 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8199 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8202 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8203 values in the mantissa.
8205 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8206 minimize writes to Z.
8207 (sub_magnitudes): Simplify code a bit.
8209 2013-02-12 Roland McGrath <roland@hack.frob.com>
8211 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8212 from the message. The linker prefixes all warnings with that already.
8214 2013-02-12 Andreas Schwab <schwab@suse.de>
8217 * posix/regexec.c (extend_buffers): Add parameter min_len.
8218 (check_matching): Pass minimum needed length.
8219 (clean_state_log_if_needed): Likewise.
8220 (get_subexp): Likewise.
8221 * posix/Makefile (tests): Add bug-regex34.
8222 (bug-regex34-ENV): Define.
8223 * posix/bug-regex34.c: New file.
8226 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8227 elements compare against the byte sequence of it, not its name.
8228 * posix/Makefile (tests): Add bug-regex35.
8229 (bug-regex35-ENV): Define.
8230 * posix/bug-regex35.c: New file.
8232 2013-02-11 Tom de Vries <tom@codesourcery.com>
8234 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8236 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8237 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8238 (CHECK_EOL): Add undef.
8240 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
8242 * bits/stdlib-bsearch.h: New file.
8243 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8244 * stdlib/stdlib.h: Likewise.
8246 2013-02-11 Roland McGrath <roland@hack.frob.com>
8248 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8249 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8251 * manual/search.texi (Array Search Function): Add missing const in
8253 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8254 declaration to use rlim_t.
8255 (Basic Scheduling Functions): Remove erroneous const from
8256 sched_getparam prototype. Remove erroneous * from
8257 sched_get_priority_max and sched_get_priority_min prototypes.
8258 (Resource Usage): Fix summary @comment on vtimes to refer to
8259 sys/vtimes.h rather than vtimes.h.
8260 Add missing *s in vtimes prototype.
8261 (Limits on Resources): Fix ulimit prototype to return long int.
8262 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8263 prototypes to use long int rather than double.
8264 (BSD Random): Fix initstate and setstate to use char *, not void *.
8265 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8266 prototype to make second argument 'struct aiocb64 *const[]'.
8267 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8268 (Status of AIO Operations): Remove erroneous const in aio_return and
8269 aio_return64 prototypes.
8270 (Synchronizing I/O): Fix sync prototype to return void.
8271 * manual/startup.texi (Suboptions): Remove an erroneous const in
8272 getsubopt prototype.
8273 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8274 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8275 use size_t rather than int.
8276 (Scanning All Users): Likewise for getpwent_r.
8277 (Setting Groups): Add missing const to setgroups prototype.
8278 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8279 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8280 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8281 'const void *' rather than 'const char *'.
8282 (Host Address Functions): Likewise for inet_ntop.
8283 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8284 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8285 ssize_t for return value.
8286 (Sending Data): Likewise for send, sendto, sendmsg.
8287 (Socket Option Functions): Add a missing const in setsockopt prototype.
8288 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8289 use wchar_t for the argument.
8290 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8291 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8293 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8294 double/float/long double for second argument.
8295 Fix return types of significand, significandf, significandl.
8296 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8297 argument in fchmod prototype.
8298 (File Owner): Use uid_t and gid_t in fchown prototype.
8299 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8300 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8301 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8302 use 'const struct dirent **' as argument types to CMP function pointer
8304 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8305 (File Times): Fix summary magic @comment for struct utimbuf and utime
8306 to refer to utime.h, not time.h.
8307 * manual/string.texi (Argz Functions): Add missing const in
8308 argz_extract and argz_next prototypes.
8309 (Finding Tokens in a String): Likewise for basename.
8310 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8311 (Copying and Concatenation): Fix typo in wmemmove prototype.
8312 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8313 (Signal Stack): Remove erroneous const in sigstack prototype.
8314 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8316 (Simple Calendar Time): Likewise for stime.
8317 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8319 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8320 say sys/sysctl.h instead.
8321 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8322 and vsyslog prototypes.
8324 2013-02-11 Tom de Vries <tom@codesourcery.com>
8326 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8329 2013-02-11 Roland McGrath <roland@hack.frob.com>
8331 * misc/sys/mman.h: Fix typo in mremap comment.
8333 2013-02-08 Roland McGrath <roland@hack.frob.com>
8335 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8336 the '\0' terminator.
8338 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8341 * debug/segfault.c: Don't include <bp-checks.h>.
8342 * sysdeps/generic/bp-checks.h: Remove file.
8343 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8344 (__GETDENTS): Don't use CHECK_N.
8345 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8346 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8347 (__getgroups): Don't use CHECK_N.
8348 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8349 (setgroups): Don't use CHECK_N.
8350 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8351 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8352 (__libc_msgrcv): Don't use CHECK_N.
8353 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8354 (__libc_msgsnd): Don't use CHECK_N.
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8357 (__libc_pread): Don't use CHECK_N.
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8359 include <bp-checks.h>.
8360 (__libc_pread64): Don't use CHECK_N.
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8362 include <bp-checks.h>.
8363 (__libc_pwrite): Don't use CHECK_N.
8364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8365 include <bp-checks.h>.
8366 (__libc_pwrite64): Don't use CHECK_N.
8367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8369 (__libc_pread): Don't use CHECK_N.
8370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8371 include <bp-checks.h>.
8372 (__libc_pread64): Don't use CHECK_N.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8374 include <bp-checks.h>.
8375 (__libc_pwrite): Don't use CHECK_N.
8376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8377 include <bp-checks.h>.
8378 (__libc_pwrite64): Don't use CHECK_N.
8379 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8380 (do_pread): Don't use CHECK_N.
8381 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8382 (do_pread64): Don't use CHECK_N.
8383 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8384 (do_pwrite): Don't use CHECK_N.
8385 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8386 (do_pwrite64): Don't use CHECK_N.
8387 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8388 (__libc_readv): Don't use CHECK_N.
8389 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8390 (semop): Don't use CHECK_N.
8391 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8393 (semtimedop): Don't use CHECK_N.
8394 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8395 (__libc_pread): Don't use CHECK_N.
8396 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8398 (__libc_pread64): Don't use CHECK_N.
8399 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8401 (__libc_pwrite): Don't use CHECK_N.
8402 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8404 (__libc_pwrite64): Don't use CHECK_N.
8405 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8407 (__libc_msgrcv): Don't use CHECK_N.
8408 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8409 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8410 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8411 (__libc_writev): Don't use CHECK_N.
8413 2013-02-08 Roland McGrath <roland@hack.frob.com>
8415 * string/strcpy.c: Removed unused variable.
8417 * Makeconfig (+sysdep-includes): Define with := rather than =.
8418 Use an existing include/ subdir of each sysdeps dir before it.
8420 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8422 * nscd/connection.c (register_traced_file): Comment function.
8423 [HAVE_INOTIFY] (union __inev): Define.
8424 [HAVE_INOTIFY] (inotify_check_files): New function.
8425 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8426 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8428 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8430 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8432 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8433 loaded if not already and that a failure is permanent.
8435 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8438 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8439 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8441 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8444 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8445 (CHECK_1_NULL_OK): Likewise.
8446 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8447 (__fxstat): Do not use CHECK_1.
8448 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8450 (___fxstat64): Do not use CHECK_1.
8451 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8453 (__fxstatat): Do not use CHECK_1.
8454 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8456 (__fxstatat64): Do not use CHECK_1.
8457 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8459 (__fxstat): Do not use CHECK_1.
8460 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8462 (__fxstatat): Do not use CHECK_1.
8463 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8465 (__getresgid): Do not use CHECK_1.
8466 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8468 (__getresuid): Do not use CHECK_1.
8469 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8471 (__lxstat): Do not use CHECK_1.
8472 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8474 (__old_msgctl): Do not use CHECK_1.
8475 (__new_msgctl): Likewise.
8476 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8478 (__new_setrlimit): Do not use CHECK_1.
8479 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8481 (__old_shmctl): Do not use CHECK_1.
8482 (__new_shmctl): Likewise.
8483 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8485 (__xstat): Do not use CHECK_1.
8486 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8487 (__lxstat): Do not use CHECK_1.
8488 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8490 (___lxstat64): Do not use CHECK_1.
8491 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8492 (__old_msgctl): Do not use CHECK_1.
8493 (__new_msgctl): Likewise.
8494 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8496 (__gettimeofday): Do not use CHECK_1.
8497 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8498 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8499 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8501 (__gettimeofday): Do not use CHECK_1.
8502 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8503 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8504 (__new_shmctl): Do not use CHECK_1.
8505 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8507 (do_sigtimedwait): Do not use CHECK_1.
8508 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8510 (do_sigwaitinfo): Do not use CHECK_1.
8511 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8513 (msgctl): Do not use CHECK_1.
8514 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8516 (shmctl): Do not use CHECK_1.
8517 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8518 (ustat): Do not use CHECK_1.
8519 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8521 (__fxstat): Do not use CHECK_1.
8522 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8524 (__fxstatat): Do not use CHECK_1.
8525 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8527 (__lxstat): Do not use CHECK_1.
8528 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8530 (__xstat): Do not use CHECK_1.
8531 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8532 (__xstat): Do not use CHECK_1.
8533 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8534 (___xstat64): Do not use CHECK_1.
8537 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8539 (CHECK_BOUNDS_HIGH): Likewise.
8540 * string/strcpy.c: Do not include <bp-checks.h>.
8541 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8543 2013-02-07 Roland McGrath <roland@hack.frob.com>
8545 * nscd/nscd-client.h (__nscd_drop_map_ref):
8546 Add __attribute__ ((unused)).
8547 * nis/nss-nisplus.h (niserr2nss): Likewise.
8549 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8550 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8552 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8553 Remove inline keyword.
8554 * include/rounding-mode.h (round_away): Likewise.
8555 * libio/wfileops.c (adjust_wide_data): Likewise.
8556 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8557 (__m128i_strloadu_tolower): Likewise.
8558 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8559 (__m128i_strloadu_tolower): Likewise.
8560 * time/mktime.c (ydhms_diff): Likewise.
8561 * locale/elem-hash.h (elem_hash): Likewise.
8562 * locale/setlocale.c (setdata): Likewise.
8563 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8564 (re_string_wchar_at): Likewise.
8565 (bitset_not, bitset_merge, bitset_mask): Likewise.
8566 [!(__GNUC__ > 3)] (inline): Remove macro.
8567 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8568 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8569 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8570 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8571 * string/memcmp.c (memcmp_bytes): Likewise.
8572 * locale/programs/locarchive.c (compute_hashval): Likewise.
8573 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8574 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8575 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8576 * nss/getent.c (print_rpc, print_protocols): Likewise.
8577 (print_passwd, print_group, print_aliases): Likewise.
8578 * nis/nss-nisplus.h (niserr2nss): Likewise.
8579 * nscd/connections.c (restart_p): Likewise.
8580 Change return type to bool.
8582 2013-02-05 Roland McGrath <roland@hack.frob.com>
8584 * Makeconfig (all-Depend-files): Add existing
8585 $(sorted-subdirs:=/Depend) files.
8586 (all-subdirs): Remove nss.
8587 * sysdeps/unix/inet/Subdirs: Add it here instead.
8588 * hesiod/Depend: New file.
8590 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8591 instead of calling alloca.
8593 * io/lseek.c (__lseek): Rename to __libc_lseek.
8594 Define __lseek as an alias.
8596 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8598 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8600 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8601 else clause and remove check for non-standard endianness.
8603 2013-02-04 David S. Miller <davem@davemloft.net>
8605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8607 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8610 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8611 (__ubp_memchr): Remove prototype.
8612 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8613 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8614 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8615 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8616 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8618 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8619 (__ubp_memchr): Likewise.
8620 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8621 (__ubp_memchr): Likewise.
8622 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8623 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8624 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8625 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8627 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8628 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8629 (__getcwd): Do not use CHECK_STRING.
8630 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8632 (__real_chown): Do not use CHECK_STRING.
8633 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8635 (fchownat): Do not use CHECK_STRING.
8636 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8638 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8640 (__lchown): Do not use CHECK_STRING.
8641 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8642 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8643 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8644 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8646 include <bp-checks.h>.
8647 (truncate64): Do not use CHECK_STRING.
8648 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8650 (__real_chown): Do not use CHECK_STRING.
8651 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8653 (__lchown): Do not use CHECK_STRING.
8654 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8656 (__chown): Do not use CHECK_STRING.
8657 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8659 (truncate64): Do not use CHECK_STRING.
8660 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8662 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8663 (__xmknod): Do not use CHECK_STRING.
8664 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8666 (__xmknodat): Do not use CHECK_STRING.
8667 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8668 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8670 2013-02-04 Andreas Schwab <schwab@suse.de>
8673 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8674 * include/netdb.h: Likewise for h_errno.
8675 * elf/tst-stackguard1.c: Include <tls.h>.
8677 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8679 * elf/link.h (struct link_map): Extend the l_addr comment.
8680 * include/link.h (struct link_map): Likewise.
8682 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8685 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8686 (BOUNDED_1): Remove macro.
8687 * debug/backtrace.c: Don't include <bp-checks.h>.
8688 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8689 (__backtrace): Likewise.
8690 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8692 (__backtrace): Don't use BOUNDED_1.
8693 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8695 (__backtrace): Don't use BOUNDED_1.
8696 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8697 (__backtrace): Don't use BOUNDED_1.
8698 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8699 (shmat): Don't use BOUNDED_N.
8701 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8704 * sysdeps/generic/bp-start.h: Remove file.
8705 * csu/libc-start.c: Don't include <bp-start.h>.
8706 (LIBC_START_MAIN): Set up __environ directly instead of using
8707 INIT_ARGV_and_ENVIRON.
8708 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8712 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8714 (CHECK_FCNTL): Likewise.
8715 (CHECK_N_PAGES): Likewise.
8718 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8720 (CHECK_SIGSET_NULL_OK): Likewise.
8721 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8723 (sigpending): Don't use CHECK_SIGSET.
8724 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8726 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8727 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8729 (do_sigsuspend): Don't use CHECK_SIGSET.
8730 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8732 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8733 (do_sigwait): Don't use CHECK_SIGSET.
8734 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8736 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8737 include <bp-checks.h>.
8738 (sigpending): Don't use CHECK_SIGSET.
8739 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8740 include <bp-checks.h>.
8741 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8742 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8744 (sigpending): Don't use CHECK_SIGSET.
8745 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8747 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8750 * sysdeps/generic/bp-semctl.h: Remove file.
8751 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8752 <bp-checks.h> and <bp-semctl.h>.
8753 (__old_semctl): Don't use CHECK_SEMCTL.
8754 (__new_semctl): Likewise.
8755 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8757 (__old_semctl): Don't use CHECK_SEMCTL.
8758 (__new_semctl): Likewise.
8759 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8760 <bp-checks.h> and <bp-semctl.h>.
8761 (__old_semctl): Don't use CHECK_SEMCTL.
8762 (__new_semctl): Likewise.
8763 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8764 <bp-checks.h> and <bp-semctl.h>.
8765 (semctl): Don't use CHECK_SEMCTL.
8768 * Makerules (elide-bp-thunks): Remove variable.
8769 (elide-routines.oS): Don't use $(elide-bp-thunks).
8770 (elide-routines.os): Likewise.
8771 (elide-routines.o): Likewise.
8772 (elide-routines.op): Likewise.
8773 (elide-routines.og): Likewise.
8774 (objects): Don't use $(bp-thunks).
8775 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8777 (common-generated): Do not add s-proto-bp.d.
8778 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8781 Do not generate makefile rules for bounded-pointer thunks.
8782 * sysdeps/generic/bp-thunks.h: Remove file.
8783 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8784 * sysdeps/unix/s-proto-bp.S: Likewise.
8787 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8788 parts of result separately when argument is not close to line from
8789 -i to i and one part of argument is small.
8790 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8791 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8792 * math/libm-test.inc (cacos_test): Add more tests.
8793 (casin_test): Likewise.
8794 (casinh_test): Likewise.
8795 * sysdeps/i386/fpu/libm-test-ulps: Update.
8796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8798 2013-01-31 David S. Miller <davem@davemloft.net>
8800 * po/de.po: Update from translation team.
8802 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8804 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8806 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8808 * configure.in (_AC_PROG_CC_C89): New definition.
8809 * configure: Regenerate.
8811 * configure.in (AC_PROG_CPP): New definition.
8812 * configure: Regenerate.
8814 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8816 * debug/tst-backtrace.h: New file.
8817 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8818 (ret): Remove variable.
8820 (FAIL): Remove macro.
8821 (NO_INLINE): Likewise.
8822 (fn1): Use match function instead of strstr.
8823 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8824 (ret): Remove variable.
8826 (FAIL): Remove macro.
8827 (NO_INLINE): Likewise.
8828 (fn): Use match function instead of strstr.
8829 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8830 (ret): Remove variable.
8832 (FAIL): Remove macro.
8833 (NO_INLINE): Likewise.
8834 (handle_signal): Use match function instead of strstr.
8835 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8836 (ret): Remove variable.
8838 (FAIL): Remove macro.
8839 (NO_INLINE): Likewise.
8840 (handle_signal): Use match function instead of strstr.
8842 2013-01-23 Roland McGrath <roland@hack.frob.com>
8844 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8846 2013-01-23 David S. Miller <davem@davemloft.net>
8848 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8849 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8850 argument of CAS if possible.
8851 * sysdeps/sparc/sparc64/bits/atomic.h
8852 (__arch_compare_and_exchange_val_32_acq): Likewise.
8853 (__arch_compare_and_exchange_val_64_acq): Likewise.
8855 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8857 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8858 * sysdeps/posix/ulimit.c: ... this.
8860 * sysdeps/unix/bsd/ulimit.c: Remove file.
8862 2013-01-23 Adam Conrad <adconrad@0c3.net>
8864 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8865 (LDFLAGS-tst-array5): Likewise.
8867 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8870 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8871 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8872 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8873 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8875 2013-01-21 David S. Miller <davem@davemloft.net>
8877 * sysdeps/sparc/backtrace.c: New file.
8878 * sysdeps/sparc/sparc32/backtrace.h: New file.
8879 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8880 * sysdeps/sparc/sparc64/backtrace.h: New file.
8881 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8882 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8885 2013-01-21 Andreas Schwab <schwab@suse.de>
8888 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8891 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8897 2013-01-18 Joseph Myers <joseph@codesourcery.com>
8898 Mark Mitchell <mark@codesourcery.com>
8899 Tom de Vries <tom@codesourcery.com>
8900 Paul Pluzhnikov <ppluzhnikov@google.com>
8902 * debug/tst-backtrace2.c: New file.
8903 * debug/tst-backtrace3.c: Likewise.
8904 * debug/tst-backtrace4.c: Likewise.
8905 * debug/tst-backtrace5.c: Likewise.
8906 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8907 (CFLAGS-tst-backtrace3.c): Likewise.
8908 (CFLAGS-tst-backtrace4.c): Likewise.
8909 (CFLAGS-tst-backtrace5.c): Likewise.
8910 (LDFLAGS-tst-backtrace2): Likewise.
8911 (LDFLAGS-tst-backtrace3): Likewise.
8912 (LDFLAGS-tst-backtrace4): Likewise.
8913 (LDFLAGS-tst-backtrace5): Likewise.
8914 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8915 tst-backtrace4 and tst-backtrace5.
8917 2013-01-18 Anton Blanchard <anton@samba.org>
8918 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8920 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8921 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8922 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8923 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8925 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8926 "+r" and remove output regs list as redundant. Add explicit inline
8927 asm to specify register of return val to work around compiler codegen
8928 bug. Remove (int) cast on return value. Add return type parameter to
8929 use in macro so that this macro does not truncate return value for
8931 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8932 pass to INTERNAL_VSYSCALL_NCS.
8933 (INLINE_VSYSCALL): Add 'long int' as return type to
8934 INTERNAL_VSYSCALL_NCS macro invocation.
8935 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8936 INTERNAL_VSYSCALL_NCS macro invocation.
8937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8939 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8942 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8943 Fix application of SIMD FP exception mask.
8945 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8946 mp_no from a power of two.
8947 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8948 __mpexp_twomm1. Use __pow_mp.
8950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8953 2013-01-17 David S. Miller <davem@davemloft.net>
8955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8957 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8960 * include/complex.h: Condition contents on [!_COMPLEX_H].
8961 (__kernel_casinhf): New prototype.
8962 (__kernel_casinh): Likewise.
8963 (__kernel_casinhl): Likewise.
8964 * math/Makefile (libm_calls): Add k_casinh.
8965 * math/k_casinh.c: New file.
8966 * math/k_casinhf.c: Likewise.
8967 * math/k_casinhl.c: Likewise.
8968 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8969 finite nonzero arguments.
8970 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8971 finite nonzero arguments.
8972 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8973 finite nonzero arguments.
8974 * math/s_casinh.c: Do not include <float.h>.
8975 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8976 * math/s_casinhf.c: Do not include <float.h>.
8977 (__casinhf): Move code for finite nonzero arguments to
8979 * math/s_casinhl.c: Do not include <float.h>.
8980 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8982 (__casinhl): Move code for finite nonzero arguments to
8984 * math/libm-test.inc (cacos_test): Add more tests.
8985 * sysdeps/i386/fpu/libm-test-ulps: Update.
8986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8988 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8990 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8991 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8992 [!HAVE_MREMAP]: Remove [defined linux] case.
8993 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8995 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8997 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8999 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9001 * elf/elf.h (R_386_SIZE32): New relocation.
9002 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9004 (elf_machine_rela): Likewise.
9005 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9006 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9008 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9010 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9011 (FP_FAST_FMA): Do not define.
9012 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9013 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9014 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9015 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9016 !_SOFT_FLOAT]: Likewise.
9017 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9018 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9020 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9021 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9022 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9023 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9024 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9025 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9028 2013-01-16 Andreas Schwab <schwab@suse.de>
9031 * include/stdlib.h (__mktemp): Add declaration.
9032 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9033 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9035 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9037 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9039 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9040 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9041 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9043 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9044 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9046 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9048 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9049 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9050 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9052 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9053 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9055 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9057 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9059 2013-01-15 David S. Miller <davem@davemloft.net>
9061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9062 trunc{,f} to libm-sysdep_routes.
9063 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9073 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9074 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9075 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9076 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9077 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9078 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9081 nearbyint{,f} to libm-sysdep_routes.
9082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9093 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9095 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9096 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9098 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9099 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9100 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9102 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9103 libc_feholdexcept and libc_fesetenv.
9105 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9107 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9109 2013-01-14 David S. Miller <davem@davemloft.net>
9111 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9112 (SPARC_ASM_VIS2_IFUNC): Likewise.
9113 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9115 use of 'siam' instruction.
9116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9122 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9123 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9136 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9137 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9147 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9149 routines to libm-sysdep_routines.
9150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9153 fdim/fdimf to libm-sysdep_routines.
9154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9162 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9163 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9164 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9165 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9167 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9169 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9172 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9173 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9177 local variable MPTWO.
9178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9181 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9183 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9186 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9188 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9190 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9192 * manual/pattern.texi (glob_t): Document gl_flags.
9193 (glob64_t): Likewise.
9195 2013-01-11 David S. Miller <davem@davemloft.net>
9197 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9198 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9199 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
9200 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9201 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9202 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9203 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9204 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9205 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9206 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9207 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9208 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9209 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9211 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9212 sparc V9 rather than using V8 code.
9213 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9214 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9216 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9218 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9221 2013-01-11 Roland McGrath <roland@hack.frob.com>
9223 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9224 not in the main loop.
9225 * configure: Regenerated.
9227 2013-01-11 Joseph Myers <joseph@codesourcery.com>
9229 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9230 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9232 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9233 [!__GLIBC_HAVE_LONG_LONG] case.
9234 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9235 condition to just #else.
9236 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9237 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9238 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9239 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9241 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9242 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9243 #elif condition to just #else.
9244 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9245 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9246 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9247 #elif condition to just #else.
9249 2013-01-11 Steve Ellcey <sellcey@mips.com>
9251 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9252 (EF_MIPS_ARCH_64): Fix value.
9253 (EF_MIPS_ARCH_32R2): New.
9254 (EF_MIPS_ARCH_64R2): New.
9256 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9258 * Makeconfig (+link-pie-before-libc): New.
9259 (+link-pie-after-libc): Likewise.
9260 (+link-pie-tests): Likewise.
9261 (+link-pie): Rewritten.
9262 (link-before-libc): Remove $(config-LDFLAGS).
9263 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9264 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9265 (config-LDFLAGS): Renamed to ...
9266 (rtld-LDFLAGS): This.
9267 (rtld-tests-LDFLAGS): New macro.
9268 (link-libc-rpath-link): Likewise.
9269 (link-libc-tests-rpath-link): Likewise.
9270 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9271 (link-libc): Prepand $(link-libc-rpath-link).
9272 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9273 (test-program-prefix): New macro.
9274 (test-via-rtld-prefix): Likewise.
9275 (test-program-cmd): Likewise.
9276 (host-test-program-cmd): Likewise.
9277 * Makefile ($(common-objpfx)testrun.sh): Replace
9278 $(run-program-prefix) with $(test-program-prefix).
9279 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9281 ($(common-objpfx)shlib.lds): Likewise.
9282 (build-module-helper): Likewise.
9283 ($(common-objpfx)format.lds): Likewise.
9284 * Rules (binaries-pie-tests): New.
9285 (binaries-pie-notests): Likewise.
9286 (binaries-pie): Rewritten.
9287 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9288 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9289 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9290 (make-test-out): Replace $(host-built-program-cmd) with
9291 $(host-test-program-cmd).
9292 * config.make.in (build-hardcoded-path-in-tests): New variable.
9293 * configure.in (--enable-hardcoded-path-in-tests): New configure
9295 (hardcoded_path_in_tests): New AC_SUBST.
9296 * configure: Regenerated.
9297 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9298 $(built-program-cmd) with $(test-program-cmd).
9299 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9300 (test_program_cmd): This.
9301 * elf/Makefile ($(objpfx)order.out): Run test with
9302 $(test-program-prefix).
9303 ($(objpfx)order2.out): Likewise.
9304 ($(objpfx)tst-initorder.out): Likewise.
9305 ($(objpfx)tst-initorder2.out): Likewise.
9306 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9307 $(test-program-cmd).
9308 ($(objpfx)tst-array1-static.out): Likewise.
9309 ($(objpfx)tst-array2.out): Likewise.
9310 ($(objpfx)tst-array3.out): Likewise.
9311 ($(objpfx)tst-array4.out): Likewise.
9312 ($(objpfx)tst-array5.out): Likewise.
9313 ($(objpfx)tst-array5-static.out): Likewise.
9314 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9315 $(test-program-cmd).
9316 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9317 $(run-program-prefix) with $(test-program-prefix).
9318 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9319 (test_program_prefix): This.
9320 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9321 $(run-program-prefix) with $(test-program-prefix).
9322 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9323 (test_program_prefix): This.
9324 * iconvdata/tst-tables.sh: Likewise.
9325 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9326 $(run-program-prefix) with $(test-program-prefix).
9327 ($(objpfx)tst-translit.out): Likewise.
9328 ($(objpfx)tst-gettext2.out): Likewise.
9329 ($(objpfx)tst-gettext4.out): Likewise.
9330 ($(objpfx)tst-gettext6.out): Likewise.
9331 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9332 (test_program_prefix): This.
9333 * intl/tst-gettext2.sh: Likewise.
9334 * intl/tst-gettext4.sh Likewise.
9335 * intl/tst-gettext6.sh: Likewise.
9336 * intl/tst-translit.sh: Likewise.
9337 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9338 with $(test-program-cmd).
9339 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9340 $(run-program-prefix) with $(test-program-prefix).
9341 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9342 (test_program_prefix): This.
9343 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9344 $(run-program-prefix) with $(test-program-prefix).
9345 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9346 (test_program_prefix): This.
9347 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9348 * posix/Makefile ($(objpfx)globtest.out): Replace
9349 $(run-via-rtld-prefix) and $(test-wrapper) with
9350 $(test-program-prefix) and $(test-via-rtld-prefix).
9351 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9352 $(test-program-prefix).
9353 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9354 $(host-test-program-cmd).
9355 (tst-spawn-ARGS): Likewise.
9356 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9357 $(test-program-prefix).
9358 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9359 (test_via_rtld_prefix): This.
9360 (test_wrapper): Renamed to ...
9361 (test_program_prefix): This.
9362 (run_program_prefix): Replaced by test_program_prefix.
9363 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9364 (test_program_prefix): This.
9365 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9366 with $(host-test-program-cmd).
9367 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9368 $(run-program-prefix) with $(test-program-prefix).
9369 ($(objpfx)tst-printf.out): Likewise.
9370 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9371 $(test-program-cmd).
9372 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9373 (test_program_prefix): This.
9374 * stdio-common/tst-unbputc.sh: Likewise.
9375 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9376 $(run-program-prefix) with $(test-program-prefix).
9377 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9378 (test_program_prefix): This.
9379 * string/Makefile ($(objpfx)tst-svc.out): Replace
9380 $(built-program-cmd) with $(test-program-cmd).
9382 2013-01-11 Andreas Jaeger <aj@suse.de>
9385 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9386 value. Sync with Linux 3.7.
9388 2013-01-10 David S. Miller <davem@davemloft.net>
9390 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9391 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9392 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9394 2013-01-10 Roland McGrath <roland@hack.frob.com>
9396 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9398 * configure: Regenerated.
9400 2013-01-10 David S. Miller <davem@davemloft.net>
9402 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9403 sparc V9 rather than using V8 code.
9404 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9405 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9407 2013-01-10 Roland McGrath <roland@hack.frob.com>
9409 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9410 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9411 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9412 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9413 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9414 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9415 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9416 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9417 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9418 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9419 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9420 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9421 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9422 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9423 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9424 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9425 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9426 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9427 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9428 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9429 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9430 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9431 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9432 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9433 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9434 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9435 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9437 2013-01-10 David S. Miller <davem@davemloft.net>
9439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9441 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9443 * posix/Makefile (tests-static): New variable.
9444 (tests): Add $(tests-static).
9445 (tst-exec-static-ARGS): New variable.
9446 (tst-spawn-static-ARGS): Likewise.
9447 * posix/tst-exec-static.c: New file.
9448 * posix/tst-spawn-static.c: Likewise.
9449 * posix/tst-exec.c: Support run directly.
9450 * posix/tst-spawn.c: Likewise.
9452 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9454 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9456 * math/bits/mathcalls.h (llrint): Likewise.
9457 (llround): Likewise.
9458 * stdlib/stdlib.h (struct drand48_data): Likewise.
9459 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9460 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9461 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9463 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9465 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9466 (elf_greg_t): Likewise.
9467 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9468 (__jmp_buf): Likewise.
9469 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9471 (llrint): Likewise, for all definitions.
9472 (llrintl): Likewise.
9474 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9475 Remove [__GNUC__] condition.
9476 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9477 condition to just [__USE_ISOC99].
9478 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9480 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9483 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9484 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9486 (_POSIX_V6_ILP32_OFF32): Likewise.
9487 (_XBS5_ILP32_OFF32): Likewise.
9488 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9489 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9491 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9493 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9496 doubles __mpexp_twomm1. Adjust usage.
9497 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9500 2013-01-10 Andreas Schwab <schwab@suse.de>
9503 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9504 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9506 2013-01-09 David S. Miller <davem@davemloft.net>
9509 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9510 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9511 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9512 TCP_FASTOPEN): Define.
9513 (tcp_repair_opt): New structure.
9514 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9516 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9517 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9518 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9519 (tcp_cookie_transactions): New structure.
9521 2013-01-09 Anton Blanchard <anton@samba.org>
9523 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9524 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9525 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9526 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9528 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9530 * include/features.h (__USE_ANSI): Remove.
9532 2013-01-09 Roland McGrath <roland@hack.frob.com>
9534 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9536 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9538 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9540 * sysdeps/s390/fpu/libm-test-ulps: Update.
9542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9544 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9549 (__mp_dbl): Likewise.
9550 (__dbl_mp): Likewise.
9551 (add_magnitudes): Likewise.
9552 (sub_magnitudes): Likewise.
9558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9563 (__mp_dbl): Likewise.
9564 (__dbl_mp): Likewise.
9565 (add_magnitudes): Likewise.
9566 (sub_magnitudes): Likewise.
9572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9577 (__mp_dbl): Likewise.
9578 (__dbl_mp): Likewise.
9579 (add_magnitudes): Likewise.
9580 (sub_magnitudes): Likewise.
9587 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9589 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9590 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9591 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9592 2 && __USE_EXTERN_INLINES]: Likewise.
9594 2013-01-08 Andreas Jaeger <aj@suse.de>
9597 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9599 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9600 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9602 2013-01-07 Anton Blanchard <anton@samba.org>
9604 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9605 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9606 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9607 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9608 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9609 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9610 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9611 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9612 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9613 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9614 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9615 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9616 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9617 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9618 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9619 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9620 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9621 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9622 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9623 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9624 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9625 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9626 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9627 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9628 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9629 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9630 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9631 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9632 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9633 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9634 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9636 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9637 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9638 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9639 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9640 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9641 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9642 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9643 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9644 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9645 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9646 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9648 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9650 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9651 (__MALLOC_PMT): Likewise.
9652 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9653 [__GNUC__], only on [_LIBC].
9654 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9655 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9656 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9657 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9658 forward declaration.
9659 (realloc_hook_ini): Likewise.
9660 (memalign_hook_ini): Likewise.
9661 (__libc_memalign): Do not use __MALLOC_PMT in variable
9663 (__libc_valloc): Likewise.
9664 (__libc_pvalloc): Likewise.
9665 (__libc_calloc): Likewise.
9666 (__posix_memalign): Likewise.
9669 * math/s_casinh.c: Include <float.h>.
9670 (__casinh): Do not do computation with squaring and square root
9671 for large arguments.
9672 * math/s_casinhf.c: Include <float.h>.
9673 (__casinhf): Do not do computation with squaring and square root
9674 for large arguments.
9675 * math/s_casinhl.c: Include <float.h>.
9676 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9677 (__casinhl): Do not do computation with squaring and square root
9678 for large arguments.
9679 * math/libm-test.inc (casin_test): Add more tests.
9680 (casinh_test): Likewise.
9681 * sysdeps/i386/fpu/libm-test-ulps: Update.
9682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9684 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9686 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9687 (__x86_64_raw_data_cache_size): Likewise.
9688 (__x86_64_data_cache_size_half): Likewise.
9689 (__x86_64_raw_data_cache_size_half): Likewise.
9690 (__x86_64_shared_cache_size): Likewise.
9691 (__x86_64_raw_shared_cache_size): Likewise.
9692 (__x86_64_shared_cache_size_half): Likewise.
9693 (__x86_64_raw_shared_cache_size_half): Likewise.
9694 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9696 (__x86_data_cache_size): This.
9697 (__x86_64_raw_data_cache_size): Renamed to ...
9698 (__x86_raw_data_cache_size): This.
9699 (__x86_64_data_cache_size_half): Renamed to ...
9700 (__x86_data_cache_size_half): This.
9701 (__x86_64_raw_data_cache_size_half): Renamed to ...
9702 (__x86_raw_data_cache_size_half): This.
9703 (__x86_64_shared_cache_size): Renamed to ...
9704 (__x86_shared_cache_size): This.
9705 (__x86_64_raw_shared_cache_size): Renamed to ...
9706 (__x86_raw_shared_cache_size): This.
9707 (__x86_64_shared_cache_size_half): Renamed to ...
9708 (__x86_shared_cache_size_half): This.
9709 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9710 (__x86_raw_shared_cache_size_half): This.
9711 * sysdeps/x86_64/memcpy.S: Updated.
9712 * sysdeps/x86_64/memset.S: Likewise.
9713 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9714 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9715 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9717 2013-01-04 David S. Miller <davem@davemloft.net>
9719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9721 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9723 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9724 1 to avoid redefinition warning.
9725 (__USE_GNU): Don't define.
9726 (init_signaling_nan): Protoize.
9728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9730 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9732 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9734 (__cpymn): Likewise.
9735 (norm): Remove commented code.
9737 (__mp_dbl): Likewise.
9739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9740 (__cpymn): Likewise.
9741 (norm): Remove commented code.
9743 (__mp_dbl): Likewise.
9746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9747 mp_no value for 1.0 and 2.0.
9748 (norm): Use RADIXI instead of radixi.d.
9750 (__mul): Use 0.0 instead of zero.d.
9751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9752 mp_no value for 1.0 and 2.0.
9753 (norm): Use RADIXI instead of radixi.d.
9755 (__mul): Use 0.0 instead of zero.d.
9757 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9760 * math/s_casinh.c (__casinh): Reduce finite argument to first
9761 quadrant then set signs of results at the end.
9762 * math/s_casinhf.c (__casinhf): Likewise.
9763 * math/s_casinhl.c (__casinhl): Likewise.
9764 * math/libm-test.inc (casin_test): Add more tests.
9765 (casinh_test): Likewise.
9766 * sysdeps/i386/fpu/libm-test-ulps: Update.
9767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9769 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9771 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9773 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9775 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9778 (__mp_dbl): Likewise.
9781 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9782 and adjust the header comment.
9784 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9785 variable name from declaration.
9787 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9790 Initialize COMMON_CPUID_INDEX_7 element.
9791 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9792 (CPUID_RTM): Likewise.
9793 (HAS_RTM): Likewise.
9794 (COMMON_CPUID_INDEX_7): New enum.
9796 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9799 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9800 size is zero, record memory as freed.
9802 2013-01-03 Andreas Jaeger <aj@suse.de>
9804 * po/ia.po: Add new Interlingua translation.
9806 2012-01-03 Allan McRae <allan@archlinux.org>
9808 * locale/programs/localedef.c: Fix description of '--posix' flag.
9810 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9812 * NEWS: Update dates in second copyright notice.
9813 * README: Update copyright dates in example.
9814 * manual/libc.texinfo: Update copyright dates.
9815 * scripts/test-installation.pl: Update copyright date in --version
9818 * hurd/ctty-input.c: Fix copyright notice formatting.
9819 * hurd/ctty-output.c: Likewise.
9820 * hurd/dtable.c: Likewise.
9821 * hurd/hurd-raise.c: Likewise.
9822 * hurd/hurdprio.c: Likewise.
9823 * hurd/msgportdemux.c: Likewise.
9824 * misc/sys/file.h: Likewise.
9825 * misc/sys/ioctl.h: Likewise.
9826 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9827 * sysdeps/mach/hurd/chdir.c: Likewise.
9828 * sysdeps/mach/hurd/fchdir.c: Likewise.
9829 * sysdeps/mach/hurd/rename.c: Likewise.
9830 * sysdeps/mach/hurd/rmdir.c: Likewise.
9831 * sysdeps/mach/hurd/seekdir.c: Likewise.
9832 * sysdeps/mach/hurd/setsid.c: Likewise.
9833 * sysdeps/posix/wait3.c: Likewise.
9835 * All files with FSF copyright notices: Update copyright dates
9836 using scripts/update-copyrights.
9837 * intl/plural.c: Regenerated.
9838 * locale/programs/charmap-kw.h: Likewise.
9839 * locale/programs/locfile-kw.h: Likewise.
9841 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9843 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9846 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9847 calculation loop and add branch prediction.
9849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9850 check access beyond bounds of m1np.
9852 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9854 (__inv): Remove local variable MPTWO to use the global
9856 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9857 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9859 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9860 MP3HALFS static const.
9862 2013-01-01 David S. Miller <davem@davemloft.net>
9864 * po/ca.po: Update from translation team.
9866 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9868 * scripts/update-copyrights: New file.
9869 * Makeconfig: Reformat copyright notice.
9870 * ctype/ctype.h: Likewise.
9871 * debug/swprintf_chk.c: Likewise.
9872 * elf/dl-cache.c: Likewise.
9873 * elf/dl-debug.c: Likewise.
9874 * elf/dl-object.c: Likewise.
9875 * grp/initgroups.c: Likewise.
9876 * hurd/Makefile: Likewise.
9877 * hurd/hurd/signal.h: Likewise.
9878 * hurd/hurdfault.c: Likewise.
9879 * hurd/hurdioctl.c: Likewise.
9880 * hurd/hurdlookup.c: Likewise.
9881 * hurd/intr-msg.c: Likewise.
9882 * iconv/gconv_open.c: Likewise.
9883 * libio/swprintf.c: Likewise.
9884 * locale/lc-ctype.c: Likewise.
9885 * locale/nl_langinfo.c: Likewise.
9886 * mach/Machrules: Likewise.
9887 * mach/Makefile: Likewise.
9888 * malloc/obstack.h: Likewise.
9889 * manual/Makefile: Likewise.
9890 * manual/tsort.awk: Likewise.
9891 * misc/bits/stab.def: Likewise.
9892 * nis/nis_print_group_entry.c: Likewise.
9893 * nis/nis_table.c: Likewise.
9894 * nis/nss_compat/compat-pwd.c: Likewise.
9895 * nis/nss_compat/compat-spwd.c: Likewise.
9896 * po/Makefile: Likewise.
9897 * posix/fnmatch.c: Likewise.
9898 * posix/regex.h: Likewise.
9899 * resolv/Makefile: Likewise.
9900 * resolv/nss_dns/dns-network.c: Likewise.
9901 * resolv/res_hconf.c: Likewise.
9902 * scripts/gen-sorted.awk: Likewise.
9903 * soft-fp/soft-fp.h: Likewise.
9904 * stdio-common/printf.h: Likewise.
9905 * stdlib/monetary.h: Likewise.
9906 * stdlib/random.c: Likewise.
9907 * stdlib/random_r.c: Likewise.
9908 * sysdeps/generic/Makefile: Likewise.
9909 * sysdeps/gnu/Makefile: Likewise.
9910 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9912 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9914 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9917 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9918 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9919 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9920 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9925 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9926 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9927 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9928 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9930 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9931 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9932 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9933 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9934 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9935 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9936 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9937 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9938 * sysdeps/mach/hurd/errnos.awk: Likewise.
9939 * sysdeps/mach/hurd/fork.c: Likewise.
9940 * sysdeps/mach/hurd/getcwd.c: Likewise.
9941 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9942 * sysdeps/mach/hurd/mmap.c: Likewise.
9943 * sysdeps/mach/hurd/utimes.c: Likewise.
9944 * sysdeps/mach/hurd/xmknod.c: Likewise.
9945 * sysdeps/posix/profil.c: Likewise.
9946 * sysdeps/posix/readdir_r.c: Likewise.
9947 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9948 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9949 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9950 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9952 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9953 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9954 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9956 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9957 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9958 * sysdeps/pthread/lio_listio.c: Likewise.
9959 * sysdeps/sparc/dl-procinfo.h: Likewise.
9960 * sysdeps/unix/i386/sysdep.S: Likewise.
9961 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9962 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9963 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9964 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9966 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9967 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9968 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9969 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9970 * sysdeps/wordsize-32/divdi3.c: Likewise.
9971 * time/sys/time.h: Likewise.
9972 * wcsmbs/Makefile: Likewise.
9974 2013-01-01 David S. Miller <davem@davemloft.net>
9976 * po/fr.po: Update from translation team.
9978 * catgets/gencat.c: Update copyright year.
9979 * csu/version.c: Likewise.
9980 * debug/catchsegv.sh: Likewise.
9981 * debug/pcprofiledump.c: Likewise.
9982 * debug/xtrace.sh: Likewise.
9983 * elf/ldconfig.c: Likewise.
9984 * elf/ldd.bash.in: Likewise.
9985 * elf/pldd.c: Likewise.
9986 * elf/sotruss.ksh: Likewise.
9987 * elf/sprof.c: Likewise.
9988 * iconv/iconv_prog.c: Likewise.
9989 * iconv/iconvconfig.c: Likewise.
9990 * locale/programs/locale.c: Likewise.
9991 * locale/programs/localedef.c: Likewise.
9992 * login/programs/pt_chown.c: Likewise.
9993 * malloc/memusage.sh: Likewise.
9994 * malloc/memusagestat.c: Likewise.
9995 * malloc/mtrace.pl: Likewise.
9996 * nscd/nscd.c: Likewise.
9997 * nss/getent.c: Likewise.
9998 * nss/makedb.c: Likewise.
9999 * posix/getconf.c: Likewise.
10001 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10003 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10006 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10008 * math/bits/mathcalls.h (modf): Use __nonnull.
10010 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10012 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10013 (split): Use macro CN instead of the bare value.
10014 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10017 instead of the bare value.
10018 (power1): Likewise.
10020 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10022 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10024 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10026 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10028 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10029 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10030 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10031 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10033 2012-12-28 Andreas Jaeger <aj@suse.de>
10035 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10036 values are from Linux 3.7.
10038 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10039 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10041 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10043 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10046 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10048 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10049 variables with preprocessor constants.
10050 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10051 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10052 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10054 2012-12-27 Bruno Haible <bruno@clisp.org>
10057 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10060 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10062 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10063 and use variable directly.
10064 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10066 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10068 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10069 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10071 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10072 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10073 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10074 include directive. Remove local variable MPONE.
10075 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10076 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10077 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10079 2012-12-25 David S. Miller <davem@davemloft.net>
10081 * version.h (RELEASE): Set to "development".
10082 (VERSION): Set to "2.17.90".
10083 * NEWS: Add 2.18 section.
10085 2012-12-21 David S. Miller <davem@davemloft.net>
10087 * po/hr.po: Update from translation team.
10089 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10091 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10093 2012-12-19 Steve Ellcey <sellcey@mips.com>
10095 * NEWS: Mention new memcpy for MIPS.
10097 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10099 * manual/contrib.texi (Contributors): Spelling correction.
10101 2012-12-15 David S. Miller <davem@davemloft.net>
10103 * po/ru.po: Update from translation team.
10105 2012-12-13 David S. Miller <davem@davemloft.net>
10107 * NEWS: Mention IFUNC testsuite enhancements.
10109 * po/pl.po: Update from translation team.
10110 * po/bg.po: Likewise.
10112 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10113 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10115 2012-12-11 David S. Miller <davem@davemloft.net>
10117 * po/sv.po: Update from translation team.
10119 * po/vi.po: Update from translation team.
10121 * po/cs.po: Update from translation team.
10123 * po/de.po: Update from translation team.
10124 * po/eo.po: Likewise.
10125 * po/nl.po: Likewise.
10127 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10130 * manual/argp.texi (Argp Helper Functions): Move node to follow
10131 Argp Parsing State.
10134 * manual/conf.texi (Limits on File System Capacity): Mention if
10135 terminating null is included in the max size.
10137 2012-12-10 Andreas Jaeger <aj@suse.de>
10139 * po/cs.po: Update from translation team.
10141 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10143 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10144 void pointer and cast to uintptr_t.
10145 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10147 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10148 * sysdeps/s390/s390-64/memset.S: Likewise.
10150 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10153 * menual/message.texi (Message Translation): Fix typos.
10154 (Helper programs for gettext): Likewise.
10156 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10159 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10162 2012-12-07 David S. Miller <davem@davemloft.net>
10164 * po/libc.pot: Update.
10166 2012-12-07 Richard Henderson <rth@redhat.com>
10169 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10170 normal/normal case to before the switch.
10171 (_FP_DIV): Likewise.
10173 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10174 Mike Frysinger <vapier@gentoo.org>
10176 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10177 check for __NR_fadvise64_64.
10179 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10181 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10182 0, not just to plain "0" as a statement.
10183 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10186 2012-12-06 Joseph Myers <joseph@codesourcery.com>
10188 * NEWS: Use sourceware.org in Bugzilla URL.
10190 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10193 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10195 * stdio-common/tst-put-error.c (do_test): Add newline to the
10196 padded test to ensure flush.
10198 2012-12-05 Jeff Law <law@redhat.com>
10200 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10202 2012-12-05 Joseph Myers <joseph@codesourcery.com>
10204 * README: Don't refer to ports add-on as distributed separately.
10205 Mention AArch64 in list of systems supported in the ports add-on.
10207 * LICENSES: Add more non-FSF copyright and license notices.
10209 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10212 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10214 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10215 10000 as width of padded output.
10217 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10219 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10221 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10222 variable LX with __attribute__ ((unused)).
10223 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10225 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10226 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10227 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10228 with __attribute__ ((unused)).
10230 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
10232 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10234 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10236 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10237 (CFLAGS-nldbl-acos.c): New variable.
10238 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10239 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10240 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10241 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10242 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10243 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10244 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10245 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10246 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10247 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10248 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10249 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10250 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10251 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10252 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10253 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10254 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10255 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10256 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10257 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10258 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10259 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10260 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10261 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10262 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10263 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10264 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10265 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10266 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10267 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10268 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10269 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10270 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10271 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10272 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10273 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10274 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10275 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10276 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10277 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10278 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10279 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10280 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10281 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10282 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10283 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10284 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10285 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10286 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10287 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10288 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10289 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10290 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10291 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10292 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10293 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10294 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10295 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10296 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10297 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10298 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10299 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10300 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10301 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10302 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10303 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10304 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10305 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10306 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10307 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10308 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10309 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10310 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10311 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10312 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10313 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10314 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10315 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10316 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10317 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10318 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10319 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10320 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10321 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10322 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10323 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10324 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10325 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10326 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10327 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10328 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10329 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10330 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10331 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10332 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10333 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10334 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10337 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10340 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10341 whole low double instead of just low 47 bits when splitting values
10344 2012-12-03 Allan McRae <allan@archlinux.org>
10346 * manual/stdio.texi (Predefined Printf Handlers): Remove
10347 @hsep and @vsep usage.
10349 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10351 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10352 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10354 2012-12-03 Jeff Law <law@redhat.com>
10356 * time/sys/time.h (settimeofday): Do not mark TV argument
10359 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10361 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10362 when currently writing and seek to current position when not.
10363 * libio/Makefile (tests): Remove bug-fclose1.
10364 * libio/bug-fclose1.c: Delete.
10366 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10368 * manual/arith.texi (feenableexcept): Fix typo.
10369 (fedisableexcept): Likewise.
10371 2012-11-30 Roland McGrath <roland@hack.frob.com>
10373 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10374 second, differently-typed declaration, rather than a cast.
10376 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10378 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10379 * include/rpc/svc.h: ... here.
10381 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10384 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10385 depending n and resplen2 to catch cases where answer
10388 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10390 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10391 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10393 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10395 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10397 2012-11-29 Roland McGrath <roland@hack.frob.com>
10399 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10401 2012-11-28 Jeff Law <law@redhat.com>
10404 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10405 dataset_temporary. Track alloca usage into alloca_used.
10406 If dataset is large allocate and release it via malloc/free.
10408 2012-06-04 Florian Weimer <fweimer@redhat.com>
10411 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10413 2012-11-28 David S. Miller <davem@davemloft.net>
10415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10417 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10420 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10421 of pi/2 rounded to nearest to 64 bits.
10422 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10423 nearest to 64 bits.
10424 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10427 2012-11-28 Jeff Law <law@redhat.com>
10428 Martin Osvald <mosvald@redhat.com>
10431 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10432 * sunrpc/svc.c: Include time.h.
10433 (__svc_accept_failed): New function.
10434 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10435 any reason other than EINTR, call __svc_accept_failed.
10436 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10437 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10439 2012-11-28 Andreas Schwab <schwab@suse.de>
10441 * scripts/abilist.awk: Also handle indirect functions in .opd
10444 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10447 * sysdeps/x86/fpu/powl_helper.c: New file.
10448 * sysdeps/x86/fpu/Makefile: Likewise.
10449 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10451 (__ieee754_powl): Use __powl_helper for finite arguments except
10452 integer exponents below 8.
10453 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10455 (__ieee754_powl): Use __powl_helper for finite arguments except
10456 integer exponents below 8.
10457 * math/libm-test.inc (pow_test): Add more tests and enable some
10458 previously disabled tests.
10459 * sysdeps/i386/fpu/libm-test-ulps: Update.
10460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10462 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10463 Carlos O'Donell <carlos_odonell@mentor.com>
10465 * nss/makedb.c (is_prime): Assert that input is odd and greater
10466 than 4. Note that fact in a comment too.
10467 (next_prime): Add 4 to input.
10469 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10472 * libio/Makefile (tests): Add test case tst-fwrite-error.
10473 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10474 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10475 * libio/tst-fwrite-error.c: New test case.
10477 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10479 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10480 before casting to void *.
10481 * include/libc-internal.h (__pointer_type): New macro.
10482 (__integer_if_pointer_type_sub): Likewise.
10483 (__integer_if_pointer_type): Likewise.
10484 (cast_to_integer): Likewise.
10485 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10486 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10487 before casting to atomic64_t.
10488 (atomic_exchange_acq): Likewise.
10489 (__arch_exchange_and_add_body): Likewise.
10490 (__arch_add_body): Likewise.
10491 (atomic_add_negative): Likewise.
10492 (atomic_add_zero): Likewise.
10494 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10496 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10497 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10498 (add_fdes): Likewise.
10499 (linear_search_fdes): Likewise.
10500 (binary_search_unencoded_fdes): Likewise.
10502 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10504 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10506 2012-11-24 Adam Conrad <adconrad@0c3.net>
10508 * configure.in: Autodetect C++ header directories.
10509 * configure: Regenerated.
10511 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10513 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10515 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10519 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10521 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10522 LDBL_MANT_DIG == 106]: Disable some tests.
10523 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10525 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10529 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10530 input for small inputs. Return +/- pi/2 for large inputs.
10531 * math/libm-test.inc (atan_test): Add more tests.
10533 * sysdeps/generic/unwind-dw2-fde-glibc.c
10534 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10535 __attribute__ ((unused)).
10538 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10539 x * y if x and y are nonzero and z is zero.
10542 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10543 nonzero exponents with absolute value below 0x1p-117 to +/-
10547 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10548 up arguments below 2**-450, not just those below 2**-500.
10549 * math/libm-test.inc (hypot_test): Add another test.
10552 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10553 Return a+b for ratio over 2**120, not 2**60.
10554 * math/libm-test.inc (hypot_test): Add another test.
10556 * math/libm-test.inc (clog_test): Use
10557 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10558 (clog10_test): Likewise.
10561 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10563 2012-11-22 Andreas Schwab <schwab@suse.de>
10565 * sysdeps/i386/fpu/libm-test-ulps: Update.
10567 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10569 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10570 printf output with newline.
10572 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10575 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10576 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10577 -z nodlopen, -z initfirst and -z execstack support.
10578 * configure: Regenerated.
10580 * elf/elf.h (DF_1_NODIRECT): New macro.
10581 (DF_1_IGNMULDEF): Likewise.
10582 (DF_1_NOKSYMS): Likewise.
10583 (DF_1_NOHDR): Likewise.
10584 (DF_1_EDITED): Likewise.
10585 (DF_1_NORELOC): Likewise.
10586 (DF_1_SYMINTPOSE): Likewise.
10587 (DF_1_GLOBAUDIT): Likewise.
10588 (DF_1_SINGLETON): Likewise.
10589 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10590 DT_1_SUPPORTED_MASK bits.
10591 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10593 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10595 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10597 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10599 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10602 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10603 (sendmmsg): Move declarations...
10604 * socket/sys/socket.h: ... here.
10605 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10606 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10608 * socket/recvmmsg.c: ... this new file.
10609 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10610 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10611 definition of __sendmmsg hidden.
10612 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10613 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10614 Move ENOSYS stub into and include it from...
10615 * socket/sendmmsg.c: ... this new file.
10616 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10617 (sysdep_routines): Move recvmmsg and sendmmsg...
10618 * socket/Makefile (routines): ... here.
10619 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10620 (GLIBC_PRIVATE): Add __sendmmsg.
10621 * include/sys/socket.h (__sendmmsg): Add declarations.
10622 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10625 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10627 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10628 variable I1 with __attribute__ ((unused)).
10629 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10631 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10633 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10634 DUMMY variables with __attribute__ ((unused)).
10636 * bits/byteswap.h: Include <bits/types.h>.
10637 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10639 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10641 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10642 string_t. Do not manually set errno.
10643 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10644 length with __strnlen. Make sure to both set errno and return it on
10647 2012-11-19 David S. Miller <davem@davemloft.net>
10649 With help from Joseph Myers.
10650 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10651 very large arguments properly.
10652 * math/libm-test.inc (atan_test): New tests.
10653 (atan2_test): New tests.
10654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10657 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10660 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10663 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10664 [POSIX] (EADDRNOTAVAIL): Likewise.
10665 [POSIX] (EAFNOSUPPORT): Likewise.
10666 [POSIX] (EALREADY): Likewise.
10667 [POSIX] (ECONNABORTED): Likewise.
10668 [POSIX] (ECONNREFUSED): Likewise.
10669 [POSIX] (ECONNRESET): Likewise.
10670 [POSIX] (EDESTADDRREQ): Likewise.
10671 [POSIX] (EDQUOT): Likewise.
10672 [POSIX] (EHOSTUNREACH): Likewise.
10673 [POSIX] (EIDRM): Likewise.
10674 [POSIX] (EISCONN): Likewise.
10675 [POSIX] (ELOOP): Likewise.
10676 [POSIX] (EMULTIHOP): Likewise.
10677 [POSIX] (ENETDOWN): Likewise.
10678 [POSIX] (ENETUNREACH): Likewise.
10679 [POSIX] (ENOBUFS): Likewise.
10680 [POSIX] (ENODATA): Likewise.
10681 [POSIX] (ENOLINK): Likewise.
10682 [POSIX] (ENOMSG): Likewise.
10683 [POSIX] (ENOPROTOOPT): Likewise.
10684 [POSIX] (ENOSR): Likewise.
10685 [POSIX] (ENOSTR): Likewise.
10686 [POSIX] (ENOTCONN): Likewise.
10687 [POSIX] (ENOTSOCK): Likewise.
10688 [POSIX] (EOPNOTSUPP): Likewise.
10689 [POSIX] (EOVERFLOW): Likewise.
10690 [POSIX] (EPROTO): Likewise.
10691 [POSIX] (EPROTONOSUPPORT): Likewise.
10692 [POSIX] (EPROTOTYPE): Likewise.
10693 [POSIX] (ESTALE): Likewise.
10694 [POSIX] (ETIME): Likewise.
10695 [POSIX] (ETXTBSY): Likewise.
10696 [POSIX] (EWOULDBLOCK): Likewise.
10697 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10698 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10699 [POSIX] (SEEK_CUR): Likewise.
10700 [POSIX] (SEEK_END): Likewise.
10701 [POSIX || UNIX98] (mode_t): Do not require.
10702 [POSIX] (off_t): Likewise.
10703 [POSIX] (pid_t): Likewise.
10704 [POSIX] (sys/stat.h): Do not allow header.
10705 [POSIX] (unistd.h): Likewise.
10706 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10707 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10708 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10709 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10711 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10712 sigevent): Specify elements.
10713 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10715 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10716 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10718 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10719 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10720 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10721 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10722 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10723 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10724 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10725 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10726 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10727 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10728 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10729 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10730 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10731 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10733 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10735 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10737 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10739 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10740 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10741 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10742 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10743 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10744 Specify lower bound on value.
10745 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10746 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10747 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10748 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10749 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10750 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10751 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10752 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10754 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10756 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10757 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10758 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10759 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10760 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10761 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10762 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10763 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10764 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10765 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10766 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10767 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10768 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10769 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10770 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10771 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10773 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10775 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10776 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10777 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10778 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10779 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10780 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10782 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10783 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10784 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10785 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10786 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10787 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10788 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10790 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10791 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10792 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10793 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10794 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10795 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10796 specify as optional.
10797 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10798 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10799 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10800 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10801 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10802 [XPG3] (NL_LANGMAX): Likewise.
10803 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10804 [POSIX || XPG3] (NL_NMAX): Likewise.
10805 [POSIX || XPG3] (NL_SETMAX): Likewise.
10806 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10807 [XPG3] (NZERO): Likewise.
10808 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10809 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10810 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10811 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10812 (REG_ERANGE): Expect.
10813 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10815 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10816 Use (void) in prototype.
10817 [POSIX] (*_t): Allow.
10818 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10819 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10820 (WRDE_BADVAL): Expect.
10822 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10824 [XPG3 || XPG4] (O_RSYNC): Likewise.
10825 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10827 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10828 [XPG3 || XPG4] (sigqueue): Likewise.
10829 [XPG3 || XPG4] (sigtimedwait): Likewise.
10830 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10831 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10832 [XPG3 || XPG4] (vsnprintf): Likewise.
10833 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10835 [XPG3 || XPG4] (blksize_t): Likewise.
10836 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10838 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10839 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10840 [XPG3 || XPG4] (struct itimerspec): Likewise.
10841 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10842 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10843 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10844 [XPG3 || XPG4] (clockid_t): Likewise.
10845 [XPG3 || XPG4] (timer_t): Likewise.
10846 [XPG3 || XPG4] (clock_getres): Likewise.
10847 [XPG3 || XPG4] (clock_gettime): Likewise.
10848 [XPG3 || XPG4] (clock_settime): Likewise.
10849 [XPG3 || XPG4] (nanosleep): Likewise.
10850 [XPG3 || XPG4] (timer_create): Likewise.
10851 [XPG3 || XPG4] (timer_delete): Likewise.
10852 [XPG3 || XPG4] (timer_gettime): Likewise.
10853 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10854 [XPG3 || XPG4] (timer_settime): Likewise.
10855 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10856 [XPG3 || XPG4] (getlogin_r): Likewise.
10857 [XPG3 || XPG4] (pread): Likewise.
10858 [XPG3 || XPG4] (pthread_atfork): Likewise.
10859 [XPG3 || XPG4] (pwrite): Likewise.
10862 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10865 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10867 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10868 finalizing MALLSTREAM.
10870 * sysdeps/mach/hurd/syncfs.c: New file.
10872 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10875 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10876 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10877 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10878 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10879 (_nss_dns_gethostbyname4_r): Likewise.
10880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10881 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10883 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10886 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10888 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10890 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10891 * elf/cache.c (print_entry): Print ",AArch64" for
10894 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10895 * elf/cache.c (print_entry): Print ",hard-float" for
10898 2012-11-18 David S. Miller <davem@davemloft.net>
10900 With help from Joseph Myers.
10901 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10903 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10905 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10906 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10908 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10909 * math/libm-test.inc (y0_test): New tests.
10910 (y1_test): New tests.
10911 * sysdeps/i386/fpu/libm-test-ulps: Update.
10912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10915 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10917 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10919 * configure: Regenerated.
10921 2012-11-17 David S. Miller <davem@davemloft.net>
10924 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10925 nonzero exponents with absolute value below 0x1p-128 to +/-
10928 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10930 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10932 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10934 * posix/getconf-speclist.c: New file.
10935 * posix/posix-envs.def: Likewise.
10936 * posix/confstr.c (START_ENV_GROUP): New macro.
10937 (END_ENV_GROUP): Likewise.
10938 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10939 (KNOWN_PRESENT_ENV_STRING): Likewise.
10940 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10941 (UNKNOWN_ENVIRONMENT): Likewise.
10942 (confstr): Include posix-envs.def instead of handling
10943 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10944 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10945 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10946 (END_ENV_GROUP): Likewise.
10947 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10948 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10949 (UNKNOWN_ENVIRONMENT): Likewise.
10950 (__sysconf): Include posix-envs.def instead of handling associated
10951 cases directly here.
10952 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10953 preprocessing getconf-speclist.c rather than running getconf or
10954 generating empty file.
10956 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10958 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10960 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10963 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10965 2012-11-16 David S. Miller <davem@davemloft.net>
10967 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10968 smaller than LDBL_EPSILON/2.0L, just return xm1.
10970 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10972 * elf/tst-array1.c (init): Set constructor priority to 1000.
10973 (fini): Set destructor priority to 1000.
10974 * elf/tst-array2dep.c: Likewise.
10976 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10979 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10980 (_IO_new_file_xsputn): Also return EOF if none of the input
10981 data was written when overflow failed.
10982 * libio/iopadn.c (_IO_padn): Likewise.
10983 * libio/iowpadn.c (_IO_wpadn): Likewise.
10984 * stdio-common/tst-put-error.c: Add copyright notice.
10985 (do_test): Add case for printing padded string.
10986 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10987 _IO_padn returned error.
10988 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10989 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10992 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10994 * libio/libioP.h: Add comment note that the references to C++
10995 bits are now obsolete.
10997 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10999 * math/libm-test.inc (check_complex): Use asprintf.
11001 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11003 * debug/pcprofiledump.c (print_version): Update copyright year.
11004 * malloc/memusagestat.c (print_version): Likewise.
11006 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11009 * elf/Makefile (tests): Add tst-audit8.
11010 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11011 ($(objpfx)tst-audit8.out): New target.
11012 (tst-audit8-ENV): New variable.
11013 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11014 audit if l_reloc_result is NULL.
11015 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11016 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11017 * elf/tst-audit8.c: New file.
11019 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11021 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11022 * misc/Makefile (CFLAGS-select.c): Define.
11023 * posix/Makefile (CFLAGS-pause.c): Define.
11025 2012-11-13 David S. Miller <davem@davemloft.net>
11027 * crypt/Makefile: Move test targets after toplevel Rules
11028 inclusion. Grab any necessary sysdep routines when linking.
11029 * crypt/md5.c (md5_process_block): Remove define, we will always
11030 name it __md5_process_block.
11031 (md5_finish_ctx): Update md5_process_block call.
11032 (md5_stream): Likewise.
11033 (md5_process_bytes): Likewise.
11034 (md5_process_block): Rename to __md5_process_block and move to ...
11035 * crypt/md5-block.c: ... here.
11036 * crypt/sha256.c (sha256_process_block): Move to ...
11037 * crypt/sha256-block.c: ... here.
11038 * crypt/sha512.c (sha512_process_block): Move to ...
11039 * crypt/sha512-block.c: ... here.
11040 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11042 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11043 * sysdeps/sparc/sparc64/multiarch/Makefile
11044 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11046 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11047 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11049 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11050 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11051 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11052 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11053 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11054 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11055 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11056 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11057 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11059 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11060 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11062 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11064 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11066 * timezone/tzselect.ksh: Update from tzcode git revision
11067 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11068 * timezone/zdump.c: Likewise.
11069 * timezone/zic.c: Likewise.
11070 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11071 in TZVERSION setting, not $(PKGVERSION).
11072 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11073 REPORT_BUGS_TO settings.
11076 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11079 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11081 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11082 detection to immediately after _FP_ROUND().
11083 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11086 2012-11-11 David S. Miller <davem@davemloft.net>
11088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11090 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11091 __close rather than their public counterparts.
11093 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11095 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11097 [UNIX98] (sem_timedwait): Do not expect.
11098 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11099 [XPG4 || UNIX98] (sockatmark): Do not expect.
11100 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11101 (clock_getcpuclockid): Do not expect.
11102 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11103 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11105 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11106 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11107 [UNIX98] (vwscanf): Likewise.
11108 [UNIX98] (vswscanf): Likewise.
11110 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11112 * timezone/version.h: Remove file.
11113 * timezone/README: Do not refer to version.h.
11114 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11115 $(objpfx)version.h.
11116 ($(objpfx)zdump.o): Likewise.
11117 ($(objpfx)version.h): New target.
11119 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11121 * timezone/README: Don't mention modification to tzselect.ksh.
11122 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11123 work on unmodified tzselect.ksh. Substitute version numbers in
11126 * Makefile (format-me): Remove.
11127 (INSTALL): Adjust indentation. Use commands directly instead of
11128 using $(format-me).
11130 * aclocal.m4 (ACX_PKGVERSION): New macro.
11131 (ACX_BUGURL): Likewise.
11132 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11133 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11134 (REPORT_BUGS_TO): Likewise.
11135 * configure: Regenerated.
11136 * config.h.in (PKGVERSION): New macro.
11137 (REPORT_BUGS_TO): Likewise.
11138 * config.make.in (PKGVERSION): New variable.
11139 (PKGVERSION_TEXI): Likewise.
11140 (REPORT_BUGS_TO): Likewise.
11141 (REPORT_BUGS_TEXI): Likewise.
11142 * Makefile (format-me): Use -I$(common-objpfx)manual.
11143 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11144 ($(common-objpfx)manual/%): New target.
11145 (manual/%): Remove target.
11146 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11147 (print_version): Use PKGVERSION.
11148 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11149 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11150 and REPORT_BUGS_TO.
11151 ($(objpfx)xtrace): Likewise.
11152 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11153 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11154 (print_version): Use PKGVERSION.
11155 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11156 (do_version): Use PKGVERSION.
11157 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11159 (common-ldd-rewrite): Likewise.
11160 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11161 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11162 (print_version): Use PKGVERSION.
11163 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11164 * elf/pldd.c (argp_program_bug_address): Remove variable.
11165 (more_help): New function.
11166 (argp): Use more_help.
11167 (print_version): Use PKGVERSION.
11168 * elf/sln.c (main): Use PKGVERSION.
11169 (usage): Use REPORT_BUGS_TO.
11170 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11171 (top level): Use PKGVERSION.
11172 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11173 (print_version): Use PKGVERSION.
11174 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11175 (print_version): Use PKGVERSION.
11176 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11177 (print_version): Use PKGVERSION.
11178 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11179 (print_version): Use PKGVERSION.
11180 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11181 (print_version): Use PKGVERSION.
11182 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11183 (print_version): Use PKGVERSION.
11184 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11186 ($(objpfx)memusage): Likewise.
11187 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11188 (do_version): Use PKGVERSION.
11189 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11190 (print_version): Use PKGVERSION.
11191 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11192 ($PKGVERSION): New variable.
11193 ($REPORT_BUGS_TO): Likewise.
11194 (usage): Use $REPORT_BUGS_TO.
11195 (top level): Use $PKGVERSION.
11196 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11197 ($(objpfx)pkgvers.texi): New rule.
11198 ($(objpfx)stamp-pkgvers): Likewise.
11199 * manual/install.texi: Include pkgvers.texi.
11200 (--with-pkgversion): Document new configure option.
11201 (--with-bugurl): Likewise.
11202 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11203 than necessarily for this particular distribution. Use
11204 REPORT_BUGS_TO for where to report bugs.
11205 * INSTALL: Regenerated.
11206 * manual/libc.texinfo: Include pkgvers.texi.
11207 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11208 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11209 (print_version): Use PKGVERSION.
11210 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11211 (print_version): Use PKGVERSION.
11212 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11213 (print_version): Use PKGVERSION.
11214 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11215 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11217 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11218 (print_version): Use PKGVERSION.
11219 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11220 (print_version): Use PKGVERSION.
11221 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11224 * timezone/checktab.awk: Update from tzcode 2012i.
11225 * timezone/ialloc.c: Likewise.
11226 * timezone/private.h: Likewise.
11227 * timezone/scheck.c: Likewise.
11228 * timezone/tzfile.h: Likewise.
11229 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11230 (TZVERSION): Hardcode tzcode version number.
11231 * timezone/zdump.c: Update from tzcode 2012i.
11232 * timezone/zic.c: Likewise.
11233 * timezone/version.h: New file.
11234 * timezone/README: Describe version.h. Update upstream location.
11237 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11238 (mktemp): Enable declaration.
11239 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11240 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11241 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11242 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11244 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11246 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11248 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11250 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11252 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11256 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11257 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11258 for copies of such integer values.
11259 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11260 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11262 2012-11-09 Andreas Jaeger <aj@suse.de>
11264 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11265 definitions and declarations that are provided by
11266 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11268 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11270 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11271 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11272 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11275 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11277 * elf/elf.h: Update comment before AArch64 relocations.
11279 2012-11-07 David S. Miller <davem@davemloft.net>
11281 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11282 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11283 (__start_context): Declare.
11284 (__makecontext_ret): Delete.
11285 (__makecontext): Hook up __start_context instead of
11287 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11288 (sysdep_routines): Add __start_context when in stdlib.
11290 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11292 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11293 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11294 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11296 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11297 (READELF): New variable. Use it instead of hardcoded "readelf".
11299 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11301 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11302 * sysdeps/x86/Makefile: Here.
11303 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11304 * sysdeps/x86/tst-xmmymm.sh: This.
11306 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11308 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11310 [UNIX98] (pthread_barrier_t): Do not expect.
11311 [UNIX98] (pthread_barrierattr_t): Likewise.
11312 [UNIX98] (pthread_spinlock_t): Likewise.
11313 [UNIX98] (pthread_barrier_destroy): Likewise.
11314 [UNIX98] (pthread_barrier_init): Likewise.
11315 [UNIX98] (pthread_barrier_wait): Likewise.
11316 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11317 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11318 [UNIX98] (pthread_barrierattr_init): Likewise.
11319 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11320 [UNIX98] (pthread_getcpuclockid): Likewise.
11321 [UNIX98] (pthread_mutex_timedlock): Likewise.
11322 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11323 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11324 [UNIX98] (pthread_sigmask): Likewise.
11325 [UNIX98] (pthread_spin_destroy): Likewise.
11326 [UNIX98] (pthread_spin_init): Likewise.
11327 [UNIX98] (pthread_spin_lock): Likewise.
11328 [UNIX98] (pthread_spin_trylock): Likewise.
11329 [UNIX98] (pthread_spin_unlock): Likewise.
11330 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11332 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11333 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11334 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11335 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11336 [XPG3 || XPG4] (pthread_key_t): Likewise.
11337 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11338 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11339 [XPG3 || XPG4] (pthread_once_t): Likewise.
11340 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11341 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11342 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11343 [XPG3 || XPG4] (pthread_t): Likewise.
11345 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11347 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11349 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11350 Change function return type to int.
11352 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11353 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11354 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11355 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11356 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11357 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11358 [!POSIX] (posix_madvise): Likewise.
11359 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11361 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11362 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11363 (mode_t): Likewise.
11364 (posix_mem_offset): Likewise.
11365 (posix_typed_mem_get_info): Likewise.
11366 (posix_typed_mem_open): Likewise.
11368 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11369 Change condition to [XOPEN2K8].
11371 * conform/conformtest.pl: Preprocess allow-header data with -x c
11372 instead of from stdin.
11373 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11374 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11375 [C99-based standards] (cerfc): Likewise.
11376 [C99-based standards] (cexp2): Likewise.
11377 [C99-based standards] (cexpm1): Likewise.
11378 [C99-based standards] (clog10): Likewise.
11379 [C99-based standards] (clog1p): Likewise.
11380 [C99-based standards] (clog2): Likewise.
11381 [C99-based standards] (clgamma): Likewise.
11382 [C99-based standards] (ctgamma): Likewise.
11383 [C99-based standards] (cerff): Likewise.
11384 [C99-based standards] (cerfcf): Likewise.
11385 [C99-based standards] (cexp2f): Likewise.
11386 [C99-based standards] (cexpm1f): Likewise.
11387 [C99-based standards] (clog10f): Likewise.
11388 [C99-based standards] (clog1pf): Likewise.
11389 [C99-based standards] (clog2f): Likewise.
11390 [C99-based standards] (clgammaf): Likewise.
11391 [C99-based standards] (ctgammaf): Likewise.
11392 [C99-based standards] (cerfl): Likewise.
11393 [C99-based standards] (cerfcl): Likewise.
11394 [C99-based standards] (cexp2l): Likewise.
11395 [C99-based standards] (cexpm1l): Likewise.
11396 [C99-based standards] (clog10l): Likewise.
11397 [C99-based standards] (clog1pl): Likewise.
11398 [C99-based standards] (clog2l): Likewise.
11399 [C99-based standards] (clgammal): Likewise.
11400 [C99-based standards] (ctgammal): Likewise.
11401 * conform/data/inttypes.h-data [C99-based standards]: Include
11402 stdint.h-data. Remove all expectations for stdint.h contents.
11403 [C99-based standards] (PRI*): Do not allow.
11404 [C99-based standards] (SCN*): Likewise.
11405 [C99-based standards] (*_t): Likewise.
11406 [C99-based-standards] (PRId8): Expect macro.
11407 [C99-based-standards] (PRIi8): Likewise.
11408 [C99-based-standards] (PRIo8): Likewise.
11409 [C99-based-standards] (PRIu8): Likewise.
11410 [C99-based-standards] (PRIx8): Likewise.
11411 [C99-based-standards] (PRIX8): Likewise.
11412 [C99-based-standards] (SCNd8): Likewise.
11413 [C99-based-standards] (SCNi8): Likewise.
11414 [C99-based-standards] (SCNo8): Likewise.
11415 [C99-based-standards] (SCNu8): Likewise.
11416 [C99-based-standards] (SCNx8): Likewise.
11417 [C99-based-standards] (PRIdLEAST8): Likewise.
11418 [C99-based-standards] (PRIiLEAST8): Likewise.
11419 [C99-based-standards] (PRIoLEAST8): Likewise.
11420 [C99-based-standards] (PRIuLEAST8): Likewise.
11421 [C99-based-standards] (PRIxLEAST8): Likewise.
11422 [C99-based-standards] (PRIXLEAST8): Likewise.
11423 [C99-based-standards] (SCNdLEAST8): Likewise.
11424 [C99-based-standards] (SCNiLEAST8): Likewise.
11425 [C99-based-standards] (SCNoLEAST8): Likewise.
11426 [C99-based-standards] (SCNuLEAST8): Likewise.
11427 [C99-based-standards] (SCNxLEAST8): Likewise.
11428 [C99-based-standards] (PRIdFAST8): Likewise.
11429 [C99-based-standards] (PRIiFAST8): Likewise.
11430 [C99-based-standards] (PRIoFAST8): Likewise.
11431 [C99-based-standards] (PRIuFAST8): Likewise.
11432 [C99-based-standards] (PRIxFAST8): Likewise.
11433 [C99-based-standards] (PRIXFAST8): Likewise.
11434 [C99-based-standards] (SCNdFAST8): Likewise.
11435 [C99-based-standards] (SCNiFAST8): Likewise.
11436 [C99-based-standards] (SCNoFAST8): Likewise.
11437 [C99-based-standards] (SCNuFAST8): Likewise.
11438 [C99-based-standards] (SCNxFAST8): Likewise.
11439 [C99-based-standards] (PRId16): Likewise.
11440 [C99-based-standards] (PRIi16): Likewise.
11441 [C99-based-standards] (PRIo16): Likewise.
11442 [C99-based-standards] (PRIu16): Likewise.
11443 [C99-based-standards] (PRIx16): Likewise.
11444 [C99-based-standards] (PRIX16): Likewise.
11445 [C99-based-standards] (SCNd16): Likewise.
11446 [C99-based-standards] (SCNi16): Likewise.
11447 [C99-based-standards] (SCNo16): Likewise.
11448 [C99-based-standards] (SCNu16): Likewise.
11449 [C99-based-standards] (SCNx16): Likewise.
11450 [C99-based-standards] (PRIdLEAST16): Likewise.
11451 [C99-based-standards] (PRIiLEAST16): Likewise.
11452 [C99-based-standards] (PRIoLEAST16): Likewise.
11453 [C99-based-standards] (PRIuLEAST16): Likewise.
11454 [C99-based-standards] (PRIxLEAST16): Likewise.
11455 [C99-based-standards] (PRIXLEAST16): Likewise.
11456 [C99-based-standards] (SCNdLEAST16): Likewise.
11457 [C99-based-standards] (SCNiLEAST16): Likewise.
11458 [C99-based-standards] (SCNoLEAST16): Likewise.
11459 [C99-based-standards] (SCNuLEAST16): Likewise.
11460 [C99-based-standards] (SCNxLEAST16): Likewise.
11461 [C99-based-standards] (PRIdFAST16): Likewise.
11462 [C99-based-standards] (PRIiFAST16): Likewise.
11463 [C99-based-standards] (PRIoFAST16): Likewise.
11464 [C99-based-standards] (PRIuFAST16): Likewise.
11465 [C99-based-standards] (PRIxFAST16): Likewise.
11466 [C99-based-standards] (PRIXFAST16): Likewise.
11467 [C99-based-standards] (SCNdFAST16): Likewise.
11468 [C99-based-standards] (SCNiFAST16): Likewise.
11469 [C99-based-standards] (SCNoFAST16): Likewise.
11470 [C99-based-standards] (SCNuFAST16): Likewise.
11471 [C99-based-standards] (SCNxFAST16): Likewise.
11472 [C99-based-standards] (PRId32): Likewise.
11473 [C99-based-standards] (PRIi32): Likewise.
11474 [C99-based-standards] (PRIo32): Likewise.
11475 [C99-based-standards] (PRIu32): Likewise.
11476 [C99-based-standards] (PRIx32): Likewise.
11477 [C99-based-standards] (PRIX32): Likewise.
11478 [C99-based-standards] (SCNd32): Likewise.
11479 [C99-based-standards] (SCNi32): Likewise.
11480 [C99-based-standards] (SCNo32): Likewise.
11481 [C99-based-standards] (SCNu32): Likewise.
11482 [C99-based-standards] (SCNx32): Likewise.
11483 [C99-based-standards] (PRIdLEAST32): Likewise.
11484 [C99-based-standards] (PRIiLEAST32): Likewise.
11485 [C99-based-standards] (PRIoLEAST32): Likewise.
11486 [C99-based-standards] (PRIuLEAST32): Likewise.
11487 [C99-based-standards] (PRIxLEAST32): Likewise.
11488 [C99-based-standards] (PRIXLEAST32): Likewise.
11489 [C99-based-standards] (SCNdLEAST32): Likewise.
11490 [C99-based-standards] (SCNiLEAST32): Likewise.
11491 [C99-based-standards] (SCNoLEAST32): Likewise.
11492 [C99-based-standards] (SCNuLEAST32): Likewise.
11493 [C99-based-standards] (SCNxLEAST32): Likewise.
11494 [C99-based-standards] (PRIdFAST32): Likewise.
11495 [C99-based-standards] (PRIiFAST32): Likewise.
11496 [C99-based-standards] (PRIoFAST32): Likewise.
11497 [C99-based-standards] (PRIuFAST32): Likewise.
11498 [C99-based-standards] (PRIxFAST32): Likewise.
11499 [C99-based-standards] (PRIXFAST32): Likewise.
11500 [C99-based-standards] (SCNdFAST32): Likewise.
11501 [C99-based-standards] (SCNiFAST32): Likewise.
11502 [C99-based-standards] (SCNoFAST32): Likewise.
11503 [C99-based-standards] (SCNuFAST32): Likewise.
11504 [C99-based-standards] (SCNxFAST32): Likewise.
11505 [C99-based-standards] (PRId64): Likewise.
11506 [C99-based-standards] (PRIi64): Likewise.
11507 [C99-based-standards] (PRIo64): Likewise.
11508 [C99-based-standards] (PRIu64): Likewise.
11509 [C99-based-standards] (PRIx64): Likewise.
11510 [C99-based-standards] (PRIX64): Likewise.
11511 [C99-based-standards] (SCNd64): Likewise.
11512 [C99-based-standards] (SCNi64): Likewise.
11513 [C99-based-standards] (SCNo64): Likewise.
11514 [C99-based-standards] (SCNu64): Likewise.
11515 [C99-based-standards] (SCNx64): Likewise.
11516 [C99-based-standards] (PRIdLEAST64): Likewise.
11517 [C99-based-standards] (PRIiLEAST64): Likewise.
11518 [C99-based-standards] (PRIoLEAST64): Likewise.
11519 [C99-based-standards] (PRIuLEAST64): Likewise.
11520 [C99-based-standards] (PRIxLEAST64): Likewise.
11521 [C99-based-standards] (PRIXLEAST64): Likewise.
11522 [C99-based-standards] (SCNdLEAST64): Likewise.
11523 [C99-based-standards] (SCNiLEAST64): Likewise.
11524 [C99-based-standards] (SCNoLEAST64): Likewise.
11525 [C99-based-standards] (SCNuLEAST64): Likewise.
11526 [C99-based-standards] (SCNxLEAST64): Likewise.
11527 [C99-based-standards] (PRIdFAST64): Likewise.
11528 [C99-based-standards] (PRIiFAST64): Likewise.
11529 [C99-based-standards] (PRIoFAST64): Likewise.
11530 [C99-based-standards] (PRIuFAST64): Likewise.
11531 [C99-based-standards] (PRIxFAST64): Likewise.
11532 [C99-based-standards] (PRIXFAST64): Likewise.
11533 [C99-based-standards] (SCNdFAST64): Likewise.
11534 [C99-based-standards] (SCNiFAST64): Likewise.
11535 [C99-based-standards] (SCNoFAST64): Likewise.
11536 [C99-based-standards] (SCNuFAST64): Likewise.
11537 [C99-based-standards] (SCNxFAST64): Likewise.
11538 [C99-based-standards] (PRIdMAX): Likewise.
11539 [C99-based-standards] (PRIiMAX): Likewise.
11540 [C99-based-standards] (PRIoMAX): Likewise.
11541 [C99-based-standards] (PRIuMAX): Likewise.
11542 [C99-based-standards] (PRIxMAX): Likewise.
11543 [C99-based-standards] (PRIXMAX): Likewise.
11544 [C99-based-standards] (SCNdMAX): Likewise.
11545 [C99-based-standards] (SCNiMAX): Likewise.
11546 [C99-based-standards] (SCNoMAX): Likewise.
11547 [C99-based-standards] (SCNuMAX): Likewise.
11548 [C99-based-standards] (SCNxMAX): Likewise.
11549 [C99-based-standards] (PRIdPTR): Likewise.
11550 [C99-based-standards] (PRIiPTR): Likewise.
11551 [C99-based-standards] (PRIoPTR): Likewise.
11552 [C99-based-standards] (PRIuPTR): Likewise.
11553 [C99-based-standards] (PRIxPTR): Likewise.
11554 [C99-based-standards] (PRIXPTR): Likewise.
11555 [C99-based-standards] (SCNdPTR): Likewise.
11556 [C99-based-standards] (SCNiPTR): Likewise.
11557 [C99-based-standards] (SCNoPTR): Likewise.
11558 [C99-based-standards] (SCNuPTR): Likewise.
11559 [C99-based-standards] (SCNxPTR): Likewise.
11560 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11562 * conform/data/stdint.h-data: Update comments to clarify
11564 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11566 [C99-based standards] (INT8_MAX): Likewise.
11567 [C99-based standards] (INT16_MIN): Likewise.
11568 [C99-based standards] (INT16_MAX): Likewise.
11569 [C99-based standards] (INT32_MIN): Likewise.
11570 [C99-based standards] (INT32_MAX): Likewise.
11571 [C99-based standards] (INT64_MIN): Likewise.
11572 [C99-based standards] (INT64_MAX): Likewise.
11573 [C99-based standards] (UINT8_MAX): Likewise.
11574 [C99-based standards] (UINT16_MAX): Likewise.
11575 [C99-based standards] (UINT32_MAX): Likewise.
11576 [C99-based standards] (UINT64_MAX): Likewise.
11577 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11578 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11579 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11580 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11581 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11582 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11583 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11584 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11585 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11586 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11587 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11588 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11589 [C99-based standards] (INT_FAST8_MIN): Likewise.
11590 [C99-based standards] (INT_FAST8_MAX): Likewise.
11591 [C99-based standards] (INT_FAST16_MIN): Likewise.
11592 [C99-based standards] (INT_FAST16_MAX): Likewise.
11593 [C99-based standards] (INT_FAST32_MIN): Likewise.
11594 [C99-based standards] (INT_FAST32_MAX): Likewise.
11595 [C99-based standards] (INT_FAST64_MIN): Likewise.
11596 [C99-based standards] (INT_FAST64_MAX): Likewise.
11597 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11598 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11599 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11600 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11601 [C99-based standards] (INTPTR_MIN): Likewise.
11602 [C99-based standards] (INTPTR_MAX): Likewise.
11603 [C99-based standards] (UINTPTR_MAX): Likewise.
11604 [C99-based standards] (INTMAX_MIN): Likewise.
11605 [C99-based standards] (INTMAX_MAX): Likewise.
11606 [C99-based standards] (UINTMAX_MAX): Likewise.
11607 [C99-based standards] (PTRDIFF_MIN): Likewise.
11608 [C99-based standards] (PTRDIFF_MAX): Likewise.
11609 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11610 [C99-based standards] (SIZE_MAX): Likewise.
11611 [C99-based standards] (WCHAR_MAX): Likewise.
11612 [C99-based standards] (WINT_MAX): Likewise.
11613 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11614 constraint on value.
11615 [C99-based standards] (WCHAR_MIN): Likewise.
11616 [C99-based standards] (WINT_MIN): Likewise.
11617 [C99-based standards] (*_t): Allow.
11618 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11619 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11620 Include math.h-data and complex.h-data. Remove all expectations
11621 of math.h and complex.h contents.
11622 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11624 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11625 (struct tm): Expect tag.
11626 [C99-based-standards] (wcstof): Expect function.
11627 [C99-based-standards] (wcstold): Likewise.
11628 [C99-based-standards] (wcstoll): Likewise.
11629 [C99-based-standards] (wcstoull): Likewise.
11630 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11631 macro-int-constant. Specify type.
11632 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11633 constraint on value.
11634 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11636 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11638 [ISO C standards]: Do not allow headers.
11639 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11640 wcs[abcdefghijklmnopqrstuvwxyz]*.
11641 [ISO C standards] (*_t): Do not allow.
11642 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11644 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11645 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11647 [ISO C standards]: Do not allow headers.
11648 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11649 is[abcdefghijklmnopqrstuvwxyz]*.
11650 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11651 to[abcdefghijklmnopqrstuvwxyz]*.
11652 [ISO C standards] (*_t): Do not allow.
11653 * conform/data/stdalign.h-data: New file.
11654 * conform/data/stdbool.h-data: Likewise.
11655 * conform/data/stdnoreturn.h-data: Likewise.
11657 2012-11-07 Roland McGrath <roland@hack.frob.com>
11660 * manual/filesys.texi (Directory Entries): Typo fix.
11661 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11663 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11665 * elf/elf.h (EM_AARCH64): New macro.
11666 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11667 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11668 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11669 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11670 (R_AARCH64_TLSDESC): Likewise.
11671 (NT_ARM_TLS): Likewise.
11672 (NT_ARM_HW_BREAK): Likewise.
11673 (NT_ARM_HW_WATCH): Likewise.
11675 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11678 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11679 (__ieee754_powl): Saturate nonzero exponents with absolute value
11680 below 0x1p-79 to +/- 0x1p-79.
11681 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11682 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11683 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11684 nonzero exponents with absolute value below 0x1p-32 to +/-
11686 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11687 (__ieee754_powl): Saturate nonzero exponents with absolute value
11688 below 0x1p-79 to +/- 0x1p-79.
11689 * math/libm-test.inc (pow_test): Add more tests.
11691 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11693 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11694 _dl_s390_cap_flags with kernel. Increase string length.
11695 (_dl_s390_platforms): Add z196 and zEC12.
11697 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11699 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11700 Change XOPEN21K to XOPEN2K.
11702 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11704 * string/memmove.c: Use memcpy when possible.
11706 2012-11-06 Andreas Jaeger <aj@suse.de>
11708 * po/eo.po: Update from translation team.
11710 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11714 exponent and small x and y exponents, scale x or y up. Increase
11715 by 2 the exponent used in scaling up.
11716 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11717 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11718 * math/libm-test.inc (fma_test): Add more tests.
11719 (fma_test_towardzero): Likewise.
11720 (fma_test_downward): Likewise.
11721 (fma_test_upward): Likewise.
11723 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11726 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11730 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11731 namespace for names of struct fields.
11732 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11734 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11735 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11737 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11740 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11742 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11744 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11748 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11751 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11755 definitely overflow as x * y not x * y + z.
11756 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11757 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11758 * math/libm-test.inc (fma_test): Add more tests.
11759 (fma_test_towardzero): Likewise.
11760 (fma_test_downward): Likewise.
11761 (fma_test_upward): Likewise.
11763 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11767 * include/stub-tag.h: Remove file.
11768 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11770 * manual/maint.texi (Porting): Don't reference it.
11771 * Makerules ($(objpfx)stubs): Likewise.
11772 * dirent/closedir.c: Don't include <stub-tag.h>.
11773 * dirent/dirfd.c: Likewise.
11774 * dirent/fdopendir.c: Likewise.
11775 * dirent/getdents.c: Likewise.
11776 * dirent/getdents64.c: Likewise.
11777 * dirent/opendir.c: Likewise.
11778 * dirent/readdir.c: Likewise.
11779 * dirent/readdir64.c: Likewise.
11780 * dirent/readdir64_r.c: Likewise.
11781 * dirent/readdir_r.c: Likewise.
11782 * dirent/rewinddir.c: Likewise.
11783 * dirent/seekdir.c: Likewise.
11784 * dirent/telldir.c: Likewise.
11785 * gmon/profil.c: Likewise.
11786 * grp/setgroups.c: Likewise.
11787 * inet/if_index.c: Likewise.
11788 * io/access.c: Likewise.
11789 * io/chdir.c: Likewise.
11790 * io/chmod.c: Likewise.
11791 * io/chown.c: Likewise.
11792 * io/close.c: Likewise.
11793 * io/dup.c: Likewise.
11794 * io/dup2.c: Likewise.
11795 * io/dup3.c: Likewise.
11796 * io/euidaccess.c: Likewise.
11797 * io/faccessat.c: Likewise.
11798 * io/fchdir.c: Likewise.
11799 * io/fchmod.c: Likewise.
11800 * io/fchmodat.c: Likewise.
11801 * io/fchown.c: Likewise.
11802 * io/fchownat.c: Likewise.
11803 * io/fcntl.c: Likewise.
11804 * io/flock.c: Likewise.
11805 * io/fstatfs.c: Likewise.
11806 * io/fstatfs64.c: Likewise.
11807 * io/fstatvfs.c: Likewise.
11808 * io/fstatvfs64.c: Likewise.
11809 * io/futimens.c: Likewise.
11810 * io/fxstat.c: Likewise.
11811 * io/fxstat64.c: Likewise.
11812 * io/fxstatat.c: Likewise.
11813 * io/fxstatat64.c: Likewise.
11814 * io/getcwd.c: Likewise.
11815 * io/isatty.c: Likewise.
11816 * io/lchmod.c: Likewise.
11817 * io/lchown.c: Likewise.
11818 * io/link.c: Likewise.
11819 * io/linkat.c: Likewise.
11820 * io/lseek.c: Likewise.
11821 * io/lseek64.c: Likewise.
11822 * io/lxstat64.c: Likewise.
11823 * io/mkdir.c: Likewise.
11824 * io/mkdirat.c: Likewise.
11825 * io/mkfifo.c: Likewise.
11826 * io/mkfifoat.c: Likewise.
11827 * io/open.c: Likewise.
11828 * io/open64.c: Likewise.
11829 * io/openat.c: Likewise.
11830 * io/openat64.c: Likewise.
11831 * io/pipe.c: Likewise.
11832 * io/pipe2.c: Likewise.
11833 * io/poll.c: Likewise.
11834 * io/posix_fadvise.c: Likewise.
11835 * io/posix_fadvise64.c: Likewise.
11836 * io/posix_fallocate.c: Likewise.
11837 * io/posix_fallocate64.c: Likewise.
11838 * io/read.c: Likewise.
11839 * io/readlink.c: Likewise.
11840 * io/readlinkat.c: Likewise.
11841 * io/rmdir.c: Likewise.
11842 * io/sendfile.c: Likewise.
11843 * io/sendfile64.c: Likewise.
11844 * io/statfs.c: Likewise.
11845 * io/statfs64.c: Likewise.
11846 * io/statvfs.c: Likewise.
11847 * io/statvfs64.c: Likewise.
11848 * io/symlink.c: Likewise.
11849 * io/symlinkat.c: Likewise.
11850 * io/ttyname.c: Likewise.
11851 * io/ttyname_r.c: Likewise.
11852 * io/umask.c: Likewise.
11853 * io/unlink.c: Likewise.
11854 * io/unlinkat.c: Likewise.
11855 * io/utime.c: Likewise.
11856 * io/utimensat.c: Likewise.
11857 * io/write.c: Likewise.
11858 * io/xmknod.c: Likewise.
11859 * io/xmknodat.c: Likewise.
11860 * io/xstat.c: Likewise.
11861 * io/xstat64.c: Likewise.
11862 * login/getpt.c: Likewise.
11863 * login/grantpt.c: Likewise.
11864 * login/unlockpt.c: Likewise.
11865 * math/e_acoshl.c: Likewise.
11866 * math/e_acosl.c: Likewise.
11867 * math/e_asinl.c: Likewise.
11868 * math/e_atan2l.c: Likewise.
11869 * math/e_atanhl.c: Likewise.
11870 * math/e_coshl.c: Likewise.
11871 * math/e_expl.c: Likewise.
11872 * math/e_fmodl.c: Likewise.
11873 * math/e_gammal_r.c: Likewise.
11874 * math/e_hypotl.c: Likewise.
11875 * math/e_j0l.c: Likewise.
11876 * math/e_j1l.c: Likewise.
11877 * math/e_jnl.c: Likewise.
11878 * math/e_lgammal_r.c: Likewise.
11879 * math/e_log10l.c: Likewise.
11880 * math/e_log2l.c: Likewise.
11881 * math/e_logl.c: Likewise.
11882 * math/e_powl.c: Likewise.
11883 * math/e_rem_pio2l.c: Likewise.
11884 * math/e_sinhl.c: Likewise.
11885 * math/e_sqrtl.c: Likewise.
11886 * math/fclrexcpt.c: Likewise.
11887 * math/fedisblxcpt.c: Likewise.
11888 * math/feenablxcpt.c: Likewise.
11889 * math/fegetenv.c: Likewise.
11890 * math/fegetexcept.c: Likewise.
11891 * math/fegetround.c: Likewise.
11892 * math/feholdexcpt.c: Likewise.
11893 * math/fesetenv.c: Likewise.
11894 * math/fesetround.c: Likewise.
11895 * math/feupdateenv.c: Likewise.
11896 * math/fgetexcptflg.c: Likewise.
11897 * math/fraiseexcpt.c: Likewise.
11898 * math/fsetexcptflg.c: Likewise.
11899 * math/ftestexcept.c: Likewise.
11900 * math/k_cosl.c: Likewise.
11901 * math/k_rem_pio2l.c: Likewise.
11902 * math/k_sinl.c: Likewise.
11903 * math/k_tanl.c: Likewise.
11904 * math/s_asinhl.c: Likewise.
11905 * math/s_atanl.c: Likewise.
11906 * math/s_cbrtl.c: Likewise.
11907 * math/s_erfl.c: Likewise.
11908 * math/s_expm1l.c: Likewise.
11909 * math/s_log1pl.c: Likewise.
11910 * math/s_tanhl.c: Likewise.
11911 * misc/acct.c: Likewise.
11912 * misc/brk.c: Likewise.
11913 * misc/chflags.c: Likewise.
11914 * misc/chroot.c: Likewise.
11915 * misc/fchflags.c: Likewise.
11916 * misc/fgetxattr.c: Likewise.
11917 * misc/flistxattr.c: Likewise.
11918 * misc/fremovexattr.c: Likewise.
11919 * misc/fsetxattr.c: Likewise.
11920 * misc/fsync.c: Likewise.
11921 * misc/ftruncate.c: Likewise.
11922 * misc/futimes.c: Likewise.
11923 * misc/futimesat.c: Likewise.
11924 * misc/getdomain.c: Likewise.
11925 * misc/getdtsz.c: Likewise.
11926 * misc/gethostid.c: Likewise.
11927 * misc/gethostname.c: Likewise.
11928 * misc/getloadavg.c: Likewise.
11929 * misc/getpagesize.c: Likewise.
11930 * misc/getsysstats.c: Likewise.
11931 * misc/getxattr.c: Likewise.
11932 * misc/gtty.c: Likewise.
11933 * misc/ioctl.c: Likewise.
11934 * misc/lgetxattr.c: Likewise.
11935 * misc/listxattr.c: Likewise.
11936 * misc/llistxattr.c: Likewise.
11937 * misc/lremovexattr.c: Likewise.
11938 * misc/lsetxattr.c: Likewise.
11939 * misc/lutimes.c: Likewise.
11940 * misc/madvise.c: Likewise.
11941 * misc/mincore.c: Likewise.
11942 * misc/mlock.c: Likewise.
11943 * misc/mlockall.c: Likewise.
11944 * misc/mmap.c: Likewise.
11945 * misc/mprotect.c: Likewise.
11946 * misc/msync.c: Likewise.
11947 * misc/munlock.c: Likewise.
11948 * misc/munlockall.c: Likewise.
11949 * misc/munmap.c: Likewise.
11950 * misc/preadv.c: Likewise.
11951 * misc/preadv64.c: Likewise.
11952 * misc/ptrace.c: Likewise.
11953 * misc/pwritev.c: Likewise.
11954 * misc/pwritev64.c: Likewise.
11955 * misc/readv.c: Likewise.
11956 * misc/reboot.c: Likewise.
11957 * misc/remap_file_pages.c: Likewise.
11958 * misc/removexattr.c: Likewise.
11959 * misc/revoke.c: Likewise.
11960 * misc/select.c: Likewise.
11961 * misc/setdomain.c: Likewise.
11962 * misc/setegid.c: Likewise.
11963 * misc/seteuid.c: Likewise.
11964 * misc/sethostid.c: Likewise.
11965 * misc/sethostname.c: Likewise.
11966 * misc/setregid.c: Likewise.
11967 * misc/setreuid.c: Likewise.
11968 * misc/setxattr.c: Likewise.
11969 * misc/sstk.c: Likewise.
11970 * misc/stty.c: Likewise.
11971 * misc/swapoff.c: Likewise.
11972 * misc/swapon.c: Likewise.
11973 * misc/sync.c: Likewise.
11974 * misc/syncfs.c: Likewise.
11975 * misc/syscall.c: Likewise.
11976 * misc/truncate.c: Likewise.
11977 * misc/ualarm.c: Likewise.
11978 * misc/usleep.c: Likewise.
11979 * misc/ustat.c: Likewise.
11980 * misc/utimes.c: Likewise.
11981 * misc/vhangup.c: Likewise.
11982 * misc/writev.c: Likewise.
11983 * posix/_exit.c: Likewise.
11984 * posix/alarm.c: Likewise.
11985 * posix/execve.c: Likewise.
11986 * posix/fexecve.c: Likewise.
11987 * posix/fork.c: Likewise.
11988 * posix/fpathconf.c: Likewise.
11989 * posix/getaddrinfo.c: Likewise.
11990 * posix/getegid.c: Likewise.
11991 * posix/geteuid.c: Likewise.
11992 * posix/getgid.c: Likewise.
11993 * posix/getgroups.c: Likewise.
11994 * posix/getlogin.c: Likewise.
11995 * posix/getlogin_r.c: Likewise.
11996 * posix/getpgid.c: Likewise.
11997 * posix/getpid.c: Likewise.
11998 * posix/getppid.c: Likewise.
11999 * posix/getresgid.c: Likewise.
12000 * posix/getresuid.c: Likewise.
12001 * posix/getsid.c: Likewise.
12002 * posix/getuid.c: Likewise.
12003 * posix/glob64.c: Likewise.
12004 * posix/nanosleep.c: Likewise.
12005 * posix/pathconf.c: Likewise.
12006 * posix/pause.c: Likewise.
12007 * posix/posix_madvise.c: Likewise.
12008 * posix/pread.c: Likewise.
12009 * posix/pread64.c: Likewise.
12010 * posix/pwrite.c: Likewise.
12011 * posix/pwrite64.c: Likewise.
12012 * posix/sched_getaffinity.c: Likewise.
12013 * posix/sched_getp.c: Likewise.
12014 * posix/sched_gets.c: Likewise.
12015 * posix/sched_primax.c: Likewise.
12016 * posix/sched_primin.c: Likewise.
12017 * posix/sched_rr_gi.c: Likewise.
12018 * posix/sched_setaffinity.c: Likewise.
12019 * posix/sched_setp.c: Likewise.
12020 * posix/sched_sets.c: Likewise.
12021 * posix/sched_yield.c: Likewise.
12022 * posix/setgid.c: Likewise.
12023 * posix/setlogin.c: Likewise.
12024 * posix/setpgid.c: Likewise.
12025 * posix/setresgid.c: Likewise.
12026 * posix/setresuid.c: Likewise.
12027 * posix/setsid.c: Likewise.
12028 * posix/setuid.c: Likewise.
12029 * posix/sleep.c: Likewise.
12030 * posix/spawni.c: Likewise.
12031 * posix/sysconf.c: Likewise.
12032 * posix/times.c: Likewise.
12033 * posix/wait.c: Likewise.
12034 * posix/wait3.c: Likewise.
12035 * posix/wait4.c: Likewise.
12036 * posix/waitpid.c: Likewise.
12037 * resolv/gai_sigqueue.c: Likewise.
12038 * resource/getpriority.c: Likewise.
12039 * resource/getrlimit.c: Likewise.
12040 * resource/getrusage.c: Likewise.
12041 * resource/nice.c: Likewise.
12042 * resource/setpriority.c: Likewise.
12043 * resource/setrlimit.c: Likewise.
12044 * resource/ulimit.c: Likewise.
12045 * rt/aio_cancel.c: Likewise.
12046 * rt/aio_fsync.c: Likewise.
12047 * rt/aio_read.c: Likewise.
12048 * rt/aio_sigqueue.c: Likewise.
12049 * rt/aio_suspend.c: Likewise.
12050 * rt/aio_write.c: Likewise.
12051 * rt/clock_getres.c: Likewise.
12052 * rt/clock_gettime.c: Likewise.
12053 * rt/clock_nanosleep.c: Likewise.
12054 * rt/clock_settime.c: Likewise.
12055 * rt/lio_listio.c: Likewise.
12056 * rt/mq_close.c: Likewise.
12057 * rt/mq_getattr.c: Likewise.
12058 * rt/mq_notify.c: Likewise.
12059 * rt/mq_open.c: Likewise.
12060 * rt/mq_receive.c: Likewise.
12061 * rt/mq_send.c: Likewise.
12062 * rt/mq_setattr.c: Likewise.
12063 * rt/mq_timedreceive.c: Likewise.
12064 * rt/mq_timedsend.c: Likewise.
12065 * rt/mq_unlink.c: Likewise.
12066 * rt/shm_open.c: Likewise.
12067 * rt/shm_unlink.c: Likewise.
12068 * rt/timer_create.c: Likewise.
12069 * rt/timer_delete.c: Likewise.
12070 * rt/timer_getoverr.c: Likewise.
12071 * rt/timer_gettime.c: Likewise.
12072 * rt/timer_settime.c: Likewise.
12073 * setjmp/__longjmp.c: Likewise.
12074 * setjmp/setjmp.c: Likewise.
12075 * signal/kill.c: Likewise.
12076 * signal/killpg.c: Likewise.
12077 * signal/raise.c: Likewise.
12078 * signal/sigaction.c: Likewise.
12079 * signal/sigaltstack.c: Likewise.
12080 * signal/sigblock.c: Likewise.
12081 * signal/sigignore.c: Likewise.
12082 * signal/sigintr.c: Likewise.
12083 * signal/signal.c: Likewise.
12084 * signal/sigpause.c: Likewise.
12085 * signal/sigpending.c: Likewise.
12086 * signal/sigqueue.c: Likewise.
12087 * signal/sigreturn.c: Likewise.
12088 * signal/sigset.c: Likewise.
12089 * signal/sigsetmask.c: Likewise.
12090 * signal/sigstack.c: Likewise.
12091 * signal/sigsuspend.c: Likewise.
12092 * signal/sigtimedwait.c: Likewise.
12093 * signal/sigvec.c: Likewise.
12094 * signal/sigwait.c: Likewise.
12095 * signal/sigwaitinfo.c: Likewise.
12096 * signal/sysv_signal.c: Likewise.
12097 * socket/accept.c: Likewise.
12098 * socket/accept4.c: Likewise.
12099 * socket/bind.c: Likewise.
12100 * socket/connect.c: Likewise.
12101 * socket/getpeername.c: Likewise.
12102 * socket/getsockname.c: Likewise.
12103 * socket/getsockopt.c: Likewise.
12104 * socket/isfdtype.c: Likewise.
12105 * socket/listen.c: Likewise.
12106 * socket/recv.c: Likewise.
12107 * socket/recvfrom.c: Likewise.
12108 * socket/recvmsg.c: Likewise.
12109 * socket/send.c: Likewise.
12110 * socket/sendmsg.c: Likewise.
12111 * socket/sendto.c: Likewise.
12112 * socket/setsockopt.c: Likewise.
12113 * socket/shutdown.c: Likewise.
12114 * socket/sockatmark.c: Likewise.
12115 * socket/socket.c: Likewise.
12116 * socket/socketpair.c: Likewise.
12117 * stdio-common/ctermid.c: Likewise.
12118 * stdio-common/cuserid.c: Likewise.
12119 * stdio-common/remove.c: Likewise.
12120 * stdio-common/rename.c: Likewise.
12121 * stdio-common/renameat.c: Likewise.
12122 * stdio-common/tempname.c: Likewise.
12123 * stdlib/getcontext.c: Likewise.
12124 * stdlib/makecontext.c: Likewise.
12125 * stdlib/setcontext.c: Likewise.
12126 * stdlib/swapcontext.c: Likewise.
12127 * stdlib/system.c: Likewise.
12128 * streams/fattach.c: Likewise.
12129 * streams/fdetach.c: Likewise.
12130 * streams/getmsg.c: Likewise.
12131 * streams/getpmsg.c: Likewise.
12132 * streams/putmsg.c: Likewise.
12133 * streams/putpmsg.c: Likewise.
12134 * sysdeps/unix/bsd/getpt.c: Likewise.
12135 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12136 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12137 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12140 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12141 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12142 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12143 * sysvipc/msgctl.c: Likewise.
12144 * sysvipc/msgget.c: Likewise.
12145 * sysvipc/msgrcv.c: Likewise.
12146 * sysvipc/msgsnd.c: Likewise.
12147 * sysvipc/semctl.c: Likewise.
12148 * sysvipc/semget.c: Likewise.
12149 * sysvipc/semop.c: Likewise.
12150 * sysvipc/semtimedop.c: Likewise.
12151 * sysvipc/shmat.c: Likewise.
12152 * sysvipc/shmctl.c: Likewise.
12153 * sysvipc/shmdt.c: Likewise.
12154 * sysvipc/shmget.c: Likewise.
12155 * termios/tcdrain.c: Likewise.
12156 * termios/tcflow.c: Likewise.
12157 * termios/tcflush.c: Likewise.
12158 * termios/tcgetattr.c: Likewise.
12159 * termios/tcgetpgrp.c: Likewise.
12160 * termios/tcsendbrk.c: Likewise.
12161 * termios/tcsetattr.c: Likewise.
12162 * termios/tcsetpgrp.c: Likewise.
12163 * time/adjtime.c: Likewise.
12164 * time/clock.c: Likewise.
12165 * time/getitimer.c: Likewise.
12166 * time/gettimeofday.c: Likewise.
12167 * time/setitimer.c: Likewise.
12168 * time/settimeofday.c: Likewise.
12169 * time/stime.c: Likewise.
12170 * time/time.c: Likewise.
12172 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
12174 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12177 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12179 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12181 2012-11-03 Joseph Myers <joseph@codesourcery.com>
12184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12185 FE_TONEAREST before applying Dekker multiplication and Knuth
12186 addition. Clear inexact exceptions and check for exact zero
12187 results afterwards.
12188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12189 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12190 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12191 * math/libm-test.inc (fma_test): Add more tests.
12192 (fma_test_towardzero): Likewise.
12193 (fma_test_downward): Likewise.
12194 (fma_test_upward): Likewise.
12195 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12197 (libc_fesetround): New macro.
12198 (libc_fesetroundf): Likewise.
12199 (libc_fesetroundl): Likewise.
12200 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12202 (libc_fesetround_387): Likewise.
12203 (libc_fesetroundf): New macro.
12204 (libc_fesetround): Likewise.
12205 (libc_fesetroundl): Likewise.
12206 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12208 (libc_fesetroundf): New macro.
12209 (libc_fesetround): Likewise.
12210 (libc_fesetroundl): Likewise.
12211 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12212 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12213 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12215 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12216 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12218 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12219 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12221 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12225 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12226 integer constant usable in #if and use that to give value to enum
12228 (FE_DIVBYZERO): Likewise.
12229 (FE_UNDERFLOW): Likewise.
12230 (FE_OVERFLOW): Likewise.
12231 (FE_INVALID): Likewise.
12232 (FE_INVALID_SNAN): Likewise.
12233 (FE_INVALID_ISI): Likewise.
12234 (FE_INVALID_IDI): Likewise.
12235 (FE_INVALID_ZDZ): Likewise.
12236 (FE_INVALID_IMZ): Likewise.
12237 (FE_INVALID_COMPARE): Likewise.
12238 (FE_INVALID_SOFTWARE): Likewise.
12239 (FE_INVALID_SQRT): Likewise.
12240 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12241 (FE_TONEAREST): Likewise.
12242 (FE_TOWARDZERO): Likewise.
12243 (FE_UPWARD): Likewise.
12244 (FE_DOWNWARD): Likewise.
12245 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12246 (FE_DIVBYZERO): Likewise.
12247 (FE_OVERFLOW): Likewise.
12248 (FE_UNDERFLOW): Likewise.
12249 (FE_INEXACT): Likewise.
12250 (FE_TONEAREST): Likewise.
12251 (FE_DOWNWARD): Likewise.
12252 (FE_UPWARD): Likewise.
12253 (FE_TOWARDZERO): Likewise.
12254 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12255 (FE_UNDERFLOW): Likewise.
12256 (FE_OVERFLOW): Likewise.
12257 (FE_DIVBYZERO): Likewise.
12258 (FE_INVALID): Likewise.
12259 (FE_TONEAREST): Likewise.
12260 (FE_TOWARDZERO): Likewise.
12261 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12262 (FE_OVERFLOW): Likewise.
12263 (FE_UNDERFLOW): Likewise.
12264 (FE_DIVBYZERO): Likewise.
12265 (FE_INEXACT): Likewise.
12266 (FE_TONEAREST): Likewise.
12267 (FE_TOWARDZERO): Likewise.
12268 (FE_UPWARD): Likewise.
12269 (FE_DOWNWARD): Likewise.
12270 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12271 (FE_DIVBYZERO): Likewise.
12272 (FE_OVERFLOW): Likewise.
12273 (FE_UNDERFLOW): Likewise.
12274 (FE_INEXACT): Likewise.
12275 (FE_TONEAREST): Likewise.
12276 (FE_DOWNWARD): Likewise.
12277 (FE_UPWARD): Likewise.
12278 (FE_TOWARDZERO): Likewise.
12280 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12282 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12284 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12286 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12287 commands. Quote $PWD.
12288 (blacklist_exports): Don't use remove_newlines. Replace "declare
12290 (remove_newlines): Remove.
12292 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12294 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12295 * stdlib/stdlib.h (atof): Moved to ...
12296 * include/bits/stdlib-float.h: Here. New file.
12297 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12298 * stdlib/bits/stdlib-float.h: New file.
12299 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12301 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12304 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12306 * conform/conformtest.pl (@headers): Add fenv.h.
12307 * conform/data/fenv.h-data: New file.
12308 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12309 include of <math/fenv.h>.
12311 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12312 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12313 && !UNIX98]. Enables tests for XOPEN2K8.
12314 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12315 POSIX2008]: Likewise.
12317 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12318 (struct rusage): Do not expect type or its members.
12321 * math/math.h (FP_NAN): Define macro to integer constant usable in
12322 #if and use that to give value to enum constant.
12323 (FP_INFINITE): Likewise.
12324 (FP_ZERO): Likewise.
12325 (FP_SUBNORMAL): Likewise.
12326 (FP_NORMAL): Likewise.
12328 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12330 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12331 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12334 2012-11-02 Roland McGrath <roland@hack.frob.com>
12336 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12337 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12338 autoconf-time if not.
12339 * configure.in: Remove AC_PREREQ.
12341 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12343 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12344 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12345 of the internal implementation.
12347 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12349 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12350 except include of <misc/sys/syslog.h>.
12352 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12355 function returns with a NULL context exit with zero.
12357 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12359 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12361 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12363 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12364 (run_program_cmd): This.
12365 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12366 (tst_langinfo): New variable. Use it.
12368 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12370 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12371 floating point opcodes.
12373 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12375 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12378 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12380 * sysdeps/mach/hurd/powerpc: Remove directory.
12381 * sysdeps/mach/powerpc: Likewise.
12383 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12385 * scripts/check-local-headers.sh: Ignore c++ headers.
12387 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12389 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12390 __libc_cleanup_region_start argument.
12392 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12397 x * y using scaling, not as x * y + z.
12398 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12400 * math/libm-test.inc (fma_test): Add more tests.
12401 (fma_test_towardzero): Likewise.
12402 (fma_test_downward): Likewise.
12403 (fma_test_upward): Likewise.
12405 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12407 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12409 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12411 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12414 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12416 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12418 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12425 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12428 Fix the order of the list for glibc 2.17.
12429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12432 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12436 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12439 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12440 for low part of x being zero before using __atanl (y).
12441 * math/libm-test.inc (atan2_test): Add another test.
12443 * manual/install.texi (Configuring and compiling): Document
12444 general use of test-wrapper and test-wrapper-env.
12445 * INSTALL: Regenerated.
12447 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12448 (__fma): Do not extract and scale down low bits on after-rounding
12449 systems when result rounded to normal precision would have normal
12451 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12452 (__fmal): Do not extract and scale down low bits on after-rounding
12453 systems when result rounded to normal precision would have normal
12455 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12456 (__fmal): Do not extract and scale down low bits on after-rounding
12457 systems when result rounded to normal precision would have normal
12459 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12461 (fma_test): Add more tests.
12462 (fma_test_towardzero): Likewise.
12463 (fma_test_downward): Likewise.
12464 (fma_test_upward): Likewise.
12466 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12468 * sysdeps/i386/tininess.h: Renamed to ...
12469 * sysdeps/x86/tininess.h: This.
12470 * sysdeps/x86_64/tininess.h: Removed.
12472 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12474 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12475 input. Use $(build-program-cmd).
12476 ($(objpfx)tst-array1-static.out): Likewise.
12477 ($(objpfx)tst-array2.out): Likewise.
12478 ($(objpfx)tst-array3.out): Likewise.
12479 ($(objpfx)tst-array4.out): Likewise.
12480 ($(objpfx)tst-array5.out): Likewise.
12481 ($(objpfx)tst-array5-static.out): Likewise.
12483 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12485 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12488 * nss/nsswitch.h (nss_interface_function): Provide new
12489 macro for use with NSS functions.
12490 * grp/initgroups.c: Use new macro.
12491 * nss/getXXbyYY.c: Likewise.
12492 * nss/getXXbyYY_r.c: Likewise.
12493 * nss/getXXent.c: Likewise.
12494 * nss/getXXent_r.c: Likewise.
12495 * sysdeps/posix/getaddrinfo.c: Likewise.
12497 2012-10-30 Andreas Jaeger <aj@suse.de>
12499 * po/ru.po: Update Russion translation from translation project.
12501 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12506 result and shift together with sticky bit instead of replicating
12507 round-to-nearest rounding.
12508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12510 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12511 missing underflow exceptions.
12512 (fma_test_towardzero): Add more tests.
12513 (fma_test_downward): Likewise.
12514 (fma_test_upward): Likewise.
12517 * sysdeps/generic/tininess.h: New file.
12518 * sysdeps/i386/tininess.h: Likewise.
12519 * sysdeps/sh/tininess.h: Likewise.
12520 * sysdeps/x86_64/tininess.h: Likewise.
12521 * stdlib/tst-strtod-underflow.c: Likewise.
12522 * stdlib/tst-tininess.c: Likewise.
12523 * stdlib/strtod_l.c: Include <tininess.h>.
12524 (round_and_return): Do not set errno for exact underflow cases.
12525 Force an underflow exception when setting errno for underflow.
12526 Determine underflow based on rounding to normal precision if
12527 TININESS_AFTER_ROUNDING.
12528 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12529 ERANGE for exact underflow cases.
12530 * stdlib/Makefile (tests): Add tst-tininess and
12531 tst-strtod-underflow.
12532 ($(objpfx)tst-tininess): Use $(link-libm).
12533 ($(objpfx)tst-strtod-underflow): Likewise.
12535 2012-10-30 Andreas Jaeger <aj@suse.de>
12538 * elf/Makefile (tests): Remove conditional for have-initfini-array
12539 since this is now always required and the variable does not exist
12541 (tests-static): Likewise.
12542 (modules-names): Likewise.
12544 * po/eo.po: Add Esperanto translation from translation project.
12546 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12547 merged with constructor/destructor.
12548 (init_array): Likewise.
12549 * elf/tst-array2dep.c (fini_array): Likewise.
12550 (init_array): Likewise.
12552 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12554 * manual/message.texi: Delete @cartouche tags.
12556 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12558 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12560 * sysdeps/mach/hurd/fsync.c: Likewise.
12562 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12563 [_POSIX_REALTIME_SIGNALS]: Change condition to
12564 [_POSIX_REALTIME_SIGNALS > 0].
12566 2012-10-27 Andreas Jaeger <aj@suse.de>
12568 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12569 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12570 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12571 [__WORDSIZE != 64]: Likewise.
12573 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12575 * iconvdata/tst-table.sh: Remove ${SHELL}.
12576 * iconvdata/tst-tables.sh: Likewise.
12578 2012-10-25 David S. Miller <davem@davemloft.net>
12580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12581 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12584 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12586 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12587 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12588 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12591 2012-10-25 Roland McGrath <roland@hack.frob.com>
12593 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12594 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12597 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12598 Jim Blandy <jimb@codesourcery.com>
12600 * scripts/cross-test-ssh.sh: New file.
12601 * manual/install.texi (Configuring and compiling): Document use of
12603 * INSTALL: Regenerated.
12605 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12607 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12610 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12612 * Makeconfig (run-program-prefix): Fix comment.
12614 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12615 Jim Blandy <jimb@codesourcery.com>
12617 * Makeconfig (test-wrapper): New variable,
12618 (test-wrapper-env): Likewise.
12619 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12620 (run-built-tests): Define to yes.
12621 (run-program-prefix): Use $(test-wrapper).
12622 (built-program-cmd): Likewise.
12623 * Rules (make-test-out): Use $(test-wrapper-env) and
12624 $(host-built-program-cmd).
12625 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12626 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12628 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12629 $(test-wrapper-env) to tst-rtld-load-self.sh.
12630 ($(objpfx)order2.out): Use $(test-wrapper).
12631 ($(objpfx)tst-initorder.out): Likewise.
12632 ($(objpfx)tst-initorder2.out): Likewise.
12633 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12634 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12635 (test_wrapper_env): New variable. Use it to run ld.so.
12636 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12637 Use it to run ld.so.
12638 (test_wrapper_env): Likewise.
12639 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12640 $(test-wrapper) to run-iconv-test.sh.
12641 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12642 (ICONV): Use $test_wrapper.
12643 * posix/Makefile ($(objpfx)globtest.out): Pass
12644 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12645 globtest.sh, not $(run-program-prefix).
12646 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12647 (test_wrapper): Likewise.
12648 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12649 set together with run_via_rtld_prefix.
12650 (run_program_prefix): Define in terms of test_wrapper and
12651 run_via_rtld_prefix.
12653 2012-10-24 Roland McGrath <roland@hack.frob.com>
12655 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12656 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12660 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12661 Declare __clock_getres, __clock_gettime, __clock_settime,
12662 __clock_nanosleep, and __clock_getcpuclockid.
12663 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12664 Remove librt_hidden_def (clock_gettime).
12665 * sysdeps/unix/clock_gettime.c: Likewise.
12666 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12667 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12668 * rt/clock_getres.c: Define __clock_getres as an alias.
12669 * sysdeps/posix/clock_getres.c: Likewise.
12670 * rt/clock_settime.c: Define __clock_settime as an alias.
12671 * sysdeps/unix/clock_settime.c: Likewise.
12672 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12673 * sysdeps/unix/clock_nanosleep.c: Likewise.
12674 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12675 * rt/clock-compat.c: New file.
12676 * rt/Makefile (librt-routines): Add clock-compat and move
12677 $(clock-routines) to ...
12678 (routines): ... here, new variable.
12679 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12680 Don't add get_clockfreq here.
12681 * rt/Versions (libc: GLIBC_2.17): New version set.
12682 Add clock_* symbols here.
12683 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12684 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12685 (GLIBC_2.17): Add clock_* symbols.
12686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12688 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12697 * NEWS: Mention the move.
12699 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12700 Use __open, __read, __close rather than their public counterparts.
12701 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12702 (__get_clockfreq_via_cpuinfo): Likewise.
12703 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12704 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12706 * config.h.in (HAVE_IFUNC): New #undef.
12707 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12709 * configure: Regenerated.
12711 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12713 * configure.in: Move READELF check to start of file.
12714 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12715 libc_cv_asm_gnu_indirect_function in the process.
12716 * configure: Regenerated.
12718 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12720 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12721 send the output to /dev/null.
12722 (libc_cv_cc_with_libunwind): Likewise.
12723 (libc_cv_as_noexecstack): Likewise.
12724 * configure: Regenerate.
12726 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12728 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12730 * posix/globtest.sh (TMPDIR): Do not set.
12731 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12732 (testout): Likewise.
12734 2012-10-24 Andreas Jaeger <aj@suse.de>
12736 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12737 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12738 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12739 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12740 posix_fadvise64, posix_fallocate64.
12742 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12743 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12744 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12746 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12748 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12751 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12752 <bits/fcntl-linux.h>.
12753 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12756 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12757 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12758 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12759 [__WORDSIZE != 64]: Likewise.
12761 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12763 * Makeconfig (run-built-tests): New variable.
12764 * Rules [$(cross-compiling) = yes]: Change condition to
12765 [$(run-built-tests) = no].
12766 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12767 to [$(run-built-tests) = yes].
12768 * elf/Makefile [$(cross-compiling) = no]: Likewise
12769 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12770 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12771 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12772 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12773 * io/Makefile [$(cross-compiling) = no]: Likewise.
12774 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12775 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12776 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12777 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12778 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12779 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12780 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12781 * string/Makefile [$(cross-compiling) = no]: Likewise.
12783 * posix/Makefile ($(objpfx)globtest.out): Pass
12784 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12785 $(rtld-installed-name).
12786 * posix/globtest.sh (elf_objpfx): Remove variable.
12787 (rtld_installed_name): Likewise.
12788 (library_path): Likewise.
12789 (run_program_prefix): New variable. Use for running globtest
12792 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12793 Joseph Myers <joseph@codesourcery.com>
12795 * Makeconfig (host-built-program-cmd): New variable.
12796 * elf/Makefile (tst-stackguard1-ARGS): Use
12797 $(host-built-program-cmd).
12798 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12799 (tst-spawn-ARGS): Likewise.
12800 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12802 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12803 Jim Blandy <jimb@codesourcery.com>
12805 * Makeconfig (run-via-rtld-prefix): New variable.
12806 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12807 (built-program-cmd): Likewise.
12809 2012-10-22 Andreas Jaeger <aj@suse.de>
12811 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12812 __O_RSYNC if it exists, otherwise to O_SYNC.
12814 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12815 Joseph Myers <joseph@codesourcery.com>
12817 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12819 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12821 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12824 2012-10-22 Andreas Jaeger <aj@suse.de>
12826 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12828 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12831 bits/fcntl-linux.h.
12833 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12834 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12836 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12841 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12842 Joseph Myers <joseph@codesourcery.com>
12844 * config.make.in (NM): New variable.
12846 2012-10-21 Andreas Jaeger <aj@suse.de>
12848 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12849 definitions and declarations that are provided by
12850 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12852 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12855 * elf/Makefile (tests-static): Add tst-leaks1-static.
12856 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12857 ($(objpfx)tst-leaks1-static): New rule.
12858 ($(objpfx)tst-leaks1-static-mem): Likewise.
12859 (tst-leaks1-static-ENV): New macro.
12860 * elf/dl-open.c (dl_open_worker): Check the main application
12861 only if SHARED is defined.
12862 * elf/tst-leaks1-static.c: New file.
12864 2012-10-20 Andreas Jaeger <aj@suse.de>
12866 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12867 generic values for Linux.
12868 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12869 and declarations that are provided by <bits/fcntl-linux.h> and
12870 include <bits/fcntl-linux.h>.
12871 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12872 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12874 2012-10-20 Roland McGrath <roland@hack.frob.com>
12876 * io/fcntl.h: Move include of <bits/types.h> to the top and
12877 include it unconditionally.
12879 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12881 * wcsmbs/Makefile (tests-ifunc): New variable.
12882 (tests): Add $(tests-ifunc).
12883 * wcsmbs/test-wcschr-ifunc.c: New file.
12884 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12885 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12886 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12887 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12888 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12890 * string/Makefile (tests-ifunc): New variable.
12891 (tests): Add $(tests-ifunc).
12892 * string/test-memccpy.c (TEST_NAME): New macro.
12893 * string/test-memchr.c (TEST_NAME): Likewise.
12894 * string/test-memcmp.c (TEST_NAME): Likewise.
12895 * string/test-memcpy.c (TEST_NAME): Likewise.
12896 * string/test-memmem.c (TEST_NAME): Likewise.
12897 * string/test-memmove.c (TEST_NAME): Likewise.
12898 * string/test-memset.c (TEST_NAME): Likewise.
12899 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12900 * string/test-stpcpy.c (TEST_NAME): Likewise.
12901 * string/test-stpncpy.c (TEST_NAME): Likewise.
12902 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12903 * string/test-strcasestr.c (TEST_NAME): Likewise.
12904 * string/test-strcat.c (TEST_NAME): Likewise.
12905 * string/test-strchr.c (TEST_NAME): Likewise.
12906 * string/test-strcmp.c(TEST_NAME): Likewise.
12907 * string/test-strcpy.c (TEST_NAME): Likewise.
12908 * string/test-strcspn.c (TEST_NAME): Likewise.
12909 * string/test-strlen.c (TEST_NAME): Likewise.
12910 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12911 * string/test-strncmp.c (TEST_NAME): Likewise.
12912 * string/test-strncpy.c (TEST_NAME): Likewise.
12913 * string/test-strnlen.c (TEST_NAME): Likewise.
12914 * string/test-strpbrk.c (TEST_NAME): Likewise.
12915 * string/test-strrchr.c (TEST_NAME): Likewise.
12916 * string/test-strspn.c (TEST_NAME): Likewise.
12917 * string/test-strstr.c (TEST_NAME): Likewise.
12918 * string/test-bcopy-ifunc.c: New file.
12919 * string/test-bzero-ifunc.c: Likewise.
12920 * string/test-memccpy-ifunc.c: Likewise.
12921 * string/test-memchr-ifunc.c: Likewise.
12922 * string/test-memcmp-ifunc.c: Likewise.
12923 * string/test-memcpy-ifunc.c: Likewise.
12924 * string/test-memmem-ifunc.c: Likewise.
12925 * string/test-memmove-ifunc.c: Likewise.
12926 * string/test-mempcpy-ifunc.c: Likewise.
12927 * string/test-memset-ifunc.c: Likewise.
12928 * string/test-rawmemchr-ifunc.c: Likewise.
12929 * string/test-stpcpy-ifunc.c: Likewise.
12930 * string/test-stpncpy-ifunc.c: Likewise.
12931 * string/test-strcasecmp-ifunc.c: Likewise.
12932 * string/test-strcasestr-ifunc.c: Likewise.
12933 * string/test-strcat-ifunc.c: Likewise.
12934 * string/test-strchr-ifunc.c: Likewise.
12935 * string/test-strchrnul-ifunc.c: Likewise.
12936 * string/test-strcmp-ifunc.c: Likewise.
12937 * string/test-strcpy-ifunc.c: Likewise.
12938 * string/test-strcspn-ifunc.c: Likewise.
12939 * string/test-strlen-ifunc.c: Likewise.
12940 * string/test-strncasecmp-ifunc.c: Likewise.
12941 * string/test-strncat-ifunc.c: Likewise.
12942 * string/test-strncmp-ifunc.c: Likewise.
12943 * string/test-strncpy-ifunc.c: Likewise.
12944 * string/test-strnlen-ifunc.c: Likewise.
12945 * string/test-strpbrk-ifunc.c: Likewise.
12946 * string/test-strrchr-ifunc.c: Likewise.
12947 * string/test-strspn-ifunc.c: Likewise.
12948 * string/test-strstr-ifunc.c: Likewise.
12950 * debug/Makefile (tests-ifunc): New variable.
12951 (tests): Add $(tests-ifunc).
12952 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12953 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12954 * debug/test-stpcpy_chk-ifunc.c: New file.
12955 * debug/test-strcpy_chk-ifunc.c: Likewise.
12957 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12960 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12961 header is not read in.
12963 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12965 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12966 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12967 directly. Pass built executable to script as
12968 $(built-program-cmd).
12969 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12970 $testprogram without using LD_LIBRARY_PATH and $ldso.
12972 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12973 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12974 $(rtld-installed-name).
12975 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12976 (rtld_installed_name): Likewise.
12977 (library_path): Likewise.
12978 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12979 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12980 $(run-program-prefix) to tst-tables.sh.
12981 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12982 it to run tst-table-from and tst-table-to.
12983 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12984 Pass it to tst-table.sh.
12985 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12986 $(run-program-prefix) to tst-gettext.sh.
12987 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12989 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12991 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12992 to run tst-gettext.
12993 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12994 to run tst-gettext2.
12995 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12996 to run tst-translit.
12997 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12998 $(run-program-prefix) to tst-mtrace.sh.
12999 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13001 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13002 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13003 $(rtld-installed-name).
13004 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13005 (rtld_installed_name): Likewise.
13006 (run_program_prefix): New variable. Use it to run wordexp-test.
13008 * Makeconfig (ARCH): Remove all definitions.
13009 (machine): Likewise.
13010 [ARCH]: Remove conditional code.
13011 [!objdir]: Give error.
13012 [!objdir] (objpfx): Remove.
13013 [!objdir] (common-objpfx): Likewise.
13014 [!objdir] (common-objdir): Likewise.
13015 * configure.in (config_makefile): Remove. Hardcode Makefile in
13016 AC_CONFIG_FILES call.
13017 * configure: Regenerated.
13020 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13022 (testout): Likewise.
13024 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13025 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13026 $(rtld-installed-name).
13027 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13028 (rtld_installed_name): Likwise.
13029 (runit): Remove function.
13030 (run_getconf): New variable, Use it for running getconf binary.
13032 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13035 * string/test-memmem.c (check_result): New function.
13036 (do_one_test): Use it.
13037 (check1): New function.
13038 (test_main): Use it.
13040 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13042 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13044 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13046 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13047 (_G_LSEEK64): Likewise.
13048 (_G_MMAP64): Likewise.
13049 (_G_FSTAT64): Likewise.
13050 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13051 (_G_LSEEK64): Likewise.
13052 (_G_MMAP64): Likewise.
13053 (_G_FSTAT64): Likewise.
13054 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13055 unconditional. Call __mmap64 directly.
13056 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13057 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13058 __lseek64 directly.
13059 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13060 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13062 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13063 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13064 __lseek64 directly.
13065 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13066 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13067 __lseek64 directly.
13068 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13069 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13070 __lseek64 directly.
13071 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13072 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13073 __fxstat64 directly.
13074 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13075 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13077 (freopen64) [!_G_OPEN64]: Remove conditional code.
13078 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13080 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13081 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13083 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13084 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13086 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13087 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13089 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13090 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13092 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13093 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13095 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13096 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13098 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13100 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13103 * manual/memory.texi (Malloc Tunable Parameters): Add note
13104 about free list pointers overwriting some perturb bytes.
13105 Wording suggested by Roland McGrath.
13107 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13109 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13110 (lgamma_test): Likewise.
13111 (tgamma_test): Likewise.
13113 2012-10-16 Florian Weimer <fweimer@redhat.com>
13116 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13117 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13119 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13121 * NEWS: Mention BZ #14716.
13122 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13123 when removing AVAILABLE1_USES_J macro.
13125 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13127 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13128 (__bswap_64): __uint64_t for unsigned 64-bit int.
13130 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13132 * include/string.h (memmem): Declare libc hidden alias.
13133 * string/memmem.c (memmem): Define libc hidden alias.
13134 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13135 __read, __close instead of open, read, close.
13137 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13140 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13142 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13143 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13144 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13146 (__rawmemchr_sse2): Likewise.
13147 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13148 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13149 (__strchr_sse2): Likewise.
13150 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13151 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13152 (__strcasecmp_sse2): Likewise.
13153 (__strncasecmp_sse2): Likewise.
13154 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13155 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13156 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13157 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13158 (__strrchr_sse2): Likewise.
13159 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13161 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13162 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13163 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13164 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13165 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13166 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13167 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13168 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13169 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13170 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13171 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13172 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13173 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13174 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13175 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13176 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13177 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13178 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13179 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13180 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13181 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13182 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13183 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13184 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13185 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13186 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13187 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13188 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13189 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13190 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13192 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13194 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13195 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13196 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13197 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13199 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13201 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13202 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13203 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13204 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13206 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13207 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13208 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13209 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13210 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13211 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13212 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13213 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13214 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13215 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13216 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13217 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13218 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13219 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13220 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13221 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13222 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13223 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13224 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13225 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13226 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13227 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13228 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13229 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13230 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13231 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13232 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13233 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13234 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13235 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13236 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13237 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13238 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13239 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13240 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13241 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13242 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13243 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13244 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13245 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13246 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13248 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13249 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13250 * include/ifunc-impl-list.h: New file.
13251 * misc/ifunc-impl-list.c: Likewise.
13252 * misc/Makefile (routines): Add ifunc-impl-list.
13253 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13254 * string/test-string.h: Include <ifunc-impl-list.h>.
13255 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13256 impl_array): New variables.
13257 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13259 (test_init): Call __libc_ifunc_impl_list to initialize
13260 func_list if TEST_IFUNC and TEST_NAME are defined.
13262 * string/Makefile (strop-tests): Add bcopy and bzero.
13263 * string/test-bcopy.c: New file.
13264 * string/test-bzero.c: Likewise.
13265 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13267 * string/test-memset.c: Support bzero test if TEST_BZERO is
13269 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13271 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13273 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13276 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13278 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13279 * configure: Regenerated.
13281 * Makeconfig (+link-static-before-libc): Don't include
13282 $(link-static-libc).
13284 * libio/libio.h (_IO_pos_t): Remove.
13286 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13288 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13291 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13293 * crypt/crypt-entry.c: Include fips-private.h.
13294 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13295 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13296 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13297 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13299 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13301 * crypt/crypt-private.h: Include stdbool.h.
13302 (_ufc_setup_salt_r): Return bool.
13303 * crypt/crypt-entry.c: Include errno.h.
13304 (__crypt_r): Return NULL with EINVAL for bad salt.
13305 * crypt/crypt_util.c (bad_for_salt): New.
13306 (_ufc_setup_salt_r): Check that salt is long enough and within
13307 the specified alphabet.
13308 * crypt/badsalttest.c: New file.
13309 * crypt/Makefile (tests): Add it.
13310 ($(objpfx)badsalttest): New.
13312 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13314 * NEWS: Add entry for BZ #14602.
13316 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13318 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13320 * math/libm-test.inc: Update comment listing what functions and
13322 (isgreater_test): New function.
13323 (isgreaterequal_test): Likewise.
13324 (isless_test): Likewise.
13325 (islessequal_test): Likewise.
13326 (islessgreater_test): Likewise.
13327 (isunordered_test): Likewise.
13328 (main): Call the new functions.
13330 2012-10-09 Roland McGrath <roland@hack.frob.com>
13332 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13333 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13334 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13335 * sysdeps/i386/configure: Regenerated.
13336 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13337 * sysdeps/mach/configure: Regenerated.
13338 * sysdeps/mach/hurd/configure: Regenerated.
13339 * sysdeps/powerpc/configure: Regenerated.
13340 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13341 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13342 * sysdeps/s390/s390-32/configure: Regenerated.
13343 * sysdeps/s390/s390-64/configure: Regenerated.
13344 * sysdeps/sh/configure: Regenerated.
13345 * sysdeps/sparc/configure: Regenerated.
13346 * sysdeps/unix/sysv/linux/configure: Regenerated.
13347 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13348 * sysdeps/x86_64/configure: Regenerated.
13350 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13351 defined. Don't check if MAP is NULL.
13353 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13355 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13356 (_G_stat64): Likewise.
13357 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13358 (_G_stat64): Likewise.
13359 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13360 instead of struct _G_stat64.
13361 * libio/fileops.c (mmap_remap_check): Likewise.
13362 (decide_maybe_mmap): Likewise.
13363 (_IO_new_file_seekoff): Likewise.
13364 (_IO_file_stat): Likewise.
13365 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13367 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13368 instead of struct _G_stat64.
13369 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13371 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13374 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13376 (CHECK_EOL): New macro.
13377 (two_way_short_needle): Check beginning of haystack for EOL. Use
13379 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13380 Replace with CHECK_EOL.
13381 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13382 Replace with CHECK_EOL.
13384 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13386 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13388 * math/libm-test.inc: Update comment listing what functions and
13390 (finite_test): New function.
13391 (isinf_test): Likewise.
13392 (isnan_test): Likewise.
13393 (fpclassify_test): Test subnormal input.
13394 (isfinite_test): Likewise.
13395 (isnormal_test): Likewise.
13396 (main): Call the new functions.
13398 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13401 * Makerules (%.dynsym): Force C locale when running
13402 $(OBJDUMP) --dynamic-syms.
13404 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13406 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13409 2012-10-06 David S. Miller <davem@davemloft.net>
13411 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13412 upper 32-bits of the length value in %o2 since we use branch-on-register
13413 tests which consider the entire 64-bit register.
13415 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13417 * string/test-strstr.c (check2): Add a test for page boundary.
13419 2012-10-05 David S. Miller <davem@davemloft.net>
13421 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13422 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13424 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13426 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13427 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13428 and bzero when HWCAP_SPARC_CRYPTO is present.
13430 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13433 * string/test-strstr.c (check2): New function.
13434 (test_main): Call check2.
13436 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13438 * string/bug-strcasestr1.c (do_test): Moved to ...
13439 * string/test-strcasestr.c (check1): Here. New function.
13440 (do_one_test): Break out result checking code into ...
13441 (check_result): This. New function.
13442 (do_one_test): Call check_result.
13443 (test_main): Call check1.
13444 * string/bug-strchr1.c (do_test): Moved to ...
13445 * string/test-strchr.c (check1): Here. New function.
13446 (do_one_test): Break out result checking code into ...
13447 (check_result): This. New function.
13448 (do_one_test): Call check_result.
13449 (test_main): Call check1.
13450 * string/bug-strstr1.c (main): Moved to ...
13451 * string/test-strstr.c (check1): Here. New function.
13452 (do_one_test): Break out result checking code into ...
13453 (check_result): This. New function.
13454 (do_one_test): Call check_result.
13455 (test_main): Call check1.
13456 * string/bug-strcasestr1.c: Removed.
13457 * string/bug-strchr1.c: Likewise.
13458 * string/bug-strstr1.c: Likewise.
13460 * elf/Makefile (dl-routines): Add hwcaps.
13461 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13462 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13463 (_dl_important_hwcaps): Moved to ...
13464 * elf/dl-hwcaps.c: Here. New file.
13465 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13468 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13469 if IS_IN_rtld isn't defined.
13471 * elf/dl-support.c (_dl_sysinfo_map): New.
13472 Include "get-dynamic-info.h" and "setup-vdso.h".
13473 (_dl_non_dynamic_init): Call setup_vdso.
13474 * elf/dynamic-link.h: Don't include <assert.h>.
13475 (elf_get_dynamic_info): Moved to ...
13476 * elf/get-dynamic-info.h: Here. New file.
13477 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13478 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13479 * elf/setup-vdso.h: Here. New file.
13480 * elf/rtld.c: Include "setup-vdso.h".
13481 (dl_main): Call setup_vdso.
13483 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13485 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13486 creal in comment listing functions tested. List finite, isinf,
13487 isnan, isless, islessequal, isgreater, isgreaterequal,
13488 islessgreater, isunordered, lgamma_r and pow10 as functions and
13489 macros not tested. Mention which functions not tested are aliases
13490 for other functions. Fix typo. Note that signs of NaNs are not
13493 * scripts/config.guess: Update from config.git.
13494 * scripts/config.sub: Likewise.
13496 2012-10-04 Roland McGrath <roland@hack.frob.com>
13498 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13499 * misc/madvise.c (madvise): Renamed to __madvise.
13500 Make madvise a weak alias.
13501 * include/sys/mman.h: Declare __madvise.
13502 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13503 * sysdeps/unix/syscalls.list
13504 (madvise): Make __madvise the strong name, and madvise a weak alias.
13505 * sysdeps/unix/sysv/linux/syscalls.list
13506 (madvise, mmap): Remove redundant entries.
13507 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13508 * malloc/malloc.c (mtrim): Likewise.
13509 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13511 2012-10-03 Roland McGrath <roland@hack.frob.com>
13513 * sysdeps/mach/hurd/dl-cache.c: File removed.
13514 * config.h.in (USE_LDCONFIG): New #undef.
13515 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13516 * configure: Regenerated.
13517 * elf/Makefile (dl-routines): Add dl-cache only under
13518 [$(use-ldconfig) = yes].
13519 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13520 cache on [USE_LDCONFIG].
13521 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13523 * elf/rtld.c (dl_main): Likewise.
13525 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13527 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13528 _SC_LEVEL4_CACHE_LINESIZE.
13530 2012-10-03 Roland McGrath <roland@hack.frob.com>
13532 * sysdeps/unix/bsd/confstr.h: File removed.
13534 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13536 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13539 2012-10-02 Roland McGrath <roland@hack.frob.com>
13541 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13542 Make 'mapoff' field ElfW(Off) rather than off_t.
13544 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13546 * nscd/Makefile: Remove nscd-cflags and all its users.
13547 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13548 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13551 * malloc.c (malloc_printerr): Clarify error message.
13553 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13557 Set bit_FMA_Usable if FMA is supported.
13558 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13560 (bit_FMA4_Usable): Updated.
13561 (index_FMA_Usable): New macro.
13562 (CPUID_FMA): Likewise
13563 (HAS_FMA): Defined with bit_FMA_Usable.
13565 2012-10-01 Roland McGrath <roland@hack.frob.com>
13567 * bits/types.h (__swblk_t): Type removed.
13568 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13569 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13571 (__SWBLK_T_TYPE): Likewise.
13572 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13573 (__SWBLK_T_TYPE): Likewise.
13574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13575 (__SWBLK_T_TYPE): Likewise.
13576 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13577 (__SWBLK_T_TYPE): Likewise.
13579 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13580 Honza Horak <hhorak@redhat.com>
13582 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13583 (xdr_mapname): Use YPMAXMAP as maxsize.
13584 (xdr_peername): Use YPMAXPEER as maxsize.
13585 (xdr_keydat): Use YPAXRECORD as maxsize.
13586 (xdr_valdat): Use YPMAXRECORD as maxsize.
13588 2012-10-01 Roland McGrath <roland@hack.frob.com>
13590 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13592 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13593 * csu/init-first.c: ... here.
13594 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13595 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13596 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13597 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13598 * sysdeps/i386/init-first.c: File removed.
13599 * sysdeps/sh/init-first.c: File removed.
13601 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13605 if x * y might underflow to zero and z is zero.
13606 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13607 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13608 * math/libm-test.inc (min_subnorm_value): New variable.
13609 (fma_test): Add more tests.
13610 (fma_test_towardzero): Likewise.
13611 (fma_test_downward): Likewise
13612 (fma_test_upward): Likewise.
13613 (initialize): Set min_subnorm_value.
13615 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13620 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13621 mode for addition resulting in exact zero.
13622 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13623 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13625 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13626 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13627 * math/libm-test.inc (fma_test): Add more tests.
13628 (fma_test_towardzero): New function.
13629 (fma_test_downward): Likewise.
13630 (fma_test_upward): Likewise.
13631 (main): Call the new functions.
13633 2012-09-28 David S. Miller <davem@davemloft.net>
13635 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13637 2012-09-28 Roland McGrath <roland@hack.frob.com>
13639 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13640 instead of SIGALRM.
13642 * sysdeps/gnu/_G_config.h: Moved to ...
13643 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13644 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13645 * sysdeps/generic/_G_config.h: ... here.
13647 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13649 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13651 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13652 Conditionalize target on [libnss_test1.so-version].
13654 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13656 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13657 (elfobjdir): Move out of conditionals.
13659 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13660 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13661 (__nss_lookup_function): Conditionalize label remove_from_tree on
13662 [!DO_STATIC_NSS || SHARED], matching its only use.
13664 2012-09-28 David S. Miller <davem@davemloft.net>
13666 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13667 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13669 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13671 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13672 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13673 when HWCAP_SPARC_CRYPTO is present.
13675 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13677 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13679 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13682 * stdio-common/vfprintf.c (process_string_arg): Revert
13685 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13687 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13689 * stdio-common/tst-sprintf.c: Include <locale.h>
13690 (main): Test sprintf's handling of incomplete multibyte
13693 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13695 * elf/dl-runtime.c (VERSYMIDX): Removed.
13696 * elf/dl-version.c (VERSYMIDX): Likewise.
13697 * elf/do-rel.h (VERSYMIDX): Likewise.
13698 (VALIDX): Likewise.
13699 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13700 * elf/rtld.c (VALIDX): Likewise.
13701 (ADDRIDX): Likewise.
13702 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13703 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13704 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13705 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13706 (VALIDX): Likewise.
13707 (ADDRIDX): Likewise.
13709 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13711 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13713 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13716 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13718 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13719 addresses are in the same scope as 192.0.2/24.
13720 * posix/gai.conf: Document new scope table defaults.
13722 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13725 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13726 for ftell. Compute offsets from write pointers instead.
13727 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13729 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13732 * libio/Makefile (tests): New test case tst-fseek.
13733 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13734 combination works in wide mode.
13735 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13736 state when the external buffer state changes.
13738 2012-09-27 David S. Miller <davem@davemloft.net>
13741 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13742 pass reloc->r_addend in as the 'high' argument to
13743 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13747 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13749 * rt/tst-aio2.c: Include <pthread.h>.
13750 * rt/tst-aio3.c: Likewise.
13752 2012-09-27 Steve Ellcey <sellcey@mips.com>
13754 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13756 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13758 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13759 contents on [SHARED].
13761 2012-09-26 Marek Polacek <polacek@redhat.com>
13765 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13766 for C++ and GCC <4.3 as well as for non GCC compilers.
13768 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13772 2012-09-25 Roland McGrath <roland@hack.frob.com>
13774 * Makefile.in (all, install): Declare with .PHONY.
13775 Reported by Michael Hope <michael.hope@linaro.org>.
13777 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13779 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13780 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13782 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13784 (sydep_routines): Add the new and the internal functions.
13785 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13786 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13788 (GLIBC_2.17): Add the new function.
13789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13790 (GLIBC_2.17): Likewise.
13791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13792 (GLIBC_2.17): Likewise.
13793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13794 (GLIBC_2.17): Likewise.
13795 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13797 2012-09-25 Alan Modra <amodra@gmail.com>
13799 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13800 Add release barrier before setting once_control to say
13801 initialisation is done. Add hints on lwarx. Use macro in
13803 (clear_once_control): Add release barrier.
13805 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13808 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13810 * math/s_clog10.c (__clog10): Likewise.
13811 * math/s_clog10f.c (__clog10f): Likewise.
13812 * math/s_clog10l.c (__clog10l): Likewise.
13813 * math/s_clogf.c (__clogf): Likewise.
13814 * math/s_clogl.c (__clogl): Likewise.
13815 * math/Makefile (libm-calls): Add x2y2m1.
13816 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13817 (__x2y2m1): Likewise.
13818 (__x2y2m1l): Likewise.
13819 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13820 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13821 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13822 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13823 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13824 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13825 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13826 * sysdeps/i386/fpu/libm-test-ulps: Update.
13827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13830 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13831 int as type of variable DEPTH.
13832 (glob): Use size_t instead of int as type of variables NEWCOUNT
13835 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13837 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13838 Add s_sincosf-sse2.
13839 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13840 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13841 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13842 macros for using routine as __sincosf_ia32.
13843 Use macro for function declaration and weak_alias.
13844 * sysdeps/i386/fpu/libm-test-ulps: Update.
13846 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13849 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13850 subnormal argument.
13851 * math/s_cexpf.c (__cexpf): Likewise.
13852 * math/s_csinf.c (__csinf): Likewise.
13853 * math/s_csinhf.c (__csinhf): Likewise.
13854 * math/s_ctanf.c (__ctanf): Likewise.
13855 * math/s_ctanhf.c (__ctanhf): Likewise.
13856 * math/s_ccosh.c (__ccoshf): Likewise.
13857 * math/s_cexp.c (__cexpl): Likewise.
13858 * math/s_csin.c (__csin): Likewise.
13859 * math/s_csinh.c (__csinh): Likewise.
13860 * math/s_ctan.c (__ctan): Likewise.
13861 * math/s_ctanh.c (ctanh): Likewise.
13862 * math/s_ccoshl.c (__ccoshl): Likewise.
13863 * math/s_cexpl.c (__cexpl): Likewise.
13864 * math/s_csinl.c (__csinl): Likewise.
13865 * math/s_csinhl.c (__csinhl): Likewise.
13866 * math/s_ctanl.c (__ctanl): Likewise.
13867 * math/s_ctanhl.c (__ctanhl): Likewise.
13869 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13871 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13872 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13873 (_IO_off_t): Define to __off_t, not _G_off_t.
13874 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13875 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13876 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13877 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13878 type of __dummy and __dummy2 fields.
13879 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13880 (_G_ssize_t): Likewise.
13881 (_G_off_t): Likewise.
13882 (_G_pid_t): Likewise.
13883 (_G_uid_t): Likewise.
13884 (_G_wchar_t): Likewise.
13885 (_G_wint_t): Likewise.
13886 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13887 (_G_ssize_t): Likewise.
13888 (_G_off_t): Likewise.
13889 (_G_pid_t): Likewise.
13890 (_G_uid_t): Likewise.
13891 (_G_wchar_t): Likewise.
13892 (_G_wint_t): Likewise.
13893 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13894 (_G_ssize_t): Likewise.
13895 (_G_off_t): Likewise.
13896 (_G_pid_t): Likewise.
13897 (_G_uid_t): Likewise.
13898 (_G_wchar_t): Likewise.
13899 (_G_wint_t): Likewise.
13901 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13903 * malloc/arena.c: Include malloc-sysdep.h.
13904 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13905 is sufficient to shrink the heap or an unmap is needed.
13906 * sysdeps/generic/malloc-sysdep.h: New file. Define
13907 new function check_may_shrink_heap.
13908 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13909 new function check_may_shrink_heap.
13911 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13913 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13916 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13918 * catgets/test-gencat.sh: Add "set -e".
13919 * elf/tst-pathopt.sh: Likewise.
13920 * grp/tst_fgetgrent.sh: Likewise.
13921 * iconvdata/run-iconv-test.sh: Likewise.
13922 * intl/tst-gettext.sh: Likewise.
13923 * intl/tst-gettext2.sh: Likewise.
13924 * intl/tst-gettext4.sh: Likewise.
13925 * intl/tst-gettext6.sh: Likewise.
13926 * intl/tst-translit.sh: Likewise.
13927 * io/ftwtest-sh: Likewise.
13928 * libio/test-freopen.sh: Likewise.
13929 * malloc/tst-mtrace.sh: Likewise.
13930 * posix/globtest.sh: Likewise.
13931 * posix/tst-getconf.sh: Likewise.
13932 * posix/wordexp-tst.sh: Likewise.
13933 * stdio-common/tst-printf.sh: Likewise.
13934 * stdio-common/tst-unbputc.sh: Likewise.
13935 * stdlib/tst-fmtmsg.sh: Likewise.
13936 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13937 * catgets/Makefile: Do not specify -e option when running
13938 testsuite shell scripts.
13939 * elf/Makefile: Likewise.
13940 * grp/Makefile: Likewise.
13941 * iconvdata/Makefile: Likewise.
13942 * intl/Makefile: Likewise.
13943 * io/Makefile: Likewise.
13944 * libio/Makefile: Likewise.
13945 * malloc/Makefile: Likewise.
13946 * posix/Makefile: Likewise.
13947 * stdio-common/Makefile: Likewise.
13948 * stdlib/Makefile: Likewise.
13949 * sysdeps/x86_64/Makefile: Likewise.
13951 * io/ftwtest-sh: Add copyright header.
13952 * posix/globtest.sh: Likewise.
13953 * posix/tst-getconf.sh: Likewise.
13954 * posix/wordexp-tst.sh: Likewise.
13955 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13957 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13960 * Makeconfig (+link): Defined as $(+link-static) if
13961 $(build-shared) isn't yes.
13962 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13964 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13966 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13969 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13970 new chunk size with MALLOC_ALIGN_MASK.
13972 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13975 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13977 (__printf_fphex): Determine rounding using get_rounding_mode and
13979 * stdio-common/tst-printf-round.c (struct hex_test): New
13981 (hex_tests): New variable.
13982 (test_hex_in_one_mode): New function.
13983 (do_test): Also run tests for hex float output.
13985 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13987 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13988 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13989 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13990 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13991 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13992 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13993 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13994 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13996 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13998 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13999 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14000 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14001 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14003 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14006 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14008 * elf/tst-rtld-load-self.sh: New test.
14009 * elf/Makefile: Run it.
14011 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14013 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14014 (tst-writev-ENV): Remove.
14015 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14017 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14019 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14021 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14023 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14025 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14027 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14028 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14029 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14032 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14035 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14036 * config.make.in (have-cpp-asm-debuginfo): Removed.
14037 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14038 * configure: Regenerated.
14040 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14043 * stdio-common/printf_fp.c: Include <stdbool.h> and
14045 (___printf_fp): Determine rounding using get_rounding_mode and
14047 * stdio-common/tst-printf-round.c: New file.
14048 * stdio-common/Makefile (tests): Add tst-printf-round.
14049 (link-libm): New variable.
14050 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14052 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14055 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14056 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14058 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14061 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14063 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14064 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14065 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14066 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14068 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14071 * include/rounding-mode.h: New file.
14072 * sysdeps/generic/get-rounding-mode.h: Likewise.
14073 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14074 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14075 (MAX_VALUE): New macro.
14076 (MIN_VALUE): Likewise.
14077 (overflow_value): New function.
14078 (underflow_value): Likewise.
14079 (round_and_return): Use overflow_value and underflow_value to
14080 determine return values in overflow and underflow cases. Use
14081 round_away to determine rounding depending on rounding mode.
14082 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14083 determine return values in overflow and underflow cases.
14084 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14085 (struct test_results): New structure.
14086 (struct test): Use struct test_results to store expected results
14087 for all rounding modes.
14088 (TEST): Include expected results for all rounding modes.
14089 (test_in_one_mode): New function.
14090 (do_test): Use test_in_one_mode to compute and check results.
14091 Check results for all rounding modes.
14092 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14095 2012-12-09 Allan McRae <allan@archlinux.org>
14097 * sysdeps/i386/fpu/libm-test-ulps: Update
14099 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14101 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14102 (_G_int32_t): Likewise.
14103 (_G_uint16_t): Likewise.
14104 (_G_uint32_t): Likewise.
14105 (_G_HAVE_BOOL): Likewise.
14106 (_G_HAVE_ATEXIT): Likewise.
14107 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14108 (_G_HAVE_IO_FILE_OPEN): Likewise.
14109 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14110 (_G_int32_t): Likewise.
14111 (_G_uint16_t): Likewise.
14112 (_G_uint32_t): Likewise.
14113 (_G_HAVE_BOOL): Likewise.
14114 (_G_HAVE_ATEXIT): Likewise.
14115 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14116 (_G_HAVE_IO_FILE_OPEN): Likewise.
14117 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14118 (_G_int32_t): Likewise.
14119 (_G_uint16_t): Likewise.
14120 (_G_uint32_t): Likewise.
14121 (_G_HAVE_BOOL): Likewise.
14122 (_G_HAVE_ATEXIT): Likewise.
14123 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14124 (_G_HAVE_IO_FILE_OPEN): Likewise.
14126 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14128 * csu/libc-tls.c: Update copyright years.
14130 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14132 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14133 [!_G_USING_THUNKS]: Remove conditional code.
14134 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14135 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14137 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14138 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14139 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14140 (_G_VTABLE_LABEL_PREFIX): Likewise.
14141 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14142 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14143 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14144 (_G_VTABLE_LABEL_PREFIX): Likewise.
14145 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14146 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14147 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14148 (_G_VTABLE_LABEL_PREFIX): Likewise.
14149 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14151 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14153 * libio/Makefile: Include ../Makeconfig before tests.
14154 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14155 only if $(build-shared) is yes.
14157 * iconv/gconv_db.c: Update copyright years.
14159 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14161 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14162 unwind info if defined PIC. Fix special cases description.
14163 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14165 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14167 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14169 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14171 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14173 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14176 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14177 (LDLIBS-tst-chk4): This.
14178 (LDFLAGS-tst-chk5): Renamed to ...
14179 (LDLIBS-tst-chk5): This.
14180 (LDFLAGS-tst-chk6): Renamed to ...
14181 (LDLIBS-tst-chk6): This.
14182 (LDFLAGS-tst-lfschk4): Renamed to ...
14183 (LDLIBS-tst-lfschk4): This.
14184 (LDFLAGS-tst-lfschk5): Renamed to ...
14185 (LDLIBS-tst-lfschk5): This.
14186 (LDFLAGS-tst-lfschk6): Renamed to ...
14187 (LDLIBS-tst-lfschk6): This.
14189 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14190 on $(common-objpfx)soversions.mk.
14192 2012-09-07 Joseph Myers <joseph@codesourcery.com>
14195 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14198 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14200 * malloc/arena.c (arena_get_retry): New function that gets
14201 another arena for the caller to try its request on.
14202 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14203 current arena cannot fulfill the request.
14204 (__libc_memalign): Likewise.
14205 (__libc_memalign): Likewise.
14206 (__libc_pvalloc): Likewise.
14207 (__libc_calloc): Likewise.
14209 2012-09-05 John Tobey <john.tobey@gmail.com>
14212 * manual/arith.texi (Operations on Complex): Fix description
14213 of carg branch cut.
14215 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14218 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14222 * manual/memory.texi (Memory): Make order of menu items match
14225 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14227 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14228 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14229 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14231 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14233 * csu/libc-tls.c (static_dtv): Renamed to ...
14234 (_dl_static_dtv): This. Make it global.
14235 (_dl_initial_dtv): Removed.
14236 (__libc_setup_tls): Updated.
14237 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14238 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14241 2012-09-06 Petr Machata <pmachata@redhat.com>
14243 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14244 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14245 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14246 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14248 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14251 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14252 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14255 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14258 * Makeconfig (link-static-before-libc): Replace $(+prector)
14260 (link-static-after-libc): Replace $(+postctor) with
14262 (link-bounded): Replace $(+prector)/$(+postctor) with
14263 $(+prectorT)/$(+postctorT).
14264 (+prectorT): New macro.
14265 (+postctorT): Likewise.
14267 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14269 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14270 (round_str): Handle values above the maximum for IBM long double
14272 * stdlib/tst-strtod-round.c (tests): Regenerated.
14274 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14276 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14278 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14279 zarch_nohighgprs around the zarch optimized routines.
14280 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14281 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14282 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14285 2012-09-05 David S. Miller <davem@davemloft.net>
14287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14289 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14290 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14291 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14292 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14295 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14297 * malloc/arena.c: Fold copyright years.
14298 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14300 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14302 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14304 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14306 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14308 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14310 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14311 change internal state upon failure.
14313 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14315 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14316 * malloc/memusage.c (mmap): Likewise.
14317 (mmap64, mremap): Likewise. Adjust name in comment.
14319 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14321 * libio/fileops.c: Fix typos in comments.
14322 * libio/oldfileops.c: Likewise.
14323 * libio/wfileops.c: Likewise.
14325 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14328 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14329 (tst-malloc-usable-ENV): Set environment for test case.
14330 * malloc/hooks.c (malloc_check_get_size): New function to get
14332 * malloc/malloc.c (musable): Use malloc_check_get_size.
14333 * malloc/tst-malloc-usable.c: New test case.
14335 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14337 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14339 2012-09-05 Allan McRae <allan@archlinux.org>
14342 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14343 determine header location.
14344 * configure: Regenerated.
14346 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14348 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14350 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14351 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14353 (test): Regenerate.
14355 2012-09-04 David S. Miller <davem@davemloft.net>
14357 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14358 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14359 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14361 2012-09-04 Florian Weimer <fweimer@redhat.com>
14363 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14366 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14368 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14371 * libio/iogetdelim.c: Include <limits.h>.
14372 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14373 + len + 1 would overflow.
14375 2012-09-03 Andreas Jaeger <aj@suse.de>
14377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14378 * sysdeps/i386/fpu/libm-test-ulps: Update.
14380 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14382 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14383 Add s_sinf-sse2, s_conf-sse2.
14385 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14386 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14387 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14388 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14390 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14391 for using routine as __sinf_ia32.
14392 Use macro for function declaration and weak_alias.
14393 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14394 for using routine as __cosf_ia32.
14395 Use macro for function declaration and weak_alias.
14397 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14398 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14400 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14401 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14404 * math/libm-test.inc (cos_test): Add more test cases.
14405 (sin_test): Likewise.
14406 (sincos_test): Likewise.
14408 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14410 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14411 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14413 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14415 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14418 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14419 first element of the GOT.
14420 (elf_machine_load_address): Return the difference between
14421 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14423 2012-09-01 Allan McRae <allan@archlinux.org>
14426 * configure.in (AWK): Require gawk version 3.0 or later.
14427 * configure: Regenerated.
14429 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14431 * sysdeps/unix/sysv/linux/kernel-features.h
14432 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14433 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14434 [__NR_clock_getres]: Make code unconditional.
14435 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14436 (clock_getcpuclockid): Remove code left unreachable by removal of
14438 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14439 code unconditional.
14440 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14441 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14442 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14443 Make code unconditional.
14444 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14445 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14446 * sysdeps/unix/sysv/linux/clock_settime.c
14447 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14449 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14450 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14452 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14455 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14456 scripts/test-installation.pl.
14458 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14459 and $ld_so_version if it is set.
14461 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14464 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14465 failure if reading from procfs failed.
14466 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14468 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14470 * sysdeps/unix/sysv/linux/kernel-features.h
14471 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14472 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14473 Remove conditional code.
14474 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14475 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14476 Remove conditional code.
14477 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14478 * sysdeps/unix/sysv/linux/i386/fxstat.c
14479 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14480 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14481 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14482 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14483 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14484 * sysdeps/unix/sysv/linux/i386/lxstat.c
14485 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14486 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14487 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14488 Remove conditional code.
14489 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14490 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14491 Remove conditional code.
14492 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14493 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14494 <kernel-features.h>.
14495 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14497 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14498 Remove conditional code.
14499 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14500 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14501 Remove conditional.
14503 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14506 * NEWS: Add fixed bug number.
14508 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14511 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14512 underflowing exponent in case of negative sign.
14513 * stdlib/tst-strtod-round-data: Add more tests.
14514 * stdlib/tst-strtod-round.c (tests): Regenerated.
14517 * stdlib/strtod_l.c (NDIG): Remove.
14518 (HEXNDIG): Likewise.
14519 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14520 smallest representable value.
14521 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14522 lie within an exact representation of 1/2 ulp of the result.
14523 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14525 (TENS_P9_IDX): Define unconditionally.
14526 (TENS_P9_SIZE): Likewise.
14527 (TENS_P10_IDX): Likewise.
14528 (TENS_P10_SIZE): Likewise.
14529 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14530 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14531 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14532 entries for 10^2^13 and 10^2^14.
14533 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14534 (TENS_P13_IDX): Define.
14535 (TENS_P13_SIZE): Likewise.
14536 (TENS_P14_IDX): Likewise.
14537 (TENS_P14_SIZE): Likewise.
14538 (_fpioconst_pow10): Change array size to
14539 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14541 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14542 1024]: Add entries for 10^2^13 and 10^2^14.
14543 [LAST_POW10 > _LAST_POW10]: Remove #error.
14544 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14545 (_fpioconst_pow10): Change array size to
14546 FPIOCONST_POW10_ARRAY_SIZE.
14547 * stdlib/gen-fpioconst.c: New file.
14548 * stdlib/gen-tst-strtod-round.c: Likewise.
14549 * stdlib/tst-strtod-round-data: Likewise.
14550 * stdlib/tst-strtod-round.c: Likewise.
14551 * stdlib/Makefile (tests): Add tst-strtod-round.
14554 * stdlib/strtod_l.c: Include <stdint.h>.
14555 (NDEBUG): Do not define.
14556 (round_and_return): Change EXPONENT parameter to type intmax_t.
14557 Rearrange calculations to avoid internal overflow possibilities.
14558 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14559 Rearrange calculations to avoid internal overflow possibilities.
14560 Assert that number fits inside MPNSIZE limbs.
14561 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14562 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14563 calculations and add assertions to avoid internal overflow
14564 possibilities. Add casts to avoid signed/unsigned operations.
14565 * stdlib/tst-strtod-overflow.c: New file.
14566 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14568 2012-08-25 Marek Polacek <polacek@redhat.com>
14570 * time/time.h: Fix some typos in comments.
14572 2012-08-23 Roland McGrath <roland@hack.frob.com>
14574 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14575 * posix/tst-rfc3484-2.c: Likewise.
14576 * posix/tst-rfc3484-3.c: Likewise.
14578 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14580 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14581 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14583 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14585 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14586 #include of fxstatat64.c.
14588 2012-08-22 Roland McGrath <roland@hack.frob.com>
14590 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14591 * shadow/getspent_r.c: Likewise.
14592 * shadow/getspnam.c: Likewise.
14593 * shadow/getspnam_r.c: Likewise.
14594 * gshadow/getsgent.c: Likewise.
14595 * gshadow/getsgent_r.c: Likewise.
14596 * gshadow/getsgnam.c: Likewise.
14597 * gshadow/getsgnam_r.c: Likewise.
14598 * inet/getnetbyad.c: Likewise.
14599 * inet/getnetbyad_r.c: Likewise.
14600 * inet/getnetbynm.c: Likewise.
14601 * inet/getnetbynm_r.c: Likewise.
14602 * inet/getnetent.c: Likewise.
14603 * inet/getnetent_r.c: Likewise.
14604 * inet/getproto.c: Likewise.
14605 * inet/getproto_r.c: Likewise.
14606 * inet/getprtent.c: Likewise.
14607 * inet/getprtent_r.c: Likewise.
14608 * inet/getprtname.c: Likewise.
14609 * inet/getprtname_r.c: Likewise.
14610 * inet/getrpcbyname.c: Likewise.
14611 * inet/getrpcbyname_r.c: Likewise.
14612 * inet/getrpcbynumber.c: Likewise.
14613 * inet/getrpcbynumber_r.c: Likewise.
14614 * inet/getrpcent.c: Likewise.
14615 * inet/getrpcent_r.c: Likewise.
14616 * inet/getaliasent.c: Likewise.
14617 * inet/getaliasent_r.c: Likewise.
14618 * inet/getaliasname.c: Likewise.
14619 * inet/getaliasname_r.c: Likewise.
14620 * nscd/getgrgid_r.c: Likewise.
14621 * nscd/getgrnam_r.c: Likewise.
14622 * nscd/gethstbyad_r.c: Likewise.
14623 * nscd/gethstbynm3_r.c: Likewise.
14624 * nscd/getpwnam_r.c: Likewise.
14625 * nscd/getpwuid_r.c: Likewise.
14626 * nscd/getsrvbynm_r.c: Likewise.
14627 * nscd/getsrvbypt_r.c: Likewise.
14628 * nscd/gai.c: Likewise.
14630 * configure.in (build_nscd): New substituted variable, set
14631 by --disable-build-nscd and defaults to $use_nscd.
14632 * configure: Regenerated.
14633 * config.make.in (build-nscd): New substituted variable.
14634 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14635 Change conditional to require [$(build-nscd) = yes] as well.
14636 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14639 * configure.in (use_nscd): New substituted variable, set by
14640 --disable-nscd. If enabled, define USE_NSCD.
14641 * configure: Regenerated.
14642 * config.h.in: Add USE_NSCD.
14643 * config.make.in (use-nscd): New substituted variable.
14644 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14645 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14646 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14647 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14648 (CFLAGS-getgrnam_r.c): Likewise.
14649 (CFLAGS-initgroups.c): Likewise.
14650 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14651 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14653 * inet/getnetgrent_r.c
14654 (nscd_setnetgrent): New function, broken out of ...
14655 (setnetgrent): ... here. Call it.
14656 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14657 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14658 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14659 * nscd/Makefile (routines, aux): Move definitions after include of
14660 Makeconfig. Conditionalize on [$(use-nscd) != no].
14661 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14662 Conditionalize on [USE_NSCD].
14663 (is_nscd, nscd_init_cb): Likewise.
14664 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14665 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14666 * nss/nss_db/db-init.c: Likewise.
14667 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14669 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14670 (make_request): Use it.
14671 (cache_valid_p): New function.
14672 (__check_pf): Use it.
14673 * NEWS: Add item for --disable-nscd.
14675 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14677 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14678 to support sed >= 4.2.1-20-ga9bf076.
14679 * configure: Regenerated.
14681 2012-08-22 Roland McGrath <roland@hack.frob.com>
14683 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14684 Conditionalize whole body on [IREL].
14686 2012-08-22 Jeff Law <law@redhat.com>
14689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14690 if the family is PF_UNSPEC.
14692 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14694 * Makerules (lib-version): Rename from V.
14695 (install-lib-nosubdir): Change V to lib-version.
14697 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14700 * powerpc32/power6/wcschr.c: New file.
14701 * powerpc32/power6/wcscpy.c: New file.
14702 * powerpc32/power6/wcsrchr.c: New file.
14703 * powerpc64/power6/wcschr.c: New file.
14704 * powerpc64/power6/wcscpy.c: New file.
14705 * powerpc64/power6/wcsrchr.c: New file.
14707 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14709 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14710 (two_way_short_needle): Use it.
14711 * string/strstr.c (AVAILABLE1_USES_J): Define.
14712 * string/strcasestr.c: Likewise.
14714 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14716 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14719 * NEWS: Add an entry.
14720 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14721 define their defaults.
14722 (two_way_short_needle): Detect end-of-string on-the-fly.
14723 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14724 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14725 * string/bug-strcasestr1.c: New test.
14726 * string/Makefile: Run it.
14728 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14731 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14732 the first character.
14734 2012-08-21 Roland McGrath <roland@hack.frob.com>
14736 * csu/elf-init.c (__libc_csu_irel): Function removed.
14737 * csu/libc-start.c (apply_irel): New function.
14738 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14740 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14742 * sysdeps/unix/sysv/linux/kernel-features.h
14743 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14744 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14745 <kernel-features.h>.
14746 [__NR_fadvise64_64]: Make code unconditional.
14747 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14748 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14749 !__NR_fadvise64_64)]: Likewise.
14750 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14751 !__NR_fadvise64_64))]: Likewise.
14752 [__NR_fadvise64]: Make code unconditional.
14753 [!__NR_fadvise64]: Remove conditional code.
14754 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14755 <kernel-features.h>.
14756 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14758 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14761 not include <kernel-features.h>.
14762 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14764 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14766 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14767 include <kernel-features.h>.
14768 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14770 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14773 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14775 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14776 slight instruction rearrangements per scrollpipe analysis.
14777 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14779 2012-08-20 Roland McGrath <roland@hack.frob.com>
14781 * manual/syslog.texi (syslog; vsyslog, closelog):
14782 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14783 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14785 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14786 DSOCAPS to match condition on defining it.
14788 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14790 * sysdeps/unix/sysv/linux/kernel-features.h
14791 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14793 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14794 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14796 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14797 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14799 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14800 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14802 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14803 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14805 * sysdeps/unix/sysv/linux/kernel-features.h
14806 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14807 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14809 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14810 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14811 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14812 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14813 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14814 Make code unconditional.
14815 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14816 (__mmap64) [!__NR_mmap2]: Likewise.
14817 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14818 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14819 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14820 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14821 [__NR_mmap2]: Make code unconditional.
14822 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14823 (__mmap64) [!__NR_mmap2]: Likewise.
14825 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14827 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14829 2012-08-18 Andreas Jaeger <aj@suse.de>
14831 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14833 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14835 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14836 * include/unistd.h (__have_sock_cloexec): Likewise.
14837 (__have_pipe2): Likewise.
14838 (__have_dup3): Likewise.
14840 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14843 * include/unistd.h (__have_pipe2): Change define into an extern int.
14844 (__have_dup3): Likewise.
14845 * socket/have_sock_cloexec.c: Include fcntl.h.
14846 (__have_pipe2): New variable.
14847 (__have_dup3): Likewise.
14849 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14851 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14853 2012-08-17 Marek Polacek <polacek@redhat.com>
14855 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14856 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14858 2012-08-17 Roland McGrath <roland@hack.frob.com>
14860 * configure.in: Add AC_SUBST for sysheaders.
14861 * configure: Regenerated.
14862 * config.make.in (sysheaders): New substituted variable.
14864 * sysdeps/unix/mkfifo.c: Moved ...
14865 * sysdeps/posix/mkfifo.c: ... here.
14866 * sysdeps/unix/mkfifoat.c: Moved ...
14867 * sysdeps/posix/mkfifoat.c: ... here.
14869 * sysdeps/unix/utime.c: Moved ...
14870 * sysdeps/posix/utime.c: ... here.
14872 * sysdeps/unix/time.c: Moved ...
14873 * sysdeps/posix/time.c: ... here.
14874 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14875 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14877 * sysdeps/unix/nice.c: Moved ...
14878 * sysdeps/posix/nice.c: ... here.
14880 * sysdeps/unix/alarm.c: Moved ...
14881 * sysdeps/posix/alarm.c: ... here.
14883 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14885 2012-08-17 Jeff Law <law@redhat.com>
14887 * intl/Makefile (codeset_mo): New variable.
14888 ($(codeset_mo)): New target.
14889 (tst-codeset.out): Depend on that. Remove explicit rule.
14890 (tst-gettext3.out, tst-gettext5.out): Likewise.
14891 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14892 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14893 * intl/tst-codeset.sh: Remove.
14894 * intl/tst-gettext3.sh: Likewise.
14895 * intl/tst-gettext5.sh: Likewise.
14897 2012-08-17 Roland McGrath <roland@hack.frob.com>
14899 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14900 * sysdeps/unix/syscalls.list: ... here.
14902 * sysdeps/posix/getaddrinfo.c
14903 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14904 (gaiconf_init, gaiconf_reload): Use them.
14905 [!_STATBUF_ST_NSEC]
14906 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14907 Define using time_t rather than struct timespec.
14909 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14910 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14912 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14914 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14915 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14918 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14919 __libc_cleanup_push argument.
14921 * bits/param.h: New file.
14922 * misc/sys/param.h: New file.
14923 * include/sys/param.h: New file.
14924 * misc/Makefile (headers): Add bits/param.h.
14925 * sysdeps/generic/sys/param.h: File removed.
14926 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14927 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14928 * sysdeps/mach/hurd/bits/param.h: New file.
14929 * sysdeps/mach/hurd/sys/param.h: File removed.
14931 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14934 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14936 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14937 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14940 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14941 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14942 rather than -D_IO_MTSAFE_IO conditionally.
14943 * stdio-common/Makefile (CPPFLAGS): Likewise.
14944 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14945 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14946 Use $(libio-mtsafe).
14947 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14948 of -D_IO_MTSAFE_IO.
14949 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14950 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14951 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14952 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14953 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14954 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14955 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14956 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14957 (CFLAGS-fread_u_chk.c): Likewise.
14958 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14959 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14960 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14961 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14962 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14963 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14964 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14965 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14966 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14968 * libio/Makefile: Test [$(libc-reentrant) = yes]
14969 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14972 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14973 * sysdeps/pthread/configure: File removed.
14974 * sysdeps/pthread/Makeconfig: New file.
14975 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14976 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14978 2012-08-16 Gary Benson <gbenson@redhat.com>
14980 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14981 unmapping the first object in a namespace.
14983 2012-08-16 Roland McGrath <roland@hack.frob.com>
14985 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14986 (__internal_setnetgrent): ... this. Add internal_function to
14987 definition. Add libc_hidden_def.
14988 (setnetgrent): Update caller.
14989 (internal_endnetgrent): Renamed to ...
14990 (__internal_endnetgrent): ... this. Add internal_function to
14991 definition. Add libc_hidden_def.
14992 (endnetgrent): Update caller.
14993 (internal_getnetgrent_r): Renamed to ...
14994 (__internal_getnetgrent_r): ... this. Add internal_function to
14995 definition. Add libc_hidden_def.
14996 (__getnetgrent_r): Update caller.
14997 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14999 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15001 * stdlib/longlong.h: Update from GCC.
15003 2012-08-16 Roland McGrath <roland@hack.frob.com>
15005 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15006 on _QL, which is set by umul_ppmm but never used.
15007 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15008 variables, which are set by GMP macros but never used.
15009 * stdio-common/_itowa.c (_itowa): Likewise.
15010 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15011 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15013 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15015 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15016 struct La_sh_regs is not constant.
15017 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15018 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15019 and struct La_sparc64_regs are not constant.
15021 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15023 * sysdeps/unix/sysv/linux/kernel-features.h
15024 (__ASSUME_POSIX_TIMERS): Remove.
15025 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15026 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15027 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15028 Make code unconditional.
15029 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15030 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15031 Make code unconditional.
15032 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15033 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15034 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15035 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15036 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15037 Make code unconditional.
15038 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15039 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15040 (__libc_missing_posix_timers): Remove.
15042 2012-08-15 Roland McGrath <roland@hack.frob.com>
15044 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15045 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15047 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15049 * elf/dl-sym.c: Include <stdlib.h>.
15051 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15052 constants, which avoids warnings in 32-bit builds.
15054 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15055 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15057 * misc/lseek.c: File moved to ...
15058 * io/lseek.c: ... here.
15060 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15062 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15063 shifting LEN more than 31 bits at once.
15065 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15068 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15069 segmentation fault for a case of two empty input strings.
15070 * string/test-strncasecmp.c (check1): Renamed to...
15071 (bz12205): ...this.
15072 (bz14195): Add new testcase for two empty input strings and N > 0.
15073 (test_main): Call new testcase, adapt for renamed function.
15075 2012-08-15 Andreas Jaeger <aj@suse.de>
15078 * crypt/md5test2.c: New test, based on test supplied by Serge
15079 Belyshev <belyshev@depni.sinp.msu.ru>.
15080 * crypt/Makefile (xtests): Add md5test-giant..
15081 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15083 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15086 * crypt/md5.c (md5_process_block): Don't assume the buffer
15087 length is less than 2**32.
15088 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15089 length is less than 2**64.
15091 2012-08-15 Roland McGrath <roland@hack.frob.com>
15093 * string/str-two-way.h: Include <sys/param.h>.
15094 (MAX): Macro removed.
15096 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15097 Move #define and #undef of memmove to just before and after
15098 including <string.h>.
15100 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15101 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15102 and after including <string.h>. Move declarations of
15103 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15104 to before #include "string/memmove.c".
15106 * include/dirent.h: Declare __getdirentries.
15108 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15109 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15111 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15113 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15114 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15115 * sysdeps/i386/configure: Regenerated.
15116 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15117 STABS_CURRENT_FILE, and STABS_FUN.
15118 (END): Remove call to STABS_FUN_END.
15119 (STABS_CURRENT_FILE1): Delete.
15120 (STABS_CURRENT_FILE): Likewise.
15121 (STABS_FUN): Likewise.
15122 (STABS_FUN_END): Likewise.
15123 (STABS_FUN2): Likewise.
15124 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15125 * sysdeps/x86_64/configure: Regenerated.
15127 2012-08-14 Roland McGrath <roland@hack.frob.com>
15129 * elf/dl-open.c: Include <atomic.h>.
15130 * elf/dl-lookup.c: Likewise.
15132 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15134 * sysdeps/unix/sysv/linux/kernel-features.h
15135 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15136 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15138 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15140 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15141 condition on __ASSUME_CLONE_THREAD_FLAGS.
15143 2012-08-14 Andreas Jaeger <aj@suse.de>
15145 * sysdeps/i386/fpu/libm-test-ulps: Update.
15147 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15149 * include/atomic.h (atomic_exchange_and_add): Split into ...
15150 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15153 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15157 2012-08-13 Jeff Law <law@redhat.com>
15159 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15160 null byte in the output string.
15162 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15164 * sysdeps/unix/sysv/linux/kernel-features.h
15165 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15166 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15167 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15168 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15169 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15170 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15171 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15173 2012-08-09 Jeff Law <law@redhat.com>
15176 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15177 When avoid_arena is set, don't retry in the that arena. Pick the
15178 next one, whatever it might be.
15179 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15180 (arena_lock): Pass in new parameter to arena_get2.
15181 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15183 (__libc_malloc): Unify retrying after main arena failure with
15184 __libc_memalign version.
15185 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15187 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15190 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15191 to __redirect_strstr.
15192 (__strstr_sse42): Use typeof __redirect_strstr.
15193 (__strstr_ia32): Likewise.
15194 (__libc_strstr): New prototype.
15195 (strstr): Renamed to ...
15196 (__libc_strstr): This.
15197 (strstr): New strong alias of __libc_strstr.
15198 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15199 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15202 (__libc_time): New prototype.
15203 (time_ifunc): Replace time with __libc_time.
15204 (time): New strong alias and hidden definition of __libc_time.
15205 (__GI_time): Remove strong alias.
15206 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15207 Include <stddef.h>.
15208 (memmove): Redefined to __redirect_memmove.
15209 (__memmove_sse2): Use typeof __redirect_memmove.
15210 (__memmove_ssse3): Likewise.
15211 (__memmove_ssse3_back): Likewise.
15212 (__libc_memmove): New prototype.
15213 (memmove): Renamed to ...
15214 (__libc_memmove): This.
15215 (memmove): New strong alias of __libc_memmove.
15217 2012-08-08 Mark Salter <msalter@redhat.com>
15220 (R_MN10300_TLS_GD): Define.
15221 (R_MN10300_TLS_LD): Likewise.
15222 (R_MN10300_TLS_LDO): Likewise.
15223 (R_MN10300_TLS_GOTIE): Likewise.
15224 (R_MN10300_TLS_IE): Likewise.
15225 (R_MN10300_TLS_LE): Likewise.
15226 (R_MN10300_TLS_DTPMOD): Likewise.
15227 (R_MN10300_TLS_DTPOFF): Likewise.
15228 (R_MN10300_TLS_TPOFF): Likewise.
15229 (R_MN10300_SYM_DIFF): Likewise.
15230 (R_MN10300_ALIGN): Likewise.
15231 (R_MN10300_NUM): Update.
15233 2012-08-08 Joseph Myers <joseph@codesourcery.com>
15235 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15238 2012-08-08 Roland McGrath <roland@hack.frob.com>
15240 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15242 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15243 sysdeps/unix -> sysdeps/posix move.
15244 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15246 2012-08-07 Allan McRae <allan@archlinux.org>
15249 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15250 (SUNOS_CPP): Likewise.
15251 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15253 (open_input): Call CPP using execvp.
15255 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15257 * sysdeps/unix/sysv/linux/kernel-features.h
15258 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15259 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15260 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15261 (__ASSUME_WAITID_SYSCALL): Likewise.
15262 * sysdeps/unix/sysv/linux/dl-execstack.c
15263 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15264 code unconditional.
15265 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15267 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15268 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15269 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15271 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15273 [__ASSUME_WAITID_SYSCALL]: Likewise.
15274 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15276 2012-08-07 Roland McGrath <roland@hack.frob.com>
15278 * sysdeps/unix/closedir.c: Renamed to ...
15279 * sysdeps/posix/closedir.c: ... here.
15280 * sysdeps/unix/dirfd.c: Renamed to ...
15281 * sysdeps/posix/dirfd.c: ... here.
15282 * sysdeps/unix/dirstream.h: Renamed to ...
15283 * sysdeps/posix/dirstream.h: ... here.
15284 * sysdeps/unix/fdopendir.c: Renamed to ...
15285 * sysdeps/posix/fdopendir.c: ... here.
15286 * sysdeps/unix/opendir.c: Renamed to ...
15287 * sysdeps/posix/opendir.c: ... here.
15288 * sysdeps/unix/readdir.c: Renamed to ...
15289 * sysdeps/posix/readdir.c: ... here.
15290 * sysdeps/unix/readdir_r.c: Renamed to ...
15291 * sysdeps/posix/readdir_r.c: ... here.
15292 * sysdeps/unix/rewinddir.c: Renamed to ...
15293 * sysdeps/posix/rewinddir.c: ... here.
15294 * sysdeps/unix/seekdir.c: Renamed to ...
15295 * sysdeps/posix/seekdir.c: ... here.
15296 * sysdeps/unix/telldir.c: Renamed to ...
15297 * sysdeps/posix/telldir.c: ... here.
15298 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15299 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15300 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15301 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15303 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15304 * bits/fcntl.h: ... here.
15306 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15308 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15309 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15310 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15311 (struct flock): Move l_start, l_len to the beginning.
15312 Use __pid_t for l_pid.
15313 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15314 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15315 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15316 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15317 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15318 [__USE_LARGEFILE64] (struct flock64): New type.
15319 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15321 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15322 * bits/dirent.h: ... here.
15324 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15325 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15327 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15329 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15330 Change from 2.6.0 to 2.6.16.
15331 * sysdeps/unix/sysv/linux/configure: Regenerated.
15332 * sysdeps/unix/sysv/linux/kernel-features.h
15333 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15334 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15336 (__ASSUME_UTIMES): Likewise.
15337 (__ASSUME_CLONE_STOPPED): Remove.
15338 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15339 architectures, not kernel version.
15340 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15341 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15342 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15343 (__ASSUME_WAITID_SYSCALL): Likewise.
15344 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15345 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15346 * README: State 2.6.16 as minimum Linux kernel version. Do not
15347 refer to older versions.
15349 2012-08-06 Roland McGrath <roland@hack.frob.com>
15351 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15352 Define alphasort64 as an alias.
15353 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15354 Define versionsort64 as an alias.
15355 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15356 Define scandir64 as an alias.
15357 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15358 Define scandirat64 as an alias.
15359 * dirent/alphasort64.c (alphasort64):
15360 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15361 * dirent/versionsort64.c: Likewise.
15362 * dirent/scandir64.c: Likewise.
15363 * dirent/scandirat64.c: Likewise.
15364 * sysdeps/wordsize-64/alphasort.c: File removed.
15365 * sysdeps/wordsize-64/alphasort64.c: File removed.
15366 * sysdeps/wordsize-64/scandir.c: File removed.
15367 * sysdeps/wordsize-64/scandir64.c: File removed.
15368 * sysdeps/wordsize-64/scandirat.c: File removed.
15369 * sysdeps/wordsize-64/scandirat64.c: File removed.
15370 * sysdeps/wordsize-64/versionsort.c: File removed.
15371 * sysdeps/wordsize-64/versionsort64.c: File removed.
15372 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15373 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15374 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15375 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15376 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15377 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15378 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15379 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15381 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15382 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15383 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15384 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15385 [defined __arch64__ || defined __sparcv9]
15386 (__INO_T_MATCHES_INO64_T): New macro.
15387 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15388 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15389 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15390 * sysdeps/unix/sysv/linux/bits/dirent.h
15391 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15392 (_DIRENT_MATCHES_DIRENT64): New macro.
15394 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15395 Define lockf64 as an alias.
15396 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15397 Define fseeko64 as an alias.
15398 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15399 Define ftello64 as an alias.
15400 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15401 Define _IO_fgetpos64 and fgetpos64 as aliases.
15402 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15403 Define _IO_fsetpos64 and fsetpos64 as aliases.
15404 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15405 Conditionalize body on this.
15406 * libio/fseeko64.c: Likewise.
15407 * libio/ftello64.c: Likewise.
15408 * libio/iofgetpos64.c: Likewise.
15409 * libio/iofsetpos64.c: Likewise.
15410 * sysdeps/wordsize-64/lockf.c: File removed.
15411 * sysdeps/wordsize-64/lockf64.c: File removed.
15412 * sysdeps/wordsize-64/fseeko.c: File removed.
15413 * sysdeps/wordsize-64/fseeko64.c: File removed.
15414 * sysdeps/wordsize-64/ftello.c: File removed.
15415 * sysdeps/wordsize-64/ftello64.c: File removed.
15416 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15417 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15418 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15419 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15420 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15421 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15422 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15423 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15424 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15425 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15426 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15427 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15428 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15429 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15431 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15433 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15434 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15435 [defined __arch64__ || defined __sparcv9]
15436 (__OFF_T_MATCHES_OFF64_T): New macro.
15437 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15438 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15439 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15440 (__OFF_T_MATCHES_OFF64_T): New macro.
15442 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15444 * stdlib/secure-getenv.c (__secure_getenv): Replace
15445 GLIBC_2_16 with GLIBC_2_17.
15447 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15449 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15450 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15452 2012-08-03 David S. Miller <davem@davemloft.net>
15454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15456 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15458 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15460 (__ASSUME_CORRECT_SI_PID): Likewise.
15461 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15462 (__ASSUME_TMPFS_NAME): Likewise.
15463 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15464 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15465 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15466 (HAVE_AUX_SECURE): Make definition unconditional.
15467 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15468 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15470 2012-08-03 Roland McGrath <roland@hack.frob.com>
15472 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15473 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15474 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15475 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15476 __eloop_threshold instead of SYMLOOP_MAX.
15478 * sysdeps/generic/eloop-threshold.h: New file.
15479 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15481 * elf/chroot_canon.c (chroot_canon): Likewise.
15483 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15486 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15487 Change to 2.6.0 everywhere.
15488 * sysdeps/unix/sysv/linux/configure: Regenerated.
15489 * sysdeps/unix/sysv/linux/kernel-features.h
15490 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15491 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15493 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15494 (__ASSUME_FUTEX_REQUEUE): Remove.
15495 (__ASSUME_STATFS64): Define unconditionally.
15496 (__ASSUME_AT_SECURE): Likewise.
15497 (__ASSUME_CORRECT_SI_PID): Likewise.
15498 (__ASSUME_TGKILL): Define without depending on kernel version for
15500 (__ASSUME_UTIMES): Likewise.
15501 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15503 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15504 (__ASSUME_TMPFS_NAME): Likewise.
15505 * README: Update reference to Linux kernel versions.
15507 2012-08-02 Marek Polacek <polacek@redhat.com>
15510 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15511 libc_cv_asm_type_prefix with %.
15512 * configure: Regenerated.
15513 * include/libc-symbols.h: Remove comment about
15514 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15515 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15516 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15517 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15518 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15519 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15520 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15521 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15522 * elf/tst-unique2mod1.c: Likewise.
15523 * elf/tst-unique1mod2.c: Likewise.
15524 * elf/tst-unique1mod1.c: Likewise.
15525 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15526 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15527 Replace ASM_TYPE_DIRECTIVE with .type.
15528 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15529 * sysdeps/i386/sysdep.h: Likewise.
15530 * sysdeps/x86_64/sysdep.h: Likewise.
15531 * sysdeps/sh/sysdep.h: Likewise.
15532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15533 Do not define ASM_TYPE_DIRECTIVE.
15534 * sysdeps/powerpc/sysdep.h: Likewise.
15535 * sysdeps/powerpc/powerpc32/sysdep.h:
15536 Replace ASM_TYPE_DIRECTIVE with .type.
15537 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15538 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15539 * sysdeps/i386/fpu/e_powf.S: Likewise.
15540 * sysdeps/i386/fpu/e_expl.S: Likewise.
15541 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15542 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15543 * sysdeps/i386/fpu/e_pow.S: Likewise.
15544 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15545 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15546 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15547 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15548 * sysdeps/i386/fpu/e_log2.S: Likewise.
15549 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15550 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15551 * sysdeps/i386/fpu/e_powl.S: Likewise.
15552 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15553 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15554 * sysdeps/i386/fpu/e_logl.S: Likewise.
15555 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15556 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15557 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15558 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15559 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15560 * sysdeps/i386/fpu/e_log.S: Likewise.
15561 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15562 * sysdeps/i386/fpu/e_logf.S: Likewise.
15563 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15564 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15565 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15566 * sysdeps/i386/fpu/e_log10.S: Likewise.
15567 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15568 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15569 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15570 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15571 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15572 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15573 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15574 * sysdeps/i386/i686/strtok.S: Likewise.
15575 * sysdeps/i386/i386-mcount.S: Likewise.
15576 * sysdeps/i386/strtok.S: Likewise.
15577 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15578 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15579 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15580 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15581 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15582 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15583 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15584 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15585 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15586 * sysdeps/x86_64/_mcount.S: Likewise.
15587 * sysdeps/x86_64/strtok.S: Likewise.
15588 * sysdeps/sh/_mcount.S: Likewise.
15590 2012-08-01 Roland McGrath <roland@hack.frob.com>
15592 * libio/iofopen.c: Include <fcntl.h>.
15593 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15594 (_IO_fopen64, fopen64): Define as aliases.
15595 * libio/iofopen64.c: Include <fcntl.h>.
15596 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15597 Conditionalize body on this.
15598 * sysdeps/wordsize-64/iofopen.c: File removed.
15599 * sysdeps/wordsize-64/iofopen64.c: File removed.
15601 2012-08-01 Marek Polacek <polacek@redhat.com>
15603 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15604 Use dlfcn directly instead of a variable.
15605 (binfmt-subdir): Do not define.
15608 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15610 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15611 Remove all definitions.
15612 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15613 <kernel-features.h>.
15614 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15615 (miss_F_GETOWN_EX): Remove all definitions.
15616 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15618 [!__ASSUME_FCNTL64]: Remove conditional code.
15619 [__ASSUME_FCNTL64]: Make code unconditional.
15620 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15621 <kernel-features.h>.
15622 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15623 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15624 (lockf64) [__NR_fcntl64]: Make code unconditional.
15625 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15627 * sysdeps/unix/sysv/linux/kernel-features.h
15628 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15629 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15630 Make code unconditional.
15631 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15632 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15634 [__NR_vfork]: Make code unconditional.
15635 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15636 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15638 [__NR_vfork]: Make code unconditional.
15639 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15640 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15642 2012-08-01 Roland McGrath <roland@hack.frob.com>
15644 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15645 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15647 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15648 Define mkstemp64 as an alias.
15649 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15650 Define mkstemps64 as an alias.
15651 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15652 Define mkostemp64 as an alias.
15653 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15654 Define mkostemps64 as an alias.
15655 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15656 Conditionalize body on this.
15657 * misc/mkostemp64.c: Likewise.
15658 * misc/mkostemps64.c: Likewise.
15659 * misc/mkstemps64.c: Likewise.
15660 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15661 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15662 * sysdeps/wordsize-64/mkostemp.c: File removed.
15663 * sysdeps/wordsize-64/mkstemp.c: File removed.
15664 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15665 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15666 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15667 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15670 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15671 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15672 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15673 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15675 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15676 compat_symbol macros from <shlib-compat.h> rather than the underlying
15677 default_symbol_version and symbol_version macros, so that DEFAULT
15678 lines in shlib-versions are respected.
15679 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15681 2012-08-01 Florian Weimer <fweimer@redhat.com>
15683 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15684 Declare with warn_unused_result.
15685 (setgid, setregid, setegid, setresgid): Likewise.
15686 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15688 * WUR-REPORT: Remove set*id functions.
15690 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15692 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15694 2012-07-31 Roland McGrath <roland@hack.frob.com>
15697 * include/sys/socket.h (__libc_accept, __libc_accept4):
15698 Add attribute_hidden.
15699 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15701 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15703 * inet/getnetgrent_r.c (setup): Likewise.
15705 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15707 2012-07-31 David S. Miller <davem@davemloft.net>
15709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15711 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15714 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15715 value between 1.0 and 2.0 and smaller part has absolute value less
15717 * math/s_clog10.c (__clog10): Likewise.
15718 * math/s_clog10f.c (__clog10f): Likewise.
15719 * math/s_clog10l.c (__clog10l): Likewise.
15720 * math/s_clogf.c (__clogf): Likewise.
15721 * math/s_clogl.c (__clogl): Likewise.
15722 * math/libm-test.inc (clog_test): Add more tests.
15723 (clog10_test): Likewise.
15724 * sysdeps/i386/fpu/libm-test-ulps: Update.
15725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15727 2012-07-31 Florian Weimer <fweimer@redhat.com>
15729 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15730 Exit with zero in case no suitable GID is found, and write a
15731 message to standard error.
15733 2012-07-30 Roland McGrath <roland@hack.frob.com>
15735 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15737 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15738 (MAXPATHLEN): Removed.
15739 (NOGROUP, NODEV): New macros.
15740 (setbit, clrbit, isset, isclr): New macros.
15741 (howmany, roundup, powerof2): New macros.
15742 (DEV_BSIZE): New macro.
15744 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15745 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15747 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15748 definition on [!__NO_LONG_DOUBLE_MATH].
15750 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15751 PTR_MANGLE and PTR_DEMANGLE.
15753 * socket/accept4.c (accept4): Rename to __libc_accept4.
15754 Define accept4 as a weak alias.
15756 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15757 on [_DIRENT_HAVE_D_TYPE].
15758 * io/ftw.c (ftw_dir): Likewise.
15760 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15762 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15764 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15765 Use the BSD numbers rather than the arbitrary ones we had.
15766 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15767 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15768 (SIGXCPU, SIGXFSZ): New macros.
15771 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15772 initializer on [_LIBC_REENTRANT].
15774 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15775 definitions inside [_POSIX_MAPPED_FILES].
15777 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15779 * dirent/opendir.c: Include <fcntl.h>.
15781 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15782 (__libc_getspecific): Likewise.
15783 (__libc_key_create): Likewise.
15785 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15786 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15787 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15788 (tmpfile64): Define as alias.
15789 * sysdeps/wordsize-64/tmpfile.c: File removed.
15790 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15791 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15792 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15794 * stdio-common/vfscanf.c: Include <stdbool.h>.
15795 * nss/makedb.c: Likewise.
15796 * stdio-common/_i18n_number.h: Likewise.
15797 * argp/argp-help.c: Likewise.
15798 * posix/wordexp.c: Likewise.
15799 * sysdeps/posix/spawni.c: Likewise.
15800 * nss/nss_files/files-initgroups.c: Likewise.
15801 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15802 * nss/nss_files/files-initgroups.c: Likewise.
15803 * nss/nss_db/db-netgrp.c: Likewise.
15804 * nss/nss_db/db-initgroups.c: Likewise.
15805 * io/fchmodat.c: Include <sys/stat.h>.
15807 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15808 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15810 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15813 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15814 Add multiple inclusion protection.
15816 2012-07-27 David S. Miller <davem@davemloft.net>
15818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15820 2012-07-27 Gary Benson <gbenson@redhat.com>
15823 * elf/rtld.c: Include <stap-probe.h>.
15824 (dl_main): Added static probes "init_start" and "init_complete".
15825 * elf/dl-load.c: Include <stap-probe.h>.
15826 (lose): Take new parameter "nsid".
15827 Added static probe "map_failed".
15828 (_dl_map_object_from_fd): Pass namespace id to lose.
15829 Added static probe "map_start".
15830 (open_verify): Pass namespace id to lose.
15831 * elf/dl-open.c: Include <stap-probe.h>.
15832 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15833 and "reloc_complete".
15834 * elf/dl-close.c: Include <stap-probe.h>.
15835 (_dl_close_worker): Added static probes "unmap_start" and
15837 * elf/rtld-debugger-interface.txt: New file documenting the above.
15839 2012-07-26 Roland McGrath <roland@hack.frob.com>
15841 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15842 rather than a string variable.
15843 * sunrpc/rpc_main.c (h_output): Likewise.
15844 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15846 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15848 * inet/check_native.c: New file.
15850 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15853 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15854 if larger part has absolute value 1.0.
15855 * math/s_clog10.c (__clog10): Likewise.
15856 * math/s_clog10f.c (__clog10f): Likewise.
15857 * math/s_clog10l.c (__clog10l): Likewise.
15858 * math/s_clogf.c (__clogf): Likewise.
15859 * math/s_clogl.c (__clogl): Likewise.
15860 * math/libm-test.inc (clog_test): Add more tests.
15861 (clog10_test): Likewise.
15862 * sysdeps/i386/fpu/libm-test-ulps: Update.
15863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15865 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15866 (pltexit): Likewise.
15867 (La_regs): Likewise.
15868 (La_retval): Likewise.
15869 (int_retval): Likewise.
15870 Update #error for removed macros to refer only to definitions in
15872 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15874 (pltexit): Likewise.
15875 (La_regs): Likewise.
15876 (La_retval): Likewise.
15877 (int_retval): Likewise.
15878 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15880 (pltexit): Likewise.
15881 (La_regs): Likewise.
15882 (La_retval): Likewise.
15883 (int_retval): Likewise.
15884 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15886 (pltexit): Likewise.
15887 (La_regs): Likewise.
15888 (La_retval): Likewise.
15889 (int_retval): Likewise.
15890 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15892 (pltexit): Likewise.
15893 (La_regs): Likewise.
15894 (La_retval): Likewise.
15895 (int_retval): Likewise.
15896 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15898 (pltexit): Likewise.
15899 (La_regs): Likewise.
15900 (La_retval): Likewise.
15901 (int_retval): Likewise.
15902 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15904 (pltexit): Likewise.
15905 (La_regs): Likewise.
15906 (La_retval): Likewise.
15907 (int_retval): Likewise.
15908 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15909 macro definitions in tst-audit.h.
15910 * sysdeps/i386/tst-audit.h: New file.
15911 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15912 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15913 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15914 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15915 * sysdeps/sh/tst-audit.h: Likewise.
15916 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15917 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15918 * sysdeps/x86_64/tst-audit.h: Likewise.
15920 2012-07-26 Andreas Jaeger <aj@suse.de>
15922 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15925 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15926 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15927 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15929 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15930 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15931 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15933 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15936 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15938 (si_call_addr, si_syscall, si_arch): Define new macro.
15939 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15941 (si_call_addr, si_syscall, si_arch): Define new marcro.
15942 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15944 (si_call_addr, si_syscall, si_arch): Define new macro.
15945 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15947 (si_call_addr, si_syscall, si_arch): Define new macro.
15949 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15952 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15953 Change to 2.4.21 where previously 2.4.1.
15954 * sysdeps/unix/sysv/linux/configure: Regenerated.
15955 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15956 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15957 Linux kernel version.
15958 (__ASSUME_STD_AUXV): Remove.
15959 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15961 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15962 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15963 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15964 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15965 (__ASSUME_NETLINK_SUPPORT): Likewise.
15966 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15967 (__no_netlink_support): Remove conditional definition.
15968 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15970 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15971 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15972 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15973 (if_nameindex_ioctl): Remove.
15974 (if_nameindex_netlink): Do not handle __no_netlink_support.
15975 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15977 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15978 Remove conditional code.
15979 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15981 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15983 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15984 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15985 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15987 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15988 [!__ASSUME_STD_AUXV]: Remove conditional code.
15989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15990 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15991 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15993 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15994 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15996 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15998 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15999 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16001 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16003 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16006 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16009 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16010 code unconditional.
16011 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16013 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16015 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16018 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16020 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16023 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16024 code unconditional.
16025 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16027 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16029 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16032 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16033 code unconditional.
16034 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16036 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16038 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16041 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16043 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16044 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16045 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16046 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16047 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16048 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16049 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16050 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16051 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16052 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16053 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16054 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16055 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16056 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16057 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16058 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16059 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16060 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16061 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16063 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16064 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16065 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16067 2012-07-25 Florian Weimer <fweimer@redhat.com>
16069 * Versions.def: Add GLIBC_2.17.
16070 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16071 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16072 Introduce __libc_secure_getenv.
16073 * stdlib/Versions (2.17): Add secure_getenv
16074 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16075 * stdlib/secure-getenv.c: Rename __secure_getenv to
16076 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16077 symbol __secure_getenv for GLIBC_2.0.
16078 * stdlib/tst-secure-getenv.c: New.
16079 * stdlib/Makefile (tests): Add testcase.
16080 * manual/startup.texi (Environment Access): Document
16082 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16083 __libc_secure_getenv.
16084 * inet/ruserpass.c (ruserpass): Likewise.
16085 * malloc/mtrace.c (mtrace): Likewise.
16086 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16087 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16088 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16089 * sysdeps/posix/tempname.c: Likewise. Evaluate
16090 HAVE_SECURE_GETENV.
16091 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16092 __secure_getenv to __libc_secure_getenv.
16093 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16100 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16106 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16108 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16109 (struct La_i86_retval): Likewise.
16110 (struct La_x86_64_regs): Likewise.
16111 (struct La_x86_64_retval): Likewise.
16112 (struct La_x32_regs): Likewise.
16113 (struct La_x32_retval): Likewise.
16114 (struct La_ppc32_regs): Likewise.
16115 (struct La_ppc32_retval): Likewise.
16116 (struct La_ppc64_regs): Likewise.
16117 (struct La_ppc64_retval): Likewise.
16118 (struct La_sh_regs): Likewise.
16119 (struct La_sh_retval): Likewise.
16120 (struct La_s390_32_regs): Likewise.
16121 (struct La_s390_32_retval): Likewise.
16122 (struct La_s390_64_regs): Likewise.
16123 (struct La_s390_64_retval): Likewise.
16124 (struct La_sparc32_regs): Likewise.
16125 (struct La_sparc32_retval): Likewise.
16126 (struct La_sparc64_regs): Likewise.
16127 (struct La_sparc64_retval): Likewise.
16128 (struct audit_ifaces): Remove architecture-specific pltenter and
16130 * sysdeps/i386/ldsodefs.h: New file.
16131 * sysdeps/powerpc/ldsodefs.h: Likewise.
16132 * sysdeps/s390/ldsodefs.h: Likewise.
16133 * sysdeps/sh/ldsodefs.h: Likewise.
16134 * sysdeps/sparc/ldsodefs.h: Likewise.
16135 * sysdeps/x86_64/ldsodefs.h: Likewise.
16137 2012-07-25 Marek Polacek <polacek@redhat.com>
16140 * math/libm-test.inc (yn_test): Add another test.
16141 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16142 to ERANGE when the result is +-Inf.
16143 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16144 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16145 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16146 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16148 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16150 * conform/data/time.h-data (NULL): Use macro-constant. Require
16152 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16154 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16156 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16158 * configure.in <sysdeps resolving>: Correct printing
16160 * configure: Regenerate.
16162 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16164 * math/w_ilogb.c: Include <limits.h>.
16165 * math/w_ilogbl.c: Likewise.
16167 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16169 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16170 va_copy. Document allowing for unavailable va_copy only as
16171 pre-C99 compatibility.
16172 * manual/string.texi (Copying and Concatenation): Use va_copy
16173 instead of __va_copy in concat example.
16175 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16177 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16178 (__sendto): Use create_address_port. Initialize APORT and deallocate
16181 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16182 with O_NOLINK passed to __file_name_lookup.
16184 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16185 with O_NOLINK passed to __file_name_lookup.
16187 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16188 negative N or less than NGIDS.
16190 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16191 type to string_t. Set ERANGE as errno and return it if NAME is not big
16192 enough. Use memcpy instead of strncpy.
16194 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16196 * elf/Makefile (check-data): Remove.
16197 (localplt.data): New vpath directive.
16198 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16199 instead of $(check-data).
16200 * scripts/data/localplt-generic.data: Move to ...
16201 * sysdeps/generic/localplt.data: ... here.
16202 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16203 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16204 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16207 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16210 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16213 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16216 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16219 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16223 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16225 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16226 PPC32 and PPC64 files.
16227 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16228 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16230 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16232 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16233 __makecontext_ret to ...
16234 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16235 ... here and call exit if uc_link is NULL. New file.
16236 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16237 __makecontext_ret.S.
16238 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16239 __makecontext_ret to ...
16240 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16241 ... here and call exit if uc_link is NULL. New file.
16242 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16243 __makecontext_ret.S.
16245 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16247 * elf/elf.h (R_390_IRELATIVE): New definition.
16248 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16249 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16250 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16251 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16252 (elf_machine_lazy_rel): Likewise.
16253 * sysdeps/s390/dl-irel.h: New file.
16254 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16255 * sysdeps/s390/s390-64/memset.S: New asm code.
16256 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16257 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16258 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16259 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16260 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16261 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16262 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16263 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16264 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16265 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16266 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16267 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16268 * sysdeps/s390/s390-32/memset.S: New asm code.
16269 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16271 2012-07-17 Marek Polacek <polacek@redhat.com>
16274 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16275 * sysdeps/s390/s390-64/configure.in: Likewise.
16276 * sysdeps/sparc/configure.in: Likewise.
16277 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16278 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16279 * sysdeps/i386/configure.in: Likewise.
16280 * sysdeps/x86_64/configure.in: Likewise.
16281 * sysdeps/sh/configure.in: Likewise.
16282 * sysdeps/s390/s390-32/configure: Regenerated.
16283 * sysdeps/s390/s390-64/configure: Likewise.
16284 * sysdeps/x86_64/configure: Likewise.
16285 * sysdeps/sh/configure: Likewise.
16286 * sysdeps/powerpc/powerpc64/configure: Likewise.
16287 * sysdeps/powerpc/powerpc32/configure: Likewise.
16288 * sysdeps/sparc/configure: Likwise.
16289 * sysdeps/i386/configure: Likewise.
16291 * elf/dl-open.c: Comment fixes.
16293 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16295 * Makefile [CXX] (check-data): Remove.
16296 [CXX] (c++-types.data): New vpath directive.
16297 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16298 vpath. Do not allow for C++ type data being missing.
16299 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16300 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16301 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16302 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16303 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16304 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16305 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16308 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16311 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16314 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16317 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16320 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16323 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16326 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16327 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16329 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16330 definitions to architecture-specific files.
16331 (TLS_IE): Likewise.
16332 (TLS_LD): Likewise.
16333 (TLS_GD): Likewise.
16334 * sysdeps/i386/tls-macros.h: New file.
16335 * sysdeps/powerpc/tls-macros.h: Likewise.
16336 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16337 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16338 * sysdeps/sh/tls-macros.h: Likewise.
16339 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16340 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16341 * sysdeps/x86_64/tls-macros.h: Likewise.
16343 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16345 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16346 zero value for regular exit case.
16348 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16349 (__start_context): Preserve zero value for regular exit case.
16351 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16352 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16354 * manual/setjmp.texi (setcontext): Clarify normal process
16355 termination when uc_link is the null pointer.
16356 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16359 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16361 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16362 preprocessor. Test for each exception mask separately.
16364 2012-07-16 Andreas Jaeger <aj@suse.de>
16366 * po/ru.po: Update from translation team.
16368 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16370 * conform/data/string.h-data (NULL): Use macro-constant. Require
16372 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16373 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16374 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16375 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16376 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16378 2012-07-13 Andreas Jaeger <aj@suse.de>
16380 * po/fr.po: Update from translation team.
16382 2012-07-12 Marek Polacek <polacek@redhat.com>
16385 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16386 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16389 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16392 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16393 Change to 2.4.1 where previously 2.4.0.
16394 * sysdeps/unix/sysv/linux/configure: Regenerated.
16395 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16396 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16398 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16399 (__ASSUME_AT_CLKTCK): Remove.
16400 (__ASSUME_AT_PAGESIZE): Likewise.
16401 (__ASSUME_AT_XID): Likewise.
16402 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16403 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16404 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16406 (HAVE_AUX_PAGESIZE): Likewise.
16407 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16408 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16409 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16411 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16415 the temporary buffer used to invoke __gethostbyname2_r,
16416 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16417 host_data / struct gaih_addrtuple.
16418 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16419 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16420 header file nss/nsswitch.h.
16421 * nss/nsswitch.h (global scope): Add definition of implementation
16422 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16423 resolv/nss_dns/dns-host.c).
16425 2012-07-11 Andreas Jaeger <aj@suse.de>
16427 * po/fr.po: Update from translation team.
16429 * po/sv.po: Update from translation team
16430 * po/fr.po: Another update from translation team.
16432 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16434 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16435 for subnormals or multiply small sinh result by itself.
16436 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16439 2012-07-11 David S. Miller <davem@davemloft.net>
16441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16443 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16446 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16447 (INTERNAL_MARK): Shift it here.
16449 2012-07-10 Marek Polacek <polacek@redhat.com>
16452 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16453 libc_cv_asm_global_directive with .globl.
16454 * configure: Regenerated.
16455 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16457 * sysdeps/i386/configure: Regenerated.
16458 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16460 * sysdeps/x86_64/configure: Regenerated.
16461 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16462 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16463 * elf/tst-unique2mod2.c: Likewise.
16464 * elf/tst-unique2mod1.c: Likewise.
16465 * elf/tst-unique1mod2.c: Likewise.
16466 * elf/tst-unique1mod1.c: Likewise.
16467 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16468 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16469 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16470 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16471 * sysdeps/mach/sysdep.h: Likewise.
16472 * sysdeps/i386/sysdep.h: Likewise.
16473 * sysdeps/i386/i386-mcount.S: Likewise.
16474 * sysdeps/x86_64/_mcount.S: Likewise.
16475 * sysdeps/x86_64/sysdep.h: Likewise.
16476 * sysdeps/sh/_mcount.S: Likewise.
16477 * sysdeps/sh/sysdep.h: Likewise.
16478 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16479 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16480 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16481 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16482 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16483 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16484 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16485 * locale/localeinfo.h: Likewise.
16486 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16487 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16489 2012-07-09 Roland McGrath <roland@hack.frob.com>
16492 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16494 * manual/message.texi (The Uniforum approach): Likewise.
16495 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16496 (glibc iconv Implementation): Likewise.
16498 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16501 * math/s_clog.c (__clog): Avoid scaling a value down where that
16502 could result in underflow.
16503 * math/s_clog10.c (__clog10): Likewise.
16504 * math/s_clog10f.c (__clog10f): Likewise.
16505 * math/s_clog10l.c (__clog10l): Likewise.
16506 * math/s_clogf.c (__clogf): Likewise.
16507 * math/s_clogl.c (__clogl): Likewise.
16508 * math/libm-test.inc (clog_test): Add more tests.
16509 (clog10_test): Likewise.
16510 * sysdeps/i386/fpu/libm-test-ulps: Update.
16511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16513 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16516 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16517 by 7 not 8 to examine high bit of fractional part.
16520 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16521 for call to __mcount_internal.
16522 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16523 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16524 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16526 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16529 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16530 approximation for values within 0x1p-13f of an odd multiple of
16532 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16533 exception. Add more tests.
16534 * sysdeps/i386/fpu/libm-test-ulps: Update.
16537 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16538 inputs and return -1 for them. Do not check for +Inf in case not
16539 reachable for +Inf.
16540 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16541 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16542 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16543 and return -1 for them. Do not check for +Inf in case not
16544 reachable for +Inf.
16545 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16547 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16548 and return -1 for them. Do not check for +Inf in case not
16549 reachable for +Inf.
16550 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16551 spurious underflow.
16552 * sysdeps/i386/fpu/libm-test-ulps: Update.
16553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16555 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16557 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16559 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16563 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16564 could result in spurious underflow. Scale down values above
16565 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16566 * math/s_csqrtf.c (__csqrtf): Likewise.
16567 * math/s_csqrtl.c (__csqrtl): Likewise.
16568 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16569 spurious underflow.
16570 * sysdeps/i386/fpu/libm-test-ulps: Update.
16571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16573 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16575 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16577 * catgets/xopen-msg.awk: New file.
16578 * catgets/xopen-msg.sed: Removed.
16580 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16582 * intl/po2test.awk: New file.
16583 * intl/po2test.sed: Removed.
16585 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16588 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16589 or multiply small sinh result by itself.
16590 * math/s_ctanf.c (__ctanf): Likewise.
16591 * math/s_ctanh.c (__ctanh): Likewise.
16592 * math/s_ctanhf.c (__ctanhf): Likewise.
16593 * math/s_ctanhl.c (__ctanhl): Likewise.
16594 * math/s_ctanl.c (__ctanl): Likewise.
16595 * math/libm-test.inc (ctan_test_tonearest): New function.
16596 (ctan_test_towardzero): Likewise.
16597 (ctan_test_downward): Likewise.
16598 (ctan_test_upward): Likewise.
16599 (ctanh_test_tonearest): Likewise.
16600 (ctanh_test_towardzero): Likewise.
16601 (ctanh_test_downward): Likewise.
16602 (ctanh_test_upward): Likewise.
16603 (main): Call these new functions.
16604 * sysdeps/i386/fpu/libm-test-ulps: Update.
16605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16607 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16609 * .gitignore: Delete /ports entry.
16611 2012-07-03 Andreas Jaeger <aj@suse.de>
16613 * po/bg.po: Update from translation team.
16614 * po/cs.po: Likewise.
16615 * po/de.po: Likewise.
16616 * po/hr.po: Likewise.
16617 * po/nl.pl: Likewise.
16618 * po/pl.po: Likewise.
16619 * po/vi.po: Likewise.
16621 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16623 * Makeconfig [!+link] (+link-before-libc): New variable.
16624 [!+link] (+link-after-libc): Likewise.
16625 [!+link] (+link-tests): Likewise.
16626 [!+link] (+link): Define in terms of $(+link-before-libc) and
16627 $(+link-after-libc).
16628 [!+link-static] (+link-static-before-libc): New variable.
16629 [!+link-static] (+link-static-after-libc): Likewise.
16630 [!+link-static] (+link-static-tests): Likewise.
16631 [!+link-static] (+link-static): Define in terms of
16632 $(+link-static-before-libc) and $(+link-static-after-libc).
16633 [build-shared] (link-libc-before-gnulib): New variable.
16634 [build-shared] (link-libc-tests): Likewise.
16635 [build-shared] (link-libc): Define in terms of
16636 $(link-libc-before-gnulib).
16637 [!build-shared] (link-libc-tests): New variable.
16638 (link-libc-static-tests): New variable.
16639 [!gnulib] (gnulib-arch): New variable.
16640 [!gnulib] (gnulib-tests): Likewise.
16641 [!gnulib] (static-gnulib-arch): Likewise.
16642 [!gnulib] (static-gnulib-tests): Likewise.
16643 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16644 Define with "=" instead of ":=".
16645 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16646 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16647 * Rules (binaries-all-notests): New variable.
16648 (binaries-all-tests): Likewise.
16649 (binaries-static-notests): Likewise.
16650 (binaries-static-tests): Likewise.
16651 (binaries-all): Define using $(binaries-all-notests) and
16652 $(binaries-all-tests).
16653 (binaries-static): Define using $(binaries-static-notests) and
16654 $(binaries-static-tests).
16655 (binaries-shared-tests): New variable.
16656 (binaries-shared-notests): Likewise.
16657 (binaries-shared): Remove variable.
16658 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16659 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16660 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16661 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16662 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16663 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16664 * elf/Makefile (sln-modules): New variable.
16665 (extra-objs): Add $(sln-modules:=.o).
16666 (ldconfig-modules): Add static-stubs.
16667 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16668 * elf/static-stubs.c: New file.
16671 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16672 by 7 not 8 to examine high bit of fractional part. Use volatile
16673 variables when splitting into final array of floats if
16674 __FLT_EVAL_METHOD__ != 0.
16675 * math/libm-test.inc (cos_test): Add another test.
16676 (sin_test): Likewise.
16677 * sysdeps/i386/fpu/libm-test-ulps: Update.
16680 * math/libm-test.inc (cosh_test): Add more tests.
16682 * version.h (RELEASE): Set to "development".
16683 (VERSION): Set to "2.16.90".
16685 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16687 * NEWS: Update copyright. Remove last-updated date.
16688 Mention math library bug fixes and timezone data changes.
16689 * README: Mention GNU/Hurd, x32, and HPPA support status.
16691 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16693 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16695 2012-06-27 Andreas Jaeger <aj@suse.de>
16697 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16699 2012-06-25 Andreas Jaeger <aj@suse.de>
16701 * sysdeps/s390/fpu/libm-test-ulps: Update.
16703 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16704 Thomas Schwinge <thomas@codesourcery.com>
16706 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16707 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16708 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16711 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16713 * sysdeps/mach/start.c: Remove file.
16714 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16715 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16716 * sysdeps/sh/init-first.c: Likewise.
16718 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16719 registers for frame unwinding purposes, add CFI directives.
16720 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16721 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16722 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16725 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16726 __fortify_fail returning.
16727 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16729 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16730 sysdeps/sh/____longjmp_chk.S.
16731 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16732 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16733 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16734 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16736 * sysdeps/sh/abort-instr.h: New file.
16737 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16738 process in case exit returns.
16740 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16741 initialize the GOT register before use.
16743 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16744 calculation of ARGC > 4.
16746 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16747 meaningful names to some local labels.
16749 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16750 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16752 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16753 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16754 (__arch_compare_and_exchange_val_16_acq): Likewise.
16755 (__arch_compare_and_exchange_val_32_acq): Likewise.
16756 (atomic_exchange_and_add): Fix gUSA sequence.
16757 (atomic_add): Likewise.
16758 (atomic_add_negative): Likewise.
16759 (atomic_add_zero): Likewise.
16760 (atomic_bit_test_set): Likewise.
16762 2012-06-22 Andreas Schwab <schwab@redhat.com>
16765 * include/link.h (struct link_map): Add l_free_initfini.
16766 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16768 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16769 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16770 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16773 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16775 * configure.in: Use AC_LANG_SOURCE.
16776 * configure: Regenerate.
16778 2012-06-22 Roland McGrath <roland@hack.frob.com>
16780 * configure.in (libc_cv_localstatedir): New substituted variable.
16781 * configure: Regenerated.
16782 * config.make.in (localstatedir): New variable, substituted from
16783 libc_cv_localstatedir.
16784 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16785 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16786 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16787 * sysdeps/gnu/configure: Regenerated.
16789 2012-06-21 Jeff Law <law@redhat.com>
16792 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16793 free. Simplify list management for _LIBC case.
16795 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16798 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16799 Clear sign bit of 64-bit integer value before comparing against
16802 * sysdeps/mach/configure: Regenerated.
16804 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16807 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16809 2012-06-21 Jeff Law <law@redhat.com>
16812 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16813 uint16_t for elements in the "seen" array to avoid char overflows.
16814 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16815 * elf/dl-open.c (dl_open_worker): Likewise.
16817 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16819 * scripts/list-sources.sh: Scan PORTS for translations.
16820 * po/libc.pot: Regenerated.
16822 2012-06-21 Andreas Jaeger <aj@suse.de>
16825 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16827 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16828 * bits/byteswap-16.h (__bswap_16): Likewise.
16829 * bits/byteswap.h (__bswap_constant_16): Likewise.
16831 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16834 * sysdeps/i386/fpu_control.h: Removed.
16835 * sysdeps/x86_64/fpu_control.h: Moved to ...
16836 * sysdeps/x86/fpu_control.h: Here.
16838 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16839 (_FPU_SETCW): Likewise.
16841 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16844 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16845 * sysdeps/x86/fpu/bits/mathinline.h: This.
16846 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16850 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16851 functions if __x86_64__ is defined.
16853 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16855 * string/endian.h: Add !__ASSEMBLER__ condition for including
16856 conversion interfaces.
16858 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16861 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16862 of ABS(x) in calculating zero to negative powers other than odd
16864 * math/libm-test.inc (pow_test): Add more tests.
16866 2012-06-15 Andreas Jaeger <aj@suse.de>
16868 * manual/contrib.texi (Contributors): Update entry of Liubov
16869 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16872 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16874 * string/string.h: Add __wur to GNU version of strerror_r.
16876 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16879 * string/Makefile (tests): Add tst-strtok_r.
16880 * string/tst-strtok_r.c: New file.
16881 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16882 RAX_LP/RDX_LP on SAVE_PTR.
16884 2012-06-14 Roland McGrath <roland@hack.frob.com>
16886 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16888 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16890 * libm_test.inc (csqrt_test): Allow more spurious underflow
16892 (j0_test): Likewise.
16893 (j1_test): Likewise.
16894 (y0_test): Likewise.
16895 (y1_test): Likewise.
16897 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16899 * po/Makefile (libc.pot): Use UTF-8 charset.
16901 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16904 Suppress sign-conversion warning from FD_SET.
16905 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16906 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16907 not unsigned long int.
16908 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16910 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16914 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16915 __extern_always_inline instead of __extern_inline.
16916 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16917 (__signbit): Likewise.
16918 (__signbitl): Support C++ namespace.
16919 (lrintf): New inline function.
16921 (llrintf): Likewise.
16922 (llrint): Likewise.
16932 (floorf): Likewise.
16933 (nearbyint): Likewise.
16934 (nearbyintf): Likewise.
16936 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16938 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16939 non-default versions.
16941 2012-06-11 Roland McGrath <roland@hack.frob.com>
16944 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16946 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16948 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16949 (FE_UPWARD, FE_DOWNWARD): Don't define.
16950 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16951 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16953 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16955 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16956 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16958 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16960 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16961 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16962 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16963 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16965 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16968 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16969 * sysdeps/i386/fpu/Implies: New file.
16970 * sysdeps/x86_64/fpu/Implies: Likewise.
16971 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16972 * sysdeps/x86/fpu/bits/fenv.h: This.
16974 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16977 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16980 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16981 character 0xffff that matches the last element of the
16984 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16986 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16989 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16991 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16992 values higher than 25.6283.
16994 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16996 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16997 subnormal exponent extraction and add some __builtin_expect.
16998 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16999 Fix for subnormal mantissa calculation.
17001 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17003 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17004 cpu2 is -1 and errno is not ENOSYS.
17006 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17009 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17010 * sysdeps/x86/bits/string.h: This.
17011 * sysdeps/x86_64/bits/string.h: Removed.
17013 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17014 if not compiling for x86-64, but compiling for >= i486.
17016 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17017 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17019 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17020 New macro from Linux kernel 3.4.0.
17021 (FP_XSTATE_MAGIC2): Likewise.
17022 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17023 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17024 (struct _fpx_sw_bytes): New struct.
17025 (struct _xsave_hdr): Likewise.
17026 (struct _ymmh_state): Likewise.
17027 (struct _xstate): Likewise.
17029 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17030 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17031 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17032 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17033 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17034 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17036 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17037 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17038 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17039 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17040 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17041 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17043 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17046 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17047 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17048 (sysdep_headers): Include sys/platform/ppc.h.
17049 * sysdeps/powerpc/test-gettimebase.c: Test for
17050 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17051 * manual/Makefile (appendices): Include platform.texi.
17052 * manual/contrib.texi (Contributors): Update @node pointers.
17053 * manual/maint.texi (Maintenance): Likewise.
17054 (Platform): New node.
17055 * manual/platform.texi: New file. Document the new features.
17057 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17058 Jakub Jelinek <jakub@redhat.com>
17061 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17062 where __builtin_expect is unavailable.
17064 2012-06-03 David S. Miller <davem@davemloft.net>
17066 * stdlib/longlong.h: Updated from GCC.
17068 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17071 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17072 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17075 (GLIBC_2.16): Likewise.
17077 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17079 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17081 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17084 (default-abi): New variable.
17085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17086 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17088 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17090 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17092 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17095 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17096 definition. Document in comment.
17098 2012-06-01 David S. Miller <davem@davemloft.net>
17100 * stdlib/longlong.h: Updated from GCC.
17102 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17105 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17106 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17107 sys/debugreg.h sys/io.h here.
17108 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17109 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17111 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17112 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17113 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17114 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17115 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17116 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17118 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17119 Define only if __x86_64__ is defined.
17121 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17124 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17125 Use int64_t for variable i.
17126 * math/libm-test.inc (fmod_test): Add more tests.
17128 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17129 z computation is not scheduled after fetestexcept.
17130 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17131 Use math_force_eval instead of asm to ensure calculation scheduled
17132 before exception test.
17133 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17134 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17136 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17139 computation is not scheduled after fetestexcept.
17141 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17144 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17145 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17147 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17149 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17150 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17152 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17155 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17157 (__WCHAR_MIN): Support __WORDSIZE == 64.
17158 (__WCHAR_MAX): Likewise.
17160 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17161 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17164 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17165 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17168 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17169 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17171 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17172 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17174 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17175 Defined to 1 if __x86_64__ isn't defined.
17176 (_STAT_VER_LINUX_OLD): New.
17177 (st_atime): Remove duplicate.
17178 (st_mtime): Likewise.
17179 (st_ctime): Likewise.
17181 2012-05-31 David S. Miller <davem@davemloft.net>
17183 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17186 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17188 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17192 * elf/dl-reloc.c: Include <_itoa.h>.
17193 (_dl_reloc_bad_type): Remove use of INTUSE.
17194 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17195 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17196 * stdio-common/psiginfo.c (psiginfo): Likewise.
17197 * stdio-common/psignal.c (psignal): Likewise.
17198 * string/strsignal.c (strsignal): Likewise.
17199 * include/signal.h (_sys_siglist): Declare hidden proto.
17200 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17201 INTVARDEF with libc_hidden_data_def.
17202 * stdio-common/itoa-udigits.c: Likewise.
17203 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17204 (_itoa_lower_digits_internal): Remove declaration.
17205 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17206 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17207 (_sys_sigabbrev_internal): Remove aliases.
17208 (_sys_siglist): Define hidden alias.
17210 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17215 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17218 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17219 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17221 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17222 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17223 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17224 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17225 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17226 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17228 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17229 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17230 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17232 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17240 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17241 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17242 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17244 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17245 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17246 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17247 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17248 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17249 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17251 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17252 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17254 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17255 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17257 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17259 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17261 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17262 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17264 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17266 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17267 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17268 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17270 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17272 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17274 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17276 * math/math.h (M_El): Use two more decimal places.
17277 (M_LOG2El): Likewise.
17278 (M_LOG10El): Likewise.
17279 (M_LN2l): Likewise.
17280 (M_LN10l): Likewise.
17282 (M_PI_2l): Likewise.
17283 (M_PI_4l): Likewise.
17284 (M_1_PIl): Likewise.
17285 (M_2_PIl): Likewise.
17286 (M_2_SQRTPIl): Likewise.
17287 (M_SQRT2l): Likewise.
17288 (M_SQRT1_2l): Likewise.
17290 2012-05-31 David S. Miller <davem@davemloft.net>
17292 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17293 values between float registers.
17294 * sysdeps/sparc/sparc64/memset.S: Likewise.
17295 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17297 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17299 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17300 -D_FORTIFY_SOURCE=1.
17301 (CPPFLAGS-tst-longjmp_chk.c): Define.
17302 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17303 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17304 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17305 CFLAGS-tst-wchar-h.c.
17307 2012-05-31 Marek Polacek <polacek@redhat.com>
17310 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17311 __endmntent_internal): Remove declaration.
17312 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17313 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17314 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17316 2012-05-30 David S. Miller <davem@davemloft.net>
17318 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17319 (___Q_simulate_exceptions): Use real FP ops rather than writing
17321 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17324 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17327 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17328 * sysdeps/x86/bits/xtitypes.h: This.
17330 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17331 * sysdeps/x86/bits/wordsize.h: This.
17333 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17334 * sysdeps/x86/bits/huge_vall.h: This.
17336 * sysdeps/i386/bits/select.h: Removed.
17337 * sysdeps/x86_64/bits/select.h: Renamed to ...
17338 * sysdeps/x86/bits/select.h: This.
17340 * sysdeps/i386/bits/setjmp.h: Removed.
17341 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17342 * sysdeps/x86/bits/setjmp.h: This.
17344 * sysdeps/i386/bits/mathdef.h: Removed.
17345 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17346 * sysdeps/x86/bits/mathdef.h: This.
17348 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17351 * include/sys/socket.h (__connect_internal)
17352 (__libc_sa_len_internal): Remove declaration.
17353 (__connect, __libc_sa_len): Declare hidden_proto.
17354 (SA_LEN): Remove use of INTUSE.
17355 * socket/connect.c: Add libc_hidden_def.
17356 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17357 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17358 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17360 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17361 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17362 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17363 of adding _internal alias.
17365 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17368 * sysdeps/i386/bits/link.h: Removed.
17369 * sysdeps/i386/bits/linkmap.h: Likewise.
17370 * sysdeps/x86_64/bits/link.h: Renamed to ...
17371 * sysdeps/x86/bits/link.h: This.
17372 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17373 * sysdeps/x86/bits/linkmap.h: This.
17375 * sysdeps/i386/bits/endian.h: Removed.
17376 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17377 * sysdeps/x86/bits/endian.h: This.
17379 * sysdeps/i386/bits/byteswap.h: Removed.
17380 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17381 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17382 * sysdeps/x86/bits/byteswap.h: This.
17383 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17384 * sysdeps/x86/bits/byteswap-16.h: This.
17385 * sysdeps/i386/Implies: Add x86.
17386 * sysdeps/x86_64/Implies: Likewise.
17388 2012-05-30 David S. Miller <davem@davemloft.net>
17390 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17391 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17392 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17393 (FP_TRAPPING_EXCEPTIONS): Define.
17394 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17395 (FP_TRAPPING_EXCEPTIONS): Define.
17396 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17397 subnormals only when inexact has been signalled or underflow
17398 exceptions are enabled.
17399 (_FP_PACK_CANONICAL): Likewise.
17401 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17404 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17405 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17407 2012-05-30 Richard Henderson <rth@twiddle.net>
17409 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17410 with #ifndef NOT_IN_libc.
17412 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17413 marked to avoid plt entry.
17415 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17418 * Makeconfig (default-abi): New macro.
17419 (abi-includes): Likewise.
17420 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17421 $(abi-$(default-abi)-lib-soname) for soname if defined.
17422 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17424 * Makefile (installed-stubs): Likewise.
17425 * include/stubs-biarch.h: Removed.
17426 * scripts/lib-names.awk: Only handle one library at a time.
17427 * scripts/soversions.awk: Remove WORDSIZE support.
17428 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17430 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17432 (syscall-list-default-condition): Likewise.
17433 (syscall-list-default-condition): Likewise.
17434 (syscall-list-includes): Likewise.
17435 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17436 syscall-list-* with abi-*. Handle undefined abi-variants.
17437 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17438 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17439 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17440 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17441 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17442 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17444 (syscall-list-32-options): Likewise.
17445 (syscall-list-32-condition): Likewise.
17446 (syscall-list-64-options): Likewise.
17447 (syscall-list-64-condition): Likewise.
17448 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17450 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17453 (abi-64-ld-soname): New macro.
17454 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17455 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17458 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17459 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17461 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17463 * sysdeps/unix/sysv/linux/kernel-features.h
17464 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17465 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17466 include <kernel-features.h>.
17467 [!__NR_ftruncate64]: Remove conditional code.
17468 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17469 [__NR_ftruncate64]: Make code unconditional.
17470 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17471 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17472 include <kernel-features.h>.
17473 [!__NR_ftruncate64]: Remove conditional code.
17474 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17475 [__NR_ftruncate64]: Make code unconditional.
17476 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17478 include <kernel-features.h>.
17479 [!__NR_ftruncate64]: Remove conditional code.
17480 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17481 [__NR_ftruncate64]: Make code unconditional.
17482 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17484 include <kernel-features.h>.
17485 [!__NR_ftruncate64]: Remove conditional code.
17486 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17487 [__NR_ftruncate64]: Make code unconditional.
17488 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17490 * configure.in (libc_cv_fpie): Weaken to a compile test using
17491 LIBC_TRY_CC_OPTION.
17492 * configure: Regenerated.
17494 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17509 2012-05-27 David S. Miller <davem@davemloft.net>
17511 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17513 (__Q_simulate_exceptions): Return void. Change to simulate
17514 exceptions by writing into the %fsr.
17515 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17516 (__Qp_handle_exceptions): Likewise.
17518 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17519 __Qp_handle_exceptions.
17520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17521 __Qp_handle_exceptions.
17522 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17523 as unused and give dummy FP_RND_NEAREST initializer.
17524 (FP_INHIBIT_RESULTS): Define.
17525 (___Q_simulate_exceptions): Update declaration.
17526 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17528 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17529 as unused and give dummy FP_RND_NEAREST initializer.
17530 (__Qp_handle_exceptions): Update declaration.
17531 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17534 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17536 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17537 the temporary FPU control word.
17538 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17539 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17540 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17541 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17542 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17543 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17544 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17545 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17546 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17547 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17548 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17550 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17552 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17555 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17557 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17558 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17559 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17560 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17562 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17563 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17566 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17568 * po/h.po: Update from translation team.
17570 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17572 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17574 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17575 handling of denormals.
17576 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17577 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17578 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17579 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17580 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17581 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17582 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17585 2012-05-26 Marek Polacek <polacek@redhat.com>
17588 * math/libm-test.inc (fma_test): Don't always expect underflow
17591 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17594 * elf/tst-execstack.c: Include stackinfo.h.
17595 (do_test): Adjust test case to ensure that pthread_getattr_np
17596 behaviour remains the same after marking stack executable.
17598 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17600 * sysdeps/unix/sysv/linux/kernel-features.h
17601 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17602 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17604 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17605 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17606 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17608 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17609 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17611 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17613 * configure.in: Define the default includes to being none.
17614 * configure: Regenerated.
17616 2012-05-25 Roland McGrath <roland@hack.frob.com>
17618 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17619 * sysdeps/x86_64/setjmp.S: Likewise.
17620 * sysdeps/i386/bsd-setjmp.S: Likewise.
17621 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17622 * sysdeps/i386/setjmp.S: Likewise.
17623 * sysdeps/i386/__longjmp.S: Likewise.
17624 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17625 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17627 * include/stap-probe.h: New file.
17628 * configure.in: Handle --enable-systemtap.
17629 * configure: Regenerated.
17630 * config.h.in (USE_STAP_PROBE): New #undef.
17631 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17632 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17633 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17635 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17638 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17639 to 2.4.0 where earlier.
17640 * sysdeps/unix/sysv/linux/configure: Regenerated.
17641 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17642 <kernel-features.h>.
17643 [__ASSUME_32BITUIDS]: Make code unconditional.
17644 [!__ASSUME_32BITUIDS]: Remove conditional code.
17645 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17646 <kernel-features.h>.
17647 [__ASSUME_32BITUIDS]: Make code unconditional.
17648 [!__ASSUME_32BITUIDS]: Remove conditional code.
17649 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17650 [__ASSUME_32BITUIDS]: Make code unconditional.
17651 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17652 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17653 <kernel-features.h>.
17654 [__ASSUME_32BITUIDS]: Make code unconditional.
17655 [!__ASSUME_32BITUIDS]: Remove conditional code.
17656 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17657 <kernel-features.h>.
17658 [__ASSUME_32BITUIDS]: Make code unconditional.
17659 [!__ASSUME_32BITUIDS]: Remove conditional code.
17660 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17661 <kernel-features.h>.
17662 [__ASSUME_32BITUIDS]: Make code unconditional.
17663 [!__ASSUME_32BITUIDS]: Remove conditional code.
17664 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17665 <kernel-features.h>.
17666 [__ASSUME_32BITUIDS]: Make code unconditional.
17667 [!__ASSUME_32BITUIDS]: Remove conditional code.
17668 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17669 <kernel-features.h>.
17670 [__ASSUME_32BITUIDS]: Make code unconditional.
17671 [!__ASSUME_32BITUIDS]: Remove conditional code.
17672 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17673 <kernel-features.h>.
17674 [__ASSUME_32BITUIDS]: Make code unconditional.
17675 [!__ASSUME_32BITUIDS]: Remove conditional code.
17676 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17677 <kernel-features.h>.
17678 [__ASSUME_32BITUIDS]: Make code unconditional.
17679 [!__ASSUME_32BITUIDS]: Remove conditional code.
17680 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17681 <kernel-features.h>.
17682 [__ASSUME_32BITUIDS]: Make code unconditional.
17683 [!__ASSUME_32BITUIDS]: Remove conditional code.
17684 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17685 <kernel-features.h>.
17686 [__ASSUME_32BITUIDS]: Make code unconditional.
17687 [!__ASSUME_32BITUIDS]: Remove conditional code.
17688 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17689 <kernel-features.h>.
17690 [__ASSUME_32BITUIDS]: Make code unconditional.
17691 [!__ASSUME_32BITUIDS]: Remove conditional code.
17692 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17693 <kernel-features.h>.
17694 [__NR_setresgid] (__setresgid): Do not declare.
17695 [__ASSUME_32BITUIDS]: Make code unconditional.
17696 [!__ASSUME_32BITUIDS]: Remove conditional code.
17697 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17698 <kernel-features.h>.
17699 [__NR_setresuid] (__setresuid): Do not declare.
17700 [__ASSUME_32BITUIDS]: Make code unconditional.
17701 [!__ASSUME_32BITUIDS]: Remove conditional code.
17702 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17703 <kernel-features.h>.
17704 [__ASSUME_32BITUIDS]: Make code unconditional.
17705 [!__ASSUME_32BITUIDS]: Remove conditional code.
17706 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17707 <kernel-features.h>.
17708 [__ASSUME_32BITUIDS]: Make code unconditional.
17709 [!__ASSUME_32BITUIDS]: Remove conditional code.
17710 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17711 <kernel-features.h>.
17712 [__ASSUME_32BITUIDS]: Make code unconditional.
17713 [!__ASSUME_32BITUIDS]: Remove conditional code.
17714 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17715 <kernel-features.h>.
17716 [__ASSUME_32BITUIDS]: Make code unconditional.
17717 [!__ASSUME_32BITUIDS]: Remove conditional code.
17718 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17719 <kernel-features.h>.
17720 [__ASSUME_32BITUIDS]: Make code unconditional.
17721 [!__ASSUME_32BITUIDS]: Remove conditional code.
17722 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17723 <kernel-features.h>.
17724 [__ASSUME_32BITUIDS]: Make code unconditional.
17725 [!__ASSUME_32BITUIDS]: Remove conditional code.
17726 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17727 <kernel-features.h>.
17728 [__ASSUME_32BITUIDS]: Make code unconditional.
17729 [!__ASSUME_32BITUIDS]: Remove conditional code.
17730 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17731 <kernel-features.h>.
17732 [__ASSUME_32BITUIDS]: Make code unconditional.
17733 [!__ASSUME_32BITUIDS]: Remove conditional code.
17734 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17735 <kernel-features.h>.
17736 [__ASSUME_32BITUIDS]: Make code unconditional.
17737 [!__ASSUME_32BITUIDS]: Remove conditional code.
17738 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17739 <kernel-features.h>.
17740 [__ASSUME_32BITUIDS]: Make code unconditional.
17741 [!__ASSUME_32BITUIDS]: Remove conditional code.
17742 * sysdeps/unix/sysv/linux/kernel-features.h
17743 (__ASSUME_SETRESUID_SYSCALL): Remove.
17744 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17745 (__ASSUME_32BITUIDS): Likewise.
17746 (__ASSUME_LDT_WORKS): Likewise.
17747 (__ASSUME_O_DIRECTORY): Likewise.
17748 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17749 architecture but not kernel version.
17750 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17751 (__ASSUME_MMAP2_SYSCALL): Likewise.
17752 (__ASSUME_STAT64_SYSCALL): Likewise.
17753 (__ASSUME_IPC64): Likewise.
17754 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17755 <kernel-features.h>.
17756 [__ASSUME_32BITUIDS]: Make code unconditional.
17757 [!__ASSUME_32BITUIDS]: Remove conditional code.
17758 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17759 <kernel-features.h>.
17760 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17761 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17762 132096]: Remove conditional code.
17763 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17764 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17765 <kernel-features.h>.
17766 [__ASSUME_32BITUIDS]: Make code unconditional.
17767 [!__ASSUME_32BITUIDS]: Remove conditional code.
17768 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17769 <kernel-features.h>.
17770 [__ASSUME_32BITUIDS]: Make code unconditional.
17771 [!__ASSUME_32BITUIDS]: Remove conditional code.
17772 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17773 <kernel-features.h>.
17774 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17776 (__setresgid): Do not declare.
17777 [__ASSUME_32BITUIDS]: Make code unconditional.
17778 [!__ASSUME_32BITUIDS]: Remove conditional code.
17779 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17780 <kernel-features.h>.
17781 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17783 (__setresuid): Do not declare.
17784 [__ASSUME_32BITUIDS]: Make code unconditional.
17785 [!__ASSUME_32BITUIDS]: Remove conditional code.
17786 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17787 <kernel-features.h>.
17788 [__ASSUME_32BITUIDS]: Make code unconditional.
17789 [!__ASSUME_32BITUIDS]: Remove conditional code.
17790 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17791 <kernel-features.h>.
17792 [__ASSUME_32BITUIDS]: Make code unconditional.
17793 [!__ASSUME_32BITUIDS]: Remove conditional code.
17795 2012-05-25 Richard Henderson <rth@twiddle.net>
17797 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17798 dl_hwcap to ifunc resolver.
17799 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17801 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17802 dl_hwcap to ifunc resolver.
17803 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17805 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17808 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17809 for |x| <= 2**-26, not 2**-57.
17810 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17813 2012-05-24 Jeff Law <law@redhat.com>
17815 * stdio-common/Makefile (tests): Add bug25.
17816 * stdio-common/bug25.c: New test.
17818 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17821 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17822 multiple of MALLOC_ALIGNMENT in size.
17823 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17825 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17827 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17829 (FILENAME_MAX): Use macro-int-constant.
17830 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17831 (_IOFBF): Use macro-int-constant.
17832 (_IOLBF): Likewise.
17833 (_IONBF): Likewise.
17834 (SEEK_CUR): Likewise.
17835 (SEEK_END): Likewise.
17836 (SEEK_SET): Likewise.
17837 (TMP_MAX): Likewise.
17838 (EOF): Use macro-int-constant. Require < 0.
17839 (NULL): Use macro-constant. Require == 0.
17840 (stdin): Require type to be FILE *.
17841 (stdout): Likewise.
17842 (stderr): Likewise.
17843 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17844 macro-int-constant.
17845 (EXIT_SUCCESS): Likewise.
17846 (NULL): Use macro-constant. Require == 0.
17847 (RAND_MAX): Use macro-int-constant.
17848 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17849 [C99-based standards] (strtof): Require function.
17850 [C99-based standards] (strtold): Likewise.
17851 [C99-based standards] (strtoll): Likewise.
17852 [C99-based standards] (strtoull): Likewise.
17853 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17854 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17855 [ISO || ISO99 || ISO11] (math.h): Likewise.
17856 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17857 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17858 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17860 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17863 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17864 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17865 * intl/dgettext.c (DCGETTEXT): Likewise.
17866 * intl/gettext.c (DCGETTEXT): Likewise.
17867 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17868 * posix/regex_internal.h (gettext): Likewise.
17869 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17870 Remove declaration.
17871 * include/argz.h (__argz_count_internal)
17872 (__argz_stringify_internal): Remove declaration.
17873 (__argz_count, __argz_stringify): Declare hidden proto.
17874 * intl/dcgettext.c: Remove use of INTDEF.
17875 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17876 * string/argz-stringify.c: Likewise.
17877 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17878 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17879 Declare hidden proto.
17880 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17881 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17882 Declare hidden proto.
17883 * include/stdio.h (__asprintf_internal): Don't declare.
17884 (__asprintf): Don't define as macro. Declare hidden proto.
17885 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17886 (__fsetlocking): Declare hidden proto.
17887 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17888 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17890 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17891 (_IO_setlinebuf): Remove use of INTUSE.
17892 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17893 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17894 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17895 Remove declaration.
17896 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17897 (_IO_do_flush): Remove use of INTUSE.
17898 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17899 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17900 (_IO_adjust_column, _IO_least_wmarker)
17901 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17902 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17903 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17904 (_IO_default_doallocate, _IO_wdefault_doallocate)
17905 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17906 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17907 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17908 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17909 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17910 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17911 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17912 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17913 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17914 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17915 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17916 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17917 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17919 (_IO_flush_all_internal, _IO_adjust_column_internal)
17920 (_IO_default_uflow_internal, _IO_default_finish_internal)
17921 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17922 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17923 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17924 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17925 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17926 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17927 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17928 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17929 (_IO_file_close_internal, _IO_file_close_it_internal)
17930 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17931 (_IO_file_init_internal, _IO_file_attach_internal)
17932 (_IO_file_fopen_internal, _IO_file_read_internal)
17933 (_IO_file_sync_internal, _IO_file_seek_internal)
17934 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17935 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17936 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17937 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17938 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17939 (_IO_list_all_internal, _IO_link_in_internal)
17940 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17941 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17942 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17943 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17944 (_IO_do_write_internal, _IO_padn_internal)
17945 (_IO_getline_info_internal, _IO_getline_internal)
17946 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17947 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17948 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17949 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17950 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17951 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17952 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17953 with libc_hidden_ver, remove use of INTUSE.
17954 * libio/genops.c: Likewise.
17955 * libio/freopen.c: Likewise.
17956 * libio/freopen64.c: Likewise.
17957 * libio/iofclose.c: Likewise.
17958 * libio/iofdopen.c: Likewise.
17959 * libio/iofflush.c: Likewise.
17960 * libio/iofflush_u.c: Likewise.
17961 * libio/iofgets.c: Likewise.
17962 * libio/iofgets_u.c: Likewise.
17963 * libio/iofopen.c: Likewise.
17964 * libio/iofopncook.c: Likewise.
17965 * libio/iofread.c: Likewise.
17966 * libio/iofread_u.c: Likewise.
17967 * libio/ioftell.c: Likewise.
17968 * libio/iofwrite.c: Likewise.
17969 * libio/iogetline.c: Likewise.
17970 * libio/iogets.c: Likewise.
17971 * libio/iogetwline.c: Likewise.
17972 * libio/iopadn.c: Likewise.
17973 * libio/iopopen.c: Likewise.
17974 * libio/ioseekoff.c: Likewise.
17975 * libio/ioseekpos.c: Likewise.
17976 * libio/iosetbuffer.c: Likewise.
17977 * libio/iosetvbuf.c: Likewise.
17978 * libio/ioungetc.c: Likewise.
17979 * libio/ioungetwc.c: Likewise.
17980 * libio/iovdprintf.c: Likewise.
17981 * libio/iovsprintf.c: Likewise.
17982 * libio/iovsscanf.c: Likewise.
17983 * libio/memstream.c: Likewise.
17984 * libio/obprintf.c: Likewise.
17985 * libio/oldfileops.c: Likewise.
17986 * libio/oldiofclose.c: Likewise.
17987 * libio/oldiofdopen.c: Likewise.
17988 * libio/oldiofopen.c: Likewise.
17989 * libio/oldiopopen.c: Likewise.
17990 * libio/oldstdfiles.c: Likewise.
17991 * libio/putc.c: Likewise.
17992 * libio/setbuf.c: Likewise.
17993 * libio/setlinebuf.c: Likewise.
17994 * libio/stdfiles.c: Likewise.
17995 * libio/strops.c: Likewise.
17996 * libio/vasprintf.c: Likewise.
17997 * libio/vscanf.c: Likewise.
17998 * libio/vsnprintf.c: Likewise.
17999 * libio/vswprintf.c: Likewise.
18000 * libio/wfiledoalloc.c: Likewise.
18001 * libio/wfileops.c: Likewise.
18002 * libio/wgenops.c: Likewise.
18003 * libio/wmemstream.c: Likewise.
18004 * libio/wstrops.c: Likewise.
18005 * libio/__fpurge.c: Likewise.
18006 * libio/__fsetlocking.c: Likewise.
18007 * assert/assert.c: Likewise.
18008 * debug/fgets_chk.c: Likewise.
18009 * debug/fgets_u_chk.c: Likewise.
18010 * debug/fread_chk.c: Likewise.
18011 * debug/fread_u_chk.c: Likewise.
18012 * debug/gets_chk.c: Likewise.
18013 * debug/obprintf_chk.c: Likewise.
18014 * debug/vasprintf_chk.c: Likewise.
18015 * debug/vdprintf_chk.c: Likewise.
18016 * debug/vsnprintf_chk.c: Likewise.
18017 * debug/vsprintf_chk.c: Likewise.
18018 * malloc/mtrace.c: Likewise.
18019 * misc/error.c: Likewise.
18020 * misc/syslog.c: Likewise.
18021 * stdio-common/asprintf.c: Likewise.
18022 * stdio-common/fxprintf.c: Likewise.
18023 * stdio-common/getw.c: Likewise.
18024 * stdio-common/isoc99_fscanf.c: Likewise.
18025 * stdio-common/isoc99_scanf.c: Likewise.
18026 * stdio-common/isoc99_vfscanf.c: Likewise.
18027 * stdio-common/isoc99_vscanf.c: Likewise.
18028 * stdio-common/isoc99_vsscanf.c: Likewise.
18029 * stdio-common/printf-prs.c: Likewise.
18030 * stdio-common/printf_fp.c: Likewise.
18031 * stdio-common/printf_fphex.c: Likewise.
18032 * stdio-common/printf_size.c: Likewise.
18033 * stdio-common/putw.c: Likewise.
18034 * stdio-common/scanf.c: Likewise.
18035 * stdio-common/sprintf.c: Likewise.
18036 * stdio-common/tmpfile.c: Likewise.
18037 * stdio-common/vfprintf.c: Likewise.
18038 * stdio-common/vfscanf.c: Likewise.
18039 * stdlib/strfmon_l.c: Likewise.
18040 * sunrpc/openchild.c: Likewise.
18041 * sunrpc/xdr_stdio.c: Likewise.
18042 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18043 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18045 2012-05-24 Roland McGrath <roland@hack.frob.com>
18047 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18049 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18050 in the third column, to generate for the shared library an IFUNC
18051 that uses _dl_vdso_vsym.
18052 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18053 * Makeconfig (object-suffixes-noshared): New variable.
18055 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18056 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18057 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18058 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18061 * include/sys/time.h (__gettimeofday): Remove macro.
18062 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18063 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18065 (__gettimeofday): Add libc_hidden_def.
18066 (gettimeofday): Add libc_hidden_weak.
18067 * sysdeps/mach/gettimeofday.c: Likewise.
18068 * sysdeps/posix/gettimeofday.c: Likewise.
18069 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18070 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18071 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18072 (__gettimeofday_internal): Remove strong_alias.
18073 (__gettimeofday): Add libc_hidden_def.
18074 (gettimeofday): Add libc_hidden_weak.
18075 * sysdeps/unix/syscalls.list (gettimeofday):
18076 Remove __gettimeofday_internal alias.
18078 2012-05-24 Daniel Jacobowitz <drow@false.org>
18079 H.J. Lu <hongjiu.lu@intel.com>
18082 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18083 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18084 (largebin_index_32_big): New.
18085 (largebin_index): Use it for 16-byte alignment.
18086 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18087 correction with front_misalign.
18089 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18117 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18118 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18120 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18124 * math/libm-test.inc (exp_test): Add test from bug 14036.
18125 (pow_test): Add test from bug 10846.
18127 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18129 (special_function): Do not include flags in test name.
18130 (parse_args): Likewise.
18131 * sysdeps/i386/fpu/libm-test-ulps: Update.
18132 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18133 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18134 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18137 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18139 * math/libm-test.inc ("Philosophy"): Update comment about
18141 (UNDERFLOW_EXCEPTION): New macro.
18142 (UNDERFLOW_EXCEPTION_OK): Likewise.
18143 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18144 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18145 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18146 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18147 (INVALID_EXCEPTION_OK): Update value.
18148 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18149 (OVERFLOW_EXCEPTION_OK): Likewise.
18150 (IGNORE_ZERO_INF_SIGN): Likewise.
18151 (test_exceptions): Handle underflow exceptions.
18152 (acos_test): Update for underflow exception expectations.
18153 (cexp_test): Likewise.
18154 (clog_test): Likewise.
18155 (clog10_test): Likewise.
18156 (csqrt_test): Likewise.
18157 (ctan_test): Likewise.
18158 (ctanh_test): Likewise.
18159 (exp_test): Likewise.
18160 (exp10_test): Likewise.
18161 (exp2_test): Likewise.
18162 (expm1_test): Likewise.
18163 (fma_test): Likewise.
18164 (j0_test): Likewise.
18165 (jn_test): Likewise.
18166 (nexttoward_test): Likewise.
18167 (pow_test): Likewise.
18168 (scalbn_test): Likewise.
18169 (scalbln_test): Likewise.
18170 (tan_test): Likewise.
18171 (y1_test): Likewise.
18172 * sysdeps/i386/fpu/libm-test-ulps: Update.
18173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18175 2012-05-23 David S. Miller <davem@davemloft.net>
18177 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18178 (__libc_sigaction): Remove unused local variables.
18180 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18182 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18184 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18186 mktime: avoid signed integer overflow
18187 * time/mktime.c (__mktime_internal): Do not mishandle the case
18188 where diff == INT_MIN.
18190 mktime: simplify computation of average
18191 * time/mktime.c (ranged_convert): Use new time_t_avg function
18192 instead of rolling our own (probably-slower) code.
18194 mktime: do not assume signed right shift propagates sign bit
18195 * time/mktime.c (isdst_differ): New static function.
18196 (__mktime_internal): No need to normalize tm_isdst now.
18197 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18200 mktime: merge another wrapv change from gnulib
18201 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18202 from some compilers.
18204 mktime: remove incorrect attempt at unusual arithmetics
18205 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18206 The code didn't really work on such machines anyway.
18207 (TYPE_MINIMUM): Assume two's complement.
18208 (twos_complement_arithmetic): Verify that long_int and time_t
18209 are two's complement (or unsigned, in the latter case).
18211 mktime: check signed shifts on long_int and time_t, too
18212 * time/mktime.c (SHR): Check that shifts work as desired
18213 on the types long_int and time_t too, as SHR is used on
18216 mktime: do not assume 'long' is wide enough
18217 * time/mktime.c (verify): Move decl up.
18218 (long_int): New type.
18219 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18220 to remove assumption in the code that 'long' is wide enough to
18221 store year values. This assumption is not true on x32 and on
18222 some non-glibc platforms.
18224 mktime: merge wrapv change from gnulib
18225 * time/mktime.c (WRAPV): New macro.
18226 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18227 (guess_time_tm, __mktime_internal): Do not assume that signed
18228 integer overflow wraps around; modern compilers generate code
18229 where this assumption is no longer valid.
18231 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18233 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18234 Replace "jmp L(pseudo_end)" with "ret".
18235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18238 2012-05-23 Andreas Jaeger <aj@suse.de>
18240 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18241 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18243 2012-05-23 Andreas Jaeger <aj@suse.de>
18244 Maximilian Attems <max@stro.at>
18246 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18249 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18251 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18252 code so that pseudo_end is just ret and the stack pointer is
18253 correct also for static library in error case.
18255 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18257 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18258 move to syscalls.list.
18259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18264 * manual/install.texi (Running make install): Do not mention Linux
18265 kernel version for which pt_chown is not needed.
18266 (Linux): Do not mention problems with nscd with 2.0 kernels.
18267 * INSTALL: Regenerated.
18269 2012-05-23 Andreas Jaeger <aj@suse.de>
18271 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18272 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18274 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18275 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18276 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18277 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18278 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18279 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18280 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18281 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18282 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18283 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18284 * sysdeps/unix/sysv/linux/bits/in.h
18285 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18287 2012-05-22 Roland McGrath <roland@hack.frob.com>
18289 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18290 (PREPARE_VERSION): Just use assert instead, it will be elided
18291 under [NDEBUG] anyway.
18293 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18295 * sysdeps/unix/sysv/linux/Makefile: Include
18296 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18297 (sysdep_routines): Remove sysctl.
18298 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18299 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18300 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18301 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18302 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18304 2012-05-22 Andreas Jaeger <aj@suse.de>
18306 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18307 that pseudo_end is just ret and the stack pointer is correct also
18308 for static library in error case.
18310 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18313 * nss/nsswitch.c (defconfig_entries): New variable.
18314 (__nss_database_lookup): Don't leak defconfig entries.
18315 (nss_parse_service_list): Don't leak on error paths.
18316 (free_database_entries): New function.
18317 (free_defconfig): New function.
18318 (free_mem): Move common code to free_database_entries.
18320 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18322 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18324 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18326 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18327 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18330 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18331 (INTERNAL_SYSCALL_TYPES): Likewise.
18332 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18333 (LOAD_REGS_TYPES_[1-6]): Likewise.
18334 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18335 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18337 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18339 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18340 copysignl for GLIBC_2_0.
18341 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18342 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18344 logbl for GLIBC_2_0.
18345 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18346 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18348 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18351 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18353 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18356 * time/mktime.c: Update copyright years.
18358 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18360 mktime: merge comment-quoting-style change from gnulib
18361 * time/mktime.c: Quote 'like this' in comments.
18362 The GNU coding standards suggest that we no longer quote `like this',
18363 as "`" and "'" are typically rendered asymmetrically nowadays.
18364 The typical gnulib style is to quote 'like this' when quoting
18365 code, and "like this" when quoting English.
18367 * time/mktime.c (compile-command): Add "-I.".
18369 mktime: merge mktime-internal.h change from gnulib
18370 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18372 mktime: merge time_r change from gnulib
18373 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18375 mktime: merge DEBUG change from gnulib
18376 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18377 case system <time.h> has a #define.
18379 mktime: merge <sys/types.h> change from gnulib
18380 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18381 since <time.t> is now guaranteed to define time_t.
18383 mktime: merge HAVE_CONFIG_H change from gnulib
18384 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18386 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18388 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18391 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18393 (struct rusage): Use anonymous union to pad each field to
18396 2012-05-21 David S. Miller <davem@davemloft.net>
18398 * Makefules (o-iterator): Remove .s cases.
18399 (compile-command.s): Delete.
18400 (COMPILE.s): Delete.
18401 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18403 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18405 * configure.in (libc_cv_predef_stack_protector): Only consider
18406 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18407 * configure: Regenerated.
18409 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18411 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18412 New macro. Use R*LP on int and pointer.
18413 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18414 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18415 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18416 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18418 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18419 [__WORDSIZE_TIME64_COMPAT32] instead of
18420 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18421 (struct utmp): Likewise.
18422 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18423 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18425 (__WORDSIZE_TIME64_COMPAT32): This.
18426 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18427 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18428 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18429 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18430 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18431 (__WORDSIZE_TIME64_COMPAT32): New macro.
18433 2012-05-21 Andreas Jaeger <aj@suse.de>
18435 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18436 only if [SHARED]. Add prototype for __wcschr_ia32.
18438 2012-05-21 Roland McGrath <roland@hack.frob.com>
18440 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18441 of %rbp unmolested in the jmp_buf while mangling the low bits.
18442 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18443 unmolested high bits of %rbp while demangling the low bits.
18444 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18446 2012-05-21 Andreas Jaeger <aj@suse.de>
18448 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18449 * sunrpc/svc_simple.c: Use it for registerrpc.
18450 * sunrpc/xcrypt.c: Use it for passwd2des.
18452 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18454 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18456 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18457 Don't define if [__SYSCALL_WORDSIZE != 32].
18458 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18461 2012-05-21 Bruno Haible <bruno@clisp.org>
18462 Andreas Jaeger <aj@suse.de>
18464 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18465 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18466 inptr and inend for must_buffer_ch.
18467 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18468 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18469 * stdio-common/Makefile (tests): Remove bug15.
18470 (bug15-ENV): Remove macro.
18471 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18474 2012-05-19 Andreas Jaeger <aj@suse.de>
18475 Roland McGrath <roland@hack.frob.com>
18477 * manual/contrib.texi: Completely rewritten. It contains now an
18478 alphabetical list of contributors and their contributions.
18480 2012-05-21 Richard Henderson <rth@twiddle.net>
18482 * misc/getauxval.c (__getauxval): Use unsigned long int.
18483 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18484 (getauxval): Use unsigned long int.
18486 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18488 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18490 2012-05-21 Roland McGrath <roland@hack.frob.com>
18492 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18493 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18494 __alignof__ (long double).
18496 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18500 2012-05-20 Richard Henderson <rth@twiddle.net>
18502 * misc/getauxval.c: New file.
18503 * misc/sys/auxv.h: New file.
18504 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18505 (routines): Add getauxval.
18506 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18507 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18508 * elf/dl-sysdep.c (_dl_auxv): Remove.
18509 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18510 * elf/dl-support.c (_dl_auxv): New variable.
18511 (_dl_aux_init): Initialize it.
18512 * manual/startup.texi (Auxiliary Vector): New node.
18513 * sysdeps/generic/bits/hwcap.h: New file.
18514 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18515 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18516 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18517 * sysdeps/sparc/sysdep.h: ... here. Include it.
18518 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18519 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18525 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18531 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18535 2012-05-19 David S. Miller <davem@davemloft.net>
18537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18539 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18542 * math/s_ccosh.c: Include <float.h>
18543 (__ccosh): Avoid internal overflow calculating sinh and cosh
18544 values before multiplying by sin and cos values.
18545 * math/s_ccoshf.c: Likewise.
18546 * math/s_ccoshl.c: Likewise.
18547 * math/s_csin.c: Likewise.
18548 * math/s_csinf.c: Likewise.
18549 * math/s_csinl.c: Likewise.
18550 * math/s_csinh.c: Likewise.
18551 * math/s_csinhf.c: Likewise.
18552 * math/s_csinhl.c: Likewise.
18553 * math/libm-test.inc (ccos_test): Add more tests.
18554 (ccosh_test): Likewise.
18555 (csin_test): Likewise.
18556 (csinh_test): Likewise.
18557 * sysdeps/i386/fpu/libm-test-ulps: Update.
18558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18560 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18562 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18563 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18565 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18567 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18569 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18570 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18571 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18572 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18573 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18574 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18575 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18576 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18577 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18578 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18579 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18580 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18581 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18582 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18583 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18584 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18585 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18586 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18587 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18588 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18589 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18590 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18591 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18592 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18593 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18594 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18595 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18596 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18597 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18598 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18599 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18601 2012-05-18 Andreas Jaeger <aj@suse.de>
18603 * csu/.gitignore: Delete.
18605 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18607 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18608 (timex): Use __syscall_slong_t.
18610 2012-05-18 Andreas Jaeger <aj@suse.de>
18611 Carlos O'Donell <carlos_odonell@mentor.com>
18613 * manual/install.texi (Configuring and compiling): Update
18614 description about files modified in the source directory.
18615 * INSTALL: Regenerated.
18617 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18619 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18620 value. Use "or" to set return value to -1.
18621 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18622 negate return value.
18624 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18626 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18627 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18628 failure if the compiler has Graphite support disabled.
18629 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18631 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18632 CFLAGS-memmove.c): Likewise.
18633 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18636 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18638 * sysdeps/x86_64/x32/_itoa.h: New file.
18640 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18641 getdents system call only if kernel and user dirents have the
18642 same d_ino and d_off.
18644 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18645 LLONG_MAX != LONG_MAX.
18646 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18647 (_fitoa_word): Likewise.
18649 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18651 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18652 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18653 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18655 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18656 include <bits/wordsize.h>. Check __x86_64__ instead of
18658 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18659 if __x86_64__ is defined. Use anonymous union on fpstate.
18661 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18664 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18666 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18667 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18668 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18669 Refer to _rtld_local_ro instead of _rtld_global_ro.
18670 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18672 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18674 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18676 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18677 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18678 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18680 * sysdeps/powerpc/powerpc32/dl-machine.c
18681 (__elf_machine_runtime_setup) [PROF]: Don't reference
18684 2012-05-18 Andreas Jaeger <aj@suse.de>
18686 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18687 function only available for GCCs before 3.4 since GCC 3.4
18688 introduced a builtin.
18690 (llrintf): Likewise.
18691 (llrint): Likewise.
18698 (nearbyint): Likewise.
18699 (nearbyintf): Likewise.
18703 (floorf): Likewise.
18705 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18707 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18708 on both fields and cast pointer to __syscall_ulong_t.
18710 * bits/types.h (__fsword_t): New type.
18711 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18712 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18713 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18714 (__FSWORD_T_TYPE): Likewise.
18715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18716 (__FSWORD_T_TYPE): Likewise.
18717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18718 (__FSWORD_T_TYPE): Likewise.
18719 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18720 (__FSWORD_T_TYPE): Likewise.
18721 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18722 __SWORD_TYPE with __fsword_t.
18723 (statfs64): Likewise.
18725 2012-05-17 David S. Miller <davem@davemloft.net>
18727 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18729 2012-05-17 Andreas Jaeger <aj@suse.de>
18731 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18734 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18736 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18738 2012-05-17 Andreas Jaeger <aj@suse.de>
18740 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18743 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18745 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18747 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18749 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18750 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18752 2012-05-17 Andreas Jaeger <aj@suse.de>
18753 Carlos O'Donell <carlos_odonell@mentor.com>
18756 * sysdeps/x86_64/multiarch/init-arch.h
18757 (bit_YMM_Usable): Rename to...
18758 (bit_AVX_Usable): ... this.
18759 (bit_FMA4_Usable): New macro.
18760 (bit_XMM_state): New macro.
18761 (bit_YMM_state): New macro.
18762 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18763 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18764 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18765 (CPUID_OSXSAVE): New macro.
18766 (CPUID_AVX): New macro.
18767 (CPUID_FMA4): New macro.
18768 (index_YMM_Usable): Rename to...
18769 (index_AVX_Usable): ... this.
18770 (HAS_AVX): Use HAS_ARCH_FEATURE.
18771 (HAS_FMA4): Likewise.
18772 (HAS_YMM_USABLE): Remove.
18773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18774 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18776 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18777 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18778 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18779 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18780 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18782 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18784 * math/libm-test.c: Support platforms without multiple rounding modes.
18785 * math/bug-nextafter.c: Support platforms without FP exceptions.
18786 * math/bug-nexttoward.c: Likewise.
18787 * math/test-fenv.c: Likewise.
18788 * math/test-misc.c: Likewise.
18789 * stdlib/bug-getcontext.c: Likewise.
18791 2012-05-17 Andreas Jaeger <aj@suse.de>
18793 * manual/examples/search.c (critter_cmp): Change signature to
18795 * manual/string.texi (Collation Functions): Likewise.
18797 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18799 * bits/types.h: Fold copyright years.
18800 * bits/typesizes.h: Likewise.
18801 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18803 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18805 * time/time.h: Likewise.
18807 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18810 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18811 in instead of returning them. Return void.
18812 (__libc_mallinfo): Accumulate over all arenas.
18813 (__malloc_stats): Adjust for change in int_mallinfo interface.
18815 2012-05-16 Roland McGrath <roland@hack.frob.com>
18818 * configure.in (NM): Add AC_CHECK_TOOL for it.
18819 (libc_extra_cflags): New substituted variable.
18820 Check for -fstack-protector being used implicitly.
18821 * configure: Regenerated.
18822 * config.make.in (config-extra-cflags): New variable,
18823 gets @libc_extra_cflags@.
18824 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18827 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18828 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18829 * configure: Regenerated.
18830 * config.make.in (CPPUNDEFS): New substituted variable.
18831 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18832 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18833 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18835 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18837 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18838 (mq_attr): Use __syscall_slong_t.
18840 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18842 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18843 Check __x86_64__ instead of __WORDSIZE.
18844 (_STAT_VER_LINUX): Likewise.
18845 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18846 __syscall_ulong_t and __syscall_slong_t.
18847 (stat64): Likewise.
18849 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18851 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18853 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18855 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18857 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18859 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18862 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18863 include <bits/wordsize.h>. Check __x86_64__ instead of
18865 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18867 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18869 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18870 include <bits/wordsize.h>. Check __x86_64__ instead of
18872 (user_regs_struct): Use "__extension__ unsigned long long"
18873 instead of "unsigned long" if __x86_64__ is defined.
18874 (user): Likewise. Pad after pointer field if __ILP32__ is
18877 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18879 * configure.in (makeinfo): Require version 4.5 or later. Allow
18881 * configure: Regenerated.
18882 * manual/install.texi (texinfo): Increase version requirement to
18884 * INSTALL: Regenerated.
18886 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18888 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18890 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18892 * sysdeps/x86_64/x32/ffs.c: New file.
18894 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18896 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18897 defined. Use __syscall_ulong_t.
18898 (shminfo): Use __syscall_ulong_t.
18899 (shm_info): Likewise.
18901 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18904 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18906 (msgqnum_t): Use __syscall_ulong_t.
18907 (msglen_t): Likewise.
18908 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18911 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18912 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18914 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18916 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18917 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18919 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18922 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18923 include <bits/wordsize.h>. Check __x86_64__ instead of
18926 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18927 "unsigned long long int" if __x86_64__ is defined.
18928 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18930 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18931 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18932 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18934 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18936 (GET_PC): Cast to uintptr_t first.
18937 (GET_FRAME): Likewise.
18938 (GET_STACK): Likewise.
18940 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18941 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18942 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18943 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18944 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18945 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18946 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18947 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18948 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18949 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18950 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18951 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18952 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18953 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18954 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18955 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18956 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18957 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18958 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18959 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18960 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18961 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18962 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18963 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18964 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18965 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18966 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18967 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18968 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18970 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18972 * Makerules (+depfiles): Also collect depfiles from .oS in
18974 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18975 .oS, $(libnldbl-routines)).
18977 * Makerules (native-compile-mkdep-flags): Define.
18978 * sunrpc/Makefile (extra-objs): Add $(addprefix
18979 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18980 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18981 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18982 calling $(make-target-directory).
18984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18986 * bits/types.h (__snseconds_t): Removed.
18987 * time/time.h (struct timespec): Replace __snseconds_t with
18989 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18990 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18992 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18993 (__SNSECONDS_T_TYPE): Likewise.
18994 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18995 (__SNSECONDS_T_TYPE): Likewise.
18996 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18997 (__SNSECONDS_T_TYPE): Likewise.
18999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19001 * sysdeps/mach/hurd/bits/typesizes.h
19002 (__SYSCALL_SLONG_TYPE): New macro.
19003 (__SYSCALL_ULONG_TYPE): Likewise.
19005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19007 * bits/types.h (__syscall_slong_t): New type.
19008 (__syscall_ulong_t): Likewise.
19010 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19011 (__SYSCALL_ULONG_TYPE): Likewise.
19012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19013 (__SYSCALL_SLONG_TYPE): Likewise.
19014 (__SYSCALL_ULONG_TYPE): Likewise.
19015 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19016 (__SYSCALL_SLONG_TYPE): Likewise.
19017 (__SYSCALL_ULONG_TYPE): Likewise.
19018 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19019 (__SYSCALL_SLONG_TYPE): Likewise.
19020 (__SYSCALL_ULONG_TYPE): Likewise.
19022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19024 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19025 Add sigaltstack-offsets.sym.
19026 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19027 <sigaltstack-offsets.h>.
19028 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19029 longjmp_msg pointer.
19030 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19031 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19033 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19035 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19037 * elf/stackguard-macros.h: Remove file.
19038 * sysdeps/generic/stackguard-macros.h: New file.
19039 * sysdeps/i386/stackguard-macros.h: Likewise.
19040 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19041 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19042 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19043 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19044 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19045 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19046 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19047 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19048 <elf/stackguard-macros.h>.
19051 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19052 __aligned__ in attribute.
19053 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19054 (gregset_t): Likewise.
19056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19058 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19059 * sysdeps/x86_64/64/Implies-after: Here. New file.
19060 * sysdeps/x86_64/x32/Implies-after: New file.
19062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19064 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19065 and access return value for _dl_profile_fixup. Use R10_LP to
19068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19070 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19072 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19074 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19075 * sysdeps/x86_64/x32/sysdep.h: New file.
19077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19079 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19080 * sysdeps/x86_64/setjmp.S: Likewise.
19082 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19084 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19085 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19086 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19087 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19088 remove unused global constant.
19090 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19092 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19093 include of <not-cancel.h>.
19095 2012-05-15 Roland McGrath <roland@hack.frob.com>
19097 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19099 2012-05-15 Jeff Law <law@redhat.com>
19100 Andreas Jaeger <aj@suse.de>
19103 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19105 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19106 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19107 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19108 code changing __hst_map_handle.map.
19110 2012-05-15 Roland McGrath <roland@hack.frob.com>
19112 * configure.in (sysnames): Look for Implies-before and Implies-after
19114 * configure: Regenerated.
19116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19118 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19119 8-byte data alignment with LP_SIZE alignment.
19121 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19123 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19128 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19132 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19133 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19134 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19136 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19138 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19140 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19141 (stackinfo_sub_sp): Likewise.
19143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19145 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19150 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19155 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19160 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19164 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19165 into R11_LP and load __x86_64_shared_cache_size_half into
19168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19170 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19173 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19175 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19177 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19179 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19181 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19182 powerpc32/power7/fpu/s_logb.c via #include.
19183 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19184 powerpc32/power7/fpu/s_logbf.c via #include.
19185 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19186 powerpc32/power7/fpu/s_logbl.c via #include.
19188 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19190 * README.libm: Remove file.
19192 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19194 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19195 count for x32. Use R*_LP and omit operand-size suffix.
19197 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19199 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19200 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19201 * sysdeps/x86_64/x32/shlib-versions: New file.
19203 2012-05-14 Roland McGrath <roland@hack.frob.com>
19205 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19206 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19207 Use _dl_fatal_printf instead.
19209 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19211 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19212 set if not set by the user. Do not allow for being unset.
19213 * sysdeps/unix/sysv/linux/configure: Regenerated.
19215 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19217 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19218 the `q' suffix from lea and replace .quad with ASM_ADDR.
19220 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19223 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19225 (PTR_DEMANGLE): Likewise.
19227 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19229 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19231 (ASM_ADDR): Likewise.
19232 (RAX_LP): Likewise.
19233 (RBP_LP): Likewise.
19234 (RBX_LP): Likewise.
19235 (RCX_LP): Likewise.
19236 (RDI_LP): Likewise.
19237 (RSI_LP): Likewise.
19238 (RSP_LP): Likewise.
19241 (R10_LP): Likewise.
19242 (R10_LP): Likewise.
19243 (R11_LP): Likewise.
19244 (R12_LP): Likewise.
19245 (R13_LP): Likewise.
19246 (R14_LP): Likewise.
19247 (R15_LP): Likewise.
19249 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19251 * sysdeps/x86_64/x32/dl-machine.h: New file.
19253 2012-05-14 Andreas Jaeger <aj@suse.de>
19255 * manual/Makefile (subdir): Remove export of subdir.
19256 (all): Remove target.
19257 (.PHONY): Remove all from list.
19258 (mkinstalldirs): Remove.
19259 (.PHONY): Remove installdirs from list.
19260 ($(inst_infodir)/libc.info): Use make-target-directory.
19261 (installdirs): Remove.
19262 (subdir_%): Remove.
19263 (glibc-targets): Remove.
19266 ($(objpfx)stubs ../po/manual.pot): Remove.
19267 ($(objpfx)stamp%): Remove.
19268 (make-target-directory): Remove.
19269 (subdir_install): Remove.
19270 (routines): Remove.
19277 * manual/.gitignore: Remove, it's not needed anymore.
19278 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19280 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19282 (texis): Renamed to $(objpfx)texis.
19283 (texis-path): New, contains path to generated files.
19284 (chapters.%): Use texis-path for complete path, add extra argument
19286 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19287 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19288 (summary,texi, stamp-summary): Use complete path of
19289 files. Generate files in build dir.
19290 (dir-add.texi): Build in build dir.
19291 (libm-err.texi,stamp-libm-err): Likewise.
19292 (version.texi, stamp-version): Likewise.
19293 (.%c.texi): Likewise.
19294 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19295 (mostlyclean): Remove target.
19296 (realclean): Remove target.
19297 (generated): Add new variable with contents from mostlyclean and
19298 realclean, remove entries duplicated in common-mostlyclean, add
19299 stamp-libm-err and stamp-version.
19300 (generated-dirs): Add libc directory.
19301 ($(inst_infodir)/libc.info): Install files from build dir.
19303 * manual/install.texi (Configuring and compiling): Adjust since
19304 the info files are not part of the tar ball anymore.
19306 2012-05-14 Andreas Jaeger <aj@suse.de>
19308 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19311 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19314 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19315 to 2.2.0 where earlier.
19316 * sysdeps/unix/sysv/linux/configure: Regenerated.
19317 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19318 Remove conditional code.
19319 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19320 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19321 Remove conditional code.
19322 [!__NR_lchown]: Likewise.
19323 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19324 [__NR_lchown]: Likewise.
19325 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19326 comment referencing __ASSUME_LCHOWN_SYSCALL.
19327 * sysdeps/unix/sysv/linux/i386/sigaction.c
19328 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19329 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19330 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19331 Remove conditional code.
19332 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19333 (__protocol_available): Remove #if 0 code.
19334 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19336 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19337 * sysdeps/unix/sysv/linux/kernel-features.h
19338 (__ASSUME_GETCWD_SYSCALL): Don't define.
19339 (__ASSUME_REALTIME_SIGNALS): Likewise.
19340 (__ASSUME_PREAD_SYSCALL): Likewise.
19341 (__ASSUME_PWRITE_SYSCALL): Likewise.
19342 (__ASSUME_POLL_SYSCALL): Likewise.
19343 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19344 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19346 (__ASSUME_SIOCGIFNAME): Don't define.
19347 (__ASSUME_MSG_NOSIGNAL): Likewise.
19348 (__ASSUME_SENDFILE): Define unconditionally.
19349 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19350 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19352 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19353 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19354 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19355 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19356 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19357 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19358 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19360 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19361 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19363 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19364 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19366 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19367 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19369 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19370 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19372 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19373 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19375 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19376 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19378 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19379 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19381 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19382 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19383 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19384 Remove conditional code.
19385 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19386 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19387 Remove conditional code.
19388 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19389 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19390 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19391 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19392 Remove conditional code.
19393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19394 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19395 Remove conditional code.
19396 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19397 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19398 Remove conditional code.
19399 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19400 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19401 Remove conditional code.
19402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19403 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19404 Remove conditional code.
19405 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19406 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19407 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19408 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19409 * sysdeps/unix/sysv/linux/sigaction.c
19410 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19411 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19412 * sysdeps/unix/sysv/linux/sigpending.c
19413 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19414 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19415 * sysdeps/unix/sysv/linux/sigprocmask.c
19416 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19417 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19418 * sysdeps/unix/sysv/linux/sigsuspend.c
19419 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19420 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19421 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19422 (__libc_missing_rt_sigs): Remove.
19423 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19424 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19425 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19426 Remove conditional code.
19427 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19428 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19430 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19431 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19432 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19433 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19435 2012-05-14 Andreas Jaeger <aj@suse.de>
19437 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19438 it's not used in glibc.
19439 (__coshm1): Likewise.
19440 (__acosh1p): Likewise.
19443 * manual/string.texi (Copying and Concatenation): Add missing
19444 variable in concat example.
19445 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19447 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19450 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19451 __builtin_clzl with __builtin_clzll.
19453 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19456 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19459 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19461 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19462 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19463 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19464 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19466 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19468 * NEWS: Update ia64 info.
19470 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19472 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19475 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19477 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19478 * sysdeps/unix/syscalls.list (dup3): Likewise.
19479 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19480 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19482 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19484 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19485 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19487 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19489 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19491 (TLS_IE): Use mov/add instead of movq/addq to load thread
19493 (TLS_GD_PREFIX): New.
19496 2012-05-11 David S. Miller <davem@davemloft.net>
19498 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19499 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19500 (_FPU_SETCW): Likewise.
19502 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19504 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19505 is 32-byte aligned.
19507 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19510 * iconvdata/gb18030.c: Update tables.
19511 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19512 characters specially.
19513 (BODY for TO_LOOP): Add encoding of missing ranges.
19515 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19518 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19519 * sysdeps/mach/hurd/dup3.c: Likewise.
19520 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19521 * sysdeps/powerpc/memmove.c:: Likewise.
19523 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19525 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19526 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19528 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19530 * elf/elf.h (R_X86_64_RELATIVE64): New.
19531 (R_X86_64_NUM): Updated.
19532 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19533 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19534 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19535 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19536 tst-quad1pie tst-quad2pie
19537 (modules-names): Add tst-quadmod1 tst-quadmod2.
19538 ($(objpfx)tst-quad1): New dependency.
19539 ($(objpfx)tst-quad2): Likewise.
19540 ($(objpfx)tst-quad1pie): Likewise.
19541 ($(objpfx)tst-quad2pie): Likewise.
19542 * sysdeps/x86_64/tst-quad1.c: New file.
19543 * sysdeps/x86_64/tst-quad1pie.c: New file.
19544 * sysdeps/x86_64/tst-quad2.c: Likewise.
19545 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19546 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19547 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19548 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19549 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19551 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19553 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19554 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19555 * streams/stropts.h (t_scalar_t): Define type.
19557 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19558 (_PATH_PRESERVE): Set to "/var/lib".
19559 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19561 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19564 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19565 if __dir_mkfile succeeded.
19567 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19568 checking for _hurd_dtablesize. Unlock it right after having
19569 finished _hurd_dtable allocation.
19571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19573 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19574 * sysdeps/mach/hurd/configure: Regenerated.
19575 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19576 special-casing to...
19577 * sysdeps/gnu/configure.in: ... this new file.
19578 * sysdeps/unix/sysv/linux/configure: Regenerated.
19579 * sysdeps/gnu/configure: New generated file.
19581 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19582 for Linux: use nsec instead of usec, as well as:
19583 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19584 members of type struct timespec.
19585 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19587 (struct stat64): Likewise.
19588 (_STATBUF_ST_NSEC): New macro.
19589 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19591 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19592 __strtoul_internal rather than strtoul.
19594 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19596 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19599 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19601 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19602 which preserves existing values.
19603 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19605 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19607 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19608 TIMEOUT values. Return EINVAL for NFDS values either negative or
19609 greater than FD_SETSIZE.
19611 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19613 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19614 allocated, call __vm_protect to finish enabling the existing space, and
19615 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19616 allocate the remainder.
19618 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19620 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19621 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19623 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19625 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19626 sysdeps/mach/hurd/readlink.c.
19628 * posix/tst-sysconf.c (posix_options): Only use
19629 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19630 _POSIX_SYNCHRONIZED_IO when they are defined
19631 * sysdeps/mach/hurd/bits/posix_opt.h:
19632 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19633 (_XOPEN_REALTIME): Undefine macro.
19634 (_XOPEN_REALTIME_THREADS): Undefine macro.
19635 (_XOPEN_SHM): Undefine macro.
19636 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19638 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19640 (_POSIX_ASYNC_IO): Undefine macro.
19641 (_POSIX_PRIORITIZED_IO): Undefine macro.
19642 (_POSIX_SPIN_LOCKS): Define macro to -1.
19644 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19645 SA_NODEFER, SA_RESETHAND.
19646 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19647 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19650 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19652 * elf/Makefile (pldd-modules): Define unconditionally.
19654 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19656 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19658 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19660 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19661 Return ENOENT when name is empty.
19662 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19664 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19666 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19668 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19670 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19672 Fix mlock in all cases except non-readable pages.
19673 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19674 instead of VM_PROT_ALL as parameter to __vm_wire function.
19676 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19677 (__mkdir): When path is `/', just fail with EEXIST.
19678 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19680 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19682 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19683 <sys/uio.h> (for writev).
19684 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19685 and <sys/param.h> (for MIN).
19687 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19689 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19690 REQUESTED_TIME. Properly set the remaining time and return EINTR
19693 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19695 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19696 Depend on against $(link-rpcuserlibs).
19698 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19700 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19701 (__libc_stack_end): Do not use attribute_relro.
19702 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19703 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19704 to libthread-provided value.
19705 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19708 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19711 * bits/libc-lock.h (__libc_once_get): New macro.
19712 * sysdeps/mach/bits/libc-lock.h: Likewise.
19713 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19714 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19715 instead of using implementation details.
19717 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19718 * libio/freopen.c: Likewise.
19719 * libio/freopen64.c: Likewise.
19720 * misc/syslog.c: Likewise.
19721 * nscd/connections.c: Likewise.
19722 * nscd/netgroupcache.c: Likewise.
19723 * sysdeps/posix/getcwd.c: Likewise.
19725 2012-05-10 Roland McGrath <roland@hack.frob.com>
19727 * math/w_ilogbf.c: Add #include <limits.h>.
19729 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19731 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19732 path instead of returning without unlocking.
19734 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19735 immediate-write ioctls.
19736 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19738 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19740 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19741 __builtin_frame_address instead of making assumptions about the
19742 location of the return address relative to DATA. Force early load of
19743 the return address.
19744 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19745 __builtin_frame_address.
19748 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19749 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19750 implement dup3 and do some further code clean-ups.
19751 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19752 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19754 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19756 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19758 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19759 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19760 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19761 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19762 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19765 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19766 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19767 when handler == SIG_ERR, not when handler != SIG_ERR.
19769 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19771 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19772 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19775 accept4 for GNU Hurd.
19776 * include/sys/socket.h (__libc_accept4): New prototype.
19777 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19778 to implement __libc_accept4.
19779 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19781 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19783 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19784 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19785 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19786 signal-defines.sym.
19788 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19790 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19792 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19794 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19795 assertion on O_CLOEXEC flag.
19796 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19797 * hurd/intern-fd.c: Likewise.
19798 * hurd/port2fd.c: Likewise.
19800 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19803 * bits/in.h (IPV6_PKTINFO): Define new macro.
19804 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19806 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19811 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19813 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19814 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19816 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19817 * math/libm-test.inc (logb_test) : Additional logb tests.
19819 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19820 Andreas Jaeger <aj@suse.de>
19822 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19823 * configure: Regenerated.
19824 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19825 * config.make.in (link-obsolete-rpc): New substituted variable.
19826 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19827 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19828 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19829 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19830 so that libc.a contains the symbols.
19831 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19832 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19833 * sunrpc/auth_none.c: Likewise.
19834 * sunrpc/auth_unix.c: Likewise.
19835 * sunrpc/authdes_prot.c: Likewise.
19836 * sunrpc/authuxprot.c: Likewise.
19837 * sunrpc/clnt_gen.c: Likewise.
19838 * sunrpc/clnt_perr.c: Likewise.
19839 * sunrpc/clnt_raw.c: Likewise.
19840 * sunrpc/clnt_simp.c: Likewise.
19841 * sunrpc/clnt_tcp.c: Likewise.
19842 * sunrpc/clnt_udp.c: Likewise.
19843 * sunrpc/clnt_unix.c: Likewise.
19844 * sunrpc/des_crypt.c: Likewise.
19845 * sunrpc/des_soft.c: Likewise.
19846 * sunrpc/get_myaddr.c: Likewise.
19847 * sunrpc/key_call.c: Likewise.
19848 * sunrpc/key_prot.c: Likewise.
19849 * sunrpc/netname.c: Likewise.
19850 * sunrpc/pm_getmaps.c: Likewise.
19851 * sunrpc/pm_getport.c: Likewise.
19852 * sunrpc/pmap_clnt.c: Likewise.
19853 * sunrpc/pmap_prot.c: Likewise.
19854 * sunrpc/pmap_prot2.c: Likewise.
19855 * sunrpc/pmap_rmt.c: Likewise.
19856 * sunrpc/publickey.c: Likewise.
19857 * sunrpc/rpc_cmsg.c: Likewise.
19858 * sunrpc/rpc_common.c: Likewise.
19859 * sunrpc/rpc_dtable.c: Likewise.
19860 * sunrpc/rpc_prot.c: Likewise.
19861 * sunrpc/rpc_thread.c: Likewise.
19862 * sunrpc/rtime.c: Likewise.
19863 * sunrpc/svc.c: Likewise.
19864 * sunrpc/svc_auth.c: Likewise.
19865 * sunrpc/svc_raw.c: Likewise.
19866 * sunrpc/svc_run.c: Likewise.
19867 * sunrpc/svc_tcp.c: Likewise.
19868 * sunrpc/svc_udp.c: Likewise.
19869 * sunrpc/svc_unix.c: Likewise.
19870 * sunrpc/svcauth_des.c: Likewise.
19871 * sunrpc/xcrypt.c: Likewise.
19872 * sunrpc/xdr.c: Likewise.
19873 * sunrpc/xdr_array.c: Likewise.
19874 * sunrpc/xdr_float.c: Likewise.
19875 * sunrpc/xdr_intXX_t.c: Likewise.
19876 * sunrpc/xdr_mem.c: Likewise.
19877 * sunrpc/xdr_rec.c: Likewise.
19878 * sunrpc/xdr_ref.c: Likewise.
19879 * sunrpc/xdr_sizeof.c: Likewise.
19880 * sunrpc/xdr_stdio.c: Likewise.
19882 2012-05-10 Roland McGrath <roland@hack.frob.com>
19884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19885 change. Update copyright years.
19887 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19889 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19891 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19892 Joseph Myers <joseph@codesourcery.com>
19893 Paul Pluzhnikov <ppluzhnikov@google.com>
19896 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19898 [cross-compiling] (extra-libs): Likewise.
19899 [cross-compiling] (extra-libs-others): Likewise.
19900 [cross-compiling] (librpcsvc-routines): Likewise.
19901 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19902 [cross-compiling] (omit-deps): Likewise.
19903 (sunrpc-CPPFLAGS): New variable.
19904 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19905 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19906 (cross-rpcgen-objs): New variable.
19907 (extra-objs): Append $(cross-rpcgen-objs).
19908 ($(cross-rpcgen-objs)): New rule.
19909 ($(objpfx)cross-rpcgen): Likewise.
19910 (rpcgen-cmd): Define to use $(built-program-file). Expand
19912 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19913 ($(objpfx)x%.stmp): Likewise.
19914 * sunrpc/proto.h [IS_IN_build] (_): Define.
19915 [IS_IN_build] (_libc_intl_domainname): Likewise.
19917 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19919 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19920 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19921 and R_X86_64_TPOFF64.
19923 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19925 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19926 sysdeps/unix/sysv/syscalls.list.
19929 * sysdeps/unix/sysv/syscalls.list: Remove file.
19931 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19934 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19935 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19936 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19937 (__LC_IDENTIFICATION): Make these macros useful in #if
19938 expressions, as required by C99.
19940 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19942 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19943 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19946 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19948 * stdlib/longlong.h: Updated from GCC.
19950 2012-05-09 Andreas Jaeger <aj@suse.de>
19952 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19953 default is first entry.
19954 (run_mode): Set type.
19955 (main): Remove informal message about syslog.
19956 (options): Fix typo.
19959 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19962 (llrintf): Likewise.
19963 (llrint): Likewise.
19966 (nearbyint): Likewise.
19967 (nearbyintf): Likewise.
19969 2012-05-09 Andreas Jaeger <aj@suse.de>
19970 Pedro Alves <palves@redhat.com>
19972 * nscd/nscd.c (run_mode): Use enum.
19973 (main): Cleanup coding style issue.
19975 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19976 Andreas Jaeger <aj@suse.de>
19978 * nscd/nscd.c (go_background): Replaced with...
19979 (run_mode): ... this.
19980 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19981 (options): Add -F --foreground.
19982 (main): Implement it.
19983 (parse_opt): Parse it.
19985 2012-05-09 Andreas Jaeger <aj@suse.de>
19988 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19989 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19990 -Wconversion warning.
19991 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19994 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19996 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19998 (LC_ALL): Use macro-int-constant.
19999 (LC_COLLATE): Likewise.
20000 (LC_CTYPE): Likewise.
20001 (LC_MESSAGES): Likewise.
20002 (LC_MONETARY): Likewise.
20003 (LC_NUMERIC): Likewise.
20004 (LC_TIME): Likewise.
20005 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20006 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20008 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20010 [C99-based standards] (float_t): Expect type.
20011 [C99-based standards] (double_t): Expect type.
20012 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20014 [C99-based standards] (HUGE_VALL): Likewise.
20015 [C99-based standards] (INFINITY): Likewise.
20016 [C99-based standards] (NAN): Likewise.
20017 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20018 [C99-based standards] (FP_NAN): Likewise.
20019 [C99-based standards] (FP_NORMAL): Likewise.
20020 [C99-based standards] (FP_SUBNORMAL): Likewise.
20021 [C99-based standards] (FP_ZERO): Likewise.
20022 [C99-based standards] (FP_FAST_FMA): Use
20023 optional-macro-int-constant. Specify type. Require == 1.
20024 [C99-based standards] (FP_FAST_FMAF): Likewise.
20025 [C99-based standards] (FP_FAST_FMAL): Likewise.
20026 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20027 [C99-based standards] (FP_ILOGBNAN): Likewise.
20028 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20030 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20031 [C99-based standards] (math_errhandling): Specify type.
20032 [ISO99 || ISO11] (signgam): Do not allow.
20033 [non-C99-based standards] (copysignf): Do not allow.
20034 [non-C99-based standards] (exp2f): Likewise.
20035 [non-C99-based standards] (log2f): Likewise.
20036 [non-C99-based standards] (modff): Allow.
20037 [non-C99-based standards] (erff): Do not allow.
20038 [non-C99-based standards] (erfcf): Likewise.
20039 [non-C99-based standards] (gammaf): Likewise.
20040 [non-C99-based standards] (hypotf): Likewise.
20041 [non-C99-based standards] (j0f): Likewise.
20042 [non-C99-based standards] (j1f): Likewise.
20043 [non-C99-based standards] (jnf): Likewise.
20044 [non-C99-based standards] (lgammaf): Likewise.
20045 [non-C99-based standards] (tgammaf): Likewise.
20046 [non-C99-based standards] (y0f): Likewise.
20047 [non-C99-based standards] (y1f): Likewise.
20048 [non-C99-based standards] (ynf): Likewise.
20049 [non-C99-based standards] (isnanf): Likewise.
20050 [non-C99-based standards] (acoshf): Likewise.
20051 [non-C99-based standards] (asinhf): Likewise.
20052 [non-C99-based standards] (atanhf): Likewise.
20053 [non-C99-based standards] (cbrtf): Likewise.
20054 [non-C99-based standards] (expm1f): Likewise.
20055 [non-C99-based standards] (ilogbf): Likewise.
20056 [non-C99-based standards] (log1pf): Likewise.
20057 [non-C99-based standards] (logbf): Likewise.
20058 [non-C99-based standards] (nextafterf): Likewise.
20059 [non-C99-based standards] (remainderf): Likewise.
20060 [non-C99-based standards] (rintf): Likewise.
20061 [non-C99-based standards] (scalbf): Likewise.
20062 [non-C99-based standards] (copysignl): Likewise.
20063 [non-C99-based standards] (exp2l): Likewise.
20064 [non-C99-based standards] (log2l): Likewise.
20065 [non-C99-based standards] (modfl): Allow.
20066 [non-C99-based standards] (erfl): Do not allow.
20067 [non-C99-based standards] (erfcl): Likewise.
20068 [non-C99-based standards] (gammal): Likewise.
20069 [non-C99-based standards] (hypotl): Likewise.
20070 [non-C99-based standards] (j0l): Likewise.
20071 [non-C99-based standards] (j1l): Likewise.
20072 [non-C99-based standards] (jnl): Likewise.
20073 [non-C99-based standards] (lgammal): Likewise.
20074 [non-C99-based standards] (tgammal): Likewise.
20075 [non-C99-based standards] (y0l): Likewise.
20076 [non-C99-based standards] (y1l): Likewise.
20077 [non-C99-based standards] (ynl): Likewise.
20078 [non-C99-based standards] (isnanl): Likewise.
20079 [non-C99-based standards] (acoshl): Likewise.
20080 [non-C99-based standards] (asinhl): Likewise.
20081 [non-C99-based standards] (atanhl): Likewise.
20082 [non-C99-based standards] (cbrtl): Likewise.
20083 [non-C99-based standards] (expm1l): Likewise.
20084 [non-C99-based standards] (ilogbl): Likewise.
20085 [non-C99-based standards] (log1pl): Likewise.
20086 [non-C99-based standards] (logbl): Likewise.
20087 [non-C99-based standards] (nextafterl): Likewise.
20088 [non-C99-based standards] (remainderl): Likewise.
20089 [non-C99-based standards] (rintl): Likewise.
20090 [non-C99-based standards] (scalbl): Likewise.
20091 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20092 [non-C99-based standards] (FP_*): Do not allow.
20093 [C99-based standards] (FP_*): Change to
20094 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20095 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20097 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20098 (SIG_ERR): Likewise.
20099 [X/Open-based standards] (SIG_HOLD): Likewise.
20100 (SIG_IGN): Likewise.
20101 (SIGABRT): Use macro-int-constant. Specify type. Require
20103 (SIGFPE): Likewise.
20104 (SIGILL): Likewise.
20105 (SIGINT): Likewise.
20106 (SIGSEGV): Likewise.
20107 (SIGTER): Likewise.
20108 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20109 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20110 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20111 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20112 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20113 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20114 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20115 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20116 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20117 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20118 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20119 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20120 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20121 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20122 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20123 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20124 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20125 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20126 [X/Open-based standards] (SIGTRAP): Likewise.
20127 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20128 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20129 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20130 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20131 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20134 2012-05-08 Ian Wienand <ianw@vmware.com>
20137 * time/tzset.c (__tzset_parse_tz): Update default rules for
20138 daylight time changes in the Energy Policy Act of 2005.
20140 2012-05-09 Andreas Jaeger <aj@suse.de>
20143 * elf/ldconfig.c (parse_conf): Change string to make clear that
20144 ldconfig only issued a warning if ld.so.conf does not exist.
20146 2012-05-08 David S. Miller <davem@davemloft.net>
20148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20149 movxtod instead of popping the value on the stack.
20151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20153 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20155 * config.h.in: Add HAVE_ARM_PCS_VFP.
20157 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20160 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20161 checking but the checks are disabled for any reason.
20163 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20165 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20166 and ELF64_R_TYPE with ELFW(R_TYPE).
20168 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20170 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20171 (ulimit): Likewise.
20173 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20174 (settimeofday): Likewise.
20176 2012-05-08 Mike Frysinger <vapier@gentoo.org>
20178 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20179 a struct th_u2 inside the union, and move tu_block/tu_code into
20180 a new th_u3 union of tu_block/tu_code inside of that. Move
20181 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20182 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20183 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20184 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20185 (th_stuff): Change to th_u1.tu_stuff.
20187 (th_msg): Change to th_u1.th_u2.tu_data.
20189 2012-05-07 David S. Miller <davem@davemloft.net>
20191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20194 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20195 (SETUP_PIC_REG): Use it.
20196 (SETUP_PIC_REG_LEAF): Use it.
20198 2012-05-07 Joseph Myers <joseph@codesourcery.com>
20202 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20204 (EXPL_FINITE): Likewise.
20205 (FLDLOG): Likewise.
20206 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20207 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20209 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20211 (EXPL_FINITE): Likewise.
20212 (FLDLOG): Likewise.
20213 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20214 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20216 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20217 test of -max_value argument for long double.
20218 * sysdeps/i386/fpu/libm-test-ulps: Update.
20219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20221 2012-05-06 David S. Miller <davem@davemloft.net>
20223 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20224 quad soft-float symbols whose references which are compiler
20226 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20228 2012-05-06 Joseph Myers <joseph@codesourcery.com>
20232 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20234 (EXPL_FINITE): Likewise.
20235 (FLDLOG): Likewise.
20238 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20239 Adjust comments for base varying.
20240 (__expl_finite): Change alias to EXPL_FINITE.
20241 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20243 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20244 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20245 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20246 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20247 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20249 (EXPL_FINITE): Likewise.
20250 (FLDLOG): Likewise.
20253 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20254 Adjust comments for base varying.
20255 (__expl_finite): Change alias to EXPL_FINITE.
20256 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20261 * math/libm-test.inc (check_float_internal): Correct ulp
20262 calculation for subnormal expected results.
20264 2012-05-06 Andreas Jaeger <aj@suse.de>
20266 * Makeconfig (+math-flags): New, set to -frounding-math.
20267 (+cflags): Add +math-flags so that all of glibc gets compiled with
20270 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20272 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20274 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20280 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20281 (__ieee754_expl): Allow for and saturate large arguments.
20282 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20283 (u_threshold): Likewise.
20284 (__exp): Call __ieee754_exp before checking for overflow and
20286 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20287 (u_threshold): Likewise.
20288 (__expf): Call __ieee754_expf before checking for overflow and
20290 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20291 (u_threshold): Likewise.
20292 (__expl): Call __ieee754_expl before checking for overflow and
20294 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20295 (__ieee754_expl): Allow for and saturate large arguments.
20296 * math/libm-test.inc (exp_test): Add another test. Do not allow
20297 missing overflow exception on overflow.
20298 (expm1_test): Do not allow missing overflow exception on overflow.
20300 * sysdeps/i386/fpu/e_expl.c: Move to ...
20301 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20302 rather than using inline asm.
20303 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20304 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20305 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20307 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20310 (signal): Likewise.
20314 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20316 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20317 sysdeps/unix/common/syscalls.list.
20318 (fchmod): Likewise.
20319 (fchown): Likewise.
20320 (ftruncate): Likewise.
20321 (getrusage): Likewise.
20322 (gettimeofday): Likewise.
20323 (setpgid): Likewise.
20324 (setregid): Likewise.
20325 (setreuid): Likewise.
20326 (sigaction): Likewise.
20327 (truncate): Likewise.
20328 (vhangup): Likewise.
20329 * sysdeps/unix/common/syscalls.list: Remove file.
20330 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20331 * sysdeps/unix/sysv/linux/Implies: Likewise.
20333 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20335 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20337 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20341 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20344 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20347 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20350 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20353 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20356 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20359 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20363 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20367 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20370 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20374 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20378 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20380 * sysdeps/unix/common/bits/dirent.h: Remove file.
20381 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20383 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20384 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20385 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20386 * sysdeps/unix/bsd/isatty.c: Likewise.
20387 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20388 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20389 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20391 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20394 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20395 long double comparison inaccuracies.
20396 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20399 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20401 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20402 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20404 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20407 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20408 nonzero digits before rounding a hex value.
20409 * stdlib/tst-strtod.c (tests): Add another test.
20411 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20413 * sysdeps/s390/fpu/libm-test-ulps: Update.
20415 2012-05-03 Andreas Jaeger <aj@suse.de>
20417 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20418 does not get optimized out.
20419 (malloc_opt_barrier): New.
20421 2012-05-03 Andreas Jaeger <aj@suse.de>
20422 Roland McGrath <roland@hack.frob.com>
20424 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20425 intermediate file deletion.
20426 (generated): Add .symlist files.
20428 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20431 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20432 Redirect under this condition.
20433 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20434 [__USE_GNU] (__dprintf_chk): Not under this condition.
20435 [__USE_GNU] (__vdprintf_chk): Likewise.
20436 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20437 under this condition.
20438 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20439 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20440 [__USE_XOPEN2K8] (vdprintf): Likewise.
20441 [__USE_GNU] (__dprintf_chk): Not under this condition.
20442 [__USE_GNU] (__vdprintf_chk): Likewise.
20443 [__USE_GNU] (dprintf): Likewise.
20444 [__USE_GNU] (vdprintf): Likewise.
20446 2012-05-03 Roland McGrath <roland@hack.frob.com>
20448 * elf/Makefile (common-generated): Set this instead of generated for
20449 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20450 $(all-built-dso)-derived lists.
20452 2012-05-03 Andreas Jaeger <aj@suse.de>
20454 * sysdeps/i386/fpu/libm-test-ulps: Update.
20457 * FAQ.in: Likewise.
20458 * scripts/gen-FAQ.pl: Likewise.
20459 * manual/install.texi (Installation): Point to online location of
20461 * Makefile (files-for-dist): Remove FAQ.
20464 2012-05-02 Allan McRae <allan@archlinux.org>
20466 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20467 (LDFLAGS-reldepmod5.so): Likewise.
20468 (LDFLAGS-reldep6mod1.so): Likewise.
20469 (LDFLAGS-reldep6mod4.so): Likewise.
20470 (LDFLAGS-reldep8mod3.so): Likewise.
20471 (LDFLAGS-unload4mod1.so): Likewise.
20472 (LDFLAGS-unload4mod2.so): Likewise.
20473 (LDFLAGS-tst-initorder): Likewise.
20474 (LDFLAGS-tst-initordera2.so): Likewise.
20475 (LDFLAGS-tst-initordera3.so): Likewise.
20476 (LDFLAGS-tst-initordera4.so): Likewise.
20477 (LDFLAGS-tst-initorderb2.so): Likewise.
20478 (LDFLAGS-noload): Likewise.
20479 (LDFLAGS-next): Likewise.
20480 (LDFLAGS-order2mod1.so): Likewise.
20481 (LDFLAGS-order2mod2.so): Likewise.
20482 (LDFLAGS-tst-initorder2): Likewise.
20483 (LDFLAGS-tst-initorder2a.so): Likewise.
20484 (LDFLAGS-tst-initorder2b.so): Likewise.
20485 (LDFLAGS-tst-initorder2c.so): Likewise.
20486 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20488 2012-05-02 David S. Miller <davem@davemloft.net>
20490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20492 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20495 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20497 2012-05-02 Andreas Jaeger <aj@suse.de>
20499 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20500 since we manipulate rounding mode.
20501 (CPPFLAGS-test-idouble.c): Likewise.
20502 (CPPFLAGS-test-ifloat.c): Likewise.
20503 (CFLAGS-test-ldouble.c): Likewise.
20504 (CFLAGS-test-double.c): Likewise.
20505 (CFLAGS-test-float.c): Likewise.
20506 (CFLAGS-test-misc.c): Likewise.
20507 (CFLAGS-test-test-fenv.c): Likewise.
20509 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20513 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20514 comparisons to determine direction to adjust input.
20516 2012-05-01 Roland McGrath <roland@hack.frob.com>
20518 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20519 output to the target.
20521 * scripts/localplt.awk: New file.
20522 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20523 (check-localplt-CFLAGS): Variable removed.
20524 ($(all-built-dso:=.jmprel)): New static pattern rule.
20525 (generated): Add those targets.
20526 (localplt-built-dso): New variable.
20527 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20529 * elf/check-localplt.c: File removed.
20531 * scripts/check-execstack.awk: New file.
20532 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20533 (check-execstack-CFLAGS): Variable removed.
20534 ($(objpfx)check-execstack.h): Target removed.
20535 ($(objpfx)execstack-default): New target.
20536 (generated): Add that instead of check-execstack.h.
20537 ($(all-built-dso:=.phdr)): New static pattern rule.
20538 (generated): Add those targets.
20539 * elf/check-execstack.c: File removed.
20541 * scripts/check-textrel.awk: New file.
20542 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20543 (check-textrel-CFLAGS): Variable removed.
20544 (all-built-dso): Use := to define.o
20545 ($(all-built-dso:=.dyn)): New static pattern rule.
20546 (generated): Add those targets.
20547 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20548 * config.make.in (READELF): New substituted variable.
20549 * elf/check-textrel.c: File removed.
20551 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20553 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20555 * conform/data/ctype.h-data [C99-based standards] (isblank):
20557 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20558 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20559 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20560 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20561 Specify type. Require positive value.
20562 (EILSEQ): Likewise.
20563 (ERANGE): Likewise.
20564 [ISO || POSIX] (EILSEQ): Do not expect.
20565 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20566 Specify type. Require positive value.
20567 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20568 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20569 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20570 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20571 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20572 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20573 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20574 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20575 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20576 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20577 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20578 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20579 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20580 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20581 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20584 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20586 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20587 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20588 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20589 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20590 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20592 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20593 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20594 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20595 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20596 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20599 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20600 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20601 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20602 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20603 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20604 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20605 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20606 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20607 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20608 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20609 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20610 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20611 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20612 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20613 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20614 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20615 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20616 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20617 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20618 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20619 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20620 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20621 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20622 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20623 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20624 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20625 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20626 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20627 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20628 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20629 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20630 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20631 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20632 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20633 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20634 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20635 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20636 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20637 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20638 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20639 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20640 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20641 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20642 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20643 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20645 (FLT_ROUNDS): Expect as macro, not constant.
20646 (FLT_MANT_DIG): Use macro-int-constant.
20647 (DBL_MANT_DIG): Likewise.
20648 (LDBL_MANT_DIG): Likewise.
20649 (FLT_DIG): Likewise.
20650 (DBL_DIG): Likewise.
20651 (LDBL_DIG): Likewise.
20652 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20653 (DBL_MIN_EXP): Likewise.
20654 (LDBL_MIN_EXP): Likewise.
20655 (FLT_MAX_EXP): Use macro-int-constant.
20656 (DBL_MAX_EXP): Likewise.
20657 (LDBL_MAX_EXP): Likewise.
20658 (FLT_MAX_10_EXP): Likewise.
20659 (DBL_MAX_10_EXP): Likewise.
20660 (LDBL_MAX_10_EXP): Likewise.
20661 (FLT_MAX): Use macro-constant.
20662 (DBL_MAX): Likewise.
20663 (LDBL_MAX): Likewise.
20664 (FLT_EPSILON): Use macro-constant. Give upper bound.
20665 (DBL_EPSILON): Likewise.
20666 (LDBL_EPSILON): Likewise.
20667 (FLT_MIN): Likewise.
20668 (DBL_MIN): Likewise.
20669 (LDBL_MIN): Likewise.
20670 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20671 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20672 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20673 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20674 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20675 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20676 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20677 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20678 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20679 [ISO11] (FLT_TRUE_MIN): Likewise.
20680 [ISO11] (LDBL_TRUE_MIN): Likewise.
20681 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20682 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20683 (SCHAR_MIN): Use macro-int-constant. Specify type.
20684 (SCHAR_MAX): Likewise.
20685 (UCHAR_MAX): Likewise.
20686 (CHAR_MIN): Likewise.
20687 (CHAR_MAX): Likewise.
20688 (MB_LEN_MAX): Use macro-int-constant.
20689 (SHRT_MIN): Use macro-int-constant. Specify type.
20690 (SHRT_MAX): Likewise.
20691 (USHRT_MAX): Likewise.
20692 (INT_MAX): Likewise.
20693 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20695 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20697 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20699 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20700 bound negative. Suffix upper bound with "L".
20701 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20703 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20705 [C99-based standards] (LLONG_MAX): Likewise.
20706 [C99-based standards] (ULLONG_MAX): Likewise.
20707 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20709 [ISO11] (max_align_t): Require type.
20710 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20712 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20713 from $CFLAGS, without defining away __attribute__ calls.
20714 (checknamespace): Use $CFLAGS_namespace.
20716 * conform/conformtest.pl (@keywords): Only include C99 keywords
20717 for standards based on C99 or C11.
20719 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20721 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20724 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20725 usability of symbols in #if.
20727 * conform/conformtest.pl: If macro or constant types start
20728 "promoted:", expect the symbol to be of the following type
20729 promoted by the integer promotions.
20731 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20732 in one place. Also handle "macro-constant".
20734 * conform/conformtest.pl: Only accept expected macro values with
20735 "==". Parse all "macro" lines in one place.
20736 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20738 * conform/conformtest.pl: Handle braced types on "constant" lines
20739 instead of handling "typed-constant".
20740 * conform/data/signal.h-data: Use "constant" instead of
20743 * conform/conformtest.pl: Handle "optional-" at start of lines in
20744 one place rather than duplicating several cases. Handle each
20745 format of "macro" line with initial "optional-".
20747 * conform/conformtest.pl: Only accept expected constant or
20748 optional-constant values with "==". Parse all "constant" lines in
20749 one place. Parse all "optional-constant" lines in one place.
20750 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20751 * conform/data/fmtmsg.h-data: Likewise.
20752 * conform/data/netinet/in.h-data: Likewise.
20753 * conform/data/tar.h-data: Likewise.
20754 * conform/data/limits.h-data: Use "==" form on "constant" and
20755 "optional-constant" lines.
20757 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20758 Use -std=c99 for XOPEN2K.
20759 (@knownproblems): Remove.
20760 (newtoken): Don't check %isknown.
20762 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20763 Do not expect macro.
20764 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20765 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20766 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20767 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20768 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20769 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20770 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20771 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20772 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20773 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20774 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20775 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20776 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20777 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20778 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20779 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20780 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20781 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20782 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20783 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20784 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20785 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20786 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20787 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20788 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20789 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20790 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20791 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20792 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20793 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20794 [XPG3] (acosh): Likewise.
20795 [XPG3] (asinh): Likewise.
20796 [XPG3] (atanh): Likewise.
20797 [XPG3] (cbrt): Likewise.
20798 [XPG3] (expm1): Likewise.
20799 [XPG3] (ilogb): Likewise.
20800 [XPG3] (log1p): Likewise.
20801 [XPG3] (logb): Likewise.
20802 [XPG3] (nextafter): Likewise.
20803 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20804 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20805 [XPG3] (remainder): Likewise.
20806 [XPG3] (rint): Likewise.
20807 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20808 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20809 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20810 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20811 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20812 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20813 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20814 [UNIX98 || XOPEN2K] (scalb): Expect.
20815 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20816 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20817 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20818 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20819 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20820 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20821 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20822 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20823 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20824 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20825 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20826 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20827 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20828 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20829 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20830 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20831 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20832 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20833 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20834 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20835 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20836 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20837 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20838 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20839 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20840 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20841 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20842 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20843 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20844 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20845 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20846 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20847 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20848 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20849 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20850 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20851 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20852 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20853 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20854 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20855 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20856 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20857 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20858 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20859 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20860 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20861 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20862 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20863 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20864 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20865 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20866 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20867 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20868 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20869 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20870 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20871 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20872 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20873 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20874 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20875 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20876 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20877 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20878 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20879 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20880 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20881 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20882 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20883 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20884 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20885 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20886 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20887 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20888 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20889 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20890 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20891 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20892 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20893 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20894 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20895 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20896 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20897 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20898 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20899 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20900 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20901 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20902 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20903 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20904 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20905 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20906 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20907 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20908 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20909 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20910 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20911 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20912 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20913 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20914 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20915 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20916 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20917 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20918 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20919 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20920 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20921 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20922 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20923 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20924 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20925 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20926 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20927 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20928 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20929 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20930 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20931 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20932 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20933 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20934 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20935 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20936 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20937 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20938 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20939 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20940 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20941 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20942 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20943 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20944 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20945 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20946 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20947 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20948 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20949 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20950 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20951 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20953 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20954 _XOPEN_SOURCE_EXTENDED for XPG4.
20956 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20958 * Makeconfig (localtime): Remove variable.
20959 (inst_localtime-file): Likewise.
20961 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20982 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20986 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20987 comparisons to determine direction to adjust input.
20988 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20989 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20990 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20992 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20994 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20996 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20997 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20999 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21001 * math/libm-test.inc (nexttoward_test): Add more tests.
21003 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21006 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21007 in version GLIBC_2.1, not GLIBC_2.0.
21008 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21011 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21014 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21016 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21017 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21018 * math/libm-test.inc (acos_test): Add more tests.
21019 (asin_test): Likewise.
21020 * sysdeps/i386/fpu/libm-test-ulps: Update.
21021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21024 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21026 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21027 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21028 * math/libm-test.inc (acos_test_tonearest): New function.
21029 (acos_test_towardzero): Likewise.
21030 (acos_test_downward): Likewise.
21031 (acos_test_upward): Likewise.
21032 (asin_test_tonearest): Likewise.
21033 (asin_test_towardzero): Likewise.
21034 (asin_test_downward): Likewise.
21035 (asin_test_upward): Likewise.
21036 (main): Call the new functions.
21037 * sysdeps/i386/fpu/libm-test-ulps: Update.
21038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21042 * math/e_exp10.c: Include <float.h>.
21043 (__ieee754_exp10): Handle underflow here rather than multiplying
21044 large negative argument by M_LN10.
21045 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21047 * math/e_exp10l.c: Include <float.h>.
21048 (__ieee754_exp10l): Handle underflow here rather than multiplying
21049 large negative argument by M_LN10l.
21050 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21051 spurious overflow exception on underflow.
21053 2012-04-29 Marek Polacek <polacek@redhat.com>
21055 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21056 (__fortify_function): New macro.
21057 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21058 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21059 __extern_always_inline.
21060 * libio/bits/stdio2.h: Likewise.
21061 * libio/bits/stdio.h: Likewise.
21062 * string/string.h: Likewise.
21063 * string/bits/string3.h: Likewise.
21064 * include/stdio.h: Likewise.
21065 * stdlib/bits/stdlib.h: Likewise.
21066 * stdlib/stdlib.h: Likewise.
21067 * rt/bits/mqueue2.h: Likewise.
21068 * rt/mqueue.h: Likewise.
21069 * posix/bits/unistd.h: Likewise.
21070 * posix/unistd.h: Likewise.
21071 * io/bits/poll2.h: Likewise.
21072 * io/bits/fcntl2.h: Likewise.
21073 * io/fcntl.h: Likewise.
21074 * io/sys/poll.h: Likewise.
21075 * misc/bits/syslog.h: Likewise.
21076 * misc/bits/syslog-ldbl.h: Likewise.
21077 * misc/sys/syslog.h: Likewise.
21078 * socket/bits/socket2.h: Likewise.
21079 * socket/sys/socket.h: Likewise.
21080 * debug/tst-chk1.c: Likewise.
21081 * wcsmbs/bits/wchar2.h: Likewise.
21082 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21083 * wcsmbs/wchar.h: Likewise.
21085 2012-04-29 Andreas Jaeger <aj@suse.de>
21087 * Makerules (tests): Remove enable-check-abi protection.
21088 (check-abi-warn): Remove.
21089 (check-abi-%): Remove check-abi-warn usage.
21091 * configure.in: Remove check-abi configure option.
21092 * configure: Regenerated.
21093 * config.make.in (enable-check-abi): Remove.
21095 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21098 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21099 double functions to double *_finite functions.
21102 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21103 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21105 * stdio-common/Makefile (tests): Add tst-sprintf3.
21106 * stdio-common/tst-sprintf3.c: New file.
21108 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21109 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21111 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21113 * conform/conformtest.pl: Remove duplicate typed-constant
21116 2012-04-28 David S. Miller <davem@davemloft.net>
21118 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21119 (check-abi-%): Remove AWK script prerequisite and explicit
21121 (check-abi): Rewrite to just diff the symlist with the abilist.
21122 (config-tls, config-abi-config): Delete, no longer used.
21123 (update-abi-%): Remove AWK script and explicit abilist directory.
21124 (update-abi): Rewrite to simply compare and conditionally copy the
21125 symlist and the sysdep abilist file. Remove update-abi-config
21127 * abilist/ld.abilist: Remove.
21128 * abilist/libBrokenLocale.abilist: Remove.
21129 * abilist/libanl.abilist: Remove.
21130 * abilist/libcrypt.abilist: Remove.
21131 * abilist/libdl.abilist: Remove.
21132 * abilist/librt.abilist: Remove.
21133 * abilist/libthread_db.abilist: Remove.
21134 * abilist/libutil.abilist: Remove.
21135 * scripts/extract-abilist.awk: Remove.
21136 * scripts/merge-abilist.awk: Remove.
21137 * sysdeps/generic/libcidn.abilist: New file.
21138 * sysdeps/generic/libnss_compat.abilist: New file.
21139 * sysdeps/generic/libnss_db.abilist: New file.
21140 * sysdeps/generic/libnss_dns.abilist: New file.
21141 * sysdeps/generic/libnss_files.abilist: New file.
21142 * sysdeps/generic/libnss_hesiod.abilist: New file.
21143 * sysdeps/generic/libnss_nis.abilist: New file.
21144 * sysdeps/generic/libnss_nisplus.abilist: New file.
21145 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21146 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21147 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21149 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21150 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21151 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21152 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21153 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21154 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21155 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21156 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21157 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21159 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21160 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21161 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21162 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21164 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21165 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21166 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21167 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21168 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21169 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21171 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21172 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21173 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21175 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21278 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21279 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21280 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21282 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21283 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21284 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21285 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21286 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21287 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21288 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21289 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21290 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21291 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21343 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21345 * conform/conformtest.pl: Fix typo in handling typed-constant from
21348 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21350 * README: Cut down references to pre-2.6 Linux kernels and
21351 Linuxthreads. Update lists of configurations in libc and ports
21352 and sort alphabetically. Say "or newer" with Linux kernel version
21355 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21357 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21360 * math/libm-test.inc (logb_test_downward): New test to expose
21361 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21364 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21367 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21369 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21370 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21372 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21374 * sysdeps/unix/i386/brk.S: Remove file.
21375 * sysdeps/unix/i386/dl-brk.S: Likewise.
21376 * sysdeps/unix/i386/pipe.S: Likewise.
21377 * sysdeps/unix/i386/sigreturn.S: Likewise.
21378 * sysdeps/unix/i386/syscall.S: Likewise.
21379 * sysdeps/unix/i386/vfork.S: Likewise.
21380 * sysdeps/unix/i386/wait.S: Likewise.
21382 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21383 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21385 * configure.in (arm*-none*): Do not allow without
21386 --enable-hacker-mode.
21387 (netbsd*): Remove case setting base_os.
21388 (386bsd*): Likewise.
21389 (freebsd*): Likewise.
21392 (sunos*): Likewise.
21393 (ultrix*): Likewise.
21394 (newsos*): Likewise.
21395 (dynix*): Likewise.
21401 (minix*): Likewise.
21402 (irix4*): Likewise.
21403 (irix6*): Likewise.
21404 (solaris[2-9]*): Likewise.
21406 * configure: Regenerated.
21408 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21411 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21412 overflow or cancellation in calculating denominator.
21413 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21414 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21415 down expression to avoid unexpected rounding in newer GCCs.
21416 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21418 2012-04-26 David S. Miller <davem@davemloft.net>
21420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21421 long-double compat symbols.
21422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21436 2012-04-25 David S. Miller <davem@davemloft.net>
21438 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21439 HWCAP_* values only after the memory barriers have been defined.
21440 (atomic_full_barrier): Define.
21441 (atomic_read_barrier): Define.
21442 (atomic_write_barrier): Define.
21444 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21446 * shlib-versions: Add libgcc_s version information.
21447 * sysdeps/generic/libgcc_s.h: Remove.
21448 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21450 * sysdeps/gnu/unwind-resume.c: Likewise.
21451 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21453 2012-04-25 David S. Miller <davem@davemloft.net>
21455 * sysdeps/unix/sparc/brk.S: Delete.
21456 * sysdeps/unix/sparc/dl-brk.S: Delete.
21457 * sysdeps/unix/sparc/pipe.S: Delete.
21458 * sysdeps/unix/sparc/sysdep.S: Delete.
21459 * sysdeps/unix/sparc/sysdep.h: Delete.
21460 * sysdeps/unix/sparc/vfork.S: Delete.
21461 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21462 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21463 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21464 ret_ERRVAL, r0, r1, MOVE): Define.
21465 (JUMPTARGET): Remove.
21466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21467 sysdeps/unix/sparc/sysdep.h
21468 (ENTRY, END): Remove.
21469 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21471 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21473 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21474 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21477 * timezone/README: Update upstream location and email address for
21479 * timezone/zdump.c: Update from tzcode 2012b.
21480 * timezone/zic.c: Likewise.
21482 * configure.in (libc_cv_as_needed): Remove test.
21483 * configure: Regenerated.
21484 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21485 conditional definition.
21486 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21487 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21488 * config.make.in (have-as-needed): Remove variable.
21490 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21491 Paul Pluzhnikov <ppluzhnikov@google.com>
21493 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21496 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21498 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21499 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21500 * sysdeps/sh/strlen.S: Likewise.
21502 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21504 * sysdeps/unix/fork.S: Remove file.
21505 * sysdeps/unix/i386/fork.S: Likewise.
21506 * sysdeps/unix/sparc/fork.S: Likewise.
21508 * sysdeps/unix/system.c: Remove file.
21509 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21511 * sysdeps/unix/getegid.S: Remove file.
21512 * sysdeps/unix/geteuid.S: Likewise.
21514 2012-04-24 Roland McGrath <roland@hack.frob.com>
21516 * scripts/check-localplt.awk: New file.
21517 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21519 * scripts/data/localplt-generic.data: Add a comment.
21521 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21522 NODE when __dir_mkfile failed.
21523 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21524 Reported by Ludovic Courtès <ludo@gnu.org>.
21526 2012-04-24 Andreas Jaeger <aj@suse.de>
21528 * Makerules (common-clean): Also remove gen-as-const-headers
21531 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21533 * Makerules (native-compile): Do not change working directory for
21534 build. Use $(OUTPUT_OPTION) in command.
21535 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21537 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21540 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21541 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21542 * math/libm-test.inc (floor_test): Add more tests.
21543 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21545 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21547 * sysdeps/unix/getdents.c: Remove file.
21548 * sysdeps/unix/sysv/getdents.c: Likewise.
21549 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21551 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21552 sysdeps/unix/mman/syscalls.list.
21554 (mprotect): Likewise.
21556 (munmap): Likewise.
21557 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21558 * sysdeps/unix/mman/syscalls.list: Remove.
21559 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21561 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21562 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21563 * configure: Regenerated.
21564 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21565 $(libgcc_s_suffix).
21566 * config.make.in (libgcc_s_suffix): Remove variable.
21568 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21570 * sysdeps/unix/sysv/gethostname.c: Move to ...
21571 * sysdeps/posix/gethostname.c: ... here.
21573 * sysdeps/unix/execve.S: Remove file.
21575 * sysdeps/unix/_exit.S: Remove file.
21577 2012-04-23 Andreas Jaeger <aj@suse.de>
21580 * manual/Makefile: Remove make dist support, there's no
21581 need for a stand-alone documentation tar ball.
21582 (TEXI2DVI): Define always, it's not in Makeconfig.
21585 (edition): Removed.
21586 (glibc-doc-$(edition).tar): Removed
21590 (ETAGS): Remove, it's in Makeconfig.
21591 (move-if-change): Remove, it's in Makeconfig.
21593 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21596 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21597 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21598 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21599 (strtod_l, strtof_l, strtold_l): Remove __wur.
21600 It is not necessarily an error to ignore strtol's return value.
21601 One can reliably look at the stored endptr to decide whether
21602 the number had valid syntax.
21604 2012-04-21 Andreas Jaeger <aj@suse.de>
21607 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21609 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21611 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21612 * sysdeps/unix/sysv/Versions: Remove file.
21614 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21619 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21622 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21623 version from __vm86.
21625 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21627 * sysdeps/unix/common/lxstat.c: Remove file.
21628 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21630 * sysdeps/unix/sysv/Makefile: Remove file.
21632 * sysdeps/unix/sysv/direct.h: Remove file.
21634 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21635 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21636 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21637 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21638 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21639 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21640 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21642 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21644 * sysdeps/unix/xmknod.c: Remove file.
21645 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21647 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21649 * sysdeps/unix/sysv/i386/time.S: Remove file.
21651 * sysdeps/unix/fxstat.c: Remove file.
21652 * sysdeps/unix/xstat.c: Likewise.
21653 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21655 * sysdeps/unix/sysv/sigaction.c: Remove file.
21657 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21658 (sysdep_headers): Remove variable.
21659 [termio.h not in sysdep_headers] (generated): Likewise.
21660 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21661 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21662 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21663 * sysdeps/unix/sysv/tcflow.c: Likewise.
21664 * sysdeps/unix/sysv/tcflush.c: Likewise.
21665 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21666 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21667 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21668 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21669 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21671 * sysdeps/unix/siglist.c: Remove file.
21673 * sysdeps/unix/getppid.S: Remove file.
21675 * sysdeps/unix/mkdir.c: Remove file.
21676 * sysdeps/unix/rmdir.c: Likewise.
21678 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21680 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21682 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21683 errlist-compat value.
21685 2012-04-18 David S. Miller <davem@davemloft.net>
21687 * sysdeps/generic/memcopy.h (reg_char): Delete.
21688 * debug/strcat_chk.c: Use char, not reg_char.
21689 * debug/strcpy_chk.c: Likewise.
21690 * debug/strncat_chk.c: Likewise.
21691 * debug/strncpy_chk.c: Likewise.
21692 * string/memchr.c: Likewise.
21693 * string/memrchr.c: Likewise.
21694 * string/rawmemchr.c: Likewise.
21695 * string/strcat.c: Likewise.
21696 * string/strchr.c: Likewise.
21697 * string/strchrnul.c: Likewise.
21698 * string/strcmp.c: Likewise.
21699 * string/strcpy.c: Likewise.
21700 * string/strncat.c: Likewise.
21701 * string/strncmp.c: Likewise.
21702 * string/strncpy.c: Likewise.
21704 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21706 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21707 __builtin_memcopy is called when src and dest ranges are known to not
21710 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21712 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21713 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21714 fwd_align_merge macro call.
21715 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21716 bwd_align_merge macro call.
21717 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21719 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21721 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21722 bwd_align_merge macros.
21723 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21724 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21725 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21727 2012-04-18 David S. Miller <davem@davemloft.net>
21729 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21731 2012-04-18 Andreas Jaeger <aj@suse.de>
21734 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21735 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21736 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21738 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21739 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21740 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21742 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21743 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21744 Adjust for changed ldbl-128 files.
21746 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21747 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21748 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21750 2012-04-17 David S. Miller <davem@davemloft.net>
21752 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21754 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21756 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21757 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21758 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21759 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21760 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21761 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21763 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21766 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21767 * math/libm-test.inc: Add ilogb errno and exception tests.
21768 * math/w_ilogb.c: New file: ilogb wrapper.
21769 * math/w_ilogbf.c: New file: ilogbf wrapper.
21770 * math/w_ilogbl.c: New file: ilogbl wrapper.
21771 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21772 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21773 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21774 exception being thrown with 0.0 as argument.
21775 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21776 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21777 exception being thrown with 0.0 as argument.
21778 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21779 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21780 exception being thrown with 0.0 as argument.
21781 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21782 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21783 exception being thrown with 0.0 as argument.
21784 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21785 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21786 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21787 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21788 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21789 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21790 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21791 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21792 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21794 2012-04-17 Petr Baudis <pasky@ucw.cz>
21796 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21799 2012-04-16 Marek Polacek <polacek@redhat.com>
21801 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21803 2012-04-16 Marek Polacek <polacek@redhat.com>
21805 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21806 operands of fdivp instruction.
21808 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21810 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21811 * elf/tst-auditmod3b.c: Likewise.
21812 * elf/tst-auditmod4b.c: Likewise.
21813 * elf/tst-auditmod5b.c: Likewise.
21814 * elf/tst-auditmod6b.c: Likewise.
21815 * elf/tst-auditmod6c.c: Likewise.
21816 * elf/tst-auditmod7b.c: Likewise.
21817 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21818 * sysdeps/x86_64/preconfigure.in: Likewise.
21819 * sysdeps/x86_64/preconfigure: Regenerated.
21821 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21823 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21826 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21828 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21829 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21831 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21834 * locale/iso-639.def: Fix gl language name. Spotted by
21837 2012-04-12 Roland McGrath <roland@hack.frob.com>
21840 * libio/libio.h (__io_write_fn): Update comment.
21842 2012-04-12 Petr Baudis <pasky@ucw.cz>
21845 * stdio.texi (Hook Functions): The user provided writer function
21846 is not allowed to return -1.
21848 2012-04-11 David S. Miller <davem@davemloft.net>
21850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21852 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21854 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21855 Add a leading slash to rtkaio.
21857 2012-04-11 Jim Meyering <meyering@redhat.com>
21860 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21861 It is not necessarily an error to ignore fwrite's return
21862 value. One can reliably use ferror to test for errors after
21865 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21867 * bits/types.h (__snseconds_t): New type.
21868 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21870 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21871 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21872 (__SNSECONDS_T_TYPE): Likewise.
21873 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21874 (__SNSECONDS_T_TYPE): Likewise.
21875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21876 (__SNSECONDS_T_TYPE): Likewise.
21878 2012-04-10 Andreas Jaeger <aj@suse.de>
21881 * manual/time.texi (Processor Time): Return type of times is
21882 elapsed real time since an arbitrary point in the past.
21883 (CPU Time): Move CLK_TCK from here...
21884 (Processor Time): ...to here. Correct description.
21885 * manual/conf.texi (Constants for Sysconf): Correct description of
21888 2012-04-10 David S. Miller <davem@davemloft.net>
21891 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21892 where the is a gap between DT_REL(A) and DT_JMPREL.
21894 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21896 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21897 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21898 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21900 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21902 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21903 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21904 (dl_main): Handle --inhibit-cache.
21905 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21907 * elf/dl-load.c (_dl_map_object): Use it.
21908 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21910 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21913 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21914 (__ieee754_powl): Saturate large exponents rather than testing for
21915 overflow of y*log2(x).
21916 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21917 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21921 * math/s_ctan.c: Include <float.h>.
21922 (__ctan): Avoid internal overflow or cancellation in calculating
21924 * math/s_ctanf.c: Likewise.
21925 * math/s_ctanl.c: Likewise.
21926 * math/s_ctanh.c: Likewise.
21927 * math/s_ctanhf.c: Likewise.
21928 * math/s_ctanhl.c: Likewise.
21929 * math/libm-test.inc (ctan_test): Add more tests.
21930 (ctanh_test): Likewise.
21931 * sysdeps/i386/fpu/libm-test-ulps: Update.
21932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21934 2012-04-09 Andreas Jaeger <aj@suse.de>
21937 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21938 is an optional BSD extension.
21941 * manual/stdio.texi (Opening Streams): Document additional fopen
21944 2012-04-09 Roland McGrath <roland@hack.frob.com>
21946 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21947 %eax without telling the compiler.
21949 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21952 * manual/install.texi: Use sourceware.org.
21954 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21957 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21958 (__ieee754_pow): Generate overflow and underflow using huge*huge
21959 and tiny*tiny rather than just returning constant infinity or zero
21960 for large exponents.
21961 * math/libm-test.inc (pow_test): Require overflow exceptions for
21962 applicable cases of large exponents.
21965 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21966 (__ieee754_pow): Use iterative multiplication algorithm only for
21967 integer exponents with absolute value below 1024. Check for odd
21968 integer exponents when using algorithm for real exponents.
21969 * math/libm-test.inc (pow_test): Add more tests.
21970 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21972 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21975 * math/libm-test.inc (exp_test): Do not allow overflow exception
21978 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21981 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21982 instead of __kernel_standard_f.
21984 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21986 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21987 * sysdeps/x86_64/memset_chk.S: Likewise.
21989 2012-04-08 Andreas Jaeger <aj@suse.de>
21992 * manual/startup.texi (Environment Access): Describe return value
21993 for putenv and setenv.
21996 * manual/filesys.texi (Directory Entries): Add description for
22000 * manual/filesys.texi (Directory Entries): Clarify that it's file
22001 system not operating system in the description of DT_UNKNOWN.
22004 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22006 2012-04-08 Stephen Compall <s11@member.fsf.org>
22009 * manual/llio.texi (Opening and Closing Files): Add cross
22010 reference to explain mode argument.
22012 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22014 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22015 * sysdeps/x86_64/memset_chk.S: Likewise.
22017 2012-04-07 David S. Miller <davem@davemloft.net>
22019 * elf/elf.h (R_SPARC_WDISP10): Define.
22020 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22022 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22023 R_SPARC_SIZE64 and R_SPARC_H34.
22025 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22027 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22028 conditions and remove no longer applicable assertion.
22030 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22032 * bits/byteswap.h: Include <features.h>.
22033 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22034 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22036 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22038 * bits/byteswap.h (__bswap_16): Removed.
22039 Include <bits/byteswap-16.h> to get __bswap_16.
22040 * sysdeps/i386/bits/byteswap.h: Likewise.
22041 * sysdeps/s390/bits/byteswap.h: Likewise.
22042 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22043 * bits/byteswap-16.h: New file.
22044 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22045 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22046 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22047 * string/Makefile (headers): Add bits/byteswap-16.h.
22049 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22052 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22054 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22055 * nss/tst-nss-static.c: New.
22057 2012-04-06 Robert Millan <rmh@gnu.org>
22060 * manual/llio.texi (File Position Primitive): lseek
22061 refers to WHENCE when it really means OFFSET.
22063 2012-04-06 Andreas Jaeger <aj@suse.de>
22065 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22066 strncmp declarations.
22068 * abilist/libc.abilist: Add __poll and __ppoll.
22070 2012-04-05 David S. Miller <davem@davemloft.net>
22072 * scripts/check-local-headers.sh: Accept a host triplet in the
22073 path matched by the exclude regexp.
22075 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22077 * sysdeps/powerpc/powerpc32/dl-machine.h
22078 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22079 * sysdeps/s390/s390-32/dl-machine.h
22080 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22081 * sysdeps/sparc/sparc32/dl-machine.h
22082 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22083 * sysdeps/sparc/sparc64/dl-machine.h
22084 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22086 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22088 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22089 undefined symbol errors.
22091 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22094 2012-04-05 Michael Matz <matz@suse.de>
22097 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22099 2012-04-05 Andreas Jaeger <aj@suse.de>
22102 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22105 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22107 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22108 which ROUND is no valid rounding mode.
22110 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22112 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22114 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22116 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22118 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22119 an exception using FPU order intentionally.
22121 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22123 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22124 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22125 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22126 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22128 2012-04-05 Simon Josefsson <simon@josefsson.org>
22131 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22132 EINVAL when BUFLEN is too smal.
22134 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22137 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22138 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22140 2012-04-03 Andreas Jaeger <aj@suse.de>
22143 * manual/setjmp.texi (System V contexts): Fix sentence.
22146 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22147 New macro for this case.
22148 [!__GNUC__] (__bswap_64): New inline function for this case.
22149 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22150 * bits/byteswap.h: Likewise.
22151 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22152 ull, guard with __GLIBC_HAVE_LONG_LONG.
22154 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22155 __GLIBC_HAVE_LONG_LONG.
22157 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22158 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22160 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22163 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22164 inptr and inend, rather than using last_ch.
22166 2012-04-02 David S. Miller <davem@davemloft.net>
22168 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22169 * stdio-common/printf-parse.h (read_int): Change return type to
22170 'int', return -1 on INT_MAX overflow.
22171 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22172 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22173 overflows INT_MAX. Check for overflow of in-format-string precision
22174 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22175 SIZE_MAX not INT_MAX for integer overflow test.
22176 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22177 skip the construct in the format string but do not record anything.
22178 * stdio-common/bug22.c: Adjust to test both width/prevision
22179 INT_MAX overflow as well as total length INT_MAX overflow. Check
22180 explicitly for proper errno values.
22182 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22184 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22186 * string/test-strcmp.c [! WIDE]: Likewise.
22187 * time/tst-mktime2.c: Likewise for INT_MAX.
22188 * string/test-string.h: #include <sys/param.h> for MIN.
22190 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22191 * sysdeps/i386/init-first.c (init): Likewise.
22192 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22193 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22194 * sysdeps/sh/init-first.c (init): Likewise.
22196 2012-04-01 Ulrich Drepper <drepper@gmail.com>
22198 * po/ru.po: Update from translation team.
22199 * po/vi.po: Likewise.
22201 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22203 * resolv/nss_dns/dns-host.c: Merge copyright years.
22205 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22207 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22208 Optimize memcpy with prefetch if
22209 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22210 src, dst pointers have unequal 16 byte alignments.
22212 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22215 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22216 from a CNAME entry and return the minimum ttl for the query.
22217 (gaih_getanswer_slice): Likewise.
22219 2012-03-30 Jeff Law <law@redhat.com>
22221 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22223 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22224 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22226 * resolv/nss_dns/dns-host.c: Update copyright year.
22228 2012-03-30 Ulrich Drepper <drepper@gmail.com>
22230 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22231 requests to save a system call. Fix check that all bytes are sent.
22233 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22234 comments for sendmmsg.
22236 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22239 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22240 with only 1 character between 0x0041 and 0x01b0.
22241 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22242 * wcsmbs/tst-mbsnrtowcs.c: New file.
22244 2012-03-29 David S. Miller <davem@davemloft.net>
22246 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22247 small copies by hand.
22249 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22252 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22253 _nss_compat_initgroups_dyn): Fall back to malloc/free
22254 for large group memberships.
22256 2012-03-28 David S. Miller <davem@davemloft.net>
22258 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22259 that branches into memcpy.
22260 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22261 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22262 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22263 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22266 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22267 implementation too.
22268 * sysdeps/sparc/mempcpy.S: New file.
22270 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22271 the IFUNC routine in the libc case.
22272 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22274 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22275 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22276 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22277 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22278 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22279 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22280 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22281 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22283 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22284 loop to 256 bytes instead of 64 bytes and fix test signedness.
22286 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22287 * sysdeps/sparc/sparc32/Makefile: rather than here...
22288 * sysdeps/sparc/sparc64/Makefile: and here.
22290 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22292 * malloc/mallocbug.c: Avoid warnings about unused variables.
22294 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22297 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22298 in the right place. Discard and retry query if response is
22299 larger than input buffer size.
22301 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22306 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22307 x for large integer exponent.
22308 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22309 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22310 sign of result as needed afterwards.
22311 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22312 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22313 result for underflowing pow the same as for overflow.
22314 (__kernel_standard_l): Handle powl overflow and underflow here
22315 rather than calling __kernel_standard.
22316 * math/libm-test.inc (pow_test): Add more tests.
22331 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22332 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22333 (__kernel_standard_l): New function.
22334 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22336 * math/w_acosl.c (__acosl): Likewise.
22337 * math/w_asinl.c (__asinl): Likewise.
22338 * math/w_atan2l.c (__atan2l): Likewise.
22339 * math/w_atanhl.c (__atanhl): Likewise.
22340 * math/w_coshl.c (__coshl): Likewise.
22341 * math/w_exp10l.c (__exp10l): Likewise.
22342 * math/w_exp2l.c (__exp2l): Likewise.
22343 * math/w_fmodl.c (__fmodl): Likewise.
22344 * math/w_hypotl.c (__hypotl): Likewise.
22345 * math/w_j0l.c (__j0l, __y0l): Likewise.
22346 * math/w_j1l.c (__j1l, __y1l): Likewise.
22347 * math/w_jnl.c (__jnl, __ynl): Likewise.
22348 * math/w_lgammal.c (__lgammal): Likewise.
22349 * math/w_log10l.c (__log10l): Likewise.
22350 * math/w_log2l.c (__log2l): Likewise.
22351 * math/w_logl.c (__logl): Likewise.
22352 * math/w_powl.c (__powl): Likewise.
22353 * math/w_remainderl.c (__remainderl): Likewise.
22354 * math/w_scalbl.c (sysv_scalbl): Likewise.
22355 * math/w_sinhl.c (__sinhl): Likewise.
22356 * math/w_sqrtl.c (__sqrtl): Likewise.
22357 * math/w_tgammal.c (__tgammal): Likewise.
22358 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22359 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22360 * math/libm-test.inc (acos_test): Add more tests.
22361 (acosh_test): Likewise.
22362 (asin_test): Likewise.
22363 (atanh_test): Likewise.
22364 (exp_test): Likewise.
22365 (exp10_test): Likewise.
22366 (exp2_test): Likewise.
22367 (expm1_test): Likewise.
22368 (lgamma_test): Likewise.
22369 (log_test): Likewise.
22370 (log10_test): Likewise.
22371 (log1p_test): Likewise.
22372 (log2_test): Likewise.
22373 (pow_test): Do not allow some spurious overflow exceptions.
22374 (sqrt_test): Add more tests.
22375 (tgamma_test): Likewise.
22376 (y0_test): Likewise.
22377 (y1_test): Likewise.
22378 (yn_test): Likewise.
22380 2012-03-27 Anton Blanchard <anton@samba.org>
22382 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22384 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22385 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22386 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22388 2012-03-27 David S. Miller <davem@davemloft.net>
22390 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22392 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22393 have-as-vis3 check.
22395 2012-03-27 Andreas Jaeger <aj@suse.de>
22397 * sysdeps/x86_64/elf/configure.in: Moved to ...
22398 * sysdeps/x86_64/configure.in: ... here.
22399 * sysdeps/x86_64/elf/start.S: Moved to ...
22400 * sysdeps/x86_64/start.S: ... here.
22401 * sysdeps/x86_64/elf/configure: Delete.
22403 * sysdeps/x86_64/configure.in: Merge contents from
22404 sysdeps/i386/configure.in (without i686 check).
22406 * sysdeps/i386/elf/Versions: Merge into ...
22407 * sysdeps/i386/Versions: ... this.
22408 * sysdeps/i386/elf/Versions: Delete file.
22409 * sysdeps/i386/elf/start.S: Moved to ...
22410 * sysdeps/i386/start.S: ...here.
22411 * sysdeps/i386/elf/configure.in: Merge into...
22412 * sysdeps/i386/configure.in: ...here.
22413 * sysdeps/i386/elf/configure.in: Delete file.
22414 * sysdeps/i386/elf/configure: Delete file.
22416 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22417 * debug/backtracesyms.c: ... here.
22418 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22419 * debug/backtracesymsfd.c: ... here.
22420 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22421 * sysdeps/generic/ifunc-sel.h: ... here.
22423 * sysdeps/unix/i386/start.c: Delete file.
22424 * sysdeps/unix/sparc/start.c: Delete file.
22425 * sysdeps/unix/start.c: Delete file.
22427 * sysdeps/sh/elf/configure.in: Moved to ...
22428 * sysdeps/sh/configure.in: ... here.
22429 * sysdeps/sh/elf/start.S: Moved to ...
22430 * sysdeps/sh/start.S: ... here.
22431 * sysdeps/sh/elf/configure: Delete file.
22433 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22434 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22435 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22436 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22437 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22438 * sysdeps/powerpc/powerpc64/start.S: here.
22439 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22440 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22441 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22442 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22443 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22445 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22446 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22447 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22448 * sysdeps/powerpc/powerpc32/start.S: ... here.
22449 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22450 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22451 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22453 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22454 * sysdeps/powerpc/ifunc-sel.h: ... here.
22455 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22456 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22458 * sysdeps/sparc/elf/configure.in: Moved to ...
22459 * sysdeps/sparc/configure.in: ... here.
22460 * sysdeps/sparc/elf/configure: Delete file.
22461 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22462 * sysdeps/sparc/sparc32/start.S: ... here.
22463 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22464 * sysdeps/sparc/sparc64/start.S: ... here.
22465 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22466 * sysdeps/sparc/sparc32/Makefile: ... this.
22467 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22468 * sysdeps/sparc/sparc64/Makefile: ... this.
22470 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22471 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22472 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22473 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22474 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22475 * sysdeps/s390/s390-32/setjmp.S: ... here.
22476 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22477 * sysdeps/s390/s390-32/configure.in: ... here.
22478 * sysdeps/s390/s390-32/elf/configure: Delete file.
22479 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22480 * sysdeps/s390/s390-32/start.S: ... here.
22482 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22483 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22484 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22485 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22486 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22487 * sysdeps/s390/s390-64/setjmp.S: ... here.
22488 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22489 * sysdeps/s390/s390-64/configure.in: ... here
22490 * sysdeps/s390/s390-64/elf/configure: Delete file.
22491 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22492 * sysdeps/s390/s390-64/start.S: ... here.
22493 * sysdeps/s390/s390-64/elf/configure: Delete.
22495 * configure.in: Remove support for elf directories in sysdeps.
22497 * configure: Regenerated.
22498 * sysdeps/i386/configure: Regenerated.
22499 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22500 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22501 * sysdeps/s390/s390-32/configure: Regenerated.
22502 * sysdeps/s390/s390-64/configure: Regenerated.
22503 * sysdeps/sh/configure: Regenerated.
22504 * sysdeps/sparc/configure: Regenerated.
22505 * sysdeps/x86_64/configure: Regenerated.
22507 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22511 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22512 denormal result into account.
22514 2012-03-25 Roland McGrath <roland@hack.frob.com>
22516 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22517 Reported by Allan McRae <allan@archlinux.org>.
22519 2012-03-23 Jeff Law <law@redhat.com>
22521 * nss/getnssent.c (__nss_getent): Fix typo.
22523 2012-03-23 David S. Miller <davem@davemloft.net>
22525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22527 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22529 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22530 to pad to uint64_t for each field.
22531 (dl_tls_index): Replace unsigned long with uint64_t.
22533 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22534 Paul Pluzhnikov <ppluzhnikov@google.com>
22537 * grp/Makefile (otherlibs): Don't set it.
22538 * inet/Makefile (otherlibs): Likewise.
22539 * login/Makefile (otherlibs): Likewise.
22540 * nscd/Makefile (otherlibs): Likewise.
22541 * posix/Makefile (otherlibs): Likewise.
22542 * pwd/Makefile (otherlibs): Likewise.
22543 * rt/Makefile (otherlibs): Likewise.
22544 * sunrpc/Makefile (otherlibs): Likewise.
22545 * nss/Makefile (otherlibs): Likewise.
22546 Add libnss_files to routines and static-only-routines.
22547 ($(objpfx)getent): Remove rule.
22548 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22549 static-only-routines.
22551 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22554 * math/s_cexp.c: Include <float.h>.
22555 (__cexp): Handle exp result overflowing not necessarily
22556 overflowing both real and imaginary parts of result.
22557 * math/s_cexpf.c: Likewise.
22558 * math/s_cexpl.c: Likewise.
22559 * math/libm-test.inc (cexp_test): Add more tests.
22560 * sysdeps/i386/fpu/libm-test-ulps: Update.
22561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22563 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22565 * include/link.h (ELFW): New macro.
22566 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22567 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22569 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22571 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22574 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22576 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22578 (struct La_x32_retval): Likewise.
22580 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22582 * sysdeps/x86_64/preconfigure.in: New file.
22583 * sysdeps/x86_64/preconfigure: New generated file.
22585 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22588 * math/e_exp2l.c: Include <float.h>.
22589 (__ieee754_exp2l): Handle overflow and underflow cases
22590 separately. Only pass fractional part of argument to
22592 * math/libm-test.inc (exp2_test): Add more tests.
22594 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22595 negating x to take absolute value.
22596 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22598 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22599 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22601 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22602 computing low part if x was negated.
22603 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22605 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22607 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22608 la_x32_gnu_pltexit.
22609 (pltexit): Cast int_retval to ptrdiff_t.
22610 * elf/tst-auditmod3b.c: Likewise.
22611 * elf/tst-auditmod4b.c: Likewise.
22612 * elf/tst-auditmod5b.c: Likewise.
22613 * elf/tst-auditmod6b.c: Likewise.
22614 * elf/tst-auditmod6c.c: Likewise.
22615 * elf/tst-auditmod7b.c: Likewise.
22617 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22618 and x32_gnu_pltexit.
22620 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22621 __ELF_NATIVE_CLASS.
22622 (La_x32_regs): New macro.
22623 (La_x32_retval): Likewise.
22624 (la_x32_gnu_pltenter): New function prototype.
22625 (la_x32_gnu_pltexit): Likewise.
22627 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22629 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22634 * configure.in (libc_cv_cc_nofma): Check for option to disable
22635 generation of FMA instructions.
22636 * configure: Regenerate.
22637 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22638 * sysdeps/ieee754/dbl-64/Makefile: New file.
22639 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22640 Remove brandred-fma4.
22641 (CFLAGS-brandred-fma4.c): Remove.
22642 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22643 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22645 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22648 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22650 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22651 LLONG_MAX != LONG_MAX.
22652 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22653 (_fitoa_word): Likewise.
22654 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22655 LLONG_MAX != LONG_MAX.
22656 * stdio-common/_itowa.h: Include <_itoa.h>.
22657 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22658 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22659 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22660 only if not defined.
22661 (_ITOA_WORD_TYPE): Likewise.
22662 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22663 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22665 2012-03-21 David S. Miller <davem@davemloft.net>
22667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22669 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22671 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22672 of x86_64 when setting libc_cv_slibdir, libdir and
22674 * sysdeps/unix/sysv/linux/configure: Regenerated.
22676 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22678 * manual/lang.texi (Old Varargs): Remove section.
22679 (How Variadic): Update menu.
22680 (va_start): Do not mention varargs.h.
22682 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22683 Joseph Myers <joseph@codesourcery.com>
22685 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22687 * configure: Regenerated.
22689 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22691 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22692 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22695 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22698 * Makefile (files-for-dist): Remove NOTES.
22699 (NOTES): Remove rule.
22700 * README: Don't refer to NOTES.
22701 * manual/creature.texi: Don't include macros.texi.
22702 * manual/intro.texi (creature.texi): Remove comment referring to
22705 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22706 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22707 * configure: Regenerated.
22708 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22709 LIBC_TRY_CC_OPTION.
22710 (libc_cv_as_i686): Likewise.
22711 (libc_cv_cc_avx): Likewise.
22712 (libc_cv_cc_sse2avx): Likewise.
22713 (libc_cv_cc_fma4): Likewise.
22714 (libc_cv_cc_novzeroupper): Likewise.
22715 * sysdeps/i386/configure: Regenerated.
22718 * sysdeps/i386/fpu/s_cexp.S: Remove.
22719 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22720 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22721 * math/libm-test.inc (cexp_test): Add more tests.
22722 * sysdeps/i386/fpu/libm-test-ulps: Update.
22723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22725 2012-03-21 Allan McRae <allan@archlinux.org>
22727 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22729 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22732 * math/w_exp2.c: Do not include <float.h>.
22733 (o_threshold, u_threshold): Remove.
22734 (__exp2): Calculate result before checking finiteness and calling
22736 * math/w_exp2f.c: Likewise.
22737 * math/w_exp2l.c: Likewise.
22738 * math/libm-test.inc (exp2_test): Require overflow exception for
22742 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22743 range of signed 64-bit integers before using fistpll. Remove
22744 checks for whether integers fit in mantissa bits.
22745 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22746 the range of signed 32-bit integers before using fistpl. Remove
22747 checks for whether integers fit in mantissa bits.
22748 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22749 (__ieee754_powl): Test for y outside the range of signed 64-bit
22750 integers before using fistpll. Reduce 64-bit values to 63-bit
22752 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22753 divide-by-zero is raised for zero to large negative powers.
22754 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22755 (__ieee754_powl): Test for y outside the range of signed 64-bit
22756 integers before using fistpll. Reduce 64-bit values to 63-bit
22758 * math/libm-test.inc (pow_test): Add more tests.
22760 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22762 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22763 <stdio-common/_itoa.h>.
22764 * debug/segfault.c: Likewise.
22765 * elf/dl-cache.c: Likewise.
22766 * elf/dl-minimal.c: Likewise.
22767 * elf/dl-misc.c: Likewise.
22768 * elf/dl-sysdep.c: Likewise.
22769 * elf/dl-version.c: Likewise.
22770 * elf/rtld.c: Likewise.
22771 * hurd/hurdsock.c: Likewise.
22772 * hurd/lookup-retry.c: Likewise.
22773 * malloc/malloc.c: Likewise.
22774 * malloc/mtrace.c: Likewise.
22775 * nscd/nscd_getgr_r.c: Likewise.
22776 * nscd/nscd_getpw_r.c: Likewise.
22777 * nscd/nscd_getserv_r.c: Likewise.
22778 * posix/getopt_init.c: Likewise.
22779 * posix/wordexp.c: Likewise.
22780 * stdio-common/_itoa.c: Likewise.
22781 * stdio-common/printf_fphex.c: Likewise.
22782 * stdio-common/vfprintf.c: Likewise.
22783 * string/_strerror.c: Likewise.
22784 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22785 * sysdeps/i386/i686/hp-timing.h: Likewise.
22786 * sysdeps/mach/_strerror.c: Likewise.
22787 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22788 * sysdeps/mach/hurd/sethostid.c: Likewise.
22789 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22790 * sysdeps/mach/xpg-strerror.c: Likewise.
22791 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22792 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22793 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22794 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22795 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22796 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22797 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22798 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22799 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22800 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22801 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22802 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22803 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22804 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22805 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22806 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22807 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22808 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22809 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22810 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22811 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22813 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22815 * stdio-common/_itoa.h: Moved to ...
22816 * sysdeps/generic/_itoa.h: Here.
22818 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22820 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22821 instead of "_itoa.h" and "_itowa.h".
22822 * stdio-common/vfprintf.: Likewise.
22824 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22826 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22828 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22829 (__signbit): Likwise.
22830 (llrintf): Likwise.
22833 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22835 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22838 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22840 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22841 OVERFLOW_EXCEPTION_OK.
22842 * math/libm-test.inc ("Philosophy"): Update comment about
22844 (OVERFLOW_EXCEPTION): Define.
22845 (OVERFLOW_EXCEPTION_OK): Likewise.
22846 (INVALID_EXCEPTION_OK): Renumber.
22847 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22848 (IGNORE_ZERO_INF_SIGN): Likewise.
22849 (test_exceptions): Handle FE_OVERFLOW.
22850 (exp10_test): Expect overflow exceptions.
22851 (exp2_test): Likewise.
22852 (expm1_test): Likewise.
22853 (nextafter_test): Likewise.
22854 (pow_test): Likewise.
22855 (scalbn_test): Likewise.
22856 (scalbln_test): Likewise.
22858 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22860 * sysdeps/x86_64/bits/atomic.h
22861 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22863 (atomic_exchange_acq): Likewise.
22864 (__arch_exchange_and_add_body): Likewise.
22865 (__arch_add_body): Likewise.
22866 (atomic_add_negative): Likewise.
22867 (atomic_add_zero): Likewise.
22869 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22871 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22872 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22874 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22876 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22877 Check __x86_64__ instead of __WORDSIZE.
22879 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22881 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22883 2012-03-19 David S. Miller <davem@davemloft.net>
22885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22887 * sysdeps/sparc/fpu/fenv_private.h: New file.
22888 * sysdeps/sparc/fpu/math_private.h: Use it.
22889 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22891 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22892 (libc_feholdexcept_setroundl): Remove.
22893 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22895 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22896 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22898 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22900 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22901 int64_t instead of long int.
22902 (INSERT_WORDS64): Likwise.
22904 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22906 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22907 _Unwind_GetCFA return to _Unwind_Ptr first.
22909 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22912 * math/s_clog.c: Include <float.h>.
22913 (__clog): Scale large or subnormal inputs.
22914 * math/s_clogf.c: Likewise.
22915 * math/s_clogl.c: Likewise.
22916 * math/s_clog10.c: Include <float.h>.
22917 (M_LOG10_2): Define.
22918 (__clog10): Scale large or subnormal inputs.
22919 * math/s_clog10f.c: Likewise.
22920 * math/s_clog10l.c: Likewise.
22921 * math/libm-test.inc (clog_test): Add more tests.
22922 (clog10_test): Likewise.
22923 * sysdeps/i386/fpu/libm-test-ulps: Update.
22924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22927 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22929 * math/libm-test.inc (atan2_test): Add another test.
22931 * Makerules (common-objdir-compile): Remove.
22932 * sysdeps/unix/Makefile (config-generated): Do not add
22933 $(unix-generated) to variable.
22934 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22935 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22937 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22939 [generic bits/local_lim.h] (before-compile): Do not append to
22941 [generic bits/local_lim.h] (common-generated): Likewise.
22942 [generic sys/param.h] (before-compile): Do not append to variable.
22943 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22944 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22945 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22946 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22948 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22949 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22950 [generic sys/param.h] ($(addprefix
22951 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22952 [generic sys/param.h] (common-generated): Do not append to
22954 [generic sys/param.h] (sysdep_headers): Likewise.
22955 [generic bits/errno.h] (before-compile): Do not append to
22957 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22959 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22960 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22961 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22962 [generic bits/errno.h] (common-generated): Do not append to
22964 [generic bits/ioctls.h] (before-compile): Do not append to
22966 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22968 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22969 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22970 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22972 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22973 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22974 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22975 [generic bits/ioctls.h] (common-generated): Do not append to
22977 [generic sys/syscall.h] (syscall.h): Remove variable.
22978 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22980 [generic sys/syscall.h] (before-compile): Do not append to
22982 [generic sys/syscall.h] (common-generated): Likewise.
22983 * sysdeps/unix/errnos-tmpl.c: Remove file.
22984 * sysdeps/unix/errnos.awk: Likewise.
22985 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22986 * sysdeps/unix/ioctls.awk: Likewise.
22987 * sysdeps/unix/mk-local_lim.c: Likewise.
22988 * sysdeps/unix/snarf-ioctls: Likewise.
22990 2012-03-19 Richard Henderson <rth@twiddle.net>
22992 * sysdeps/i386/fpu/fenv_private.h: New file.
22993 * sysdeps/i386/fpu/math_private.h: Use it.
22994 (math_opt_barrier, math_force_eval): Remove.
22995 (libc_feholdexcept_setround_53bit): Remove.
22996 (libc_feupdateenv_53bit): Remove.
22997 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22998 (math_opt_barrier, math_force_eval): Remove.
22999 (libc_feholdexcept): Remove.
23000 (libc_feholdexcept_setround): Remove.
23001 (libc_fetestexcept, libc_fesetenv): Remove.
23002 (libc_feupdateenv_test): Remove.
23003 (libc_feupdateenv, libc_feholdsetround): Remove.
23004 (libc_feresetround): Remove.
23006 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23007 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23009 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23010 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23011 (libc_feupdateenv_testl): New.
23012 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23013 (libc_feupdateenv_testf): New.
23014 (libc_feupdateenv): Use libc_feupdateenv_test.
23015 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23016 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23018 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23019 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23020 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23021 (libc_feresetround_noex): New.
23022 (libc_feresetround_noexf): New.
23023 (libc_feresetround_noexl): New.
23024 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23025 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23026 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23027 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23029 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23030 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23032 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23033 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23034 SET_RESTORE_ROUND_NOEX.
23035 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23036 SET_RESTORE_ROUND_NOEXF.
23037 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23038 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23039 (libc_feholdsetroundf): New.
23040 (libc_feresetround, libc_feresetroundf): New.
23042 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23043 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23044 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23046 * sysdeps/generic/math_private.h: Include <fenv.h>.
23047 (default_libc_feholdexcept): New.
23048 (default_libc_feholdexcept_setround): New.
23049 (default_libc_fesetenv, default_libc_feupdateenv): New.
23050 (libc_feholdexcept): Only define if undefined.
23051 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23052 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23053 (libc_feholdexcept_setroundl): Likewise.
23054 (libc_feholdexcept_setround_53bit): Likewise.
23055 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23056 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23057 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23058 (libc_feupdateenv_53bit): Likewise.
23059 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23060 (libc_feholdexcept): Convert from macro to inline function.
23061 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23062 (libc_fesetenv, libc_feupdateenv): Likewise.
23064 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23065 not previously defined.
23066 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23067 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23068 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23069 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23070 * sysdeps/ieee754/flt-32/math_private.h: New file.
23071 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23072 math_private.h below SET_FLOAT_WORD.
23073 (__isnan, __isinf_ns, __finite): Remove.
23074 (__isnanf, __isinf_nsf, __finitef): Remove.
23076 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23080 2012-03-17 David S. Miller <davem@davemloft.net>
23083 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23086 2012-03-16 David S. Miller <davem@davemloft.net>
23088 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23092 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23094 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23095 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23096 sysdep_routines when subdir is sysvipc.
23097 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23098 __getshmlba helper.
23100 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23102 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23104 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23107 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23109 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23110 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23111 (__lround): Renamed to ...
23112 (__llround): This. Replace long int with long long int.
23113 Define lround functions as aliases of llround functions.
23114 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23116 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23118 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23119 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23120 adresses to uintptr_t. Replace "long int" and "unsigned long
23121 int" with "greg_t" on va_arg.
23123 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23125 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23126 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23128 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23129 Move e_machine check before EI_CLASS check. Handle x32
23130 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23131 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23132 SKIP_EM_IA_64 and include
23133 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23135 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23136 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23137 (add_system_dir): New macro.
23139 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23140 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23142 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23153 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23155 * math/w_j0f.c (j0f): Likewise.
23157 * math/w_j0l.c (__j0l): Likewise.
23159 * math/w_j1.c (j1): Likewise.
23161 * math/w_j1f.c (j1f): Likewise.
23163 * math/w_j1l.c (__j1l): Likewise.
23165 * math/w_jn.c (jn): Likewise.
23167 * math/w_jnf.c (jnf): Likewise.
23169 * math/w_jnl.c (__jnl): Likewise.
23171 * math/libm-test.inc (j0_test): Add more tests.
23172 (j1_test): Likewise.
23173 (jn_test): Likewise. Add trailing semicolon to existing test.
23174 (y0_test): Likewise.
23175 (y1_test): Likewise.
23176 * sysdeps/i386/fpu/libm-test-ulps: Update.
23177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23181 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23182 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23183 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23184 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23185 (__tanl): Set errno for infinite argument.
23186 * sysdeps/i386/fpu/mptan.c: Remove.
23187 * sysdeps/i386/fpu/s_tan.S: Likewise.
23188 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23189 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23190 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23191 * math/libm-test.inc (tan_test): Add more tests and enable more
23192 tests for double and long double.
23193 * sysdeps/i386/fpu/libm-test-ulps: Update.
23194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23196 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23198 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23199 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23201 2012-03-16 Roland McGrath <roland@hack.frob.com>
23203 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23204 * configure.in: Use it for both main tree and add-ons.
23205 * configure: Regenerated.
23207 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23209 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23211 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23213 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23217 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23218 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23219 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23220 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23221 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23223 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23225 != 0 for prec == 2.
23226 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23227 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23228 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23229 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23230 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23231 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23232 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23233 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23234 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23235 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23236 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23237 * math/libm-test.inc (cos_test): Add more tests and enable more
23238 tests for long double.
23239 (sin_test): Likewise.
23240 (sincos_test): Likewise.
23241 * sysdeps/i386/fpu/libm-test-ulps: Update.
23242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23244 2012-03-16 David S. Miller <davem@davemloft.net>
23246 * sysdeps/sparc/fpu/math_private.h: New file.
23248 2012-03-15 David S. Miller <davem@davemloft.net>
23250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23264 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23265 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23267 * sysdeps/sparc/sparc-ifunc.h: New file.
23268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23294 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23295 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23296 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23297 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23306 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23307 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23308 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23309 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23310 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23313 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23315 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23319 2012-03-15 Andreas Jaeger <aj@suse.de>
23322 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23323 ieee754/flt-32 implementation for sin, cos and sincos.
23324 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23325 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23326 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23327 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23328 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23329 ieee754/flt-32 implementation for tan.
23331 * math/libm-test.inc (cos_test): Enable some large input tests for
23333 (sin_test): Likewise.
23334 (sincos_test): Likewise.
23335 (tan_test): Add tests for large input.
23337 * sysdeps/i386/fpu/libm-test-ulps: Update.
23339 2012-03-15 Andreas Jaeger <aj@suse.de>
23342 * math/libm-test.inc (cos_test): Add more test cases.
23343 (sin_test): Likewise.
23344 (sincos_test): Likewise.
23346 2012-03-15 Andreas Jaeger <aj@suse.de>
23349 * math/libm-test.inc (cos_test): Add a test case for large input
23351 (sin_test): Likewise.
23352 (sincos_test): Likewise.
23354 2012-03-15 Andreas Jaeger <aj@suse.de>,
23355 Joseph Myers <joseph@codesourcery.com>
23358 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23359 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23360 * sysdeps/i386/fpu/branred.c: Likewise.
23361 * sysdeps/i386/fpu/dosincos.c: Likewise.
23362 * sysdeps/i386/fpu/mpa.c: Likewise.
23363 * sysdeps/i386/fpu/s_cos.S: Likewise.
23364 * sysdeps/i386/fpu/s_sin.S: Likewise.
23365 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23366 * sysdeps/i386/fpu/sincos32.c: Likewise.
23368 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23370 (libc_feupdateenv_53bit): Define.
23371 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23373 (libc_feupdateenv_53bit): Define.
23375 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23376 53 bit (without extend i386 double precision).
23378 * math/libm-test.inc (sincos_test): Add tests for large input.
23382 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23384 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23388 2012-03-15 David S. Miller <davem@davemloft.net>
23390 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23391 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23392 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23393 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23417 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23418 fmin/fmax sysdep routines.
23419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23421 2012-03-14 David S. Miller <davem@davemloft.net>
23423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23427 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23428 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23429 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23446 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23448 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23451 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23495 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23500 * sysdeps/sparc/configure.in: New file.
23501 * sysdeps/sparc/configure: Generate.
23502 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23503 * configure: Regenerate.
23504 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23505 * config.make.in (have-as-vis3): New.
23506 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23507 available use -Av9d instead of -Av9a.
23508 * sysdeps/sparc/sparc64/Makefile: Likewise.
23509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23518 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23519 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23520 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23521 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23522 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23524 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23525 fzeros/fnegs to load 0x80000000 into a float register instead of
23527 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23529 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23533 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23534 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23535 ($(inst_includedir)/bits/syscall.h): Remove rule.
23536 ($(objpfx)bits/syscall.d): Include instead of
23537 $(objpfx)syscall-list.d.
23538 (generated): Change syscall-list.h and syscall-list.d to
23539 bits/syscall.h and bits/syscall.d.
23541 2012-03-14 Roland McGrath <roland@hack.frob.com>
23544 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23546 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23549 * math/s_csqrt.c: Include <float.h>.
23550 (__csqrt): Scale large or subnormal inputs.
23551 * math/s_csqrtf.c: Likewise.
23552 * math/s_csqrtl.c: Likewise.
23553 * math/libm-test.inc (csqrt_test): Add more tests.
23554 * sysdeps/i386/fpu/libm-test-ulps: Update.
23555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23558 * math/libm-test.inc (hypot_test): Add more tests.
23560 2012-03-13 David S. Miller <davem@davemloft.net>
23563 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23564 double-precision for the calculation instead of scaling.
23566 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23568 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23569 manipulate bits before adding and subtracting TWO52[sx].
23570 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23571 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23573 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23575 2012-03-13 David S. Miller <davem@davemloft.net>
23577 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23578 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23579 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23580 rtld-global-offsets.h
23581 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23583 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23586 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23588 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23589 'err' in the ifdef scope in which it is actually used.
23591 * nss/nss_db/db-init.c: Include string.h
23593 2012-03-12 David S. Miller <davem@davemloft.net>
23595 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23596 masking out of the most significant byte of random value used.
23597 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23598 Fix coding style in previous change.
23600 * sysdeps/unix/sysv/linux/kernel-features.h
23601 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23602 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23604 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23607 2012-03-11 David S. Miller <davem@davemloft.net>
23609 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23610 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23611 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23612 for 'resultvar' otherwise things get truncated on 64-bit.
23614 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23615 Fix masking out of the most significant byte of random value used.
23617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23619 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23623 2012-03-09 David S. Miller <davem@davemloft.net>
23625 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23626 variables with appropriate CPP guards.
23627 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23628 frame pointer, not the stack pointer. Correct layout comments. Fix test
23629 on resulting framesize and the management of the outregs buffer for pltexit.
23630 Preserve floating point return values across _dl_call_pltexit call.
23631 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23632 framesize and the management of the outregs buffer for pltexit.
23633 Preserve floating point return values across _dl_call_pltexit
23635 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23636 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23637 (print_exit): Fix format string for return register value.
23639 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23641 * sunrpc/Makefile (others): Add rpcgen.
23642 ($(objpfx)rpcgen): Remove special build rule and dependency on
23644 * sunrpc/rpcgen.c: New file.
23646 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23649 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23650 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23651 * sysdeps/i386/crti.S: Likewise.
23652 * sysdeps/i386/crtn.S: Likewise.
23653 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23654 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23655 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23656 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23657 * sysdeps/sh/crti.S: Likewise.
23658 * sysdeps/sh/crtn.S: Likewise.
23659 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23662 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23664 * locale/programs/locfile-kw.gperf: Likewise.
23665 * locale/programs/charmap-kw.h: Regenerated.
23666 * locale/programs/locfile-kw.h: Likewise.
23669 * intl/plural.y: Replace FSF snail mail address with URL.
23670 * intl/plural.c: Regenerated.
23672 2012-03-09 Richard Henderson <rth@twiddle.net>
23674 * include/math_private.h: Remove file.
23675 * math/math_private.h: Move file ...
23676 * sysdeps/generic/math_private.h: ... here.
23678 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23679 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23680 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23682 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23683 and <math_private.h>.
23684 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23685 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23686 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23687 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23688 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23689 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23690 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23691 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23692 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23693 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23695 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23696 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23697 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23698 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23699 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23700 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23701 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23702 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23703 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23705 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23706 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23708 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23709 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23710 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23711 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23712 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23713 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23715 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23716 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23717 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23718 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23719 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23720 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23721 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23722 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23723 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23724 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23725 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23726 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23727 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23728 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23729 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23730 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23731 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23732 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23733 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23734 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23735 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23736 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23737 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23738 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23739 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23740 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23741 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23742 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23743 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23744 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23745 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23746 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23747 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23748 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23749 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23750 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23751 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23752 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23753 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23754 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23755 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23756 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23757 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23758 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23760 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23761 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23762 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23764 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23765 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23766 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23767 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23768 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23769 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23771 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23772 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23773 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23774 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23775 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23776 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23777 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23778 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23779 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23780 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23781 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23782 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23783 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23784 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23785 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23786 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23787 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23788 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23789 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23790 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23791 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23792 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23793 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23794 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23795 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23796 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23797 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23798 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23799 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23800 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23801 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23802 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23803 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23804 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23805 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23806 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23807 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23808 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23809 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23810 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23811 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23812 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23813 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23814 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23815 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23816 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23817 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23818 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23819 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23820 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23821 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23822 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23823 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23824 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23825 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23826 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23827 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23828 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23829 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23830 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23831 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23832 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23833 * sysdeps/ieee754/k_standard.c: Likewise.
23834 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23835 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23836 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23837 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23838 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23839 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23840 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23841 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23842 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23843 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23844 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23845 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23846 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23847 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23848 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23849 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23850 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23851 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23852 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23853 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23854 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23855 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23856 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23857 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23858 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23859 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23860 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23861 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23862 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23863 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23864 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23865 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23866 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23867 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23868 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23869 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23870 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23871 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23872 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23873 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23874 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23875 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23876 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23877 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23878 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23879 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23880 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23881 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23882 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23883 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23884 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23885 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23886 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23887 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23888 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23889 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23890 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23891 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23892 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23893 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23894 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23895 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23896 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23897 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23898 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23899 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23900 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23901 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23902 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23903 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23904 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23906 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23907 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23908 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23909 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23910 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23911 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23912 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23913 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23914 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23915 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23916 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23917 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23918 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23919 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23920 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23921 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23922 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23923 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23924 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23925 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23926 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23927 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23928 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23929 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23930 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23931 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23932 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23933 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23935 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23936 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23937 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23938 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23939 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23940 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23941 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23942 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23944 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23945 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23946 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23947 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23948 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23949 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23950 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23951 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23952 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23953 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23954 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23955 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23956 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23957 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23958 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23959 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23960 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23961 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23962 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23963 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23964 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23965 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23966 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23967 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23968 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23969 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23970 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23971 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23972 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23973 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23974 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23975 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23976 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23977 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23978 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23979 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23980 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23981 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23982 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23983 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23984 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23985 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23986 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23987 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23988 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23989 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23990 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23991 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23992 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23993 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23994 * sysdeps/ieee754/s_lib_version.c: Likewise.
23995 * sysdeps/ieee754/s_matherr.c: Likewise.
23996 * sysdeps/ieee754/s_signgam.c: Likewise.
23997 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23998 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23999 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24000 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24001 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24002 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24003 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24004 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24005 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24006 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24007 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24008 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24009 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24010 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24011 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24012 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24013 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24014 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24015 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24016 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24017 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24019 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24021 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24022 * sunrpc/rpc_main.c: Likewise.
24023 * sunrpc/rpc_svcout.c: Likewise.
24025 2012-03-09 David S. Miller <davem@davemloft.net>
24027 * include/math_private.h: New file.
24029 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24031 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24032 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24033 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24034 from <bits/socket_type.h>.
24035 (enum __socket_type): Don't define here.
24036 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24037 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24038 bits/socket_type.h.
24041 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24042 checking __USE_GNU.
24044 * Makerules ($(inst_includedir)/%.h): New rule.
24045 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24046 (install-others): Remove variable setting.
24047 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24049 2012-03-08 Richard Henderson <rth@twiddle.net>
24051 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24052 from macro to inline function; merge with the
24053 !__LIBC_INTERNAL_MATH_INLINES version.
24054 (__ieee754_sqrtf): Likewise.
24056 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24057 to inline function.
24058 (__rintf, __floor, __floorf): Likewise.
24060 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24061 macro to inline function.
24062 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24064 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24065 not <math/math_private.h>.
24067 2012-03-08 David S. Miller <davem@davemloft.net>
24069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24071 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24073 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24075 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24077 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24078 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24080 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24082 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24083 be defined individually, they must be defined as a block. Define
24084 S for printing a string instead of hidint the different by using a
24085 macro for adding the 'l'.
24086 * stdio-common/tst-fphex-wide.c: Adjust.
24088 2012-03-07 Marek Polacek <polacek@redhat.com>
24090 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24092 2012-03-08 Marek Polacek <polacek@redhat.com>
24095 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24096 * stdio-common/tst-fphex.c: Define a few macros to make the
24097 test reusable. Use them.
24098 * stdio-common/tst-fphex-wide.c: New file.
24100 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24103 * manual/macros.texi (gnusystems): New macro.
24104 (nongnusystems): Likewise.
24105 (gnulinuxhurdsystems): Likewise.
24106 (gnuhurdsystems): Likewise..
24107 (gnulinuxsystems): Likewise.
24108 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24109 variants of the GNU system, not "GNU system".
24110 * manual/conf.texi: Likewise.
24111 * manual/errno.texi: Likewise. Update example of errno macro
24113 * manual/filesys.texi: Likewise.
24114 (getumask): Document as specific to GNU/Hurd.
24115 * manual/install.texi: Likewise. Reword some references to
24117 * manual/intro.texi: Likewise.
24118 * manual/io.texi: Likewise.
24119 (File Name Portability): Detail which constraints are inapplicable
24120 to all GNU systems and which are only inapplicable to GNU/Hurd.
24121 * manual/job.texi: Likewise.
24122 * manual/llio.texi: Likewise.
24123 (O_NOCTTY): Document as present on GNU/Linux.
24124 * manual/maint.texi: Likewise.
24125 * manual/memory.texi: Likewise.
24126 * manual/pattern.texi: Likewise.
24127 * manual/pipe.texi: Likewise.
24128 * manual/process.texi: Likewise.
24129 * manual/resource.texi: Likewise.
24130 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24132 * manual/setjmp.texi: Likewise.
24133 * manual/signal.texi: Likewise.
24134 * manual/startup.texi: Likewise.
24135 * manual/stdio.texi: Likewise.
24136 * manual/terminal.texi: Likewise.
24137 (ONLCR): Document as POSIX.
24138 (OXTABS): Document availability on GNU/Linux as XTABS.
24139 (ONOEOT): Document availability separately from other bits.
24140 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24141 * manual/time.texi: Likewise.
24142 * manual/users.texi: Likewise.
24143 * INSTALL: Regenerated.
24144 * sysdeps/gnu/errlist.c: Regenerated.
24146 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24147 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24148 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24150 * configure: Regenerated.
24152 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24154 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24155 default includes instead of AC_HEADER_CHECK.
24156 * sysdeps/i386/configure: Regenerated.
24159 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24160 * math/s_cacoshf.c (__cacoshf): Likewise.
24161 * math/s_cacoshl.c (__cacoshl): Likewise.
24162 * math/s_casinh.c (__casinh): Set signs of result from argument.
24163 * math/s_casinhf.c (__casinhf): Likewise.
24164 * math/s_casinhl.c (__casinhl): Likewise.
24165 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24166 (casinh_test): Add more tests.
24167 * sysdeps/i386/fpu/libm-test-ulps: Update.
24168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24170 2012-03-07 Ulrich Drepper <drepper@gmail.com>
24172 * po/zh_TW.po: Update from translation team.
24174 * login/Makefile (distribute): Remove variable.
24175 * catgets/Makefile: Likewise.
24176 * mach/Makefile: Likewise.
24177 * malloc/Makefile: Likewise.
24178 * misc/Makefile: Likewise.
24179 * iconv/Makefile: Likewise.
24180 * nscd/Makefile: Likewise.
24181 * hurd/Makefile: Likewise.
24182 * manual/Makefile: Likewise.
24183 * locale/Makefile: Likewise.
24184 * intl/Makefile: Likewise.
24185 * conform/Makefile: Likewise.
24186 * nss/Makefile: Likewise.
24187 * time/Makefile: Likewise.
24188 * soft-fp/Makefile: Likewise.
24189 * dirent/Makefile: Likewise.
24190 * gmon/Makefile: Likewise.
24191 * po/Makefile: Likewise.
24192 * rt/Makefile: Likewise.
24193 * socket/Makefile: Likewise.
24194 * math/Makefile: Likewise.
24195 * signal/Makefile: Likewise.
24196 * debug/Makefile: Likewise.
24197 * elf/Makefile: Likewise.
24198 * timezone/Makefile: Likewise.
24199 * stdlib/Makefile: Likewise.
24200 * iconvdata/Makefile: Likewise.
24201 * sunrpc/Makefile: Likewise.
24202 * io/Makefile: Likewise.
24203 * argp/Makefile: Likewise.
24204 * inet/Makefile: Likewise.
24205 * hesiod/Makefile: Likewise.
24206 * grp/Makefile: Likewise.
24207 * csu/Makefile: Likewise.
24208 * wctype/Makefile: Likewise.
24209 * crypt/Makefile: Likewise.
24210 * libio/Makefile: Likewise.
24211 * string/Makefile: Likewise.
24212 * nis/Makefile: Likewise.
24213 * resolv/Makefile: Likewise.
24214 * stdio-common/Makefile: Likewise.
24215 * wcsmbs/Makefile: Likewise.
24216 * dlfcn/Makefile: Likewise.
24217 * posix/Makefile: Likewise.
24220 * timezone/Makefile: Don't install timezone files, just the programs
24223 2012-03-06 Ulrich Drepper <drepper@gmail.com>
24225 * nss/databases.def: Add missing gshadow entry.
24227 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24229 2012-03-06 Marek Polacek <polacek@redhat.com>
24232 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24233 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24234 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24235 * stdio-common/tst-long-dbl-fphex.c: New file.
24237 2012-03-06 David S. Miller <davem@davemloft.net>
24239 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24240 (set_obp_int): New function.
24241 (get_obp_int): New function.
24242 (__get_clockfreq_via_dev_openprom): Likewise.
24243 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24244 Avoid unused variable warnings on 'val' and use builtin_expect.
24245 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24247 (INLINE_CLONE_SYSCALL): Likewise.
24249 2012-03-05 David S. Miller <davem@davemloft.net>
24251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24253 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24257 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24258 only for |x| >= 40.
24259 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24261 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24264 Replace gettimeofday with __vdso_gettimeofday.
24266 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24267 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24268 __vdso_clock_gettime and __vdso_getcpu.
24270 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24271 time with __vdso_time.
24273 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24275 * manual/lang.texi (size_t): Note types to which size_t may be
24276 equivalent with the GNU C Library, but do not describe when
24277 differences between them are significant.
24279 2012-03-05 Andreas Jaeger <aj@suse.de>
24281 * sysdeps/i386/fpu/libm-test-ulps: Update.
24283 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24286 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24287 (__ieee754_pow): Save and restore rounding mode and use
24288 round-to-nearest for main computations.
24289 * math/libm-test.inc (pow_test_tonearest): New function.
24290 (pow_test_towardzero): Likewise.
24291 (pow_test_downward): Likewise.
24292 (pow_test_upward): Likewise.
24293 (main): Call the new functions.
24294 * sysdeps/i386/fpu/libm-test-ulps: Update.
24295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24298 * math/libm-test.inc (cosh_test_tonearest): New function.
24299 (cosh_test_towardzero): Likewise.
24300 (cosh_test_downward): Likewise.
24301 (cosh_test_upward): Likewise.
24302 (sinh_test_tonearest): Likewise.
24303 (sinh_test_towardzero): Likewise.
24304 (sinh_test_downward): Likewise.
24305 (sinh_test_upward): Likewise.
24306 (main): Call the new functions.
24307 * sysdeps/i386/fpu/libm-test-ulps: Update.
24308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24310 2012-03-05 Tom de Vries <tom@codesourcery.com>
24312 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24313 default stack guard is set in last bytes.
24314 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24316 2012-03-05 Kees Cook <keescook@chromium.org>
24318 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24321 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24322 possibly allocate from heap instead of stack.
24323 * stdio-common/bug-vfprintf-nargs.c: New file.
24324 * stdio-common/Makefile (tests): Add nargs overflow test.
24326 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24330 2012-03-03 Marek Polacek <polacek@redhat.com>
24332 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24333 * math/math_private.h: Likewise.
24334 * stdlib/tst-strtod.c: Likewise.
24335 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24336 * sysdeps/x86_64/bits/atomic.h: Likewise.
24338 2012-03-02 David S. Miller <davem@davemloft.net>
24340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24344 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24345 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24346 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24347 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24349 2012-03-02 Roland McGrath <roland@hack.frob.com>
24352 * manual/examples/README: New file, says the example source files
24353 can be used under GPL>=2.
24354 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24355 line containing just "*/".
24356 * manual/examples/add.c: Add copyright header (GPL>=2).
24357 * manual/examples/argp-ex1.c: Likewise.
24358 * manual/examples/argp-ex2.c: Likewise.
24359 * manual/examples/argp-ex3.c: Likewise.
24360 * manual/examples/argp-ex4.c: Likewise.
24361 * manual/examples/atexit.c: Likewise.
24362 * manual/examples/db.c: Likewise.
24363 * manual/examples/dir.c: Likewise.
24364 * manual/examples/dir2.c: Likewise.
24365 * manual/examples/execinfo.c: Likewise.
24366 * manual/examples/filecli.c: Likewise.
24367 * manual/examples/filesrv.c: Likewise.
24368 * manual/examples/fmtmsgexpl.c: Likewise.
24369 * manual/examples/genpass.c: Likewise.
24370 * manual/examples/inetcli.c: Likewise.
24371 * manual/examples/inetsrv.c: Likewise.
24372 * manual/examples/isockad.c: Likewise.
24373 * manual/examples/longopt.c: Likewise.
24374 * manual/examples/memopen.c: Likewise.
24375 * manual/examples/memstrm.c: Likewise.
24376 * manual/examples/mkfsock.c: Likewise.
24377 * manual/examples/mkisock.c: Likewise.
24378 * manual/examples/mygetpass.c: Likewise.
24379 * manual/examples/pipe.c: Likewise.
24380 * manual/examples/popen.c: Likewise.
24381 * manual/examples/rprintf.c: Likewise.
24382 * manual/examples/search.c: Likewise.
24383 * manual/examples/select.c: Likewise.
24384 * manual/examples/setjmp.c: Likewise.
24385 * manual/examples/sigh1.c: Likewise.
24386 * manual/examples/sigusr.c: Likewise.
24387 * manual/examples/stpcpy.c: Likewise.
24388 * manual/examples/strdupa.c: Likewise.
24389 * manual/examples/strftim.c: Likewise.
24390 * manual/examples/strncat.c: Likewise.
24391 * manual/examples/subopt.c: Likewise.
24392 * manual/examples/swapcontext.c: Likewise.
24393 * manual/examples/termios.c: Likewise.
24394 * manual/examples/testopt.c: Likewise.
24395 * manual/examples/testpass.c: Likewise.
24396 * manual/examples/timeval_subtract.c: Likewise.
24399 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24401 * manual/timeval_subtract.c.texi: ... here, new file.
24403 2012-03-02 David S. Miller <davem@davemloft.net>
24405 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24407 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24410 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24411 (__sin): Save and restore rounding mode and use round-to-nearest
24412 for all computations.
24413 (__cos): Save and restore rounding mode and use round-to-nearest
24414 for all computations.
24415 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24417 (tan): Save and restore rounding mode and use round-to-nearest for
24419 * math/libm-test.inc (cos_test_tonearest): New function.
24420 (cos_test_towardzero): Likewise.
24421 (cos_test_downward): Likewise.
24422 (cos_test_upward): Likewise.
24423 (sin_test_tonearest): Likewise.
24424 (sin_test_towardzero): Likewise.
24425 (sin_test_downward): Likewise.
24426 (sin_test_upward): Likewise.
24427 (tan_test_tonearest): Likewise.
24428 (tan_test_towardzero): Likewise.
24429 (tan_test_downward): Likewise.
24430 (tan_test_upward): Likewise.
24431 (main): Call the new functions.
24432 * sysdeps/i386/fpu/libm-test-ulps: Update.
24433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24436 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24437 small n, then large n, before computing and testing k+n.
24438 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24439 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24443 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24444 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24445 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24446 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24447 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24448 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24449 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24450 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24451 * math/libm-test.inc (scalbn_test): Add more tests.
24452 (scalbln_test): Likewise.
24454 * manual/filesys.texi (mode_t): Describe constraints on size and
24455 signedness, not exact equivalence to a particular type.
24457 (ino64_t): Likewise.
24459 (nlink_t): Likewise.
24460 (blkcnt_t): Likewise.
24461 (blkcnt64_t): Likewise.
24462 * manual/llio.texi (off_t): Likewise.
24465 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24466 (__ieee754_exp): Save and restore rounding mode and use
24467 round-to-nearest for all computations.
24468 * math/libm-test.inc (exp_test_tonearest): New function.
24469 (exp_test_towardzero): Likewise.
24470 (exp_test_downward): Likewise.
24471 (exp_test_upward): Likewise.
24472 (main): Call the new functions.
24473 * sysdeps/i386/fpu/libm-test-ulps: Update.
24474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24476 2012-03-01 Chris Demetriou <cgd@google.com>
24478 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24479 have predictable order.
24481 2012-03-01 David S. Miller <davem@davemloft.net>
24483 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24485 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24486 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24487 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24488 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24490 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24491 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24492 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24494 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24495 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24496 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24497 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24498 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24502 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24503 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24504 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24506 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24507 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24508 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24509 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24510 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24511 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24512 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24513 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24514 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24515 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24516 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24517 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24519 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24520 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24522 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24523 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24524 * sysdeps/sparc/elf/configure: Regenerated.
24526 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24528 * configure.in (AS, LD): Require binutils 2.20 or later.
24529 * configure: Regenerated.
24530 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24531 as required minimum version.
24532 * INSTALL: Regenerated.
24536 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24537 before squaring exponent.
24538 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24539 bottom long double and 27 bits of top long double before squaring
24541 * math/libm-test.inc (erfc_test): Add more tests.
24542 * sysdeps/i386/fpu/libm-test-ulps: Update.
24543 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24546 2012-03-01 Kai Tietz <ktietz@redhat.com>
24548 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24549 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24550 containing bit-fields.
24551 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24552 * soft-fp/single.h (_FP_UNION_S): Likewise.
24553 * soft-fp/double.h (_FP_UNION_D): Likewise.
24555 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24558 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24559 not include ../strcmp.S.
24560 [USE_AS_STRNCASECMP_L]: Likewise.
24561 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24562 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24563 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24564 (__strncasecmp_l_ia32): Define as alias to
24565 __strncasecmp_l_nonascii.
24568 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24569 * sysdeps/i386/fpu/libm-test-ulps: Update.
24570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24572 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24575 2012-02-29 Jeff Law <law@redhat.com>
24577 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24578 out of bounds read.
24580 2012-02-29 Marek Polacek <polacek@redhat.com>
24583 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24584 * elf/Makefile: Add rules to run tst-unused-dep.out.
24586 2012-02-28 David S. Miller <davem@davemloft.net>
24588 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24589 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24590 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24591 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24592 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24593 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24595 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24597 * math/libm-test.inc (llround_test): Move one test from
24598 lround_test. Use TEST_f_L in moved test.
24599 (lround_test): Move misplaced test to llround_test. Add testcase
24602 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24604 * sysdeps/x86_64/fpu/e_expf.S: New file.
24605 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24607 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24610 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24611 of remain_len that may cause incomplete multi-byte character and
24613 * posix/bug-regex33.c: New file.
24614 * posix/Makefile (tests): Add bug-regex33.
24616 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24618 * manual/macros.texi: New file.
24619 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24620 * manual/libc.texinfo: Include macros.texi.
24621 * manual/creatute.texi: Likewise.
24622 * manual/install.texi: Likewise.
24623 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24624 @glibcadj{} in references to the GNU C Library.
24625 * manual/charset.texi: Likewise.
24626 * manual/conf.texi: Likewise.
24627 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24628 when not using those macros.
24629 * manual/creature.texi: Likewise.
24630 * manual/crypt.texi: Likewise.
24631 * manual/errno.texi: Likewise.
24632 * manual/filesys.texi: Likewise.
24633 * manual/header.texi: Likewise.
24634 * manual/install.texi: Likewise.
24635 * manual/intro.texi: Likewise.
24636 * manual/io.texi: Likewise.
24637 * manual/job.texi: Likewise.
24638 * manual/lang.texi: Likewise.
24639 * manual/libc.texiinfo: Likewise.
24640 * manual/llio.texi: Likewise.
24641 * manual/locale.texi: Likewise.
24642 * manual/maint.texi: Likewise.
24643 * manual/math.texi: Likewise.
24644 * manual/memory.texi: Likewise.
24645 * manual/message.texi: Likewise.
24646 * manual/nss.texi: Likewise.
24647 * manual/pattern.texi: Likewise.
24648 * manual/process.texi: Likewise.
24649 * manual/resource.texi: Likewise.
24650 * manual/search.texi: Likewise.
24651 * manual/setjmp.texi: Likewise.
24652 * manual/signal.texi: Likewise.
24653 * manual/socket.texi: Likewise.
24654 * manual/startup.texi: Likewise.
24655 * manual/stdio.texi: Likewise.
24656 * manual/string.texi: Likewise.
24657 * manual/sysinfo.texi: Likewise.
24658 * manual/syslog.texi: Likewise.
24659 * manual/terminal.texi: Likewise.
24660 * manual/time.texi: Likewise.
24661 * manual/users.texi: Likewise.
24662 * INSTALL: Regenerated.
24663 * NOTES: Regenerated.
24664 * sysdeps/gnu/errlist.c: Regenerated.
24666 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24668 * include/dirent.h: Include <dirstream.h> before
24671 2012-02-28 David S. Miller <davem@davemloft.net>
24673 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24674 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24675 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24676 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24678 2012-02-27 David S. Miller <davem@davemloft.net>
24680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24682 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24683 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24686 frame pointer instead of stack pointer relative arg slot.
24687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24688 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24689 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24691 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24694 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24696 2012-02-27 David S. Miller <davem@davemloft.net>
24698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24702 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24703 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24704 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24705 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24707 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24709 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24710 later. Allow versions 5-9.
24711 * configure: Regenerated.
24712 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24713 required minimum version and 4.6 as recommended version. Do not
24714 mention bugs in GCC 2.7 and 2.8.
24715 * INSTALL: Regenerated.
24717 2012-02-27 David S. Miller <davem@davemloft.net>
24719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24723 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24724 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24725 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24726 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24728 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24729 manipulate bits before adding and subtracting TWO112[sx].
24730 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24732 2012-02-27 Roland McGrath <roland@hack.frob.com>
24735 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24736 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24737 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24738 being in POSIX, because they are in 1003.1-2008.
24740 * rt/tst-aio.c: Include <fcntl.h>.
24741 * rt/tst-aio7.c: Likewise.
24742 * rt/tst-aio64.c: Likewise.
24744 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24746 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24748 * manual/install.texi (--with-headers): Describe headers as
24749 interface headers, not private headers.
24750 (Specific advice for GNU/Linux systems): Describe use of headers
24751 from "make headers_install", not private headers from older
24753 * INSTALL: Regenerated.
24754 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24756 * sysdeps/unix/sysv/linux/configure: Regenerated.
24758 * manual/llio.texi (fclean): Remove documentation.
24760 * manual/Makefile (libc-texi-generated): New variable. Include
24762 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24763 $(libc-texi-generated), not duplicated list of files.
24764 (version.texi, stamp-version): New rules.
24765 (realclean): Remove $(libc-texi-generated), not individual files
24766 from that list. Do not remove dir-add.texinfo.
24767 * manual/libc.texinfo: Comment out uses of edition numbers and
24768 references to printed manual. Remove last-updated dates.
24769 (EDITION): Comment out.
24771 (VERSION, UPDATED): Remove.
24772 (version.texi): Include.
24774 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24776 * sysdeps/posix/spawni.c: Include <signal.h>.
24777 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24778 * sysdeps/pthread/aio_fsync.c: Likewise.
24780 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24782 * conform/Makefile (tests): Run only when not cross-compiling and
24783 when fast-check is not defined.
24785 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24786 * conform/data/limits.h-data: Fixes for POSIX2008.
24787 * conform/run-conformtest.sh: Run all tests.
24788 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24790 * include/bits/dlfcn.h: Likewise.
24791 * include/langinfo.h: Likewise.
24792 * include/monetary.h: Likewise.
24793 * include/sys/poll.h: Likewise.
24795 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24797 * posix/spawn.h: Define __need_sigset_t.
24798 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24799 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24800 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24801 to get sigevent_t only.
24802 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24803 only for __USE_GNU.
24804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24805 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24806 process_vm_writev only for __USE_GNU.
24807 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24809 * conform/Makefile: For now ignore errors from run-conformtest.
24810 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24811 POSIX to avoid namespace pollution. Don't prepend headers.
24812 * conform/data/aio.h-data: Fixes for POSIX testing.
24813 * conform/data/fcntl.h-data: Likewise.
24814 * conform/data/glob.h-data: Likewise.
24815 * conform/data/grp.h-data: Likewise.
24816 * conform/data/pthread.h-data: Likewise.
24817 * conform/data/pwd.h-data: Likewise.
24818 * conform/data/signal.h-data: Likewise.
24819 * conform/data/spawn.h-data: Likewise.
24820 * conform/data/stdio.h-data: Likewise.
24821 * conform/data/stdlib.h-data: Likewise.
24822 * conform/data/stropts.h-data: Likewise.
24823 * conform/data/sys/mman.h-data: Likewise.
24824 * conform/data/sys/stat.h-data: Likewise.
24825 * conform/data/sys/types.h-data: Likewise.
24826 * conform/data/sys/wait.h-data: Likewise.
24827 * conform/data/time.h-data: Likewise.
24828 * conform/data/unistd.h-data: Likewise.
24829 * conform/data/utime.h-data: Likewise.
24831 * io/sys/stat.h: fchmod was always in POSIX.
24832 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24833 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24834 * rt/aio.h: Define __need_timespec before including <time.h>.
24835 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24836 struct. Add forward declaration of pthread_attr_t and use it in
24838 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24839 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24840 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24841 always remove CLK_TCK definition.
24843 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24845 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24847 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24849 * conform/run-conformtest.sh: New file.
24850 * conform/Makefile: Run run-conformtest for tests.
24851 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24854 * conform/data/uchar.h-data: New file.
24855 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24856 * conform/data/arpa/inet.h-data: Likewise.
24857 * conform/data/assert.h-data: Likewise.
24858 * conform/data/complex.h-data: Likewise.
24859 * conform/data/cpio.h-data: Likewise.
24860 * conform/data/ctype.h-data: Likewise.
24861 * conform/data/dirent.h-data: Likewise.
24862 * conform/data/dlfcn.h-data: Likewise.
24863 * conform/data/errno.h-data: Likewise.
24864 * conform/data/fcntl.h-data: Likewise.
24865 * conform/data/float.h-data: Likewise.
24866 * conform/data/fmtmsg.h-data: Likewise.
24867 * conform/data/fnmatch.h-data: Likewise.
24868 * conform/data/ftw.h-data: Likewise.
24869 * conform/data/glob.h-data: Likewise.
24870 * conform/data/grp.h-data: Likewise.
24871 * conform/data/iconv.h-data: Likewise.
24872 * conform/data/inttypes.h-data: Likewise.
24873 * conform/data/langinfo.h-data: Likewise.
24874 * conform/data/libgen.h-data: Likewise.
24875 * conform/data/limits.h-data: Likewise.
24876 * conform/data/locale.h-data: Likewise.
24877 * conform/data/math.h-data: Likewise.
24878 * conform/data/monetary.h-data: Likewise.
24879 * conform/data/mqueue.h-data: Likewise.
24880 * conform/data/ndbm.h-data: Likewise.
24881 * conform/data/net/if.h-data: Likewise.
24882 * conform/data/netdb.h-data: Likewise.
24883 * conform/data/netinet/in.h-data: Likewise.
24884 * conform/data/nl_types.h-data: Likewise.
24885 * conform/data/poll.h-data: Likewise.
24886 * conform/data/pthread.h-data: Likewise.
24887 * conform/data/pwd.h-data: Likewise.
24888 * conform/data/regex.h-data: Likewise.
24889 * conform/data/sched.h-data: Likewise.
24890 * conform/data/search.h-data: Likewise.
24891 * conform/data/semaphore.h-data: Likewise.
24892 * conform/data/setjmp.h-data: Likewise.
24893 * conform/data/signal.h-data: Likewise.
24894 * conform/data/spawn.h-data: Likewise.
24895 * conform/data/stdarg.h-data: Likewise.
24896 * conform/data/stdio.h-data: Likewise.
24897 * conform/data/stdlib.h-data: Likewise.
24898 * conform/data/string.h-data: Likewise.
24899 * conform/data/strings.h-data: Likewise.
24900 * conform/data/stropts.h-data: Likewise.
24901 * conform/data/sys/ipc.h-data: Likewise.
24902 * conform/data/sys/mman.h-data: Likewise.
24903 * conform/data/sys/msg.h-data: Likewise.
24904 * conform/data/sys/resource.h-data: Likewise.
24905 * conform/data/sys/select.h-data: Likewise.
24906 * conform/data/sys/sem.h-data: Likewise.
24907 * conform/data/sys/shm.h-data: Likewise.
24908 * conform/data/sys/socket.h-data: Likewise.
24909 * conform/data/sys/stat.h-data: Likewise.
24910 * conform/data/sys/statvfs.h-data: Likewise.
24911 * conform/data/sys/time.h-data: Likewise.
24912 * conform/data/sys/timeb.h-data: Likewise.
24913 * conform/data/sys/times.h-data: Likewise.
24914 * conform/data/sys/types.h-data: Likewise.
24915 * conform/data/sys/uio.h-data: Likewise.
24916 * conform/data/sys/un.h-data: Likewise.
24917 * conform/data/sys/utsname.h-data: Likewise.
24918 * conform/data/sys/wait.h-data: Likewise.
24919 * conform/data/syslog.h-data: Likewise.
24920 * conform/data/tar.h-data: Likewise.
24921 * conform/data/termios.h-data: Likewise.
24922 * conform/data/utime.h-data: Likewise.
24923 * conform/data/utmpx.h-data: Likewise.
24924 * conform/data/varargs.h-data: Likewise.
24925 * conform/data/wchar.h-data: Likewise.
24926 * conform/data/wctype.h-data: Likewise.
24927 * conform/data/wordexp.h-data: Likewise.
24929 * include/stropts.h: New file.
24930 * include/uchar.h: New file.
24931 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24932 * include/assert.h: Likewise.
24933 * include/ctype.h: Likewise.
24934 * include/dirent.h: Likewise.
24935 * include/dlfcn.h: Likewise.
24936 * include/fcntl.h: Likewise.
24937 * include/fnmatch.h: Likewise.
24938 * include/glob.h: Likewise.
24939 * include/grp.h: Likewise.
24940 * include/libio.h: Likewise.
24941 * include/locale.h: Likewise.
24942 * include/math.h: Likewise.
24943 * include/net/if.h: Likewise.
24944 * include/netdb.h: Likewise.
24945 * include/netinet/in.h: Likewise.
24946 * include/pthread.h: Likewise.
24947 * include/pwd.h: Likewise.
24948 * include/regex.h: Likewise.
24949 * include/sched.h: Likewise.
24950 * include/search.h: Likewise.
24951 * include/setjmp.h: Likewise.
24952 * include/signal.h: Likewise.
24953 * include/stdio.h: Likewise.
24954 * include/stdlib.h: Likewise.
24955 * include/string.h: Likewise.
24956 * include/sys/cdefs.h: Likewise.
24957 * include/sys/mman.h: Likewise.
24958 * include/sys/msg.h: Likewise.
24959 * include/sys/resource.h: Likewise.
24960 * include/sys/select.h: Likewise.
24961 * include/sys/socket.h: Likewise.
24962 * include/sys/stat.h: Likewise.
24963 * include/sys/statvfs.h: Likewise.
24964 * include/sys/time.h: Likewise.
24965 * include/sys/times.h: Likewise.
24966 * include/sys/uio.h: Likewise.
24967 * include/sys/utsname.h: Likewise.
24968 * include/sys/wait.h: Likewise.
24969 * include/termios.h: Likewise.
24970 * include/time.h: Likewise.
24971 * include/ulimit.h: Likewise.
24972 * include/unistd.h: Likewise.
24973 * include/utime.h: Likewise.
24974 * include/wchar.h: Likewise.
24975 * include/wctype.h: Likewise.
24976 * include/wordexp.h: Likewise.
24978 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24980 * time/time.h: TIME_UTC must be a macro.
24981 Make timespec_get available for ISO C11 only as well.
24983 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24985 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24986 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24988 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24990 * configure.in: Use -o not -a in test for unsupported multi-arch.
24992 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24994 * manual/texinfo.tex: Update to version 2012-01-19.16.
24996 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24998 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25000 2012-02-24 Roland McGrath <roland@hack.frob.com>
25003 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25004 * manual/fdl-1.3.texi: New file.
25005 * manual/fdl-1.1.texi: File removed.
25008 * manual/libc.texinfo (FDL_VERSION): New @set.
25009 Use it for mention of FDL in cover text.
25010 (Documentation License): Use it in @include file name.
25012 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25013 Roland McGrath <roland@hack.frob.com>
25016 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25017 not LONG_LONG_MAX and LONG_LONG_MIN.
25018 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25019 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25021 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25023 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25027 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25028 manipulate bits before adding and subtracting TWO23[sx].
25029 * math/libm-test.inc (nearbyint_test): Add more tests.
25031 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25034 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25035 bits before adding and subtracting TWO23[sx].
25036 * math/libm-test.inc (rint_test): Add more tests.
25037 (rint_test_tonearest): Likewise.
25038 (rint_test_towardzero): Likewise.
25039 (rint_test_downward): Likewise.
25040 (rint_test_upward: Likewise.
25042 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25045 * include/stdc-predef.h: New file. Extracted from features.h.
25046 * include/features.h: Include stdc-predef.h.
25047 * Makefile (headers): Add stdc-predef.h.
25048 * CONFORMANCE (Compiler limitations): Update.
25050 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25052 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25054 2012-02-21 David S. Miller <davem@davemloft.net>
25056 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25057 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25059 2012-02-20 David S. Miller <davem@davemloft.net>
25061 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25062 using a normal save/restore sequence, rather than allocating a
25063 dummy stack frame just to store a frame pointer and restore.
25064 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25066 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25068 * manual/install.texi: Fix stray word in line-wrapped comment.
25070 2012-02-20 David S. Miller <davem@davemloft.net>
25072 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25073 both binutils and gcc support GOTDATA.
25075 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25076 "rd %pc" in the PIC register setup sequences.
25078 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25079 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25080 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25081 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25082 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25083 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25084 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25085 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25087 (SYSCALL_ERROR_HANDLER): Likewise.
25088 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25089 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25090 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25091 (SYSCALL_ERROR_HANDLER): Likewise.
25093 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25094 (HAVE_GCC_GOTDATA): New.
25095 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25096 relocation support in both binutils and gcc.
25097 * sysdeps/sparc/elf/configure: Regenerate.
25099 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25100 * sysdeps/sparc/sparc32/elf/configure: Delete.
25101 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25102 * sysdeps/sparc/sparc64/elf/configure: Delete.
25103 * sysdeps/sparc/elf/configure.in: New file.
25104 * sysdeps/sparc/elf/configure: Generate.
25106 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25107 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25108 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25109 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25110 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25112 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25114 * manual/install.texi: Do not mention specific glibc version
25116 * manual/libc.texinfo (VERSION, UPDATED): Update.
25117 (@copying): Use @copyright{} and range of years.
25119 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25122 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25123 [crti.S not in sysdirs] (generated): Do not append.
25124 [crti.S not in sysdirs] (omit-deps): Likewise.
25125 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25126 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25127 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25128 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25129 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25131 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25132 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25133 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25134 * csu/defs.awk: Remove file.
25135 * sysdeps/generic/initfini.c: Likewise.
25136 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25138 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25141 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25143 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25144 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25145 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25146 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25147 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25148 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25150 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25151 (__EPOLL_PACKED): Define to empty if not defined by
25153 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25157 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25159 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25160 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25161 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25162 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25164 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25168 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25170 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25172 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25173 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25174 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25177 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25179 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25180 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25182 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25184 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25185 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25187 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25189 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25192 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25194 * math/w_acos.c: Use non-signaling floating-point comparisons.
25195 * math/w_acosf.c: Likewise.
25196 * math/w_acosh.c: Likewise.
25197 * math/w_acoshf.c: Likewise.
25198 * math/w_acoshl.c: Likewise.
25199 * math/w_acosl.c: Likewise.
25200 * math/w_asin.c: Likewise.
25201 * math/w_asinf.c: Likewise.
25202 * math/w_asinl.c: Likewise.
25203 * math/w_atanh.c: Likewise.
25204 * math/w_atanhf.c: Likewise.
25205 * math/w_atanhl.c: Likewise.
25206 * math/w_exp2.c: Likewise.
25207 * math/w_exp2f.c: Likewise.
25208 * math/w_exp2l.c: Likewise.
25209 * math/w_j0.c: Likewise.
25210 * math/w_j0f.c: Likewise.
25211 * math/w_j0l.c: Likewise.
25212 * math/w_j1.c: Likewise.
25213 * math/w_j1f.c: Likewise.
25214 * math/w_j1l.c: Likewise.
25215 * math/w_jn.c: Likewise.
25216 * math/w_jnf.c: Likewise.
25217 * math/w_log.c: Likewise.
25218 * math/w_log10.c: Likewise.
25219 * math/w_log10f.c: Likewise.
25220 * math/w_log10l.c: Likewise.
25221 * math/w_log2.c: Likewise.
25222 * math/w_log2f.c: Likewise.
25223 * math/w_log2l.c: Likewise.
25224 * math/w_logf.c: Likewise.
25225 * math/w_logl.c: Likewise.
25226 * math/w_sqrt.c: Likewise.
25227 * math/w_sqrtf.c: Likewise.
25228 * math/w_sqrtl.c: Likewise.
25229 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25230 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25231 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25232 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25233 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25235 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25238 * manual/string.texi (strnlen): Use correct parameter name in
25239 equivalent expression.
25241 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25244 * manual/users.texi (seteuid): Consistently use neweuid for
25247 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25250 * manual/nss.texi (Services in the NSS configuration): Correct
25251 list of services in example configuration file.
25253 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25256 * manual/arith.texi: Remove statements about negative zero
25257 behaving identically to zero.
25259 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25262 * manual/install.texi: Do not document upgrading from libc5.
25264 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25267 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25269 2012-02-18 David S. Miller <davem@davemloft.net>
25271 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25272 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25273 %o7 across the call.
25274 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25277 SETUP_PIC_REG_LEAF.
25278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25279 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25280 * sysdeps/sparc/crtn.S: Likewise.
25282 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25284 * aout/Makefile: Remove.
25286 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25289 * manual/examples/argp-ex1.c (main): Format definition in GNU
25291 * manual/examples/argp-ex2.c (main): Likewise.
25292 * manual/examples/argp-ex3.c (main): Likewise.
25293 * manual/examples/argp-ex4.c (main): Likewise.
25294 * manual/examples/longopt.c (main): Use new-style prototype
25296 * manual/examples/strncat.c (main): Specify return type and use
25297 (void) for arguments.
25298 * manual/examples/subopt.c (main): Use char **argv argument.
25300 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25303 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25306 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25309 * manual/string.texi (strchr): Change when strchrnul is
25312 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25315 * manual/locale.texi (setlocale): Document LOCPATH.
25317 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25320 * manual/process.texi (execle): Move @dots{} before last argument.
25322 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25325 * manual/charset.texi (Generic Charset Conversion): Fix typo
25326 (LC_TYPE -> LC_CTYPE).
25328 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25331 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25332 (scalbnf): Likewise.
25333 (scalbnl): Likewise.
25334 (scalbln): Likewise.
25335 (scalblnf): Likewise.
25336 (scalblnl): Likewise.
25337 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25338 (vwarnx): Likewise.
25341 * manual/filesys.texi (telldir): Use braces around return type.
25342 * manual/llio.texi (mmap): Add space after comma.
25343 (mmap64): Likewise.
25344 * manual/math.texi (jn): Use @var{} on parameter names.
25350 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25352 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25354 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25355 (sched_get_priority_max): Likewise.
25356 * manual/signal.texi (sigvec): Add space after comma.
25357 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25359 (if_indextoname): Likewise.
25360 (if_freenameindex): Likewise.
25361 (sendto): Use ',' instead of '.' in prototype.
25362 * manual/startup.texi (syscall): Use @dots{} instead of literal
25364 * manual/stdio.texi (__fpending): Separate initial words of
25365 paragraph from @deftypefun line.
25366 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25368 (vsyslog): Use @var{} on parameter names.
25369 * manual/terminal.texi (stty): Use @var{} on parameter names.
25370 * manual/users.texi (getutmp): Use @var{} on parameter names.
25371 (getutmpx): Likewise.
25373 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25376 * manual/stdio.texi (fopen): Fix typos in description of
25379 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25382 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25383 get clock_id definition.
25385 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25388 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25389 (madvise): Cast every argument to void on its own.
25391 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25394 * manual/startup.texi (Exit Status): Fix typo.
25396 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25399 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25400 * manual/examples/argp-ex2.c: Likewise.
25401 * manual/examples/argp-ex3.c: Likewise.
25403 2012-02-16 Richard Henderson <rth@redhat.com>
25405 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25406 * sysdeps/s390/s390-32/initfini.c: Remove.
25407 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25408 * sysdeps/s390/s390-64/initfini.c: Remove.
25410 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25412 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25413 compiler output for sysdeps/generic/initfini.c.
25414 * sysdeps/sh/elf/initfini.c: Remove file.
25416 2012-02-16 David S. Miller <davem@davemloft.net>
25419 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25421 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25422 * sysdeps/sparc/crti.S: New file.
25423 * sysdeps/sparc/crtn.S: New file.
25424 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25425 * sysdeps/sparc/sparc64/Makefile: Likewise.
25427 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25430 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25432 2012-02-15 Roland McGrath <roland@hack.frob.com>
25435 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25437 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25438 (write, read, close): Likewise.
25439 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25441 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25443 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25444 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25445 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25446 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25448 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25452 2012-02-14 Marek Polacek <polacek@redhat.com>
25454 * sysdeps/x86_64/crti.S: New file.
25455 * sysdeps/x86_64/crtn.S: New file.
25456 * sysdeps/x86_64/elf/initfini.c: Remove file.
25458 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25460 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25461 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25462 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25463 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25465 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25469 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25471 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25472 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25473 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25474 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25476 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25480 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25482 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25483 __feraiseexcept instead of feraiseexcept.
25485 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25486 nanosleep invocations.
25487 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25488 strings, and add error checking for a nanosleep invocations.
25490 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25492 Replace FSF snail mail address with URLs, as per GNU coding standards.
25493 Most of the snail mail addresses were wrong anyway, and omitting
25494 them makes the source code easier to maintain. Almost all of the
25495 changes are to license notices and to locale LC_IDENTIFICATION
25496 addresses, except for this one:
25497 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25498 not its snail mail address.
25500 2012-02-09 Richard Henderson <rth@twiddle.net>
25502 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25503 of kernel-features.h.
25505 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25507 2012-02-08 Marek Polacek <polacek@redhat.com>
25509 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25510 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25511 * sysdeps/gnu/_G_config.h: Likewise.
25512 * sysdeps/generic/_G_config.h: Likewise.
25514 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25516 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25520 * sysdeps/powerpc/powerpc32/crti.S: New file.
25521 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25522 * sysdeps/powerpc/powerpc64/crti.S: New file.
25523 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25525 * Makeconfig (have-initfini): Don't set.
25526 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25527 * configure.in (nopic_initfini): Don't substitute.
25528 * config.h.in (HAVE_INITFINI): Don't #undef.
25529 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25530 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25532 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25534 Support crti.S and crtn.S provided directly by architectures.
25535 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25536 [crti.S in sysdirs] (omit-deps): Likewise.
25537 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25538 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25539 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25540 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25541 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25542 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25543 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25544 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25545 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25546 compiler output for sysdeps/generic/initfini.c.
25547 * sysdeps/i386/elf/Makefile: Remove file.
25548 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25550 2012-02-07 Marek Polacek <polacek@redhat.com>
25552 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25553 * sysdeps/gnu/_G_config.h: Likewise.
25554 * sysdeps/mach/hurd/_G_config.h: Likewise.
25556 2012-02-07 Marek Polacek <polacek@redhat.com>
25558 * math/Makefile (tests): Add tst-CMPLX2.
25559 * math/tst-CMPLX2.c: New file.
25561 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25563 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25565 * math/libm-test.inc (jn_test): Add missing L suffix.
25567 2012-02-06 Marek Polacek <polacek@redhat.com>
25569 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25570 * sysdeps/i386/fpu/e_powf.S: Likewise.
25571 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25572 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25573 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25574 * sysdeps/i386/fpu/e_pow.S: Likewise.
25575 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25576 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25577 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25578 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25579 * sysdeps/i386/fpu/e_log2.S: Likewise.
25580 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25581 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25582 * sysdeps/i386/fpu/e_powl.S: Likewise.
25583 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25584 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25585 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25586 * sysdeps/i386/fpu/e_logl.S: Likewise.
25587 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25588 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25589 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25590 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25591 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25592 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25593 * sysdeps/i386/fpu/e_log.S: Likewise.
25594 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25595 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25596 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25597 * sysdeps/i386/fpu/e_logf.S: Likewise.
25598 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25599 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25600 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25601 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25602 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25603 * sysdeps/i386/fpu/e_log10.S: Likewise.
25604 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25605 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25606 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25607 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25608 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25609 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25610 * sysdeps/i386/asm-syntax.h: Likewise.
25611 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25612 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25613 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25614 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25615 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25616 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25617 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25618 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25619 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25620 * sysdeps/powerpc/sysdep.h: Likewise.
25621 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25622 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25624 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25627 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25629 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25631 * sysdeps/i386/sysdep.h: Include <features.h>.
25632 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25635 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25637 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25639 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25642 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25644 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25645 (SETUP_PIC_REG): Use GET_PC_THUNK.
25646 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25649 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25651 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25652 for non-PIC compilation.
25653 (SETUP_PIC_REG): Add .p2align directive.
25654 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25655 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25656 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25657 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25658 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25659 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25660 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25661 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25662 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25663 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25664 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25665 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25666 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25667 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25668 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25669 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25670 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25671 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25672 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25673 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25674 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25675 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25676 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25677 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25678 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25679 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25680 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25681 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25682 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25683 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25684 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25685 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25686 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25687 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25688 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25689 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25690 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25691 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25692 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25693 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25694 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25696 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25698 * math/tst-CMPLX.c: Include <stdio.h>.
25700 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25702 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25704 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25705 * sysdeps/sparc/bits/mathdef.h: Likewise.
25707 2012-01-31 Marek Polacek <polacek@redhat.com>
25709 * libio/libio.h: Don't define _PARAMS.
25710 * locale/programs/config.h: Don't define PARAMS.
25711 * stdlib/strtol_l.c: Likewise.
25712 (__strtol_l): Remove PARAMS from the prototype.
25714 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25716 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25717 names. Just use the correct names. Remove unnecessary wrapper
25719 * malloc/arena.c: Likewise.
25720 * malloc/hooks.c: Likewise.
25722 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25723 ARENA_TEST says not to. Simplify test for creation of a new arena.
25724 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25726 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25728 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25730 (update_get_addr): New function.
25731 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25732 GET_ADDR_MODULE parameter.
25734 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25736 * crypt/cert.c: Remove __STDC__ conditionals.
25737 * crypt/crypt-entry.c: Likewise.
25738 * crypt/crypt_util.c: Likewise.
25739 * libio/filedoalloc.c: Likewise.
25740 * libio/fileops.c: Likewise.
25741 * libio/genops.c: Likewise.
25742 * libio/iofclose.c: Likewise.
25743 * libio/iofdopen.c: Likewise.
25744 * libio/iofopen.c: Likewise.
25745 * libio/iofopen64.c: Likewise.
25746 * libio/iogetdelim.c: Likewise.
25747 * libio/iopopen.c: Likewise.
25748 * libio/obprintf.c: Likewise.
25749 * libio/oldfileops.c: Likewise.
25750 * libio/oldiofclose.c: Likewise.
25751 * libio/oldiofdopen.c: Likewise.
25752 * libio/oldiofopen.c: Likewise.
25753 * libio/oldiopopen.c: Likewise.
25754 * libio/wfiledoalloc.c: Likewise.
25755 * libio/wgenops.c: Likewise.
25756 * locale/programs/xmalloc.c: Likewise.
25757 * misc/syslog.c: Likewise.
25758 * stdio-common/xbug.c: Likewise.
25759 * string/memchr.c: Likewise.
25760 * string/memcmp.c: Likewise.
25761 * string/memrchr.c: Likewise.
25762 * string/rawmemchr.c: Likewise.
25763 * sysdeps/posix/getcwd.c: Likewise.
25764 * time/strftime_l.c: Likewise.
25766 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25768 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25769 * config.make.in (config-cflags-sse2avx): Define.
25770 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25773 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25775 * scripts/config.guess: Update from upstream config git repository.
25776 * scripts/config.sub: Likewise.
25778 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25780 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25782 (R_TILEPRO_*, R_TILEGX_*): New macros.
25784 * scripts/firstversions.awk: Fix bug in version range handling.
25786 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25788 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25790 * include/sys/epoll.h: New file.
25791 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25794 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25796 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25797 Avoid unnecessary __WORDSIZE == 64 test.
25798 (fmaxf): Use VEX format if possible.
25803 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25804 * math/math_private.h: Remove libc_fegetround* and
25806 * sysdeps/i386/configure.in: Check for -msse2avx.
25807 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25808 also if SSE2AVX is defined.
25809 Remove libc_fegetround* and libc_fesetround*.
25810 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25811 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25812 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25814 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25815 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25816 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25817 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25818 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25820 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25822 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25824 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25826 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25828 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25831 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25833 * Makeconfig (libm): Define.
25834 * elf/Makefile: Add rules to build and run tst-relsort1.
25835 * elf/tst-relsort1.c: New file.
25836 * elf/tst-relsort1mod1.c: New file.
25837 * elf/tst-relsort1mod2.c: New file.
25839 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25841 * math/s_ldexp.c: Remove __STDC__ conditionals.
25842 * math/s_ldexpf.c: Likewise.
25843 * math/s_ldexpl.c: Likewise.
25844 * math/s_nextafter.c: Likewise.
25845 * math/s_nexttowardf.c: Likewise.
25846 * math/s_significand.c: Likewise.
25847 * math/s_significandf.c: Likewise.
25848 * math/s_significandl.c: Likewise.
25849 * math/w_jnl.c: Likewise.
25850 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25851 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25852 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25853 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25854 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25855 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25856 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25857 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25858 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25859 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25860 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25861 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25862 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25863 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25864 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25865 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25866 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25867 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25868 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25869 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25870 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25871 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25872 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25873 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25874 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25875 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25876 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25877 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25878 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25879 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25880 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25881 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25882 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25883 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25884 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25885 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25886 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25887 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25888 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25889 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25890 * sysdeps/ieee754/k_standard.c: Likewise.
25891 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25892 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25893 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25894 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25895 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25898 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25900 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25903 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25904 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25905 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25908 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25909 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25910 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25914 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25919 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25920 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25921 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25922 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25923 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25924 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25926 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25929 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25931 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25932 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25933 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25934 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25935 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25936 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25937 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25938 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25939 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25940 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25941 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25942 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25943 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25944 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25945 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25946 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25947 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25948 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25949 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25950 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25951 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25952 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25953 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25954 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25955 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25956 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25957 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25958 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25959 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25960 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25961 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25962 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25963 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25964 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25965 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25966 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25967 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25968 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25969 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25970 * sysdeps/ieee754/s_matherr.c: Likewise.
25971 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25972 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25973 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25976 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25978 * crypt/md5.h: Remove __STDC__ conditionals.
25979 * libio/libioP.h: Likewise.
25980 * locale/programs/config.h: Likewise.
25981 * sysdeps/generic/sysdep.h: Likewise.
25982 * sysdeps/i386/asm-syntax.h: Likewise.
25983 * sysdeps/s390/asm-syntax.h: Likewise.
25984 * sysdeps/unix/sysdep.h: Likewise.
25985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25988 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25990 * libio/libio.h: Remove __STDC__ conditionals.
25991 * malloc/obstack.h: Likewise.
25992 * math/complex.h: Likewise.
25993 * math/math.h: Likewise.
25994 * sysdeps/generic/_G_config.h: Likewise.
25995 * sysdeps/gnu/_G_config.h: Likewise.
25996 * sysdeps/mach/hurd/_G_config.h: Likewise.
25997 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25998 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25999 * sysdeps/sparc/bits/mathdef.h: Likewise.
26001 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26004 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26005 Clean up HAS_* macros.
26006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26007 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26009 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26011 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26012 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26013 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26014 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26015 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26017 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26019 * elf/tst-unique3.cc (gets): Remove declaration.
26020 * elf/tst-unique3lib.cc (gets): Likewise.
26021 * elf/tst-unique3lib2.cc (gets): Likewise.
26022 * elf/tst-unique4.cc (gets): Likewise.
26024 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26026 * include/stdio.h: Add C++ protection. Add gets declarations and
26028 * debug/tst-chk1.c: Don't declare gets here.
26029 * stdio-common/tst-gets.c: Likewise.
26031 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26033 * posix/glob: Remove directory.
26035 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26037 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26039 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26041 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26042 of the non-standard EPFNOSUPPORT.
26044 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26046 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26047 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26048 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26050 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26052 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26054 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26056 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26058 * nscd/grpcache.c (cache_addgr): Likewise.
26059 * nscd/hstcache.c (cache_addhst): Likewise.
26060 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26061 * nscd/pwdcache.c (cache_addpw): Likewise.
26062 * nscd/servicescache.c (cache_addserv): Likewise.
26064 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26066 * malloc/malloc.c: Various cleanups.
26067 * malloc/hooks.c: Likewise.
26069 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26070 * stdlib/bug-fmtmsg1.c: New file.
26072 * stdlib/fmtmsg.c (init): Add missing unlock.
26073 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26075 2012-01-12 Marek Polacek <polacek@redhat.com>
26077 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26080 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26082 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26083 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26084 macro to ensure uniqueness of label name.
26085 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26086 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26088 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26090 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26092 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26093 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26094 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26095 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26097 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26099 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26101 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26102 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26103 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26105 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26107 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26108 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26109 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26112 * math/bits/math-finite.h: Add ldexp support.
26114 2012-01-10 Marek Polacek <polacek@redhat.com>
26116 * locale/programs/localedef.h (show_archive_content): Add noreturn
26119 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26121 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26123 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26125 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26127 * io/Makefile (headers): Add bits/poll2.h.
26129 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26132 typo #include statement.
26134 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26136 * include/sys/cdefs.h: Define __attribute_alloc_size.
26137 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26138 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26139 * elf/pldd.c: Likewise.
26140 * iconv/iconv_charmap.c: Likewise.
26141 * iconv/iconvconfig.c: Likewise.
26142 * iconv/strtab.c: Likewise.
26143 * locale/programs/locale.c: Likewise.
26144 * locale/programs/localedef.h: Likewise.
26145 * locale/programs/simple-hash.c: Likewise.
26146 * nscd/nscd.h: Likewise.
26147 * nss/makedb.c: Likewise.
26148 * sysdeps/generic/ldconfig.h: Likewise.
26149 * locale/programs/localedef.c: Remove xmalloc prototype.
26150 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26152 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26154 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26157 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26159 * math/Makefile (tests): Add tst-CMPLX.
26160 * math/tst-CMPLX.c: New file.
26162 * math/complex.h (CMPLXL): Fix typo.
26164 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26165 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26167 * debug/tst-chk1.c: Add poll and ppoll tests.
26168 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26169 * include/sys/poll.h: Add hidden proto for ppoll.
26170 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26171 * sysdeps/mach/hurd/ppoll.c: Likewise.
26172 * io/ppoll.c: Likewise.
26173 * debug/poll_chk.c: New file.
26174 * debug/ppoll_chk.c: New file.
26175 * include/bits/poll2.h: New file.
26176 * io/bits/poll2.h: New file.
26179 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26181 * configure.in: static is always set to yes. Remove.
26182 * config.make.in: Don't set build-static.
26183 * Makeconfig: Remove use of build-static.
26184 * dlfcn/Makefile: Likewise.
26185 * elf/Makefile: Likewise.
26186 * math/Makefile: Likewise.
26187 * misc/Makefile: Likewise.
26188 * nptl/Makefile: Likewise.
26189 * sysdeps/mach/hurd/Makefile: Likewise.
26191 * configure.in: PWD_P is not used anymore.
26192 * config.make.in: Remove PWD_P entry.
26194 * configure.in: Remove last remnants of RANLIB.
26195 No need to check for signed size_t anymore.
26196 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26198 Remove __builtin_expect test because we require at least gcc 3.4.
26199 * aclocal.m4: Likewise.
26201 * wcsmbs/mbrtoc16.c: Implement using towc function.
26202 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26203 * wcsmbs/wcsmbsload.c: Likewise.
26204 * iconv/gconv_simple.c: Likewise.
26205 * iconv/gconv_int.h: Likewise.
26206 * iconv/gconv_builtin.h: Likewise.
26207 * iconv/iconv_prog.c: Remove CHAR16 handling.
26209 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26211 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26213 * configure.in: Remove --with-elf and --enable-bounded options.
26214 Dont set base_machine for ia64. More non-ELF conditions removed.
26215 Remove testing and setting of leading underscore information.
26216 * config.make.in (build-bounded): Set to no.
26217 * config.h.in: Remove NO_UNDERSCORES entry.
26218 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26220 * csu/start.c: Remove !NO_UNDERSCORE code.
26221 * locale/localeinfo.h: Likewise.
26222 * sysdeps/generic/machine-gmon.h: Likewise.
26223 * sysdeps/generic/sysdep.h: Likewise.
26224 * sysdeps/i386/sysdep.h: Likewise.
26225 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26226 * sysdeps/mach/sysdep.h: Likewise.
26227 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26228 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26229 * sysdeps/sh/sysdep.h: Likewise.
26230 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26231 * sysdeps/unix/i386/sysdep.S: Likewise.
26232 * sysdeps/unix/sparc/start.c: Likewise.
26233 * sysdeps/unix/sparc/sysdep.S: Likewise.
26234 * sysdeps/unix/sparc/sysdep.h: Likewise.
26235 * sysdeps/unix/start.c: Likewise.
26236 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26237 * sysdeps/x86_64/sysdep.h: Likewise.
26239 2012-01-07 Ulrich Drepper <drepper@gmail.com>
26242 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26244 * argp/argp-fmtstream.h: Use const instead __const.
26245 * argp/argp.h: Likewise.
26246 * assert/assert.h: Likewise.
26247 * bits/fenv.h: Likewise.
26248 * bits/sched.h: Likewise.
26249 * bits/sigset.h: Likewise.
26250 * bits/sigthread.h: Likewise.
26251 * catgets/nl_types.h: Likewise.
26252 * conform/data/pthread.h-data: Likewise.
26253 * crypt/crypt-private.h: Likewise.
26254 * crypt/crypt.h: Likewise.
26255 * crypt/crypt_util.c: Likewise.
26256 * ctype/ctype.h: Likewise.
26257 * debug/execinfo.h: Likewise.
26258 * debug/mbsnrtowcs_chk.c: Likewise.
26259 * debug/mbsrtowcs_chk.c: Likewise.
26260 * debug/wcsnrtombs_chk.c: Likewise.
26261 * debug/wcsrtombs_chk.c: Likewise.
26262 * debug/wcstombs_chk.c: Likewise.
26263 * dirent/dirent.h: Likewise.
26264 * dlfcn/dlfcn.h: Likewise.
26265 * elf/neededtest4.c: Likewise.
26266 * grp/grp.h: Likewise.
26267 * gshadow/gshadow.h: Likewise.
26268 * iconv/gconv.h: Likewise.
26269 * iconv/gconv_int.h: Likewise.
26270 * iconv/gconv_simple.c: Likewise.
26271 * iconv/iconv.h: Likewise.
26272 * iconv/loop.c: Likewise.
26273 * iconv/skeleton.c: Likewise.
26274 * include/aio.h: Likewise.
26275 * include/aliases.h: Likewise.
26276 * include/argz.h: Likewise.
26277 * include/arpa/inet.h: Likewise.
26278 * include/assert.h: Likewise.
26279 * include/dirent.h: Likewise.
26280 * include/dlfcn.h: Likewise.
26281 * include/execinfo.h: Likewise.
26282 * include/fcntl.h: Likewise.
26283 * include/fenv.h: Likewise.
26284 * include/glob.h: Likewise.
26285 * include/grp.h: Likewise.
26286 * include/libintl.h: Likewise.
26287 * include/mntent.h: Likewise.
26288 * include/netdb.h: Likewise.
26289 * include/pwd.h: Likewise.
26290 * include/rpc/netdb.h: Likewise.
26291 * include/sched.h: Likewise.
26292 * include/search.h: Likewise.
26293 * include/shadow.h: Likewise.
26294 * include/signal.h: Likewise.
26295 * include/stdio.h: Likewise.
26296 * include/stdlib.h: Likewise.
26297 * include/string.h: Likewise.
26298 * include/sys/socket.h: Likewise.
26299 * include/sys/stat.h: Likewise.
26300 * include/sys/statfs.h: Likewise.
26301 * include/sys/statvfs.h: Likewise.
26302 * include/sys/syslog.h: Likewise.
26303 * include/sys/time.h: Likewise.
26304 * include/sys/uio.h: Likewise.
26305 * include/time.h: Likewise.
26306 * include/unistd.h: Likewise.
26307 * include/utmp.h: Likewise.
26308 * include/wchar.h: Likewise.
26309 * include/wctype.h: Likewise.
26310 * inet/aliases.h: Likewise.
26311 * inet/arpa/inet.h: Likewise.
26312 * inet/netinet/ether.h: Likewise.
26313 * inet/netinet/in.h: Likewise.
26314 * intl/libintl.h: Likewise.
26315 * io/bits/fcntl2.h: Likewise.
26316 * io/fcntl.h: Likewise.
26317 * io/ftw.h: Likewise.
26318 * io/sys/poll.h: Likewise.
26319 * io/sys/stat.h: Likewise.
26320 * io/sys/statfs.h: Likewise.
26321 * io/sys/statvfs.h: Likewise.
26322 * io/utime.h: Likewise.
26323 * libio/bits/stdio.h: Likewise.
26324 * libio/bits/stdio2.h: Likewise.
26325 * libio/libio.h: Likewise.
26326 * libio/libioP.h: Likewise.
26327 * libio/stdio.h: Likewise.
26328 * locale/lc-ctype.c: Likewise.
26329 * locale/locale.h: Likewise.
26330 * login/utmp.h: Likewise.
26331 * malloc/arena.c: Likewise.
26332 * malloc/malloc.c: Likewise.
26333 * malloc/malloc.h: Likewise.
26334 * malloc/mcheck.c: Likewise.
26335 * malloc/mtrace.c: Likewise.
26336 * math/bits/mathcalls.h: Likewise.
26337 * math/fenv.h: Likewise.
26338 * math/math_private.h: Likewise.
26339 * misc/bits/error.h: Likewise.
26340 * misc/bits/syslog.h: Likewise.
26341 * misc/err.h: Likewise.
26342 * misc/error.h: Likewise.
26343 * misc/fstab.h: Likewise.
26344 * misc/mntent.h: Likewise.
26345 * misc/regexp.h: Likewise.
26346 * misc/search.h: Likewise.
26347 * misc/sgtty.h: Likewise.
26348 * misc/sys/mman.h: Likewise.
26349 * misc/sys/syslog.h: Likewise.
26350 * misc/sys/uio.h: Likewise.
26351 * misc/sys/xattr.h: Likewise.
26352 * misc/ttyent.h: Likewise.
26353 * nis/rpcsvc/ypclnt.h: Likewise.
26354 * nss/nss.h: Likewise.
26355 * posix/bits/unistd.h: Likewise.
26356 * posix/fnmatch.h: Likewise.
26357 * posix/glob.h: Likewise.
26358 * posix/sched.h: Likewise.
26359 * posix/spawn.h: Likewise.
26360 * posix/sys/wait.h: Likewise.
26361 * posix/unistd.h: Likewise.
26362 * posix/wordexp.h: Likewise.
26363 * pwd/pwd.h: Likewise.
26364 * resolv/netdb.h: Likewise.
26365 * resource/sys/resource.h: Likewise.
26366 * rt/aio.h: Likewise.
26367 * rt/bits/mqueue2.h: Likewise.
26368 * rt/mqueue.h: Likewise.
26369 * shadow/shadow.h: Likewise.
26370 * signal/signal.h: Likewise.
26371 * socket/send.c: Likewise.
26372 * socket/sendto.c: Likewise.
26373 * socket/sys/socket.h: Likewise.
26374 * stdio-common/printf.h: Likewise.
26375 * stdlib/bits/stdlib.h: Likewise.
26376 * stdlib/fmtmsg.h: Likewise.
26377 * stdlib/monetary.h: Likewise.
26378 * stdlib/stdlib.h: Likewise.
26379 * stdlib/ucontext.h: Likewise.
26380 * streams/stropts.h: Likewise.
26381 * string/argz.h: Likewise.
26382 * string/bits/string2.h: Likewise.
26383 * string/string.h: Likewise.
26384 * string/strings.h: Likewise.
26385 * sunrpc/rpc/auth.h: Likewise.
26386 * sunrpc/rpc/auth_des.h: Likewise.
26387 * sunrpc/rpc/clnt.h: Likewise.
26388 * sunrpc/rpc/netdb.h: Likewise.
26389 * sunrpc/rpc/pmap_clnt.h: Likewise.
26390 * sunrpc/rpc/xdr.h: Likewise.
26391 * sysdeps/generic/inttypes.h: Likewise.
26392 * sysdeps/generic/net/if.h: Likewise.
26393 * sysdeps/generic/sys/swap.h: Likewise.
26394 * sysdeps/gnu/net/if.h: Likewise.
26395 * sysdeps/gnu/utmpx.h: Likewise.
26396 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26397 * sysdeps/i386/i486/bits/string.h: Likewise.
26398 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26399 * sysdeps/s390/bits/string.h: Likewise.
26400 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26401 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26402 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26403 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26404 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26405 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26406 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26407 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26408 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26409 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26410 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26411 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26412 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26413 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26414 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26415 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26416 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26418 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26419 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26420 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26421 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26422 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26423 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26424 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26425 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26426 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26427 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26428 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26429 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26430 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26431 * sysvipc/sys/ipc.h: Likewise.
26432 * sysvipc/sys/msg.h: Likewise.
26433 * sysvipc/sys/sem.h: Likewise.
26434 * sysvipc/sys/shm.h: Likewise.
26435 * termios/termios.h: Likewise.
26436 * time/sys/time.h: Likewise.
26437 * time/time.h: Likewise.
26438 * wcsmbs/bits/wchar2.h: Likewise.
26439 * wcsmbs/uchar.h: Likewise.
26440 * wcsmbs/wchar.h: Likewise.
26441 * wctype/wctype.h: Likewise.
26444 * Makeconfig: Remove all but ELF support including AIX support.
26445 * Makerules: Likewise.
26446 * config.h.in: Likewise.
26447 * config.make.in: Likewise.
26448 * configure: Likewise.
26449 * configure.in: Likewise.
26450 * csu/Makefile: Likewise.
26451 * csu/version.c: Likewise.
26452 * debug/Makefile: Likewise.
26453 * dlfcn/Makefile: Likewise.
26454 * elf/Makefile: Likewise.
26455 * extra-lib.mk: Likewise.
26456 * iconv/Makefile: Likewise.
26457 * include/libc-symbols.h: Likewise.
26458 * include/shlib-compat.h: Likewise.
26459 * resolv/Makefile: Likewise.
26460 * resolv/res_libc.c: Likewise.
26461 * rt/Makefile: Likewise.
26462 * sysdeps/i386/asm-syntax.h: Likewise.
26463 * sysdeps/i386/sysdep.h: Likewise.
26464 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26465 * sysdeps/mach/sysdep.h: Likewise.
26466 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26467 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26468 * sysdeps/s390/asm-syntax.h: Likewise.
26469 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26470 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26471 * sysdeps/sh/sysdep.h: Likewise.
26472 * sysdeps/unix/sparc/sysdep.h: Likewise.
26473 * sysdeps/wordsize-32/divdi3.c: Likewise.
26474 * sysdeps/x86_64/sysdep.h: Likewise.
26476 * argp/Versions: Remove _argp_unlock_xxx.
26479 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26480 * abilist/libBrokenLocale.abilist: Likewise.
26481 * abilist/libanl.abilist: Likewise.
26482 * abilist/libc.abilist: Likewise.
26483 * abilist/libcrypt.abilist: Likewise.
26484 * abilist/libdl.abilist: Likewise.
26485 * abilist/libm.abilist: Likewise.
26486 * abilist/libnsl.abilist: Likewise.
26487 * abilist/libpthread.abilist: Likewise.
26488 * abilist/libresolv.abilist: Likewise.
26489 * abilist/librt.abilist: Likewise.
26490 * abilist/libthread_db.abilist: Likewise.
26491 * abilist/libutil.abilist: Likewise.
26492 * abilist/libnss_db.abilist: New file.
26494 * scripts/abilist.awk: Add support for indirect functions.
26496 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26498 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26500 * shlib-versions: Remove entries for ports architectures.
26502 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26504 * elf/stackguard-macros.h: Remove support for IA-64.
26505 * elf/tst-auditmod1.c: Likewise.
26506 * sysdeps/generic/ldsodefs.h: Likewise.
26508 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26509 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26513 * configure.in: Remove --enable-omitfp support.
26515 * config.make.in: Likewise.
26516 * Makeconfig: Likewise.
26517 * manual/install.texi: Likewise.
26519 In case anyone cares, the IA-64 architecture could move to ports.
26520 * sysdeps/ia64/*: Removed.
26521 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26522 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26525 * configure.in: Remove entries for unsupported architectures.
26528 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26529 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26531 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26532 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26533 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26534 fall back to using wcrtomb.
26535 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26536 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26538 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26539 * wcsmbs/tst-c16c32-1.c: New file.
26541 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26544 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26546 * elf/tst-unique3.cc: Add explicit declaration of gets.
26547 * elf/tst-unique3lib.cc: Likewise.
26548 * elf/tst-unique3lib2.cc: Likewise.
26549 * elf/tst-unique4.cc: Likewise.
26551 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26553 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26556 * assert/assert.h (static_assert): Don't define for C++.
26557 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26558 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26560 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26562 * iconv/loop.c (single loop): Fix assertion in storing of
26565 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26567 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26569 * posix/getconf.c: Update copyright year.
26570 * nss/getent.c: Likewise.
26571 * nss/makedb.c: Likewise.
26572 * iconv/iconvconfig.c: Likewise.
26573 * iconv/iconv_prog.c: Likewise.
26574 * elf/ldconfig.c: Likewise.
26575 * elf/pldd.c: Likewise.
26576 * elf/sotruss.ksh: Likewise.
26577 * catgets/gencat.c: Likewise.
26578 * csu/version.c: Likewise.
26579 * elf/ldd.bash.in: Likewise.
26580 * elf/sprof.c (print_version): Likewise.
26581 * locale/programs/locale.c: Likewise.
26582 * locale/programs/localedef.c: Likewise.
26583 * login/programs/pt_chown.c: Likewise.
26584 * nscd/nscd.c (print_version): Likewise.
26585 * debug/xtrace.sh: Likewise.
26586 * malloc/memusage.sh: Likewise.
26587 * malloc/mtrace.pl: Likewise.
26588 * debug/catchsegv.sh: Likewise.
26590 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26592 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26595 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26598 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26599 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26601 * iconv/gconv_int.h: Likewise.
26602 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26603 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26604 from libc for GLIBC_2.16.
26605 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26606 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26607 * wcsmbs/uchar.h: Really define mbstate_t.
26608 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26609 * wcsmbs/c16rtomb.c: New file.
26610 * wcsmbs/mbrtoc16.c: New file.
26611 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26612 for C/POSIX locale.
26613 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26614 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26616 * wcsmbs/wchar.h: Add missing __restrict.
26618 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26621 * time/Makefile (routines): Add timespec_get.
26622 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26623 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26624 timespec for ISO C11.
26625 * time/timespec_get.c: New file.
26626 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26627 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26630 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26631 * stdlib/stdlib.h: Declare aligned_alloc.
26632 * Versions.def: Add GLIBC_2.16 for libc.
26633 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26636 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26639 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26643 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26646 * assert/assert.h (static_assert): Define.
26648 * version.h: Update for 2.16 development version.
26651 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26654 * version.h (RELEASE): Bump for 2.15 release.
26655 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26657 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26658 Patch by Marek Polacek <mpolacek@redhat.com>.
26660 * bits/byteswap.h: Protect long long constants with __extension__.
26661 * sysdeps/i386/bits/byteswap.h: Likewise.
26662 * sysdeps/ia64/bits/byteswap.h: Likewise.
26663 * sysdeps/s390/bits/byteswap.h: Likewise.
26664 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26666 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26670 destination buffer.
26671 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26673 2011-12-23 Marek Polacek <polacek@redhat.com>
26675 * elf/dl-addr.c (determine_info): Add inline keyword.
26676 * elf/tst-auditmod4b.c (check_avx): Likewise.
26677 * elf/tst-auditmod6b.c (check_avx): Likewise.
26678 * elf/tst-auditmod6c.c (check_avx): Likewise.
26679 * elf/tst-auditmod7b.c (check_avx): Likewise.
26681 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26683 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26686 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26689 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26690 processing for last bytes.
26692 2011-08-06 Bruno Haible <bruno@clisp.org>
26695 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26696 U+0385, not to U+1FEE.
26699 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26700 entry for U+00A5 U+0301.
26702 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26705 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26706 buffer for the output is too small.
26708 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26712 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26713 SSE flags if possible.
26715 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26718 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26719 processing for last bytes.
26721 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26723 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26724 (syscall-list-default-options, syscall-list-default-condition)
26725 (syscall-list-includes): Define.
26726 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26727 list of ABIs and options and #if conditions for each ABI. Do not
26728 handle common syscalls between ABIs specially.
26729 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26731 (syscall-list-variants, syscall-list-32bit-options)
26732 (syscall-list-32bit-condition, syscall-list-64bit-options)
26733 (syscall-list-64bit-condition): Define.
26734 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26735 (syscall-list-variants, syscall-list-32bit-options)
26736 (syscall-list-32bit-condition, syscall-list-64bit-options)
26737 (syscall-list-64bit-condition): Define.
26738 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26740 (syscall-list-variants, syscall-list-32bit-options)
26741 (syscall-list-32bit-condition, syscall-list-64bit-options)
26742 (syscall-list-64bit-condition): Define.
26743 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26745 (syscall-list-variants, syscall-list-32bit-options)
26746 (syscall-list-32bit-condition, syscall-list-64bit-options)
26747 (syscall-list-64bit-condition): Define.
26749 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26751 * locale/iso-639.def: Add brx entry.
26754 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26755 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26757 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26758 __feraiseexcept_renamed.
26760 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26763 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26764 EPOLLET with unsigned values.
26765 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26766 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26768 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26769 to large cancellation.
26770 * math/s_cacoshf.c: Likewise.
26771 * math/s_cacoshl.c: Likewise.
26773 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26777 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26778 * math/s_cacoshf.c: Likewise.
26779 * math/s_cacoshl.c: Likewise.
26781 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26784 * iconv/gconv.h: Define __GCONV_SWAP.
26785 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26786 * iconvdata/utf-16.c: Likewise.
26787 * iconvdata/utf-32.c: Likewise.
26789 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26792 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26793 numerator after shifting it by one limb.
26795 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26797 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26798 under [__USE_EXTERN_INLINES].
26800 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26803 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26805 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26807 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26808 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26810 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26811 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26812 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26813 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26814 for strncasecmp/strncasecmp_l compilation.
26815 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26816 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26818 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26821 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26824 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26827 * time/tzfile.c (__tzfile_read): Check values from file header.
26829 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26831 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26832 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26833 * powerpc/powerpc32/dl-start.S: Likewise.
26834 * powerpc/powerpc32/elf/start.S: Likewise.
26835 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26836 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26837 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26838 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26839 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26840 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26841 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26842 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26843 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26844 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26845 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26846 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26847 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26848 * powerpc/powerpc32/memset.S: Likewise.
26849 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26850 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26851 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26852 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26853 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26854 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26855 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26856 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26857 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26858 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26859 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26860 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26861 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26863 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26865 * math/libm-test.inc: Added more nearbyint tests.
26866 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26867 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26868 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26871 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26873 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26876 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26878 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26879 Add wcscpy-ssse3 wcscpy-c.
26880 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26881 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26882 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26883 * sysdeps/x86_64/wcschr.S: New file.
26884 * sysdeps/x86_64/wcsrchr.S: New file.
26885 * string/test-strcmp.c: Remove checking of wcscmp function for
26887 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26888 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26889 wcsrchr-sse2 wcsrchr-c.
26890 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26891 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26892 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26893 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26894 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26895 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26896 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26897 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26898 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26899 * wcsmbc/wcschr.c (WCSCHR): New macro.
26901 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26903 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26904 * wcsmbs/test-wcsrchr.c: New file.
26905 * string/test-strrchr.c: Add wcsrchr support.
26907 * wcsmbs/test-wcscpy.c: New file.
26908 * string/test-strcpy.c: Add wcscpy support.
26911 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26913 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26916 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26919 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26921 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26923 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26924 Minor optimizations.
26926 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26927 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26928 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26930 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26932 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26933 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26934 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26935 for gcc to avoid warnings.
26936 * inet/Makefile (tests): Add tst-checks.
26937 * inet/tst-checks.c: New file.
26939 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26942 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26945 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26946 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26948 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26950 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26952 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26955 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26957 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26959 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26960 conditional on GCC version.
26961 (__arch_compare_and_exchange_val_8_acq)
26962 (__arch_compare_and_exchange_val_16_acq)
26963 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26964 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26965 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26967 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26969 * sysdeps/sh/backtrace.c: New file.
26971 2011-12-02 Andreas Schwab <schwab@redhat.com>
26973 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26976 2011-12-01 Andreas Schwab <schwab@redhat.com>
26978 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26979 falling back to utime.
26981 2011-11-30 Andreas Schwab <schwab@redhat.com>
26983 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26984 expectations for float.
26986 2011-11-29 Andreas Schwab <schwab@redhat.com>
26988 * locale/weight.h (findidx): Add parameter len.
26989 * locale/weightwc.h (findidx): Likewise.
26990 * posix/fnmatch_loop.c (FCT): Adjust caller.
26991 * posix/regcomp.c (build_equiv_class): Likewise.
26992 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26993 * posix/regexec.c (check_node_accept_bytes): Likewise.
26994 * string/strcoll_l.c (STRCOLL): Likewise.
26995 * string/strxfrm_l.c (STRXFRM): Likewise.
26997 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26999 * Makefile.in: Remove CVSOPT handling.
27000 * configure.in: Remove use of AC_REVISION.
27001 * iconvdata/Makefile (distribute): No need to filter out CVS.
27002 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27005 2011-11-16 Andreas Schwab <schwab@redhat.com>
27007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27008 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27009 [USE_AS_STRNCASECMP_L]: Likewise.
27010 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27011 NO_TLS_DIRECT_SEG_REFS.
27012 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27013 Fix argument offsets for non-PIC.
27014 [USE_AS_STRNCASECMP_L]: Likewise.
27015 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27016 NO_TLS_DIRECT_SEG_REFS.
27018 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27020 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27022 * locale/loadlocale.c (_nl_load_locale): Likewise.
27024 2011-11-15 Andreas Schwab <schwab@redhat.com>
27026 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27027 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27028 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27029 (SYSCALL_GETTIME): Set errno on error.
27031 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27032 count references to noai6ai_cached.
27034 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27036 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27038 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27039 FD_CLOEXEC for /proc/self/maps.
27041 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27042 FD_CLOEXEC for /proc/meminfo.
27044 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27047 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27048 FD_CLOEXEC for given file.
27050 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27052 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27053 FD_CLOEXEC for /etc/hosts.
27054 (_gethtent): Likewise.
27056 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27058 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27059 cancellation and set FD_CLOEXEC for /etc/netgroup.
27061 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27062 reading /etc/publickey.
27064 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27065 allow cancellation when reading /etc/group.
27067 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27069 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27071 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27072 when using data file.
27074 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27076 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27077 (write_nis_obj): Use "c" and "e" in fopen.
27079 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27081 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27083 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27085 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27087 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27090 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27092 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27094 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27096 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27097 file parsing and set FD_CLOEXEC.
27099 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27101 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27103 2011-11-14 Andreas Schwab <schwab@redhat.com>
27105 * malloc/arena.c (arena_get2): Don't call reused_arena when
27106 _int_new_arena failed.
27108 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27110 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27111 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27112 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27113 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27114 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27115 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27116 to compile strcasecmp and strncasecmp.
27117 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27118 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27120 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27122 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27124 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27125 locale-defines.sym to gen-as-const-headers.
27126 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27127 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27128 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27129 to compile strcasecmp and strncasecmp.
27130 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27131 strcasecmp_l and strncasecmp_l.
27132 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27133 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27134 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27135 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27136 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27137 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27138 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27139 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27140 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27141 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27142 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27144 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27146 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27147 result of SYSDEP_GETTIME_CPU to retval.
27148 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27149 parameter list to macro. Remove trailing semicolon. Adjust users.
27151 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27154 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27156 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27158 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27159 from unused variable.
27161 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27163 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27166 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27169 * sunrpc/rpc_prot.c (rejected): Fix case value.
27171 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27172 unsigned long long int to avoid warnings in shift.
27174 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27176 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27179 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27180 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27181 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27183 * nis/nis_table.c (nis_list): Use variable of correct type for
27184 result of __follow_path call.
27186 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27188 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27189 of math functions ceil, trunc, floor, round, and sqrt, when
27190 avaliable on the platform.
27191 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27193 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27194 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27195 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27197 2011-10-30 Marek Polacek <mpolacek@redhat.com>
27199 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27200 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27202 2011-11-11 Roland McGrath <roland@hack.frob.com>
27204 * include/unistd.h: Fix __readlink return type.
27205 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27207 2011-11-11 Ulrich Drepper <drepper@gmail.com>
27209 * stdlib/ucontext.h: Undo last change for makecontext.
27211 2011-11-11 Andreas Schwab <schwab@redhat.com>
27213 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27215 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27216 * setjmp/setjmp.h: Mark functions as non-leaf.
27217 * setjmp/bits/setjmp2.h: Likewise.
27218 * stdlib/ucontext.h: Likewise.
27220 2011-11-10 Andreas Schwab <schwab@redhat.com>
27222 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27223 (reused_arena): Don't check arena limit.
27224 (arena_get2): Atomically check arena limit.
27226 2011-11-08 Ulrich Drepper <drepper@gmail.com>
27228 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27229 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27231 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27234 2011-11-07 Andreas Schwab <schwab@redhat.com>
27236 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27237 handler when locking.
27239 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27240 Fix size of allocated buffer.
27242 2011-11-04 Andreas Schwab <schwab@redhat.com>
27245 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27246 declarations for long double functions.
27247 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27249 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27251 2011-11-03 Andreas Schwab <schwab@redhat.com>
27253 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27256 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27259 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27261 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27263 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27265 * include/alloca.h (stackinfo_alloca_round): Define.
27266 (extend_alloca): Use it.
27267 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27268 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27271 * scripts/check-local-headers.sh: Ignore libaudit.h.
27273 * nscd/Makefile (extra-objs): Make recursively expanded.
27275 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27277 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27278 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27280 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27281 * posix/tst-rfc3484-2.c: Likewise.
27282 * posix/tst-rfc3484-3.c: Likewise.
27284 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27286 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27288 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27289 process_vm_writev from libc using GLIBC_2.15 version.
27291 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27293 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27295 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27298 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27301 * nss/getent.c (initgroups_keys): Show error message in case no group
27304 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27305 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27306 __bump_nl_timestamp.
27307 * nscd/connections (nscd_init): When host database is served open
27308 netlink socket and request notification about configuration changes.
27309 (main_loop_poll): Track netlink file descriptor and bump timestamp
27310 in case data becomes available.
27311 (main_loop_epoll): Likewise.
27312 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27313 (database_pers_head): Add extra_data fileds.
27314 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27315 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27316 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27318 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27319 in6ai data, call __free_in6ai.
27320 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27321 Add -DHAVE_NETLINK.
27322 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27323 interface information. Reuse previous data if netlink timestamp
27325 (__bump_nl_timestamp): New function.
27326 (__free_in6ai): New function.
27328 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27330 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27331 close_not_cancel_no_status here.
27332 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27334 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27337 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27340 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27341 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27342 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27344 2011-07-03 Andreas Jaeger <aj@suse.de>
27347 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27348 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27349 * math/libm-test.inc (sin_test): Add test case.
27351 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27354 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27355 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27357 * elf/chroot_canon.c (chroot_canon): Cleanups.
27359 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27362 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27363 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27365 * string/test-strchr.c: Make usable for strchrnul testing.
27366 * string/test-strchrnul.c: New file.
27367 * string/Makefile (strop-tests): Add strchrnul.
27369 * po/it.po: Update from translation team.
27370 * po/es.po: Likewise.
27372 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27374 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27375 the three constants needed as parameters. Drop the others.
27376 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27377 __m128i_strloadu_tolower.
27378 Create and initialize variable zero and use it in all the places
27379 where _mm_setzero_si128 was used.
27381 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27382 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27383 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27384 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27386 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27387 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27388 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27389 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27390 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27391 __mpranred, __mptan.
27392 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27393 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27394 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27395 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27396 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27397 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27398 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27399 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27400 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27402 2011-10-28 Andreas Schwab <schwab@redhat.com>
27404 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27405 redefine if SHARED.
27406 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27409 wide char related routines to wcsmbs subdir.
27411 2011-10-27 Andreas Schwab <schwab@redhat.com>
27414 * misc/sys/cdefs.h (__THROWNL): Define.
27415 * posix/unistd.h: Use __THREADNL instead of __THREAD
27416 for memory synchronization functions.
27418 2011-10-26 Roland McGrath <roland@hack.frob.com>
27421 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27423 * manual/stdio.texi (Obstack Streams): Node removed.
27425 2011-10-26 Andreas Schwab <schwab@redhat.com>
27427 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27428 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27429 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27431 * math/math_private.h (math_force_eval): Allow non-addressable
27433 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27435 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27437 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27438 file is not needed.
27440 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27441 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27442 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27443 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27444 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27445 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27446 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27447 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27449 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27450 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27451 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27452 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27453 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27454 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27455 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27456 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27457 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27458 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27459 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27460 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27461 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27462 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27463 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27464 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27465 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27466 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27467 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27469 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27470 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27472 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27473 place. Use VEX encoding when compiling for AVX.
27475 2011-10-25 Andreas Schwab <schwab@redhat.com>
27477 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27478 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27480 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27482 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27484 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27485 useless if() expression.
27486 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27487 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27488 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27489 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27490 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27491 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27492 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27493 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27494 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27495 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27496 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27497 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27498 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27499 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27500 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27501 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27502 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27503 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27504 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27506 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27508 2011-10-25 Andreas Schwab <schwab@redhat.com>
27510 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27512 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27514 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27516 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27517 .text section. Avoid duplicate constants.
27518 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27520 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27522 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27523 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27525 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27526 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27527 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27528 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27529 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27530 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27531 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27532 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27533 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27534 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27535 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27536 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27538 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27539 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27540 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27541 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27542 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27543 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27544 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27545 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27546 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27547 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27548 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27549 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27550 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27551 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27552 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27553 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27554 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27555 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27556 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27557 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27558 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27559 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27560 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27561 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27562 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27564 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27566 * sysdeps/x86_64/dla.h: Move to ...
27567 * sysdeps/x86_64/fpu/dla.h: ...here.
27568 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27569 situations. Use __builtin_fma only for gcc 4.6 and up.
27571 * config.make.in: Add have-mfma4 entry.
27572 * configure.in: Substitute libc_cv_cc_fma4.
27573 * math/Makefile (dbl-only-routines): Add sincostab.
27574 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27575 Use __sincostab not sincos.
27576 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27578 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27583 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27584 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27585 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27586 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27588 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27589 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27591 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27592 define aliases when function name is a macro.
27593 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27594 sysdeps/ieee754/dbl-64/sincos.tbl.
27595 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27596 fma4-enabled routines.
27597 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27598 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27599 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27600 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27601 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27602 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27604 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27606 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27607 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27608 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27609 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27610 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27611 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27612 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27613 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27614 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27615 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27616 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27617 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27618 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27619 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27620 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27621 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27622 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27623 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27624 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27625 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27626 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27628 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27630 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27633 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27634 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27635 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27636 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27639 2011-10-24 Andreas Schwab <schwab@redhat.com>
27641 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27643 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27645 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27647 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27649 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27651 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27652 Remove unused variable magic_bits.
27653 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27655 * string/strnlen.c: Define and use STRNLEN macro.
27656 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27657 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27658 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27659 * wcsmbs/wcslen.c: Define and use WCSLEN.
27660 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27661 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27662 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27663 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27664 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27665 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27666 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27668 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27671 strnlen-sse2-no-bsf.
27672 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27673 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27674 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27675 Add strnlen support.
27676 (USE_AS_STRNLEN): New macro.
27677 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27678 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27679 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27680 * sysdeps/x86_64/wcslen.S: New file.
27682 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27684 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27685 XMM-moves are used for copying on small sizes.
27687 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27689 * wcsmbs/Makefile (strop-tests): Add wcschr.
27690 * wcsmbs/test-wcschr.c: New file.
27691 * string/test-strchr.c: Update.
27692 Add wcschr support.
27695 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27697 * wcsmbs/Makefile (strop-tests): Add wcslen.
27698 * wcsmbs/test-wcslen.c: New file.
27699 * string/test-strlen.c: Update.
27700 Add wcslen support.
27703 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27705 * po/it.po: Update from translation team.
27707 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27709 * sysdeps/x86_64/wcscmp.S: Update.
27710 Fix wrong comparison semantics.
27711 wcscmp shall use signed comparison not unsigned.
27712 Don't use substraction to avoid overflow bug.
27713 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27714 * wcsmbc/wcscmp.c: Likewise.
27715 * string/test-strcmp.c: Likewise.
27716 Add new tests to check cases with negative values.
27718 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27720 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27721 * sysdeps/x86_64/dla.h: ...here. New file.
27722 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27723 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27727 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27728 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27729 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27730 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27732 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27735 __ynl_finite aliases.
27737 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27741 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27743 [DLA_FMA] (EMULV): Use DLA_FMA.
27744 [DLA_FMA] (MUL12): Use EMULV.
27745 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27746 that are not needed.
27747 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27748 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27750 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27751 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27752 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27753 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27755 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27757 * math/s_nan.c: Undef __nan.
27758 * math/s_nanf.c: Undef __nanf.
27759 * math/s_nanl.c: Undef __nanl.
27760 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27763 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27765 * math/s_catan.c: Add branch predictions.
27766 * math/s_catanf.c: Likewise.
27767 * math/s_catanh.c: Likewise.
27768 * math/s_catanhf.c: Likewise.
27769 * math/s_catanhl.c: Likewise.
27770 * math/s_catanl.c: Likewise.
27771 * math/s_cexp.c: Likewise.
27772 * math/s_cexpf.c: Likewise.
27773 * math/s_cexpl.c: Likewise.
27774 * math/s_clog.c: Likewise.
27775 * math/s_clog10.c: Likewise.
27776 * math/s_clog10f.c: Likewise.
27777 * math/s_clog10l.c: Likewise.
27778 * math/s_clogf.c: Likewise.
27779 * math/s_clogl.c: Likewise.
27780 * math/s_csqrt.c: Likewise.
27781 * math/s_csqrtf.c: Likewise.
27782 * math/s_csqrtl.c: Likewise.
27783 * math/s_ctanf.c: Likewise.
27784 * math/s_ctanh.c: Likewise.
27785 * math/s_ctanhf.c: Likewise.
27786 * math/s_ctanhl.c: Likewise.
27787 * math/s_ctanl.c: Likewise.
27789 * math/math_private.h: Define __nan, __nanf, __nanl.
27790 * math/s_cacosh.c: Include <math_private.h>.
27791 * math/s_cacoshl.c: Likewise.
27792 * math/s_casinh.c: Likewise.
27793 * math/s_casinhf.c: Likewise.
27794 * math/s_casinhl.c: Likewise.
27795 * math/s_ccos.c: Rely entire on ccosh.
27796 * math/s_ccosf.c: Rely entire on ccoshf.
27797 * math/s_ccosl.c: Rely entirely on ccoshl.
27798 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27799 Remove tests for FE_INVALID.
27800 * math/s_ccoshf.c: Likewise.
27801 * math/s_ccoshl.c: Likewise.
27802 * math/s_csin.c: Likewise.
27803 * math/s_csinf.c: Likewise.
27804 * math/s_csinh.c Likewise.
27805 * math/s_csinhf.c: Likewise.
27806 * math/s_csinhl.c: Likewise.
27807 * math/s_csinl.c: Likewise.
27808 * math/s_ctan.c: Likewise.
27809 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27810 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27811 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27813 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27816 compilation problems.
27818 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27821 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27823 * sysdeps/i386/configure.in: Test for -mfma4 option.
27824 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27825 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27826 COMMON_CPUID_INDEX_80000001.
27827 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27828 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27829 use it if FMA3 is not supported.
27830 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27832 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27833 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27835 2011-10-20 Andreas Schwab <schwab@redhat.com>
27838 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27839 it would create a cycle with a link time dependency.
27841 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27843 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27845 * string/Makefile (strop-tests): Add rawmemchr.
27846 * string/test-rawmemchr.c: New file.
27848 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27849 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27850 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27851 when compiling str{,n}casecmp and when AVX is available. Hook up
27852 new optimized code in initializers.
27854 2011-10-19 Andreas Schwab <schwab@redhat.com>
27856 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27857 __feraiseexcept instead of feraiseexcept.
27859 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27861 * math/math_private.h: Define defaults for libc_fetestexcept and
27863 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27864 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27865 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27866 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27867 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27868 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27869 libc_fetestexcept and libc_feupdateenv.
27871 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27872 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27873 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27874 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27875 libc_feholdexcept_setround.
27877 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27878 Add s_nearbyint-c and s_nearbyintf-c.
27879 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27880 nearbyintf inlines.
27881 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27882 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27883 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27884 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27886 * math/math_private.h: Define defaults for libc_fegetround,
27887 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27888 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27889 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27890 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27891 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27892 standard functions.
27893 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27894 Remove comments and hacks for old compiler versions.
27895 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27896 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27897 libc_feholdexceptl.
27899 2011-10-18 Andreas Schwab <schwab@redhat.com>
27901 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27902 (__feraiseexcept_renamed): Add __NTH.
27903 (feraiseexcept): Add __NTH. Rename local variables to fix
27904 namespace violations.
27906 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27908 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27910 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27912 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27913 recently added interfaces.
27914 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27916 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27917 about macro parameter expansion.
27919 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27920 __NO_MATH_INLINES is defined. Cleanups.
27922 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27923 and __floorf is target has SSE4.1.
27924 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27925 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27926 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27927 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27929 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27931 (floorf): Likewise.
27933 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27935 2011-10-17 Andreas Schwab <schwab@redhat.com>
27937 * misc/sys/cdefs.h: Fix last change.
27939 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27942 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27944 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27946 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27947 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27948 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27949 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27950 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27951 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27952 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27953 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27954 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27955 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27956 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27957 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27958 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27959 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27960 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27961 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27962 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27963 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27964 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27965 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27966 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27967 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27969 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27970 ceil, ceilf, floor, floorf.
27972 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27973 Perform IRELATIVE relocations last.
27975 * elf/do-rel.h: Add another parameter nrelative, replacing the
27976 local variable with the same name. Change name of the function
27977 to end in Rel or Rela (uppercase).
27978 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27979 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27980 elf_dynamic_do_##reloc function.
27982 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27984 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27985 is sufficient, at least on modern CPUs.
27987 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27989 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27990 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27992 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27994 * math/bits/math-finite.h: Add entries for exp.
27995 * math/e_expl.c: Add __*_finite alias.
27996 * sysdeps/i386/fpu/e_exp.S: Likewise.
27997 * sysdeps/i386/fpu/e_expf.S: Likewise.
27998 * sysdeps/i386/fpu/e_expl.c: Likewise.
27999 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28000 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28001 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28002 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28003 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28004 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28005 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28007 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28008 is sufficient, at least on modern CPUs.
28010 * ctype/ctype-info.c (__ctype_init): Define.
28011 * include/ctype.h (__ctype_init): Declare.
28012 (__ctype_b_loc): The variable is always initialized.
28013 (__ctype_toupper_loc): Likewise.
28014 (__ctype_tolower_loc): Likewise.
28015 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28016 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28018 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28020 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28022 * configure.in: Also look in $cxxmachine/include for C++ system
28025 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28027 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28028 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28029 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28030 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28031 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28032 (USE_AS_WMEMCMP): New macro.
28034 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28035 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28036 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28037 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28039 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28040 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28041 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28042 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28043 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28044 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28045 (USE_AS_WMEMCMP): New macro.
28046 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28047 * sysdeps/string/test-memcmp.c: Update.
28048 Fix simple_wmemcmp.
28050 * wcsmbs/wmemcmp.c: Update.
28051 (WMEMCMP): New macro.
28054 2011-10-12 Andreas Jaeger <aj@suse.de>
28057 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28059 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28061 * libio/iofwide.c (do_length): Avoid warning.
28063 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28065 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28067 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28069 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28070 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28071 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28072 * sysdeps/i386/i686/fpu/e_log.S: New file.
28073 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28074 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28076 * ctype/ctype.h: Add support for inlined isXXX functions when
28077 compiling C++ code.
28079 2011-10-14 Andreas Schwab <schwab@redhat.com>
28081 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28083 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28085 2011-10-13 Roland McGrath <roland@hack.frob.com>
28088 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28090 2011-10-13 Andreas Schwab <schwab@redhat.com>
28092 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28093 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28096 * sysdeps/x86_64/memrchr.S: Check for zero size.
28098 * string/stratcliff.c: Add memrchr tests.
28100 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28103 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28104 rawmemchr-sse2 rawmemchr-sse2-bsf.
28105 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28106 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28107 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28108 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28109 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28110 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28111 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28112 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28113 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28114 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28115 * string/memrchr.c (MEMRCHR): New macro.
28117 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28119 Add integration with gcc's -ffinite-math-only and optimize wrapper
28121 * Versions.def: Define GLIBC_2.15 version for libm.
28122 * math/Makefile (headers): Add bits/math-finite.h.
28123 * math/bits/math-finite.h: New file.
28124 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28125 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28126 * math/e_acoshl.c: Add __*_finite alias.
28127 * math/e_acosl.c: Likewise.
28128 * math/e_asinl.c: Likewise.
28129 * math/e_atan2l.c: Likewise.
28130 * math/e_atanhl.c: Likewise.
28131 * math/e_coshl.c: Likewise.
28132 * math/e_exp10.c: Likewise.
28133 * math/e_exp10f.c: Likewise.
28134 * math/e_exp10l.c: Likewise.
28135 * math/e_exp2l.c: Likewise.
28136 * math/e_fmodl.c: Likewise.
28137 * math/e_gammal_r.c: Likewise.
28138 * math/e_hypotl.c: Likewise.
28139 * math/e_j0l.c: Likewise.
28140 * math/e_j1l.c: Likewise.
28141 * math/e_jnl.c: Likewise.
28142 * math/e_lgammal_r.c: Likewise.
28143 * math/e_log10l.c: Likewise.
28144 * math/e_log2l.c: Likewise.
28145 * math/e_logl.c: Likewise.
28146 * math/e_powl.c: Likewise.
28147 * math/e_sinhl.c: Likewise.
28148 * math/e_sqrtl.c: Likewise.
28149 * math/e_scalb.c: Completely rewritten and optimized.
28150 * math/e_scalbf.c: Likewise.
28151 * math/e_scalbl.c: Likewise.
28152 * math/w_acos.c: Likewise.
28153 * math/w_acosf.c: Likewise.
28154 * math/w_acosl.c: Likewise.
28155 * math/w_acosh.c: Likewise.
28156 * math/w_acoshf.c: Likewise.
28157 * math/w_acoshl.c: Likewise.
28158 * math/w_asin.c: Likewise.
28159 * math/w_asinf.c: Likewise.
28160 * math/w_asinl.c: Likewise.
28161 * math/w_atan2.c: Likewise.
28162 * math/w_atan2f.c: Likewise.
28163 * math/w_atan2l.c: Likewise.
28164 * math/w_atanh.c: Likewise.
28165 * math/w_atanhf.c: Likewise.
28166 * math/w_atanhl.c: Likewise.
28167 * math/w_exp10.c: Likewise.
28168 * math/w_exp10f.c: Likewise.
28169 * math/w_exp10l.c: Likewise.
28170 * math/w_fmod.c: Likewise.
28171 * math/w_fmodf.c: Likewise.
28172 * math/w_fmodl.c: Likewise.
28173 * math/w_j0.c: Likewise.
28174 * math/w_j0f.c: Likewise.
28175 * math/w_j0l.c: Likewise.
28176 * math/w_j1.c: Likewise.
28177 * math/w_j1f.c: Likewise.
28178 * math/w_j1l.c: Likewise.
28179 * math/w_jn.c: Likewise.
28180 * math/w_jnf.c: Likewise.
28181 * math/w_log.c: Likewise.
28182 * math/w_logf.c: Likewise.
28183 * math/w_logl.c: Likewise.
28184 * math/w_log10.c: Likewise.
28185 * math/w_log10f.c: Likewise.
28186 * math/w_log10l.c: Likewise.
28187 * math/w_log2.c: Likewise.
28188 * math/w_log2f.c: Likewise.
28189 * math/w_log2l.c: Likewise.
28190 * math/w_pow.c: Likewise.
28191 * math/w_powf.c: Likewise.
28192 * math/w_powl.c: Likewise.
28193 * math/w_remainder.c: Likewise.
28194 * math/w_remainderf.c: Likewise.
28195 * math/w_remainderl.c: Likewise.
28196 * math/w_scalb.c: Likewise.
28197 * math/w_scalbf.c: Likewise.
28198 * math/w_scalbl.c: Likewise.
28199 * math/w_sqrt.c: Likewise.
28200 * math/w_sqrtf.c: Likewise.
28201 * math/w_sqrtl.c: Likewise.
28202 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28203 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28205 * math/math_private.h: Declare __kernel_standard_f.
28206 * math/w_cosh.c: Remove cruft and optimize a bit.
28207 * math/w_coshf.c: Likewise.
28208 * math/w_coshl.c: Likewise.
28209 * math/w_exp2.c: Likewise.
28210 * math/w_exp2f.c: Likewise.
28211 * math/w_exp2l.c: Likewise.
28212 * math/w_hypot.c: Likewise.
28213 * math/w_hypotf.c: Likewise.
28214 * math/w_hypotl.c: Likewise.
28215 * math/w_lgamma.c: Likewise.
28216 * math/w_lgamma_r.c: Likewise.
28217 * math/w_lgammaf.c: Likewise.
28218 * math/w_lgammaf_r.c: Likewise.
28219 * math/w_lgammal.c: Likewise.
28220 * math/w_lgammal_r.c: Likewise.
28221 * math/w_sinh.c: Likewise.
28222 * math/w_sinhf.c: Likewise.
28223 * math/w_sinhl.c: Likewise.
28224 * math/w_tgamma.c: Likewise.
28225 * math/w_tgammaf.c: Likewise.
28226 * math/w_tgammal.c: Likewise.
28227 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28228 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28229 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28230 Minor optimizations. Pretty printing. Remove cruft.
28231 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28232 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28233 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28234 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28235 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28236 * sysdeps/i386/fpu/e_asin.S: Likewise.
28237 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28238 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28239 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28240 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28241 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28242 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28243 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28244 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28245 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28246 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28247 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28248 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28249 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28250 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28251 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28252 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28253 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28254 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28255 * sysdeps/i386/fpu/e_log.S: Likewise.
28256 * sysdeps/i386/fpu/e_log10.S: Likewise.
28257 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28258 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28259 * sysdeps/i386/fpu/e_log2.S: Likewise.
28260 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28261 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28262 * sysdeps/i386/fpu/e_logf.S: Likewise.
28263 * sysdeps/i386/fpu/e_logl.S: Likewise.
28264 * sysdeps/i386/fpu/e_pow.S: Likewise.
28265 * sysdeps/i386/fpu/e_powf.S: Likewise.
28266 * sysdeps/i386/fpu/e_powl.S: Likewise.
28267 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28268 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28269 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28270 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28271 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28272 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28273 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28274 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28275 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28276 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28277 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28278 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28279 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28280 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28281 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28282 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28283 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28284 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28285 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28286 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28287 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28288 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28289 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28290 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28292 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28293 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28294 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28295 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28296 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28297 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28298 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28299 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28300 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28301 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28302 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28303 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28304 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28305 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28306 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28307 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28308 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28309 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28310 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28311 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28312 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28313 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28314 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28315 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28316 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28317 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28318 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28319 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28320 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28321 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28322 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28323 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28324 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28325 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28326 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28327 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28328 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28329 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28330 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28331 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28332 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28333 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28335 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28336 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28337 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28338 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28340 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28341 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28342 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28344 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28345 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28346 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28347 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28348 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28349 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28350 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28351 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28352 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28353 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28354 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28355 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28356 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28357 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28358 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28359 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28360 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28361 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28362 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28363 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28364 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28365 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28366 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28367 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28368 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28369 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28370 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28371 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28372 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28373 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28374 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28375 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28376 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28377 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28378 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28379 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28380 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28381 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28382 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28383 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28384 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28385 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28386 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28387 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28388 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28389 (__isnanf): Likewise.
28390 (__isinf_ns): Likewise.
28391 (__isinf_nsf): Likewise.
28392 (__finite): Likewise.
28393 (__finitef): Likewise.
28394 (__ieee754_sqrt): Define as macro.
28395 (__ieee754_sqrtf): Define as macro.
28396 (__ieee754_sqrtl): Define as macro.
28397 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28399 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28400 __FINITE_MATH_ONLY__ consistent.
28401 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28403 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28405 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28408 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28410 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28412 * po/ja.po: Update from translation team.
28414 2011-10-08 Roland McGrath <roland@hack.frob.com>
28416 * locale/programs/locarchive.c (prepare_address_space): New function.
28417 (create_archive, enlarge_archive, open_archive): Use it.
28419 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28420 inside [SHARED], where it is used.
28422 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28424 * nss/getent.c (netgroup_keys): Remove unused variable.
28425 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28427 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28429 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28430 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28431 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28432 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28433 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28434 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28435 * math/Makefile (libm-calls): Add s_isinf_ns.
28436 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28437 * math/multc3.c: Likewise.
28438 * math/s_casin.c: Likewise.
28439 * math/s_casinf.c: Likewise.
28440 * math/s_casinl.c: Likewise.
28441 * math/s_ccos.c: Likewise.
28442 * math/s_ccosf.c: Likewise.
28443 * math/s_ccosl.c: Likewise.
28444 * math/s_ctan.c: Likewise.
28445 * math/s_ctanf.c: Likewise.
28446 * math/s_ctanh.c: Likewise.
28447 * math/s_ctanhf.c: Likewise.
28448 * math/s_ctanhl.c: Likewise.
28449 * math/s_ctanl.c: Likewise.
28450 * math/w_fmod.c: Likewise.
28451 * math/w_fmodf.c: Likewise.
28452 * math/w_fmodl.c: Likewise.
28453 * math/w_remainder.c: Likewise.
28454 * math/w_remainderf.c: Likewise.
28455 * math/w_remainderl.c: Likewise.
28456 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28457 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28458 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28459 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28460 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28461 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28462 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28463 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28465 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28467 * stdio-common/printf_fphex.c: Likewise.
28468 * stdio-common/printf_size.c: Likewise.
28470 * math/e_exp10.c: Include math_private.h using <...> not "...".
28471 * math/e_exp10f.c: Likewise.
28472 * math/e_exp10l.c: Likewise.
28473 * math/e_exp2l.c: Likewise.
28474 * math/e_j0l.c: Likewise.
28475 * math/e_j1l.c: Likewise.
28476 * math/e_jnl.c: Likewise.
28477 * math/e_lgammal_r.c: Likewise.
28478 * math/e_rem_pio2l.c: Likewise.
28479 * math/e_scalb.c: Likewise.
28480 * math/e_scalbf.c: Likewise.
28481 * math/e_scalbl.c: Likewise.
28482 * math/k_cosl.c: Likewise.
28483 * math/k_sinl.c: Likewise.
28484 * math/k_tanl.c: Likewise.
28485 * math/s_cacoshf.c: Likewise.
28486 * math/s_catan.c: Likewise.
28487 * math/s_catanf.c: Likewise.
28488 * math/s_catanh.c: Likewise.
28489 * math/s_catanhf.c: Likewise.
28490 * math/s_catanhl.c: Likewise.
28491 * math/s_catanl.c: Likewise.
28492 * math/s_ccosh.c: Likewise.
28493 * math/s_ccoshf.c: Likewise.
28494 * math/s_ccoshl.c: Likewise.
28495 * math/s_cexp.c: Likewise.
28496 * math/s_cexpf.c: Likewise.
28497 * math/s_cexpl.c: Likewise.
28498 * math/s_clog.c: Likewise.
28499 * math/s_clog10.c: Likewise.
28500 * math/s_clog10f.c: Likewise.
28501 * math/s_clog10l.c: Likewise.
28502 * math/s_clogf.c: Likewise.
28503 * math/s_clogl.c: Likewise.
28504 * math/s_csin.c: Likewise.
28505 * math/s_csinf.c: Likewise.
28506 * math/s_csinh.c: Likewise.
28507 * math/s_csinhf.c: Likewise.
28508 * math/s_csinhl.c: Likewise.
28509 * math/s_csinl.c: Likewise.
28510 * math/s_csqrt.c: Likewise.
28511 * math/s_csqrtf.c: Likewise.
28512 * math/s_csqrtl.c: Likewise.
28513 * math/s_ctan.c: Likewise.
28514 * math/s_ctanf.c: Likewise.
28515 * math/s_ctanh.c: Likewise.
28516 * math/s_ctanhf.c: Likewise.
28517 * math/s_ctanhl.c: Likewise.
28518 * math/s_ctanl.c: Likewise.
28519 * math/s_ldexp.c: Likewise.
28520 * math/s_ldexpf.c: Likewise.
28521 * math/s_ldexpl.c: Likewise.
28522 * math/s_significand.c: Likewise.
28523 * math/s_significandf.c: Likewise.
28524 * math/s_significandl.c: Likewise.
28525 * math/w_acos.c: Likewise.
28526 * math/w_acosf.c: Likewise.
28527 * math/w_acosh.c: Likewise.
28528 * math/w_acoshf.c: Likewise.
28529 * math/w_acoshl.c: Likewise.
28530 * math/w_acosl.c: Likewise.
28531 * math/w_asin.c: Likewise.
28532 * math/w_asinf.c: Likewise.
28533 * math/w_asinl.c: Likewise.
28534 * math/w_atan2.c: Likewise.
28535 * math/w_atan2f.c: Likewise.
28536 * math/w_atan2l.c: Likewise.
28537 * math/w_atanh.c: Likewise.
28538 * math/w_atanhf.c: Likewise.
28539 * math/w_atanhl.c: Likewise.
28540 * math/w_cosh.c: Likewise.
28541 * math/w_coshf.c: Likewise.
28542 * math/w_coshl.c: Likewise.
28543 * math/w_dremf.c: Likewise.
28544 * math/w_exp10.c: Likewise.
28545 * math/w_exp10f.c: Likewise.
28546 * math/w_exp10l.c: Likewise.
28547 * math/w_exp2.c: Likewise.
28548 * math/w_exp2f.c: Likewise.
28549 * math/w_fmod.c: Likewise.
28550 * math/w_fmodf.c: Likewise.
28551 * math/w_fmodl.c: Likewise.
28552 * math/w_hypot.c: Likewise.
28553 * math/w_hypotf.c: Likewise.
28554 * math/w_hypotl.c: Likewise.
28555 * math/w_j0.c: Likewise.
28556 * math/w_j0f.c: Likewise.
28557 * math/w_j0l.c: Likewise.
28558 * math/w_j1.c: Likewise.
28559 * math/w_j1f.c: Likewise.
28560 * math/w_j1l.c: Likewise.
28561 * math/w_jn.c: Likewise.
28562 * math/w_jnf.c: Likewise.
28563 * math/w_jnl.c: Likewise.
28564 * math/w_lgamma.c: Likewise.
28565 * math/w_lgamma_r.c: Likewise.
28566 * math/w_lgammaf.c: Likewise.
28567 * math/w_lgammaf_r.c: Likewise.
28568 * math/w_lgammal.c: Likewise.
28569 * math/w_lgammal_r.c: Likewise.
28570 * math/w_log.c: Likewise.
28571 * math/w_log10.c: Likewise.
28572 * math/w_log10f.c: Likewise.
28573 * math/w_log10l.c: Likewise.
28574 * math/w_log2.c: Likewise.
28575 * math/w_log2f.c: Likewise.
28576 * math/w_log2l.c: Likewise.
28577 * math/w_logf.c: Likewise.
28578 * math/w_logl.c: Likewise.
28579 * math/w_pow.c: Likewise.
28580 * math/w_powf.c: Likewise.
28581 * math/w_powl.c: Likewise.
28582 * math/w_remainder.c: Likewise.
28583 * math/w_remainderf.c: Likewise.
28584 * math/w_remainderl.c: Likewise.
28585 * math/w_scalb.c: Likewise.
28586 * math/w_scalbf.c: Likewise.
28587 * math/w_scalbl.c: Likewise.
28588 * math/w_sinh.c: Likewise.
28589 * math/w_sinhf.c: Likewise.
28590 * math/w_sinhl.c: Likewise.
28591 * math/w_sqrt.c: Likewise.
28592 * math/w_sqrtf.c: Likewise.
28593 * math/w_sqrtl.c: Likewise.
28594 * math/w_tgamma.c: Likewise.
28595 * math/w_tgammaf.c: Likewise.
28596 * math/w_tgammal.c: Likewise.
28598 * po/ja.po: Update from translation team.
28600 2011-09-29 Andreas Jaeger <aj@suse.de>
28603 * sunrpc/netname.c (netname2host): Fix logic.
28607 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28609 * math/w_remainder.c (__remainder): Likewise.
28610 * math/w_remainderf.c (__remainderf): Likewise.
28611 * math/libm-test.inc (remainder_test): Add test cases.
28613 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28615 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28618 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28620 * string/test-memcmp.c: Avoid unncessary #defines.
28621 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28623 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28625 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28626 Use new sse2 version for core i3 - i7 as it's faster
28627 than sse42 version.
28628 (bit_Prefer_PMINUB_for_stringop): New.
28629 * sysdeps/x86_64/rawmemchr.S: Update.
28630 Replace with faster SSE2 version.
28631 * sysdeps/x86_64/memrchr.S: New file.
28632 * sysdeps/x86_64/memchr.S: Update.
28633 Replace with faster SSE2 version.
28635 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28637 * elf/dl-load.c (lose): Add cast to avoid warning.
28639 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28641 * po/ca.po: Update from translation team.
28643 * inet/getnetgrent_r.c: Hook up nscd.
28644 * nscd/Makefile (routines): Add nscd_netgroup.
28645 (nscd-modules): Add netgroupcache.
28646 (CFLAGS-netgroupcache.c): Define.
28647 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28648 (cache_search): Add const to second parameter.
28649 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28651 (dbs): Add netgrdb entry.
28652 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28653 (verify_persistent_db): Handle netgrdb.
28654 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28655 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28657 (netgroup_response_header): Define.
28658 (innetgroup_response_header): Define.
28659 (datahead): Add netgroup_response_header and innetgroup_response_header
28661 * nscd/nscd.conf: Add entries for netgroup cache.
28662 * nscd/nscd.h (dbtype): Add netgrdb.
28663 (_PATH_NSCD_NETGROUP_DB): Define.
28664 (netgroup_iov_disabled): Declare.
28665 (xmalloc, xcalloc, xrealloc): Move declarations here.
28666 (cache_search): Adjust prototype.
28667 Add netgroup-related prototypes.
28668 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28669 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28670 (__nscd_innetgr): Declare.
28671 * nscd/selinux.c (perms): Use access_vector_t as element type and
28672 add netgroup-related initializers.
28673 * nscd/netgroupcache.c: New file.
28674 * nscd/nscd_netgroup.c: New file.
28675 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28676 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28677 For four parameters use innetgr.
28678 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28679 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28680 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28681 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28683 * nscd/connections.c (register_traced_file): Don't register file
28684 for disabled databases.
28686 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28688 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28690 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28691 from tree and freeing node.
28693 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28695 * nss/nsswitch.c (__nss_database_lookup): Handle
28696 nss_parse_service_list out of memory case.
28698 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28700 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28701 out of memory case.
28703 2011-10-04 Andreas Schwab <schwab@redhat.com>
28705 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28706 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28708 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28709 elf_machine_rela, elf_machine_lazy_rel.
28710 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28711 (ELF_DYNAMIC_DO_REL): Likewise.
28712 (ELF_DYNAMIC_DO_RELA): Likewise.
28713 (ELF_DYNAMIC_RELOCATE): Likewise.
28714 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28715 to ELF_DYNAMIC_DO_REL.
28716 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28717 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28718 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28720 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28721 skip_ifunc, don't call ifunc function if non-zero.
28722 (elf_machine_rela): Likewise.
28723 (elf_machine_lazy_rel): Likewise.
28724 (elf_machine_lazy_rela): Likewise.
28725 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28726 (elf_machine_lazy_rel): Likewise.
28727 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28729 (elf_machine_lazy_rel): Likewise.
28730 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28732 (elf_machine_lazy_rel): Likewise.
28733 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28734 (elf_machine_lazy_rel): Likewise.
28735 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28736 (elf_machine_lazy_rel): Likewise.
28737 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28738 (elf_machine_lazy_rel): Likewise.
28739 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28740 (elf_machine_lazy_rel): Likewise.
28741 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28742 (elf_machine_lazy_rel): Likewise.
28743 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28744 (elf_machine_lazy_rel): Likewise.
28746 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28748 * nss/nss_files/files-init.c (_nss_files_init): Use static
28749 initialization for all the *_traced_file variables.
28751 2011-09-28 Andreas Schwab <schwab@redhat.com>
28753 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28755 2011-09-27 Roland McGrath <roland@hack.frob.com>
28758 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28760 2011-09-27 Andreas Schwab <schwab@redhat.com>
28762 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28763 Reread the line before reparsing it.
28765 2011-09-26 Andreas Schwab <schwab@redhat.com>
28767 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28769 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28770 Maxim Kuvyrkov <maxim@codesourcery.com>
28771 Joseph Myers <joseph@codesourcery.com>
28773 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28774 if needed for __stack_chk_guard.
28776 2011-09-19 Roland McGrath <roland@hack.frob.com>
28778 * sysdeps/posix/spawni.c (script_execute): Always define it.
28779 It will be optimized away if unused.
28780 (maybe_script_execute): New function.
28781 (__spawni): Call it.
28783 * Makerules: Don't include tls.make.
28784 (config-tls): Always set to thread.
28785 * tls.make.c: File removed.
28787 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28789 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28790 * config.make.in (CPPFLAGS-config): New substituted variable.
28792 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28794 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28797 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28798 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28800 2011-09-15 Roland McGrath <roland@hack.frob.com>
28802 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28803 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28805 (CALL_FAIL): Likewise.
28806 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28807 (CALL_FAIL): Macro removed.
28808 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28810 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28812 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28813 for __FINITE_MATH_ONLY__ == 1.
28815 2011-09-15 Andreas Schwab <schwab@redhat.com>
28817 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28818 __ieee754_sqrt instead of sqrt.
28819 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28820 __ieee754_sqrtf instead of sqrtf.
28821 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28822 __floorf instead of floorf.
28823 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28824 __floorf, __truncf instead of floorf, truncf.
28826 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28828 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28830 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28831 __extern_always_inline.
28832 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28835 2011-09-14 Andreas Schwab <schwab@redhat.com>
28837 * elf/rtld.c (dl_main): Also relocate in dependency order when
28838 doing symbol dependency testing.
28840 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28842 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28843 Always define `refsym'.
28845 2011-09-13 Andreas Schwab <schwab@redhat.com>
28847 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28848 (__FD_ELT): Renamed from __FDELT.
28849 * misc/bits/select2.h (__FD_ELT): Likewise.
28850 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28851 __FD_MASK instead of __FDELT, __FDMASK.
28852 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28854 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28857 * elf/Makefile (gen-ldd): Fix pattern.
28859 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28860 (init_tls): Likewise.
28862 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28864 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28866 2011-09-12 Andreas Schwab <schwab@redhat.com>
28868 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28869 `struct cmsghdr *' instead of `void *'.
28870 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28873 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28875 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28877 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28878 ldd_rewrite_script.
28880 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28882 * configure.in: Remove --with-tls option.
28883 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28884 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28885 out in case it is missing.
28886 * sysdeps/ia64/elf/configure.in: Likewise.
28887 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28888 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28889 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28890 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28891 * sysdeps/sh/elf/configure.in: Likewise.
28892 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28893 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28894 * sysdeps/x86_64/elf/configure.in: Likewise.
28895 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28896 * sysdeps/mach/hurd/tls.h: Likewise.
28899 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28902 * configure.in: Fix use of AC_INIT.
28904 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28906 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28908 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28910 * malloc/hooks.c: Likewise.
28913 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28914 variables statically.
28915 (narenas): Initialize.
28916 (list_lock): Initialize.
28917 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28918 initializtion of main_arena and list_lock. Small cleanups.
28919 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28920 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28921 Add initializers to main_arena and mp_.
28922 (malloc_state): Remove pagesize member. Change all users to use
28925 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28926 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28927 is always initialized.
28929 * malloc/malloc.c: Removed unused configurations and dead code.
28930 * malloc/arena.c: Likewise.
28931 * malloc/hooks.c: Likewise.
28932 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28934 * include/tls.h: Removed. USE___THREAD must always be defined.
28935 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28936 * elf/dl-libc.c: Likewise.
28937 * elf/dl-tsd.c: Likewise.
28938 * include/errno.h: Likewise.
28939 * include/netdb.h: Likewise.
28940 * include/resolv.h: Likewise.
28941 * inet/herrno-loc.c: Likewise.
28942 * inet/herrno.c: Likewise.
28943 * malloc/arena.c: Likewise.
28944 * malloc/hooks.c: Likewise.
28945 * malloc/malloc.c: Likewise.
28946 * resolv/res-state.c: Likewise.
28947 * resolv/res_libc.c: Likewise.
28948 * sysdeps/i386/dl-machine.h: Likewise.
28949 * sysdeps/ia64/dl-machine.h: Likewise.
28950 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28951 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28952 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28953 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28954 * sysdeps/sh/dl-machine.h: Likewise.
28955 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28956 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28957 * sysdeps/unix/i386/sysdep.S: Likewise.
28958 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28959 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28960 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28962 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28963 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28964 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28965 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28966 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28968 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28969 * sysdeps/x86_64/dl-machine.h: Likewise.
28970 * tls.make.c: Likewise.
28972 * configure.in: Remove --with-__thread option. Make tests for
28973 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28974 tls_model attribute fail if no support is available. Remove
28976 * Makeconfig: Adjust for dropped configure option. All features are
28978 * Makerules: Likewise.
28979 * Versions.def: Likewise.
28980 * argp/argp-fmtstream.c: Likewise.
28981 * argp/argp-fmtstream.h: Likewise.
28982 * argp/argp-help.c: Likewise.
28983 * assert/assert.c: Likewise.
28984 * config.h.in: Likewise.
28985 * config.make.in: Likewise.
28986 * configure: Likewise.
28987 * configure.in: Likewise.
28988 * csu/Versions: Likewise.
28989 * csu/init.c: Likewise.
28990 * elf/tst-audit2.c: Likewise.
28991 * elf/tst-tls10.c: Likewise.
28992 * elf/tst-tls10.h: Likewise.
28993 * elf/tst-tls11.c: Likewise.
28994 * elf/tst-tls12.c: Likewise.
28995 * elf/tst-tls14.c: Likewise.
28996 * elf/tst-tlsmod11.c: Likewise.
28997 * elf/tst-tlsmod12.c: Likewise.
28998 * elf/tst-tlsmod13.c: Likewise.
28999 * elf/tst-tlsmod13a.c: Likewise.
29000 * elf/tst-tlsmod14a.c: Likewise.
29001 * elf/tst-tlsmod15b.c: Likewise.
29002 * elf/tst-tlsmod16a.c: Likewise.
29003 * elf/tst-tlsmod16b.c: Likewise.
29004 * elf/tst-tlsmod7.c: Likewise.
29005 * elf/tst-tlsmod8.c: Likewise.
29006 * elf/tst-tlsmod9.c: Likewise.
29007 * gmon/gmon.c: Likewise.
29008 * grp/fgetgrent_r.c: Likewise.
29009 * grp/putgrent.c: Likewise.
29010 * hurd/fopenport.c: Likewise.
29011 * include/libc-symbols.h: Likewise.
29012 * include/tls.h: Likewise.
29013 * intl/gettextP.h: Likewise.
29014 * intl/loadinfo.h: Likewise.
29015 * locale/global-locale.c: Likewise.
29016 * locale/localeinfo.h: Likewise.
29017 * mach/devstream.c: Likewise.
29018 * malloc/arena.c: Likewise.
29019 * malloc/set-freeres.c: Likewise.
29020 * misc/err.c: Likewise.
29021 * misc/getttyent.c: Likewise.
29022 * misc/mntent_r.c: Likewise.
29023 * posix/getopt.c: Likewise.
29024 * posix/wordexp.c: Likewise.
29025 * pwd/fgetpwent_r.c: Likewise.
29026 * resolv/Versions: Likewise.
29027 * resolv/res_hconf.c: Likewise.
29028 * shadow/fgetspent_r.c: Likewise.
29029 * shadow/putspent.c: Likewise.
29030 * stdio-common/printf_fphex.c: Likewise.
29031 * stdio-common/tmpfile.c: Likewise.
29032 * stdlib/abort.c: Likewise.
29033 * stdlib/fmtmsg.c: Likewise.
29034 * sunrpc/auth_unix.c: Likewise.
29035 * sunrpc/clnt_perr.c: Likewise.
29036 * sunrpc/clnt_tcp.c: Likewise.
29037 * sunrpc/clnt_udp.c: Likewise.
29038 * sunrpc/clnt_unix.c: Likewise.
29039 * sunrpc/openchild.c: Likewise.
29040 * sunrpc/svc_simple.c: Likewise.
29041 * sunrpc/svc_tcp.c: Likewise.
29042 * sunrpc/svc_udp.c: Likewise.
29043 * sunrpc/svc_unix.c: Likewise.
29044 * sunrpc/xdr.c: Likewise.
29045 * sunrpc/xdr_array.c: Likewise.
29046 * sunrpc/xdr_rec.c: Likewise.
29047 * sunrpc/xdr_ref.c: Likewise.
29048 * sunrpc/xdr_stdio.c: Likewise.
29050 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29052 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29054 2011-07-03 Andreas Jaeger <aj@suse.de>
29056 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29057 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29058 regenerate with gen-libm-tests.pl.
29060 2010-05-12 Petr Baudis <pasky@suse.cz>
29063 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29064 around j0() zero points by switching to j1().
29065 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29066 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29067 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29068 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29070 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29072 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29074 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29077 Patch in part by Pavel Roskin <proski@gnu.org>.
29080 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29082 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29083 Free memory block if necessary.
29086 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29087 be NULL. Don't lock in this case.
29089 2011-09-09 Roland McGrath <roland@hack.frob.com>
29091 * elf/elf.h (ELFOSABI_GNU): New macro.
29092 (ELFOSABI_LINUX): Define to that.
29094 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29096 * string/strncat.c (strncat): Undef the symbol in case it has been
29097 defined in bits/string.h.
29099 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29101 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29103 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29106 2011-08-17 Andreas Jaeger <aj@suse.de>
29108 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29110 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29111 Ian Lance Taylor <iant@google.com>
29113 * math/libm-test.inc (lround_test): New testcase.
29114 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29116 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29118 * Makefile: Remove support for automatic cvs check-ins.
29119 * Makerules: Likewise.
29120 * config.make.in: Likewise.
29121 * configure.in: Likewise.
29122 * intl/Makefile: Likewise.
29123 * locale/Makefile: Likewise.
29124 * po/Makefile: Likewise.
29125 * posix/Makefile: Likewise.
29126 * sysdeps/gnu/Makefile: Likewise.
29127 * sysdeps/mach/hurd/Makefile: Likewise.
29128 * sysdeps/sparc/sparc32/Makefile: Likewise.
29131 * posix/Makefile (bug-regex32-ENV): Define.
29132 Patch by John Stanley <jpsinthemix@verizon.net>.
29134 * misc/Makefile (headers): Add bits/select2.h.
29135 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29136 * misc/bits/select2.h: New file.
29137 * include/bits/select2.h: New file.
29138 * debug/Makefile (routines): Add fdelt_chk.
29139 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29140 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29142 * debug/fdelt_chk.c: New file.
29144 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29145 * wcsmbs/test-wmemcmp.c: Likewise.
29146 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29147 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29149 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29151 * string/Makefile (strop-tests): Add memcmp.
29152 * string/test-wmemcmp.c: New file.
29153 * string/test-memcmp.c: Add wmemcmp support.
29155 2011-09-08 Roland McGrath <roland@hack.frob.com>
29158 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29161 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29162 garbage value in a __mach_port_mod_refs call in the cases of the
29163 task-self and thread-self ports.
29165 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29167 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29169 2011-09-08 Andreas Schwab <schwab@redhat.com>
29171 * elf/dl-load.c (lose): Check for non-null L.
29173 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29175 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29177 * elf/dl-libc.c (dlerror_run): Pass back error code from
29181 * elf/dl-load.c (lose): Free l_origin if it is valid.
29183 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29185 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29186 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29187 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29188 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29189 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29190 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29192 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29194 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29195 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29196 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29197 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29198 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29199 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29200 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29201 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29202 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29203 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29205 2011-08-15 Alan Modra <amodra@gmail.com>
29208 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29209 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29210 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29211 ppc_mcount to static-only-routines.
29212 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29214 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29215 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29217 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29219 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29220 for finite and infinity parameters.
29222 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29224 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29225 and add nop instructions for throughput optimization.
29226 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29228 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29230 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29231 aligned copy for power7 with vector-scalar instructions.
29232 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29234 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29239 2011-09-07 Andreas Schwab <schwab@redhat.com>
29242 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29245 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29247 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29248 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29249 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29250 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29253 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29255 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29256 Forgot to demangle the pointer.
29258 * sysdeps/i386/sysdep.h: Define atom_text_section.
29259 * sysdeps/x86_64/sysdep.h: Likewise.
29260 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29261 section with atom_text_section.
29262 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29263 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29264 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29266 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29268 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29269 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29270 already be defined. Change to take two parameters and don't assign
29271 result to variable. Adjust all users.
29272 Define INTERNAL_GETTIME if not already defined.
29273 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29275 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29276 HAVE_CLOCK_GETTIME_VSYSCALL.
29277 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29280 gettimeofday vsyscall, just use time.
29282 2011-09-06 Andreas Schwab <schwab@redhat.com>
29284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29287 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29289 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29291 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29293 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29294 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29295 syscall if possible.
29297 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29299 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29300 e_ident. Don't pass to find_mapsXX.
29301 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29303 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29306 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29307 * sysdeps/x86_64/multiarch/strchr.S: Update.
29308 Check bit_slow_BSF bit.
29309 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29310 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29311 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29313 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29316 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29318 (tryshell): Define.
29319 (__spawni): Change last parameter to be flag. Test
29320 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29321 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29322 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29323 * posix/spawni.c: Likewise.
29324 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29325 * posix/spawnp.c: Likewise. Change normal version to use
29326 SPAWN_XFLAGS_USE_PATH.
29327 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29328 SPAWN_XFLAGS_TRY_SHELL.
29331 * posix/glob.h: Remove gcc 1.x support.
29334 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29336 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29339 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29341 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29342 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29343 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29344 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29345 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29346 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29348 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29350 * sysdeps/x86_64/wcscmp.S: New file.
29352 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29353 wcscmp-c wcscmp-sse2
29354 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29355 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29356 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29357 * wcsmbs/wcscmp.c: Allow renaming.
29359 2011-09-05 David S. Miller <davem@davemloft.net>
29361 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29362 stack slot, rather than the struct return pointer slot.
29363 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29364 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29366 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29368 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29370 * po/ja.po: Update from translation team.
29373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29374 kernel in 64-bit binaries.
29376 2011-09-01 David S. Miller <davem@davemloft.net>
29378 * elf/elf.h (HWCAP_SPARC_*): Move to..
29379 * sysdeps/sparc/sysdep.h: this new file and add new values.
29380 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29381 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29382 _DL_HWCAP_COUNT to 24.
29383 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29385 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29386 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29387 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29388 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29389 instead of magic constants.
29390 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29392 2011-08-31 David S. Miller <davem@davemloft.net>
29394 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29395 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29396 Reimplement to do errno handling inline.
29397 (SYSCALL_ERROR_HANDLER): New macro.
29398 (__SYSCALL_STRING): Do not do errno handling in asm.
29399 (__CLONE_SYSCALL_STRING): Delete.
29400 (__INTERNAL_SYSCALL_STRING): Delete.
29401 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29402 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29403 (PSEUDO): Reimplement to do errno handling inline.
29404 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29405 (SYSCALL_ERROR_HANDLER): New macro.
29406 (__SYSCALL_STRING): Do not do errno handling in asm.
29407 (__CLONE_SYSCALL_STRING): Delete.
29408 (__INTERNAL_SYSCALL_STRING): Delete.
29409 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29410 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29412 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29413 (inline_syscall*): Add 'err' argument.
29414 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29415 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29416 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29417 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29419 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29420 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29422 2011-08-30 Andreas Schwab <schwab@redhat.com>
29424 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29426 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29428 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29431 2011-08-24 David S. Miller <davem@davemloft.net>
29433 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29435 2011-08-24 Andreas Schwab <schwab@redhat.com>
29437 * elf/Makefile: Add rules to build and run unload8 test.
29438 * elf/unload8.c: New file.
29439 * elf/unload8mod1.c: New file.
29440 * elf/unload8mod1x.c: New file.
29441 * elf/unload8mod2.c: New file.
29442 * elf/unload8mod3.c: New file.
29444 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29447 2011-08-23 David S. Miller <davem@davemloft.net>
29449 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29450 subtract stack bias.
29451 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29452 %sp not %fp in calculations.
29453 (_JMPBUF_UNWINDS_ADJ): Likewise.
29455 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29456 (aio_suspend): Call it to force an exception region around the
29457 AIO_MISC_WAIT() invocation.
29459 2011-08-23 Andreas Schwab <schwab@redhat.com>
29461 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29464 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29466 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29468 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29469 and <dl-machine.h>.
29470 (Elf64_FuncDesc): Remove.
29472 2011-08-22 David S. Miller <davem@davemloft.net>
29474 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29475 sigaltstack check, add missing cfi directives.
29476 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29477 missing cfi directives, and sigaltstack handling.
29479 2011-08-16 Andreas Schwab <schwab@redhat.com>
29482 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29483 object is seen twice.
29484 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29486 * elf/Makefile (distribute): Add tst-initorder2.c.
29487 (tests): Add tst-initorder2.
29488 (modules-names): Add tst-initorder2a tst-initorder2b
29489 tst-initorder2c tst-initorder2d. Add rules to build them.
29490 ($(objpfx)tst-initorder2.out): New rule.
29491 * elf/tst-initorder2.c: New file.
29492 * elf/tst-initorder2.exp: New file.
29494 2011-08-22 Andreas Schwab <schwab@redhat.com>
29496 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29498 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29499 dependencies back to end of function.
29501 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29502 $(elfobjdir)/ld.so.
29504 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29506 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29507 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29508 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29509 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29510 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29511 of __vdso_gettimeofday.
29512 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29513 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29515 (_libc_vdso_platform_setup): Remove initialization of
29516 __vdso_gettimeofday and __vdso_time.
29518 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29520 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29521 and fgetc_unlocked.
29522 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29525 * elf/dl-open.c (add_to_global): Report additions to the global scope
29526 for LD_DEBUG=scopes.
29527 (dl_open_worker): Also print scope of newly loaded dependencies.
29528 (_dl_show_scope): Indicate if there is no scope.
29531 * stdio-common/Makefile (tests): Add bug24.
29532 * stdio-common/bug24.c: New file.
29534 2011-08-19 Andreas Jaeger <aj@suse.de>
29537 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29538 non-existant file when using close-on-exec mode.
29540 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29543 the very first instruction.
29545 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29546 the CFI state in the end.
29547 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29548 inclusion of dl-trampoline.h.
29549 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29551 2011-08-19 Andreas Schwab <schwab@redhat.com>
29553 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29554 expectations for long double.
29556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29557 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29559 2011-08-14 David S. Miller <davem@davemloft.net>
29561 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29562 artificual limit depends upon the system page size.
29564 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29566 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29567 * resolv/Makefile: Define CFLAGS-libresolv.
29569 2011-08-17 Andreas Schwab <schwab@redhat.com>
29571 * nss/makedb.c (compute_tables): Make variables used in nested
29574 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29576 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29577 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29578 if buffer was too small.
29580 * elf/pldd.c (main): Attach to all threads in the process.
29581 Rewrite /proc handling to use *at functions.
29583 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29585 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29586 specifies first scope to show.
29587 (dl_open_worker): Update callers. Move printing scope of new
29588 object to before the relocation.
29589 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29590 * sysdeps/generic/ldsodefs.h: Update declaration.
29592 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29593 string for the scope number.
29595 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29597 * nscd/servicescache.c (cache_addserv): Make sure written is always
29600 2011-08-14 Roland McGrath <roland@hack.frob.com>
29602 * sysdeps/i386/i486/bits/atomic.h
29603 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29604 statement expression, so as to suppress "set but not used" warning.
29605 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29607 * string/strncat.c (STRNCAT): Use prototype definition.
29609 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29610 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29612 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29613 (localedef-modules): Add localedef.
29614 (locale-modules): Add locale.
29616 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29617 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29618 to avoid a warning.
29620 2011-08-14 David S. Miller <davem@davemloft.net>
29622 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29623 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29625 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29627 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29628 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29629 * elf/rtld.c (dl_main): Set l_name of vDSO.
29630 Call _dl_show_scope when DL_DEBUG_SCOPES.
29631 (process_dl_debug): Recognize scopes flag and also set it for all.
29632 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29633 Declare _dl_show_scope.
29635 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29636 (do_dlopen): Pass caller_dlopen to dl_open.
29637 (__libc_dlopen_mode): Initialize caller_dlopen.
29639 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29640 of libc. Make tolower call locale-independent. Optimize a bit by
29641 using isdigit instead of isalnum.
29642 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29644 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29646 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29647 was a dependency or dynamically loaded.
29649 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29651 * intl/l10nflist.c: Allow architecture-specific pop function.
29652 * sysdeps/x86_64/l10nflist.c: New file.
29654 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29657 2011-08-10 Andreas Schwab <schwab@redhat.com>
29659 * include/dirent.h: Add libc_hidden_proto for scandirat and
29660 scandirat64. Don't declare __scandirat64.
29661 * dirent/scandirat.c: Add libc_hidden_def.
29662 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29663 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29665 2011-08-10 David S. Miller <davem@davemloft.net>
29667 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29669 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29670 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29671 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29673 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29675 * Versions.def [libc]: Add GLIBC_2.15.
29676 * dirent/Makefile (routines): Add scandirat and scandirat64.
29677 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29679 * dirent/dirent.h: Declare scandirat and scandirat64.
29680 * dirent/scandirat.c: New file.
29681 * dirent/scandirat64.c: New file.
29682 * sysdeps/wordsize-64/scandirat.c: New file.
29683 * sysdeps/wordsize-64/scandirat64.c: New file.
29684 * dirent/opendir.c: Define opendirat.
29685 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29687 * dirent/scandir64.c: Adjust for scandir.c change.
29688 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29689 __scandirat64, and __scandir_cancel_handler.
29690 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29691 additional parameter and use openat instead of open (outside of ld.so).
29692 Add new __opendir as wrapper around __opendirat.
29693 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29694 here without requiring old scandirat implementation.
29696 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29698 * dirent/scandir.c (cancel_handler): Renamed to
29699 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29700 defined. Adjust users.
29701 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29702 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29704 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29706 * string/test-string.h (IMPL): Use __STRING to expand name and then
29709 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29712 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29714 * string/Makefile: Update.
29715 (strop-tests): Append strncat.
29716 * string/test-wcscmp.c: New file.
29717 New comprehensive test for wcscmp.
29718 * string/test-strcmp.c: Update.
29719 (WIDE): New define.
29721 2011-07-22 Andreas Schwab <schwab@redhat.com>
29723 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29726 2011-07-26 Andreas Schwab <schwab@redhat.com>
29728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29729 encoding to ACE if AI_IDN.
29731 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29733 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29734 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29736 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29738 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29739 Fix overflow bug in strncat.
29740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29742 * string/test-strncat.c: Update.
29743 Add new tests for checking overflow bugs.
29745 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29747 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29748 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29749 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29750 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29751 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29752 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29753 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29754 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29755 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29757 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29758 (USE_AS_STRCAT): Define.
29759 Add strcat and strncat support.
29760 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29762 2011-07-25 Andreas Schwab <schwab@redhat.com>
29764 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29765 __n bigger than INT_MAX+1.
29766 (__strncmp_g): Likewise.
29768 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29770 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29771 * libio/stido.h: Likewise.
29773 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29775 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29778 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29779 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29780 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29781 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29782 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29785 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29790 (_dl_x86_64_save_sse): Likewise.
29792 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29796 (_dl_x86_64_save_sse): Likewise.
29798 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29800 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29802 2011-07-21 Andreas Schwab <schwab@redhat.com>
29804 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29806 (_dl_x86_64_save_sse): Use correct AVX check.
29808 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29810 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29811 bug in strncpy/strncat.
29812 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29814 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29816 * string/tester.c (test_strcat): Add tests for different alignments
29817 of source and destination.
29818 (test_strncat): Likewise.
29820 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29823 * posix/glob.c (glob): Check passed in values before using them in
29824 expressions to avoid some overflows.
29825 (glob_in_dir): Likewise.
29828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29829 check for AVX enablement so that we don't crash with old kernels and
29831 * elf/tst-audit4.c: Add same checks here.
29832 * elf/tst-audit6.c: Likewise.
29834 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29836 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29838 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29840 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29842 * po/cs.po: Update from translation team.
29843 * po/bg.po: Likewise.
29845 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29847 * misc/sys/cdefs.h: Add support for const attribute.
29848 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29849 to gnu_dev_{major,minor,makedev} functions.
29851 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29853 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29855 2011-07-20 Andreas Schwab <schwab@redhat.com>
29857 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29860 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29862 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29863 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29864 register in order to avoid conflicts with the soft frame pointer
29865 being held in r11 when necessary.
29866 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29867 (INTERNAL_VSYSCALL_NCS): Likewise.
29869 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29871 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29872 * elf/dl-fini.c (_dl_fini): Adjust caller.
29873 * elf/dl-close.c (_dl_close_worker): Likewise.
29874 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29876 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29878 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29879 "aux_cache->nlibs < 0".
29881 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29882 in the reload-count case.
29884 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29887 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29888 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29889 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29890 * sysdeps/x86_64/multiarch/strcat.S: New file.
29891 * sysdeps/x86_64/multiarch/strncat.S: New file.
29892 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29893 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29894 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29895 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29896 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29897 (USE_AS_STRCAT): Define.
29898 Add strcat and strncat support.
29899 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29900 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29901 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29902 * string/strncat.c: Update.
29903 (USE_AS_STRNCAT): Define.
29904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29905 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29907 * sysdeps/x86_64/multiarch/init-arch.h
29908 (bit_Prefer_PMINUB_for_stringop): New.
29909 (index_Prefer_PMINUB_for_stringop): Likewise.
29910 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29911 bit_Prefer_PMINUB_for_stringop.
29913 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29915 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29917 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29918 of casting of buffer.
29919 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29920 buffer32 and buffer64.
29921 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29922 writes instead of casting of buffer.
29923 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29925 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29928 2011-07-19 Andreas Schwab <schwab@redhat.com>
29930 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29932 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29934 * nscd/nscd.c (termination_handler): Don't do anything for a database
29935 if it has not yet been initialized.
29937 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29939 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29941 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29943 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29945 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29947 * po/nl.po: Update from translation team.
29948 * po/sv.po: Likewise.
29950 2011-07-16 Roland McGrath <roland@hack.frob.com>
29952 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29953 now disallowed by GCC.
29955 * configure.in (use-default-link): Default to yes if a test -shared
29956 link meets our qualifications.
29957 * configure: Regenerated.
29959 * config.make.in (output-format): New variable.
29960 * configure.in: Check for ld --print-output-format support.
29961 * configure: Regenerated.
29962 * Makerules ($(common-objpfx)format.lds)
29963 [$(output-format) != unknown]: Just use $(output-format),
29964 instead of the linker-script munging.
29966 2011-07-14 Roland McGrath <roland@hack.frob.com>
29968 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29969 of $(common-objpfx)shlib.lds.
29970 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29972 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29973 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29975 * configure.in (-z relro check): Adjust test code to add a large
29976 writable data section after it.
29977 * configure: Regenerated.
29979 2011-07-11 Roland McGrath <roland@hack.frob.com>
29981 * configure.in (-z relro check): Fix test code to make the variable
29983 * configure: Regenerated.
29985 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29987 * nscd/nscd.h (struct traced_file): Define.
29988 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29989 elements. Add traced_files.
29990 (inotify_fd): Declare.
29991 (register_traced_file): Declare.
29992 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29993 (inotify_fd): Export.
29994 (resolv_conf_descr): Remove.
29995 (nscd_init): Move inotify descriptor creation to main.
29996 Don't register files for notification here.
29997 (register_traced_file): New function.
29998 (invalidate_cache): Don't use reset_res to determine whether to call
29999 res_init, go through the list of registered files.
30000 (main_loop_poll): The inotify descriptors are now stored in the
30001 structures for the traced files.
30002 (main_loop_epoll): Likewise
30003 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30004 to __nss_disable_nscd.
30005 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30006 for a database anymore. Check the records for all the registered
30008 * nss/Makefile (libnss_files-routines): Add files-init.
30009 (libnss_db-routines): Add db-init.
30010 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30011 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30012 * nss/nss_db/db-init.c: New file.
30013 * nss/nss_files/files-init.c: New file.
30014 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30015 __nss_lookup_function.
30016 (__nss_lookup_function): Call nss_load_library.
30017 (nss_load_all_libraries): New function.
30018 (__nss_disable_nscd): Take parameter with callback function for files
30019 to register. Set is_nscd. Load all the DSOs for the NSS modules
30020 used for the cached services.
30021 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30022 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30023 options for features to all the files in nscd.
30025 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30027 2011-07-10 Roland McGrath <roland@hack.frob.com>
30029 * csu/elf-init.c (__libc_csu_init): Comment typo.
30031 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30033 * po/pl.po: Update from translation team.
30034 * po/ja.po: Likewise.
30035 * po/ru.po: Likewise.
30036 * po/ko.po: Likewise.
30037 * po/fr.po: Likewise.
30039 2011-07-09 Roland McGrath <roland@hack.frob.com>
30041 * configure.in (.ctors/.dtors header and trailer check):
30042 Use an empirical test on a built program.
30043 * configure: Regenerated.
30045 * configure.in (-z relro check): Use an empirical test on a built DSO.
30046 Detect, but do not require, on ia64.
30047 * configure: Regenerated.
30049 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30050 Update tests that use readelf to use $READELF instead.
30051 * configure: Regenerated.
30053 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30055 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30056 if the result is not used.
30058 2011-07-05 Andreas Jaeger <aj@suse.de>
30061 * stdlib/tst-strtod.c: Add testcase.
30063 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30065 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30066 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30067 The latter has a higher limit. Take additional parameter to pass to
30069 (__pathconf): Pass file to __statfs_link_max.
30070 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30072 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30076 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30077 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30079 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30080 (__statfs_filesize_max): Likewise.
30081 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30083 2011-07-05 Andreas Jaeger <aj@suse.de>
30085 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30087 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30089 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30091 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30094 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30096 * Makefile (strop-tests): Add strncat.
30097 * string/test-strncat.c: New file.
30099 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30101 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30103 2011-06-21 Andreas Jaeger <aj@suse.de>
30105 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30106 Copy rule from iconvdata/Makefile.
30108 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30111 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30112 but no long options are defined, just return 'W'.
30114 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30117 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30119 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30121 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30123 (innetgr): Likewise.
30125 2011-07-05 Roland McGrath <roland@hack.frob.com>
30127 * config.make.in (install_root): Default to $(DESTDIR).
30129 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30131 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30133 2011-07-02 Roland McGrath <roland@hack.frob.com>
30135 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30137 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30138 containing directory rather than embedding absolute directory names.
30140 * scripts/check-local-headers.sh: Rewritten using awk.
30141 Match by word, not by line. Print error messages for matches.
30142 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30144 * Makerules [shlib-lds-flags empty]:
30145 ($(common-objpfx)libc_pic.opts): New target.
30146 ($(common-objpfx)libc_pic.os.clean): New target.
30147 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30149 * config.make.in (OBJCOPY): New variable.
30150 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30151 * configure: Regenerated.
30153 * config.make.in (use-default-link): New variable.
30154 * configure.in (use_default_link): Grok --with-default-link to set it.
30155 * configure: Regenerated.
30156 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30157 (shlib-lds, shlib-lds-flags): Define to empty.
30159 * Makerules (shlib-lds): New variable.
30160 (shlib-lds-flags): New variable.
30161 (build-shlib, build-moduile, build-module-asneeded): Use it.
30162 ($(common-objpfx)libc.so): Use $(shlib-lds).
30163 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30164 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30166 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30167 DT_FLAGS/DT_FLAGS_1 with zero flags.
30169 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30170 linker script munging.
30172 2011-07-02 Ulrich Drepper <drepper@gmail.com>
30174 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30176 * crypt/sha512.c (sha512_process_block): Perform total addition using
30177 128-bit if possible.
30178 (__sha512_finish_ctx): Likewise.
30179 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30181 * crypt/sha256.c (SWAP64): Define.
30182 (sha256_process_block): Perform total addition using 64-bit if
30184 (__sha256_finish_ctx): Likewise.
30186 2011-07-01 Ulrich Drepper <drepper@gmail.com>
30188 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30189 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30190 * nscd/hstcache.c (cache_addhst): Likewise.
30191 * nscd/grpcache.c (cache_addgr): Likewise.
30192 * nscd/aicache.c (addhstaiX): Likewise
30193 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30195 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
30197 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30198 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30199 * nscd/hstcache.c (cache_addhst): Likewise.
30200 * nscd/grpcache.c (cache_addgr): Likewise.
30201 * nscd/aicache.c (addhstaiX): Likewise
30203 2011-07-01 Andreas Schwab <schwab@redhat.com>
30205 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30206 domain only when needed.
30208 2011-06-30 Andreas Schwab <schwab@redhat.com>
30210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30211 is always restored.
30213 2011-06-29 Ulrich Drepper <drepper@gmail.com>
30215 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30216 are re-adding the entry.
30217 * nscd/servicescache.c (cache_addserv): Likewise.
30219 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30221 * sysdeps/generic/dl-irel.h: fix protection against multiple
30223 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30225 2011-06-28 Ulrich Drepper <drepper@gmail.com>
30228 * malloc/memusage.sh: Fix quoting in message.
30229 * debug/xtrace.sh: Likewise.
30231 * configure.in: Remove support for --experimental-malloc option, make
30233 * config.make.in: Likewise.
30234 * malloc/Makefile: Likewise.
30236 2011-06-27 Andreas Schwab <schwab@redhat.com>
30238 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30239 two-byte characters.
30241 2011-06-27 Roland McGrath <roland@hack.frob.com>
30243 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30244 AC_CACHE_CHECK invocation.
30245 * configure: Regenerated.
30247 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30249 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30252 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30253 bit from old_res_options.
30255 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30257 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30258 value type for setfct.
30260 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30262 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30263 __gettimeofday instead of gettimeofday.
30265 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30267 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30269 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30271 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30273 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30276 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30279 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30280 strcpy-sse2-unaligned strncpy-sse2-unaligned
30281 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30282 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30283 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30284 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30285 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30286 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30287 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30288 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30289 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30290 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30291 (STRCPY): Support SSE2 and SSSE3 versions.
30293 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30296 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30297 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30298 kernels which artificially limit size of requests.
30300 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30303 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30304 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30305 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30306 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30307 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30308 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30309 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30310 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30311 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30312 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30313 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30314 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30315 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30316 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30318 Enable unaligned load optimization for Intel Core i3, i5 and i7
30320 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30322 (index_Fast_Unaligned_Load): Define.
30323 (HAS_FAST_UNALIGNED_LOAD): Define.
30325 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30327 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30329 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30332 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30333 until it is clear that the information is realy needed.
30334 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30336 2011-06-22 Andreas Schwab <schwab@redhat.com>
30338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30340 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30342 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30343 /sys/devices/system/cpu/online if it is usable.
30345 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30346 reading the information from the /proc filesystem to once a second.
30348 2011-06-21 Andreas Jaeger <aj@suse.de>
30350 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30351 NULL after inclusion of kernel headers.
30353 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30355 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30356 calls to internal_setent.
30359 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30360 addresses using gethostbyname4_r ignore IPv4 addresses.
30362 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30363 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30365 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30367 2011-06-20 David S. Miller <davem@davemloft.net>
30369 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30371 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30373 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30374 (elf_irel): Use it.
30375 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30376 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30377 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30378 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30379 * sysdeps/x86_64/dl-irel.h: Likewise.
30381 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30382 * elf/dl-sym.c: Likewise.
30384 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30386 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30387 need to dereference resplen2.
30389 2011-06-14 Andreas Schwab <schwab@redhat.com>
30391 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30393 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30395 * Makeconfig: Define vardbdir and inst_vardbdir.
30396 * nss/Makefile: Add rules to install db-Makefile.
30398 * nss/nss_db/db-XXX.c: Cleanup.
30400 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30401 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30403 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30404 * nss/makedb.c: Implement -g option to specify that value strings
30405 are generated and should not be added to table iterated over for
30407 * nss/nss_db/db-initgroups.c: New file.
30409 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30412 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30413 (internal_getgrouplist): Adjust to name change.
30414 Update use_initgroups_entry if this is not the first call.
30415 * nss/databases.def: Add initgroups entry.
30417 * nss/makedb.c (compute_tables): Check result of multiple hash table
30418 sizes to minimize maximum chain length.
30420 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30422 * Versions.def: Add entry for libnss_db.
30423 * shlib-versions: Likewise.
30424 * nss/Makefile: Add rules to build libnss_db.
30425 * nss/Versions: Add libnss_db information. Organize libnss_files
30427 * nss/db-Makefile: Add gshadow support. Change rules for the new
30428 makedb progra. Some minor improvements to generate smaller files.
30429 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30431 * nss/makedb.c: ...here.
30432 Improve database format to be smaller and require less memory at
30434 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30436 * nss/nss_db/db-netgrp.c: Likewise.
30437 * nss/nss_db/db-open.c: Likewise.
30438 * nss/nss_files/flies-XXX.x: Adjust comments.
30439 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30440 * nss/nss_files/files-grp.c: Likewise.
30441 * nss/nss_files/files-hosts.c: Likewise.
30442 * nss/nss_files/files-network.c: Likewise.
30443 * nss/nss_files/files-proto.c: Likewise.
30444 * nss/nss_files/files-pwd.c: Likewise.
30445 * nss/nss_files/files-rpc.c: Likewise.
30446 * nss/nss_files/files-service.c: Likewise.
30447 * nss/nss_files/files-sgrp.c: Likewise.
30448 * nss/nss_files/files-spwd.c: Likewise.
30449 * nss/nss_db/db-alias.c: Removed.
30450 * nss/nss_db/dummy-db.h: Removed.
30452 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30454 * nss/makedb.c: Rewritten to not use database library.
30455 * nss/Makefile: Update to build new makedb program.
30457 2011-06-14 Andreas Jaeger <aj@suse.de>
30459 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30460 memset declaration.
30462 2011-06-10 Andreas Schwab <schwab@redhat.com>
30464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30467 2011-06-10 Roland McGrath <roland@hack.frob.com>
30469 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30470 * elf/Makefile ($(objpfx)ld.so): Likewise.
30472 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30473 Don't list ld.so twice in dependencies.
30475 * posix/bug-regex31.c: Include <stdlib.h>.
30477 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30479 * nis/nss_compat/compat-spwd.c
30480 (getspent_next_nss_netgr): Remove unused variable.
30481 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30483 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30484 nonmembers" output to use the right array.
30486 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30488 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30490 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30491 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30492 * catgets/gencat.c (read_input_file): Likewise.
30493 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30495 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30496 variable definition inside #if's controlling its use.
30498 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30500 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30502 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30504 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30507 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30509 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30510 * configure: Regenerated.
30512 * Makerules: Revert last change.
30513 * elf/Makefile: Likewise.
30515 2011-06-09 Roland McGrath <roland@hack.frob.com>
30517 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30518 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30519 (reloc-link): Likewise.
30521 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30523 * elf/Makefile: Add rules to build pldd.
30524 * elf/pldd.c: New file.
30525 * elf/pldd-xx.c: New file.
30527 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30529 * version.h: Update for 2.15 development version.
30531 2011-06-07 David S. Miller <davem@davemloft.net>
30533 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30535 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30536 elf_machine_lazy_rel): Likewise.
30537 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30538 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30539 elf_machine_lazy_rel): Likewise.
30540 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30541 dl_hwcap via passed in argument.
30542 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30545 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30547 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30549 2011-06-06 Roland McGrath <roland@hack.frob.com>
30552 * manual/fdl-1.1.texi: New file, verbatim from:
30553 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30554 * manual/lgpl-2.1.texi: New file, verbatim from:
30555 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30556 * manual/Makefile (licenses): New variable, list those new file names.
30558 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30560 * manual/fdl.texi: File removed.
30561 * manual/lesser.texi: File removed.
30562 * manual/libc.texinfo (Copying, Documentation License):
30563 Use new @include file names, put @appendix directive before @include.
30565 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30568 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30569 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30570 (mq_open): Add __NTH.
30572 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30575 Assume Intel Core i3/i5/i7 processor if AVX is available.
30577 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30579 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30582 2011-05-31 Andreas Schwab <schwab@redhat.com>
30584 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30585 memory. Use alloca_account. Fix memory leak when retrying.
30587 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30589 * version.h (RELEASE): Bump for 2.14 release.
30590 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30592 * config.make.in (RANLIB): Remove entry.
30594 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30596 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30597 (libc.pot): Work around missing support for .ksh extension in xgettext.
30600 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30601 if both request failed.
30602 (send_dg): In case of server errors clear resplen or *resplen2.
30605 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30606 when there are multiple maps.
30607 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30608 (_dl_fini): Remove test here.
30610 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30612 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30615 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30616 bit from old_res_options.
30617 (gaih_inet): Likewise.
30620 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30623 * resolv/res_init.c (res_setoptions): Make the code more compact.
30626 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30630 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30632 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30635 * malloc/malloc.h: Declare malloc hook variables as volatile.
30637 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30641 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30642 raise in the comment.
30643 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30644 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30645 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30647 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30650 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30651 grow the buffers more if it already has to be sufficient.
30652 (build_wcs_upper_buffer): Likewise.
30653 * posix/regexec.c (check_matching): Likewise.
30654 (clean_state_log_if_needed): Likewise.
30655 (extend_buffers): Don't enlarge buffers beyond size of the input
30657 Patches mostly by Emil Wojak <emil@wojak.eu>.
30658 * posix/bug-regex32.c: New file.
30659 * posix/Makefile (tests): Add bug-regex32.
30661 * locale/findlocale.c (_nl_find_locale): Return right away if
30662 _nl_explode_name failed.
30663 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30665 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30667 * debug/xtrace.sh: Unify messages.
30668 * malloc/memusage.sh: Likewise.
30671 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30672 time symbol from vDSO. Substitute with vsyscall if not available.
30673 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30676 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30677 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30678 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30679 Add sendmmsg and internal_sendmmsg.
30680 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30681 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30682 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30684 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30685 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30686 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30688 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30691 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30692 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30694 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30698 * iconvdata/Makefile (tests): Add bug-iconv9.
30699 * iconvdata/bug-iconv9.c: New file.
30701 2011-05-27 Andreas Schwab <schwab@redhat.com>
30704 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30706 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30708 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30709 (struct user_regs_struct): Change intcs field back to cs.
30711 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30713 * po/ja.po: Update from translation team.
30715 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30718 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30719 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30721 2011-05-20 Andreas Schwab <schwab@redhat.com>
30723 * stdlib/longlong.h: Update from GCC.
30725 2011-05-23 Andreas Schwab <schwab@redhat.com>
30727 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30729 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30730 Add parameter name.
30731 (__sysconf): Pass it down.
30733 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30736 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30738 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30739 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30740 add in in __libc_use_alloca calls. Adjust callers.
30741 (glob): Use malloc in some situations.
30743 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30744 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30747 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30749 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30750 and CLOCK_BOOTTIME_ALARM.
30753 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30756 * string/_strerror.c (__strerror_r): Print negative errors as signed
30760 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30761 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30762 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30764 * configure.in: Fix typo in redirection and correct removal of test
30765 files in two cases.
30768 * locale/setlocale.c (new_composite_name): Fix test to check for
30769 identical name of all categories.
30772 * libio/filedoalloc.c (local_isatty): New function.
30773 (_IO_file_doallocate): Use local_isatty.
30774 * stdio-common/perror.c (perror): In case a new stream is used
30775 forward the stream error.
30776 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30779 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30784 * include/alloca.h (extend_alloca_account): Define.
30787 * posix/regex.h: Fix comments with documentation of user-accessible
30788 fields after compilation and describe correct free'ing of pattern
30789 after re_compile_pattern.
30790 Patch by Reuben Thomas <rrt@sc3d.org>.
30792 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30794 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30795 and -mno-altivec to prevent the compiler from using Altivec and/or
30796 VSX instructions when the corresponding registers are not available.
30798 2011-05-19 Andreas Schwab <schwab@redhat.com>
30800 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30802 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30804 * libio/freopen.c (freopen): Use __dup2, not dup2.
30805 * libio/freopen64.c (freopen64): Likewise.
30807 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30810 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30811 * math/Makefile (tests): Add test-powl.
30812 (CFLAGS-test-powl.c): Define.
30813 * math/test-powl.c: New file.
30815 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30817 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30819 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30822 * iconvdata/gb18030.c: Update to GB18020-2005.
30824 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30826 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30827 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30828 Patch by Aharon Robbins <arnold@skeeve.com>.
30831 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30835 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30836 through underflows.
30839 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30840 point to strings before performing equality test for error_one_per_line
30844 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30847 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30848 (struct user_fpregs_struct): Avoid __uint*_t types.
30851 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30852 symbol info. Use it instead of calling _dl_addr locally.
30853 (lock_and_info): New function.
30854 (tr_freehook): Call lock_and_info and pass symbol info as additional
30855 parameter to tr_where.
30856 (tr_mallochook): Likewise.
30857 (tr_reallochook): Likewise.
30858 (tr_memalignhook): Likewise.
30860 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30861 used and couldn't be at all thread-safe.
30863 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30865 * libio/freopen.c (freopen): Don't close old file descriptor
30866 before the new one is opened. Instead dup the new file descriptor
30867 to the old one after the new stream is created.
30868 * libio/freopen64.c (freopen64): Likewise.
30869 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30870 * libio/fileops.c (_IO_new_file_close_it): Handle new
30871 _IO_FLAGS2_NOCLOSE flag.
30872 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30873 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30874 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30875 _IO_FLAGS2_NOCLOSE flag.
30876 * include/unistd.h: Add hidden_proto for dup3.
30877 Define __have_dup3.
30878 * io/dup3.c: Define hidden symbol.
30879 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30882 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30883 when an incomplete long option is used.
30884 * posix/tst-getopt_long1.c: New file.
30885 * posix/Makefile (tests): Add tst-getopt_long1.
30888 * scripts/config.guess: Update from autoconf-2.68.
30889 * scripts/config.sub: Likewise.
30892 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30894 (has_cpuclock): ...this. New function.
30895 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30896 macro here based on has_cpuclock code.
30899 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30900 First byte (not low byte) is now always NUL.
30901 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30904 Use non-cancelable interfaces.
30907 * locale/iso-639.def: Add entry for Sorani.
30910 * include/stdlib.h: Move include protection to the right place.
30911 Define abort_msg_s. Declare __abort_msg with it.
30912 * stdlib/abort.c (__abort_msg): Adjust type.
30913 * assert/assert.c (__assert_fail_base): New function. Majority
30914 of code from __assert_fail. Allocate memory for __abort_msg with
30916 (__assert_fail): Now call __assert_fail_base.
30917 * assert/assert-perr.c: Remove bulk of implementation. Use
30918 __assert_fail_base.
30919 * include/assert.hL Declare __assert_fail_base.
30920 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30922 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30924 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30928 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30929 until all modules are registered in the DTV.
30930 * elf/Makefile: Add rules to build and run tst-tls19.
30931 * elf/tst-tls19.c: New file.
30932 * elf/tst-tls19mod1.c: New file.
30933 * elf/tst-tls19mod2.c: New file.
30934 * elf/tst-tls19mod3.c: New file.
30935 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30938 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30942 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30943 two-byte sequence errors.
30944 * iconvdata/Makefile (tests): Add bug-iconv8.
30945 * iconvdata/bug-iconv8.c: New file.
30948 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30951 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30954 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30955 (dummy_getcfa): New function.
30956 (init): Get _Unwind_GetCFA address, use dummy if not found.
30957 (backtrace_helper): In recursion check, also check whether CFA changes.
30958 (__backtrace): Completely initialize arg.
30960 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30961 storing incomplete byte sequence in state object. Avoid testing for
30962 guaranteed too small input if we know there is enough data available.
30964 2011-05-11 Andreas Schwab <schwab@redhat.com>
30966 * Makeconfig (+link-pie): Indent.
30967 * Rules (binaries-pie): Define if $(have-fpie) and
30969 (binaries-shared): Also filter out $(binaries-pie).
30970 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30971 * nscd/Makefile (others-pie): Add nscd.
30972 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30973 ($(objpfx)nscd): Remove command override.
30974 * login/Makefile (others-pie): Add pt_chown.
30975 ($(objpfx)pt_chown): Remove command override.
30976 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30977 remove command overrides.
30979 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30981 * libio/tst_putwc.c: Fix error messages.
30984 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30985 currently writing and seek to current position when not.
30986 * libio/Makefile (tests): Add bug-fclose1.
30987 * libio/bug-fclose1.c: New file.
30989 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30992 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30993 don't set DF_1_NODELETE here.
30994 (do_lookup_x): When entering new entry test for copy relocation
30995 and if necessary set DF_1_NODELETE flag.
30996 * elf/tst-unique4.cc: New file.
30997 * elf/tst-unique4.h: New file.
30998 * elf/tst-unique4lib.cc: New file.
30999 * elf/Makefile: Add rules to build and run tst-unique4.
31000 Patch by Piotr Bury <pbury@goahead.com>.
31002 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31005 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31008 * misc/mntent_r.c (addmntent): Flush the stream after the output
31011 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31012 (is_trusted_path_normalize): Skip initial colon. Append slash
31013 to empty buffer. Duplicate is_trusted_path code but allow
31014 constructed patch to be prefix.
31015 (is_dst): Allow $ORIGIN followed by /.
31016 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31017 Correct testing of result of is_trusted_path_normalize
31018 (decompose_rpath): Fix warning.
31020 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31023 * grp/initgroups.c (internal_getgrouplist): When we found the service
31024 list through the initgroups entry in nsswitch.conf do not always
31025 continue on a successful lookup. Don't always use the
31026 __nss_group_database value if it is set.
31027 * nss/nsswitch.conf (initgroups): Change action for successful db
31028 lookup to continue for compatibility.
31030 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31033 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31035 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31037 * iconvdata/tst-tables.sh: Likewise.
31038 * iconvdata/cp770.c: New file.
31039 * iconvdata/cp771.c: New file.
31040 * iconvdata/cp772.c: New file.
31041 * iconvdata/cp773.c: New file.
31042 * iconvdata/cp774.c: New file.
31043 * iconvdata/testdata/CP770: New file.
31044 * iconvdata/testdata/CP770..UTF8: New file.
31045 * iconvdata/testdata/CP771: New file.
31046 * iconvdata/testdata/CP771..UTF8: New file.
31047 * iconvdata/testdata/CP772: New file.
31048 * iconvdata/testdata/CP772..UTF8: New file.
31049 * iconvdata/testdata/CP773: New file.
31050 * iconvdata/testdata/CP773..UTF8: New file.
31051 * iconvdata/testdata/CP774: New file.
31052 * iconvdata/testdata/CP774..UTF8: New file.
31054 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31056 * iconvdata/gen-8bit-gap.sh: Likewise.
31057 * iconvdata/gen-8bit.sh: Likewise.
31059 * locale/iso-639.def: Add ary entry.
31062 * locale/C-translit.h.in: Add U20A1 transliteration.
31065 * locale/iso-639.def: Add wae entry.
31066 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31069 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31073 * locale/C-translit.h.in: Add entry for U20B9.
31074 Patch by pravin.d.s@gmail.com.
31076 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31079 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31080 ENAMETOOLONG use generic getcwd.
31081 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31082 in rtld. Use *stat64.
31083 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31084 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31085 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31086 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31087 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31088 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31089 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31090 __fstatat64 macros.
31091 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31092 * dirent/rewinddir.c: Add libc_hidden_def.
31093 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31094 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31096 * include/dirent.h (__alloc_dir): Add flags parameter.
31097 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31098 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31100 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31101 from fdopendir if O_CLOEXEC is already set.
31103 2011-03-15 Alan Modra <amodra@gmail.com>
31105 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31106 l_tls_firstbyte_offset non-zero. Save padding offset in
31107 l_tls_firstbyte_offset for later use.
31108 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31109 freeing static tls block.
31111 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31113 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31114 where #ifdef was intended. The intent is to prevent ARG_MAX from
31115 being defined by the kernel headers.
31117 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31120 * resolv/resolv.h: Define RES_NOTLDQUERY.
31121 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31122 no-tld-query and set RES_NOTLDQUERY.
31123 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31124 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31125 modern BIND to search name as TLD unless forbidden.
31127 2011-05-07 Petr Baudis <pasky@suse.cz>
31128 Ulrich Drepper <drepper@gmail.com>
31131 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31132 (is_trusted_path): ...to here.
31133 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31134 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31135 using is_trusted_path_normalize() in setuid scripts.
31137 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31139 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31140 __BEGIN/__END_DECLS.
31142 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31144 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31145 NSS_STATUS_NOTFOUND if no record was found.
31147 2011-05-05 Andreas Schwab <schwab@redhat.com>
31149 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31150 (headers-not-in-tirpc): Remove rpc/netdb.h
31151 * resolv/netdb.h: Revert last change.
31153 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31155 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31156 circular dependency between libgcc.a and libc.a.
31158 2011-05-05 Andreas Schwab <schwab@redhat.com>
31160 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31161 * nis/Makefile: Don't install rpcsvc/*.
31162 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31163 instead of <rpc/types.h>.
31164 (MAXHOSTNAMELEN): Define.
31166 2011-05-03 Andreas Schwab <schwab@redhat.com>
31168 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31170 2011-04-28 Maciej Babinski <mbabinski@google.com>
31173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31174 gethostbyname4_r when IPv6 results are possible.
31176 2011-05-02 Ulrich Drepper <drepper@gmail.com>
31179 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31180 _PC_PIPE_BUF handling.
31182 2011-04-30 Bruno Haible <bruno@clisp.org>
31185 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31186 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31188 * inet/getnameinfo.c (getnameinfo): Likewise.
31190 2011-04-29 Ulrich Drepper <drepper@gmail.com>
31192 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31193 to groups setting in database lookup.
31194 * nss/nsswitch.conf: Add initgroups entry.
31196 2011-04-22 Ulrich Drepper <drepper@gmail.com>
31199 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31201 Patch by Eric Blake <eblake@redhat.com>.
31203 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31205 * sunrpc/Makefile (need-export-routines): Add svc_run.
31206 (routines): Remove svc_run.
31207 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31208 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31209 * sunrpc/svc_run.c (svc_run): Likewise.
31210 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31212 2011-04-21 Ulrich Drepper <drepper@gmail.com>
31214 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31215 problem in reallocation in last patch.
31217 2011-04-20 Ulrich Drepper <drepper@gmail.com>
31219 * sunrpc/Makefile: Move inclusion of Rules.
31221 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31223 * nss/nss_files/files-initgroups.c: New file.
31224 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31225 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31226 _nss_files_initgroups_dyn.
31228 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31230 * elf/elf.h (R_ARM_IRELATIVE): Define.
31232 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31234 * po/ru.po: Update from translation team.
31236 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31238 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31241 2011-02-06 Mike Frysinger <vapier@gentoo.org>
31244 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31245 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31246 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31247 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31250 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31252 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31254 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31255 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31256 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31258 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31261 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31263 * stdlib/bug-getcontext.c: New file.
31264 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31266 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31268 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31269 instructions into .machine "z9-109".
31270 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31271 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31273 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31275 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31276 between environment variables and auxiliary vector.
31278 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31280 * Makefile: Add rules to build linkobj/libc.so.
31281 * include/libc-symbols.h: Define libc_hidden_nolink.
31282 * include/rpc/auth.h: Mark functions which are to be hidden.
31283 * include/rpc/auth_des.h: Likewise.
31284 * include/rpc/auth_unix.h: Likewise.
31285 * include/rpc/clnt.h: Likewise.
31286 * include/rpc/des_crypt.h: Likewise.
31287 * include/rpc/key_prot.h: Likewise.
31288 * include/rpc/pmap_clnt.h: Likewise.
31289 * include/rpc/pmap_prot.h: Likewise.
31290 * include/rpc/pmap_rmt.h: Likewise.
31291 * include/rpc/rpc_msg.h: Likewise.
31292 * include/rpc/svc.h: Likewise.
31293 * include/rpc/svc_auth.h: Likewise.
31294 * include/rpc/xdr.h: Likewise.
31295 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31296 * nss/Makefile: Likewise.
31297 * sunrpc/Makefile: Don't install headers. Build library with normal
31298 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31299 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31300 for the compat linking library. Remove use of INTDEF/INTUSE.
31301 * sunrpc/auth_none.c: Likewise.
31302 * sunrpc/auth_unix.c: Likewise.
31303 * sunrpc/authdes_prot.c: Likewise.
31304 * sunrpc/authuxprot.c: Likewise.
31305 * sunrpc/clnt_gen.c: Likewise.
31306 * sunrpc/clnt_perr.c: Likewise.
31307 * sunrpc/clnt_raw.c: Likewise.
31308 * sunrpc/clnt_simp.c: Likewise.
31309 * sunrpc/clnt_tcp.c: Likewise.
31310 * sunrpc/clnt_udp.c: Likewise.
31311 * sunrpc/clnt_unix.c: Likewise.
31312 * sunrpc/des_crypt.c: Likewise.
31313 * sunrpc/des_soft.c: Likewise.
31314 * sunrpc/get_myaddr.c: Likewise.
31315 * sunrpc/key_call.c: Likewise.
31316 * sunrpc/key_prot.c: Likewise.
31317 * sunrpc/netname.c: Likewise.
31318 * sunrpc/pm_getmaps.c: Likewise.
31319 * sunrpc/pm_getport.c: Likewise.
31320 * sunrpc/pmap_clnt.c: Likewise.
31321 * sunrpc/pmap_prot.c: Likewise.
31322 * sunrpc/pmap_prot2.c: Likewise.
31323 * sunrpc/pmap_rmt.c: Likewise.
31324 * sunrpc/publickey.c: Likewise.
31325 * sunrpc/rpc_cmsg.c: Likewise.
31326 * sunrpc/rpc_common.c: Likewise.
31327 * sunrpc/rpc_dtable.c: Likewise.
31328 * sunrpc/rpc_prot.c: Likewise.
31329 * sunrpc/rpc_thread.c: Likewise.
31330 * sunrpc/rtime.c: Likewise.
31331 * sunrpc/svc.c: Likewise.
31332 * sunrpc/svc_auth.c: Likewise.
31333 * sunrpc/svc_authux.c: Likewise.
31334 * sunrpc/svc_raw.c: Likewise.
31335 * sunrpc/svc_run.c: Likewise.
31336 * sunrpc/svc_simple.c: Likewise.
31337 * sunrpc/svc_tcp.c: Likewise.
31338 * sunrpc/svc_udp.c: Likewise.
31339 * sunrpc/svc_unix.c: Likewise.
31340 * sunrpc/svcauth_des.c: Likewise.
31341 * sunrpc/xcrypt.c: Likewise.
31342 * sunrpc/xdr.c: Likewise.
31343 * sunrpc/xdr_array.c: Likewise.
31344 * sunrpc/xdr_float.c: Likewise.
31345 * sunrpc/xdr_intXX_t.c: Likewise.
31346 * sunrpc/xdr_mem.c: Likewise.
31347 * sunrpc/xdr_rec.c: Likewise.
31348 * sunrpc/xdr_ref.c: Likewise.
31349 * sunrpc/xdr_sizeof.c: Likewise.
31350 * sunrpc/xdr_stdio.c: Likewise.
31352 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31355 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31356 * sysdeps/ia64/dl-tls.h: Likewise.
31357 * sysdeps/powerpc/dl-tls.h: Likewise.
31358 * sysdeps/s390/dl-tls.h: Likewise.
31359 * sysdeps/sh/dl-tls.h: Likewise.
31360 * sysdeps/sparc/dl-tls.h: Likewise.
31361 * sysdeps/x86_64/dl-tls.h: Likewise.
31362 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31364 2011-03-14 Andreas Schwab <schwab@redhat.com>
31366 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31367 rpath element also skip the following colon.
31368 (expand_dynamic_string_token): Add is_path parameter and pass
31369 down to DL_DST_REQUIRED and _dl_dst_substitute.
31370 (decompose_rpath): Call expand_dynamic_string_token with
31371 non-zero is_path. Ignore empty rpaths.
31372 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31375 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31380 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31383 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31384 Patch by Filipe David Manana <fdmanana@apache.org>.
31386 2011-04-07 Andreas Schwab <schwab@redhat.com>
31388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31389 Maintain aligned stack.
31390 (CHECK_RSP): Remove unused macro.
31392 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31394 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31395 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31397 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31399 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31401 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31403 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31406 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31407 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31408 * sysdeps/x86_64/memmove.c: New file.
31409 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31410 (memcpy): Renamed to ...
31411 (__new_memcpy): This.
31412 (memcpy): Provide GLIBC_2_14 memcpy.
31413 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31414 (memcpy): Provide GLIBC_2_2_5 memcpy.
31416 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31419 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31421 2011-03-30 Andreas Schwab <schwab@redhat.com>
31423 * misc/syncfs.c: New file.
31424 * misc/Makefile (routines): Add syncfs.
31425 * posix/unistd.h: Declare syncfs.
31426 * sysdeps/unix/syscalls.list: Add syncfs.
31428 2011-04-01 Andreas Schwab <schwab@redhat.com>
31430 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31432 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31433 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31435 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31437 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31438 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31440 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31442 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31443 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31444 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31445 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31446 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31447 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31450 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31451 sync_file_range.c with -fexceptions.
31452 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31453 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31454 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31455 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31456 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31457 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31458 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31459 sync_file_range as cancellation point
31460 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31461 now a wrapper around __call_sync_file_range with cancellation handling.
31462 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31463 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31464 function name to __call_sync_file_range.
31465 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31466 Add call_sync_file_range.
31468 2011-04-01 Andreas Schwab <schwab@redhat.com>
31470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31473 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31475 * iconv/iconv.h: Fix typo in comment.
31476 * io/fcntl.h: Likewise.
31477 * libio/stdio.h: Likewise.
31478 * posix/spawn.h: Likewise.
31479 * posix/unistd.h: Likewise.
31480 * stdlib/stdlib.h: Likewise.
31481 * time/time.h: Likewise.
31482 * wcsmbs/wchar.h: Likewise.
31484 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31485 open_by_handle): Add.
31486 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31487 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31488 Augment a few comments.
31489 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31490 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31491 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31493 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31494 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31497 * io/fcntl.h (AT_EMPTY_PATH): Define.
31499 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31501 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31502 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31503 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31505 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31506 * Versions.def: Add GLIBC_2.14.
31507 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31510 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31512 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31514 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31516 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31519 * string/test-strncmp.c (do_page_test): New function.
31520 (check2): Likewise.
31521 (test_main): Call check2.
31522 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31524 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31527 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31528 Handle cache information in CPU leaf 4.
31529 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31531 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31534 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31535 character representation.
31536 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31538 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31540 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31541 END(__isnan) to END(__isnanf) to match function entry point/label
31542 EALIGN(__isnanf,...).
31544 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31546 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31548 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31551 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31552 copy from the symbol referenced in the relocation to initialize the
31554 Patch by Piotr Bury <pbury@goahead.com>.
31555 * elf/Makefile: Add rules to build and tst-unique3.
31556 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31557 * elf/tst-unique3.cc: New file.
31558 * elf/tst-unique3.h: New file.
31559 * elf/tst-unique3lib.cc: New file.
31560 * elf/tst-unique3lib2.cc: New file.
31562 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31564 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31566 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31567 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31570 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31572 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31573 to-be-loaded object along a path to loader is ld.so.
31575 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31576 Ulrich Drepper <drepper@gmail.com>
31578 * sysdeps/x86_64/memset.S: After aligning destination, code
31579 branches to different locations depending on the value of
31580 misalignment, when multiarch is enabled. Fix this.
31582 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31584 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31585 Set _x86_64_preferred_memory_instruction for AMD processsors.
31586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31587 Set bit_Prefer_SSE_for_memop for AMD processors.
31589 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31591 * libio/fmemopen.c (fmemopen): Optimize a bit.
31593 2011-03-03 Andreas Schwab <schwab@redhat.com>
31595 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31597 2011-03-03 Roland McGrath <roland@redhat.com>
31599 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31601 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31603 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31604 __bzero_ultra1 instead of __memset_ultra1.
31606 2011-02-23 Andreas Schwab <schwab@redhat.com>
31607 Ulrich Drepper <drepper@gmail.com>
31610 * include/link.h (struct link_map): Add l_orig_initfini.
31611 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31612 returning unsuccessfully.
31613 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31614 close of a file loaded at startup, restore the original l_initfini
31616 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31617 list, store the pointer.
31618 * elf/Makefile ($(objpfx)noload-mem): New rule.
31619 (noload-ENV): Define.
31620 (tests): Add $(objpfx)noload-mem.
31621 * elf/noload.c: Include <memcheck.h>.
31622 (main): Call mtrace. Close all opened handles.
31624 2011-02-17 Andreas Schwab <schwab@redhat.com>
31627 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31628 dependencies are missing.
31630 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31632 Fix __if_freereq crash: Unlike the generic version which uses free,
31634 * sysdeps/mach/hurd/ifreq.h: New file.
31636 2011-01-27 Petr Baudis <pasky@suse.cz>
31637 Ulrich Drepper <drepper@gmail.com>
31640 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31641 to extend_alloca().
31642 * stdio-common/bug23.c: New file.
31643 * stdio-common/Makefile (tests): Add bug23.
31645 2010-09-28 Andreas Schwab <schwab@redhat.com>
31646 Ulrich Drepper <drepper@gmail.com>
31649 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31650 before performing relro protection. At old place add assertion
31651 to make sure nothing changed.
31653 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31654 Glauber de Oliveira Costa <glommer@gmail.com>
31656 * elf/elf.h: Add new ARM TLS relocs.
31658 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31661 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31663 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31665 * sysdeps/wordsize-64/tst-writev.c: New file.
31667 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31669 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31670 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31671 insns in _dl_start to prevent a TOC reference before relocs are
31674 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31677 * Makeconfig: Remove RANLIB definition.
31678 * Makerules: Don't use RANLIB.
31679 * aclocal.m4: Remove ranlib test.
31680 * configure.in: No need to check for ranlib.
31681 * elf/rtld-Rules: Don't use RANLIB.
31683 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31685 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31687 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31688 inclusion protection macro.
31690 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31691 SIGRTMIN and SIGRTMAX and print information in that case only when
31692 SIGRTMIN is defined.
31694 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31696 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31697 arginfo fn returning -1.
31699 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31700 and thousands string is zero terminated.
31702 2011-02-03 Andreas Schwab <schwab@redhat.com>
31704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31705 sysdeps/unix/sysv/linux/bits/socket.h.
31707 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31709 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31710 (__CPU_COUNT): Remove old macros.
31711 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31712 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31713 (__CPU_ALLOC, __CPU_FREE): Add macros.
31714 (__sched_cpualloc, __sched_cpufree): Add declarations.
31716 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31718 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31719 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31720 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31721 (readdhstai): Return value of addhstaiX call.
31722 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31723 (addgrbyX): Return value returned by cache_addgr.
31724 (readdgrbyname): Return value returned by addgrbyX.
31725 (readdgrbygid): Likewise.
31726 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31727 (addpwbyX): Return value returned by cache_addpw.
31728 (readdpwbyname): Return value returned by addhstbyX.
31729 (readdpwbyuid): Likewise.
31730 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31731 (addservbyX): Return value returned by cache_addserv.
31732 (readdservbyname): Return value returned by addservbyX:
31733 (readdservbyport): Likewise.
31734 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31735 (addhstbyX): Return value returned by cache_addhst.
31736 (readdhstbyname): Return value returned by addhstbyX.
31737 (readdhstbyaddr): Likewise.
31738 (readdhstbynamev6): Likewise.
31739 (readdhstbyaddrv6): Likewise.
31740 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31741 (readdinitgroups): Return value returned by addinitgroupsX.
31742 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31743 (prune_cache): Keep track of timeout value of re-added entries.
31744 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31745 * nscd/nscd.h: Adjust prototypes of readd* functions.
31747 2011-02-04 Roland McGrath <roland@redhat.com>
31749 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31750 (nis_stats): Likewise.
31751 * nis/nis_modify.c (nis_modify): Likewise.
31752 * nis/nis_remove.c (nis_remove): Likewise.
31753 * nis/nis_add.c (nis_add): Likewise.
31755 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31757 * posix/fnmatch_loop.c: Add some consts.
31759 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31761 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31764 * config.make.in (config-cflags-novzeroupper): Define.
31765 * configure.in: Substitute libc_cv_cc_novzeroupper.
31766 * elf/Makefile (AVX-CFLAGS): Define.
31767 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31768 (CFLAGS-tst-auditmod4a.c): Likewise.
31769 (CFLAGS-tst-auditmod4b.c): Likewise.
31770 (CFLAGS-tst-auditmod6b.c): Likewise.
31771 (CFLAGS-tst-auditmod6c.c): Likewise.
31772 (CFLAGS-tst-auditmod7b.c): Likewise.
31773 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31775 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31777 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31778 function to the callback.
31779 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31781 2011-02-02 Andreas Schwab <schwab@redhat.com>
31783 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31786 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31789 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31791 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31793 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31796 * elf/Makefile: Add rules to build and run new test.
31797 * elf/tst-initorder.c: New file.
31798 * elf/tst-initorder.exp: New file.
31799 * elf/tst-initordera1.c: New file.
31800 * elf/tst-initordera2.c: New file.
31801 * elf/tst-initordera3.c: New file.
31802 * elf/tst-initordera4.c: New file.
31803 * elf/tst-initorderb1.c: New file.
31804 * elf/tst-initorderb2.c: New file.
31805 * elf/tst-order-a1.c: New file.
31806 * elf/tst-order-a2.c: New file.
31807 * elf/tst-order-a3.c: New file.
31808 * elf/tst-order-a4.c: New file.
31809 * elf/tst-order-b1.c: New file.
31810 * elf/tst-order-b2.c: New file.
31811 * elf/tst-order-main.c: New file.
31812 New test case by George Gensure <werkt0@gmail.com>.
31814 2010-10-01 Andreas Schwab <schwab@redhat.com>
31816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31817 decoding ACE if AI_CANONIDN.
31819 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31821 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31823 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31825 * version.h (RELEASE): Bump for 2.13 release.
31826 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31828 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31830 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31832 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31833 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31834 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31835 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31836 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31837 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31839 * posix/getconf.c: Update copyright year.
31840 * catgets/gencat.c: Likewise.
31841 * csu/version.c: Likewise.
31842 * debug/catchsegv.sh: Likewise.
31843 * debug/xtrace.sh: Likewise.
31844 * elf/ldconfig.c: Likewise.
31845 * elf/ldd.bash.in: Likewise.
31846 * elf/sprof.c (print_version): Likewise.
31847 * iconv/iconv_prog.c: Likewise.
31848 * iconv/iconvconfig.c: Likewise.
31849 * locale/programs/locale.c: Likewise.
31850 * locale/programs/localedef.c: Likewise.
31851 * malloc/memusage.sh: Likewise.
31852 * malloc/mtrace.pl: Likewise.
31853 * nscd/nscd.c (print_version): Likewise.
31854 * nss/getent.c: Likewise.
31856 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31857 PF_CAIF, and PF_ALG.
31858 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31860 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31862 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31863 (modules-names): Use them.
31864 (ifunc-test-modules, ifunc-pie-tests): Define.
31865 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31866 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31867 (test-extras): Likewise.
31868 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31869 $(compile-command.c).
31870 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31871 (all-built-dso): Define.
31872 (check-textrel.out, check-execstack.out): Depend on it.
31874 * configure.in: Don't override --enable-multi-arch.
31876 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31879 * nscd/hstcache.c (tryagain): Define.
31880 (cache_addhst): Return tryagain not notfound for temporary errors.
31881 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31884 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31887 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31888 to make the syscall.
31889 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31892 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31893 and fall back to matching as normal character if the string ends before
31894 the matching ']' is found. This is what POSIX requires.
31895 * posix/testfnm.c: Adjust test result.
31896 * posix/globtest.sh: Adjust test result. Add new test.
31897 * posix/tst-fnmatch.input: Likewise.
31898 * posix/tst-fnmatch2.c: Add new test.
31900 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31902 * elf/Makefile (check-execstack): Revert last change. Depend on
31904 (check-execstack.h): New target.
31905 (generated): Add check-execstack.h.
31906 * elf/check-execstack.c: Include "check-execstack.h".
31907 (main): Revert last change.
31908 (handle_file): Return zero if GNU_STACK is absent and
31909 DEFAULT_STACK_PERMS doesn't include PF_X.
31911 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31913 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31914 in child fails because the descriptor is already closed.
31915 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31916 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31917 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31920 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31924 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31925 temporary buffer used to handle multi lookups locally.
31926 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31928 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31930 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31933 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31935 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31936 alignment for SSE2.
31938 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31941 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31942 characters. When rounding increased number of integer digits recompute
31944 * stdio-common/tst-grouping.c: New file.
31945 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31947 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31949 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31950 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31952 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31954 * bits/select.h: Likewise.
31956 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31958 * po/ja.po: Update from translation team.
31960 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31963 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31964 implementation just like for lxstat, fxstatat, et al.
31966 2010-12-27 Jim Meyering <meyering@redhat.com>
31969 * posix/regexec.c (build_trtable): Return failure indication upon
31970 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31972 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31975 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31976 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31977 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31978 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31981 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31984 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31985 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31987 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31989 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31990 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31991 script has SORT_BY_INIT_PRIORITY.
31992 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31993 NO_CTORS_DTORS_SECTIONS is defined.
31994 * elf/soinit.c: Likewise.
31995 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31996 NO_CTORS_DTORS_SECTIONS is defined.
31997 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31998 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31999 * sysdeps/sh/init-first.c: Likewise.
32000 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32002 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32004 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32005 always use the slow path.
32007 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32009 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32010 similar rule which adds the sysdep directories to the header search in
32011 order to pick up the correct platform stackinfo.h.
32012 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32013 perform test if it is, otherwise return successfully without testing.
32014 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32015 DEFAULT_STACK_PERMS define in stackinfo.h.
32016 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32017 defined in stackinfo.h.
32018 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32019 DEFAULT_STACK_PERMS defined in stackinfo.h.
32020 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32021 * sysdeps/ia64/stackinfo.h: Likewise.
32022 * sysdeps/s390/stackinfo.h: Likewise.
32023 * sysdeps/sh/stackinfo.h: Likewise.
32024 * sysdeps/sparc/stackinfo.h: Likewise.
32025 * sysdeps/x86_64/stackinfo.h: Likewise.
32026 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32027 PF_X for powerpc64. Retain PF_X for powerpc32.
32029 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32031 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32033 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32034 GETDENTS_64BIT_ALIGNED.
32036 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32038 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32040 2010-12-10 Andreas Schwab <schwab@redhat.com>
32042 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32045 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32046 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32048 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32049 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32051 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32054 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32057 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32059 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32061 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32063 * po/it.po: Update from translation team.
32065 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32067 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32070 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32072 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32074 2010-11-24 Andreas Schwab <schwab@redhat.com>
32076 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32078 (gaih_getanswer_slice): Likewise.
32080 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32084 2010-05-31 Petr Baudis <pasky@suse.cz>
32087 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32088 silently even in the chroot mode.
32090 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32092 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32093 last patch a bit. Pretty printing
32095 2010-05-31 Petr Baudis <pasky@suse.cz>
32098 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32099 initialization of skip_initgroups_dyn.
32101 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32103 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32104 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32106 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32108 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32110 2010-11-11 Andreas Schwab <schwab@redhat.com>
32112 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32113 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32114 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32115 ($(objpfx)tst-fnmatch-mem): New rule.
32116 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32117 * posix/tst-fnmatch.c (main): Call mtrace.
32119 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32122 Support Intel processor model 6 and model 0x2c.
32124 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32126 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32129 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32132 * string/test-strncasecmp.c (check_result): New function.
32133 (do_one_test): Use it.
32134 (check1): New function.
32135 (test_main): Use it.
32136 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32137 Support strcasecmp and strncasecmp.
32139 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32142 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32143 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32145 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32147 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32151 * sysdeps/x86_64/multiarch/bzero.S: New file.
32152 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32153 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32154 * sysdeps/x86_64/multiarch/memset.S: New file.
32155 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32156 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32157 Set bit_Prefer_SSE_for_memop for Intel processors.
32158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32160 (index_Prefer_SSE_for_memop): Define.
32161 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32163 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32165 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32166 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32168 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32171 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32172 (__x86_64_raw_data_cache_size_half): Likewise.
32173 (__x86_64_raw_shared_cache_size): Likewise.
32174 (__x86_64_raw_shared_cache_size_half): Likewise.
32176 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32177 (__x86_64_raw_data_cache_size_half): Likewise.
32178 (__x86_64_raw_shared_cache_size): Likewise.
32179 (__x86_64_raw_shared_cache_size_half): Likewise.
32180 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32181 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32182 and __x86_64_raw_shared_cache_size_half. Round
32183 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32184 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32185 to multiple of 256 bytes.
32187 2010-11-03 Ulrich Drepper <drepper@gmail.com>
32190 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32191 of inacessible symlinks. Verify result of symlink before returning it.
32192 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32193 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32195 2010-10-28 Erich Ritz <erichritz@gmail.com>
32197 * math/math.h (isinf): Fix typo in comment.
32199 2010-11-01 Ulrich Drepper <drepper@gmail.com>
32201 * po/da.po: Update from translation team.
32203 2010-10-26 Ulrich Drepper <drepper@gmail.com>
32205 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32206 is added to the list.
32208 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32209 Ulrich Drepper <drepper@gmail.com>
32211 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32212 the global list here. Move code to...
32213 (_dl_add_to_namespace_list): ...here. New function.
32214 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32215 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32216 * elf/dl-load.c (lose): Don't remove the element from the list.
32217 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32218 (_dl_map_object): Likewise.
32220 2010-10-25 Ulrich Drepper <drepper@gmail.com>
32223 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32224 into all bytes of SSE register.
32225 Patch by Richard Li <richardpku@gmail.com>.
32227 2010-10-24 Ulrich Drepper <drepper@gmail.com>
32230 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32233 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32235 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32236 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32237 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32238 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32243 2010-10-22 Andreas Schwab <schwab@redhat.com>
32245 * include/dlfcn.h (__RTLD_SECURE): Define.
32246 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32247 mode & __RTLD_SECURE instead.
32248 (open_path): Rename preloaded parameter to secure.
32249 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32250 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32251 * elf/dl-deps.c (openaux): Likewise.
32252 * elf/rtld.c (struct map_args): Remove is_preloaded.
32253 (map_doit): Don't use it.
32254 (dl_main): Likewise.
32255 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32256 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32258 2010-09-09 Andreas Schwab <schwab@redhat.com>
32260 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32261 (sysd-rules-targets): Remove duplicates.
32262 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32263 rtld-%.$o dependency.
32265 2010-10-18 Andreas Schwab <schwab@redhat.com>
32267 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32268 _dl_map_object do it.
32270 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32272 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32273 fast fma builtins, define the macros in the C99 standard.
32274 (FP_FAST_FMAF): Likewise.
32275 (FP_FAST_FMAL): Likewise.
32276 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32278 * bits/mathdef.h: Update copyright year.
32279 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32281 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32283 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32284 builtins, define the macros in the C99 standard.
32285 (FP_FAST_FMAF): Likewise.
32286 (FP_FAST_FMAL): Likewise.
32287 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32289 (FP_FAST_FMAF): Likewise.
32291 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32294 * math/libm-test.inc (fma_test): Some new testcases.
32295 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32296 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32297 y and infinite z. Do multiplication by C already in long double.
32298 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32300 y and infinite z. Do bitwise or of inexact bit into u.d.
32301 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32302 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32303 * sysdeps/i386/fpu/s_fma.S: Removed.
32304 * sysdeps/i386/fpu/s_fmal.S: Removed.
32306 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32309 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32311 computation is not scheduled after fetestexcept. Fix value
32312 of minimum denormal long double.
32314 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32317 * math/libm-test.inc (fma_test): Add some more tests.
32318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32321 2010-10-15 Andreas Schwab <schwab@redhat.com>
32323 * scripts/data/localplt-s390-linux-gnu.data: New file.
32324 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32326 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32329 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32330 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32332 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32334 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32335 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32336 if one of x and y is very large and the other is subnormal.
32337 * sysdeps/s390/fpu/s_fmaf.c: New file.
32338 * sysdeps/s390/fpu/s_fma.c: New file.
32339 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32340 * sysdeps/powerpc/fpu/s_fma.S: New file.
32341 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32342 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32343 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32345 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32348 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32350 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32351 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32352 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32353 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32354 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32355 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32356 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32358 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32361 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32362 * posix/bug-regex31.input: Add test case.
32364 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32366 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32367 * posix/bug-regex31.input: New file.
32370 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32371 (parse_sub_exp): Fix last change, use postorder.
32373 * posix/bug-regex31.c: New file.
32374 * posix/Makefile: Add rules to build and run bug-regex31.
32376 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32379 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32382 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32383 to have entries in sys_siglist.
32386 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32389 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32392 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32393 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32394 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32395 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32396 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32397 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32398 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32399 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32400 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32401 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32402 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32403 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32404 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32405 * math/ftestexcept.c (fetestexcept): Likewise.
32406 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32407 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32408 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32409 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32410 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32411 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32412 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32414 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32417 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32420 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32422 * string/bug-strstr1.c: New file.
32423 * string/Makefile: Add rules to build and run bug-strstr1.
32425 2010-10-05 Eric Blake <eblake@redhat.com>
32428 * string/str-two-way.h (two_way_long_needle): Always clear memory
32429 when skipping input due to the shift table.
32431 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32434 * malloc/mcheck.c: Handle large requests.
32437 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32438 for strncmp and strncasecmp.
32439 * string/stratcliff.c: Add tests for strcmp and strncmp.
32440 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32442 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32444 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32447 2010-09-30 Andreas Jaeger <aj@suse.de>
32449 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32450 (CGROUP_SUPER_MAGIC): Define.
32451 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32452 Handle btrfs and cgroup file systems.
32453 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32456 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32458 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32459 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32461 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32464 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32465 trying to locate the ELF header.
32467 2010-09-27 Andreas Schwab <schwab@redhat.com>
32470 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32471 Mask out sign-bit copies when constructing f_fsid.
32473 2010-09-24 Petr Baudis <pasky@suse.cz>
32475 * debug/stack_chk_fail_local.c: Add missing licence exception.
32476 * debug/warning-nop.c: Likewise.
32478 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32480 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32481 implementing getdents64 using getdents syscall, set d_type if
32482 __ASSUME_GETDENTS32_D_TYPE.
32484 2010-09-16 Andreas Schwab <schwab@redhat.com>
32486 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32487 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32489 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32492 * posix/unistd.h: Undo change of feature selection for ftruncate from
32495 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32497 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32500 2010-09-20 Andreas Schwab <schwab@redhat.com>
32502 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32504 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32506 2010-09-14 Andreas Schwab <schwab@redhat.com>
32508 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32509 variables after CHECK_SP call.
32510 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32512 2010-09-13 Andreas Schwab <schwab@redhat.com>
32513 Ulrich Drepper <drepper@redhat.com>
32515 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32516 re-relocationg ld.so.
32517 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32518 _dl_init_paths call.
32519 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32522 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32524 * resolv/res_init.c (__res_vinit): Count the default server we added.
32526 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32527 Ulrich Drepper <drepper@redhat.com>
32530 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32531 (____longjmp_chk): Use %ebx for saving value across system call.
32534 2010-09-06 Andreas Schwab <schwab@redhat.com>
32536 * manual/Makefile: Don't mix pattern rules with normal rules.
32538 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32540 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32542 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32543 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32544 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32545 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32546 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32549 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32552 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32553 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32555 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32557 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32558 * sysdeps/x86_64/addmul_1.S: Likewise.
32559 * sysdeps/x86_64/lshift.S: Likewise.
32560 * sysdeps/x86_64/mul_1.S: Likewise.
32561 * sysdeps/x86_64/rshift.S: Likewise.
32562 * sysdeps/x86_64/sub_n.S: Likewise.
32563 * sysdeps/x86_64/submul_1.S: Likewise.
32565 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32567 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32568 Define __sched_param instead of SCHED_* and sched_param when
32569 <bits/sched.h> is included with __need_schedparam defined.
32570 * bits/sched.h [__need_schedparam]
32571 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32572 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32573 (__defined_schedparam): Define to 1.
32574 (__sched_param): New structure, identical to sched_param.
32575 (__need_schedparam): Undefine.
32577 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32579 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32580 (epoll_create1): Declare.
32582 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32584 2010-08-31 Andreas Schwab <schwab@redhat.com>
32587 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32588 shifting retval into place.
32590 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32592 * nis/rpcsvc/nis.h: Update copyright notice.
32593 * nis/rpcsvc/nis.x: Likewise.
32594 * nis/rpcsvc/nis_callback.h: Likewise.
32595 * nis/rpcsvc/nis_callback.x: Likewise.
32596 * nis/rpcsvc/nis_object.x: Likewise.
32597 * nis/rpcsvc/nis_tags.h: Likewise.
32598 * nis/rpcsvc/yp.h: Likewise.
32599 * nis/rpcsvc/yp.x: Likewise.
32600 * nis/rpcsvc/ypupd.h: Likewise.
32601 * nis/yp_xdr.c: Likewise.
32602 * nis/ypupdate_xdr.c: Likewise.
32604 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32605 mainly the body of pmap_getport. Add parameters to specify timeouts.
32606 (pmap_getport): Use __libc_rpc_getport.
32607 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32608 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32609 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32611 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32616 2010-08-27 Roland McGrath <roland@redhat.com>
32618 * sysdeps/i386/i686/multiarch/Makefile
32619 (CFLAGS-varshift.c): New variable.
32621 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32623 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32624 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32626 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32628 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32630 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32632 * sysdeps/x86_64/strlen.S: Unroll the loop.
32633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32634 strlen-sse2 strlen-sse2-bsf.
32635 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32636 __strlen_no_bsf if bit_Slow_BSF is set.
32637 (__strlen_sse42): Removed.
32638 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32639 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32641 2010-08-25 Roland McGrath <roland@redhat.com>
32643 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32644 * sysdeps/x86_64/multiarch/varshift.c: New file.
32645 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32646 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32647 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32648 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32650 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32652 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32653 strlen-sse2 strlen-sse2-bsf.
32654 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32655 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32656 (__strlen_sse2): Removed.
32657 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32658 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32660 bit_Slow_BSF for Atom.
32661 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32662 (index_Slow_BSF): Define.
32663 (HAS_SLOW_BSF): Define.
32665 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32668 * resolv/res_init.c (__res_vinit): When no server address at all
32669 is given default to loopback.
32671 2010-08-24 Roland McGrath <roland@redhat.com>
32673 * configure.in: Remove config-name.h generation.
32674 * configure: Regenerated.
32675 * config-name.in: File removed.
32676 * scripts/config-uname.sh: New file.
32677 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32678 ($(objdir)config-name.h): New target.
32680 * sunrpc/rpc_parse.h: Avoid nested comment.
32682 2010-08-24 Richard Henderson <rth@redhat.com>
32683 Ulrich Drepper <drepper@redhat.com>
32684 H.J. Lu <hongjiu.lu@intel.com>
32686 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32688 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32689 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32690 _mm_alignr_epi8 with _mm_loadu_si128.
32691 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32692 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32693 (__m128i_shift_right): Removed.
32694 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32695 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32696 * sysdeps/x86_64/multiarch/varshift.h: New file.
32697 * sysdeps/x86_64/multiarch/varshift.S: New file.
32699 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32701 * configure.in: Move assembler checks to before sysdep dir checking.
32703 2010-08-20 Petr Baudis <pasky@suse.cz>
32705 * LICENSES: Sync the sunrpc license.
32707 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32709 * sunrpc/auth_des.c: Update copyright notice once again.
32710 * sunrpc/auth_none.c: Likewise.
32711 * sunrpc/auth_unix.c: Likewise.
32712 * sunrpc/authdes_prot.c: Likewise.
32713 * sunrpc/authuxprot.c: Likewise.
32714 * sunrpc/bindrsvprt.c: Likewise.
32715 * sunrpc/clnt_gen.c: Likewise.
32716 * sunrpc/clnt_perr.c: Likewise.
32717 * sunrpc/clnt_raw.c: Likewise.
32718 * sunrpc/clnt_simp.c: Likewise.
32719 * sunrpc/clnt_tcp.c: Likewise.
32720 * sunrpc/clnt_udp.c: Likewise.
32721 * sunrpc/clnt_unix.c: Likewise.
32722 * sunrpc/des_crypt.c: Likewise.
32723 * sunrpc/des_soft.c: Likewise.
32724 * sunrpc/get_myaddr.c: Likewise.
32725 * sunrpc/getrpcport.c: Likewise.
32726 * sunrpc/key_call.c: Likewise.
32727 * sunrpc/key_prot.c: Likewise.
32728 * sunrpc/openchild.c: Likewise.
32729 * sunrpc/pm_getmaps.c: Likewise.
32730 * sunrpc/pm_getport.c: Likewise.
32731 * sunrpc/pmap_clnt.c: Likewise.
32732 * sunrpc/pmap_prot.c: Likewise.
32733 * sunrpc/pmap_prot2.c: Likewise.
32734 * sunrpc/pmap_rmt.c: Likewise.
32735 * sunrpc/rpc/auth.h: Likewise.
32736 * sunrpc/rpc/auth_unix.h: Likewise.
32737 * sunrpc/rpc/clnt.h: Likewise.
32738 * sunrpc/rpc/des_crypt.h: Likewise.
32739 * sunrpc/rpc/key_prot.h: Likewise.
32740 * sunrpc/rpc/netdb.h: Likewise.
32741 * sunrpc/rpc/pmap_clnt.h: Likewise.
32742 * sunrpc/rpc/pmap_prot.h: Likewise.
32743 * sunrpc/rpc/pmap_rmt.h: Likewise.
32744 * sunrpc/rpc/rpc.h: Likewise.
32745 * sunrpc/rpc/rpc_des.h: Likewise.
32746 * sunrpc/rpc/rpc_msg.h: Likewise.
32747 * sunrpc/rpc/svc.h: Likewise.
32748 * sunrpc/rpc/svc_auth.h: Likewise.
32749 * sunrpc/rpc/types.h: Likewise.
32750 * sunrpc/rpc/xdr.h: Likewise.
32751 * sunrpc/rpc_clntout.c: Likewise.
32752 * sunrpc/rpc_cmsg.c: Likewise.
32753 * sunrpc/rpc_common.c: Likewise.
32754 * sunrpc/rpc_cout.c: Likewise.
32755 * sunrpc/rpc_dtable.c: Likewise.
32756 * sunrpc/rpc_hout.c: Likewise.
32757 * sunrpc/rpc_main.c: Likewise.
32758 * sunrpc/rpc_parse.c: Likewise.
32759 * sunrpc/rpc_parse.h: Likewise.
32760 * sunrpc/rpc_prot.c: Likewise.
32761 * sunrpc/rpc_sample.c: Likewise.
32762 * sunrpc/rpc_scan.c: Likewise.
32763 * sunrpc/rpc_scan.h: Likewise.
32764 * sunrpc/rpc_svcout.c: Likewise.
32765 * sunrpc/rpc_tblout.c: Likewise.
32766 * sunrpc/rpc_util.c: Likewise.
32767 * sunrpc/rpc_util.h: Likewise.
32768 * sunrpc/rpcinfo.c: Likewise.
32769 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32770 * sunrpc/rpcsvc/key_prot.x: Likewise.
32771 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32772 * sunrpc/rpcsvc/mount.x: Likewise.
32773 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32774 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32775 * sunrpc/rpcsvc/rex.x: Likewise.
32776 * sunrpc/rpcsvc/rstat.x: Likewise.
32777 * sunrpc/rpcsvc/rusers.x: Likewise.
32778 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32779 * sunrpc/rpcsvc/spray.x: Likewise.
32780 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32781 * sunrpc/rtime.c: Likewise.
32782 * sunrpc/svc.c: Likewise.
32783 * sunrpc/svc_auth.c: Likewise.
32784 * sunrpc/svc_authux.c: Likewise.
32785 * sunrpc/svc_raw.c: Likewise.
32786 * sunrpc/svc_run.c: Likewise.
32787 * sunrpc/svc_simple.c: Likewise.
32788 * sunrpc/svc_tcp.c: Likewise.
32789 * sunrpc/svc_udp.c: Likewise.
32790 * sunrpc/svc_unix.c: Likewise.
32791 * sunrpc/svcauth_des.c: Likewise.
32792 * sunrpc/xcrypt.c: Likewise.
32793 * sunrpc/xdr.c: Likewise.
32794 * sunrpc/xdr_array.c: Likewise.
32795 * sunrpc/xdr_float.c: Likewise.
32796 * sunrpc/xdr_mem.c: Likewise.
32797 * sunrpc/xdr_rec.c: Likewise.
32798 * sunrpc/xdr_ref.c: Likewise.
32799 * sunrpc/xdr_sizeof.c: Likewise.
32800 * sunrpc/xdr_stdio.c: Likewise.
32802 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32805 2010-08-19 Andreas Schwab <schwab@redhat.com>
32807 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32809 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32811 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32812 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32813 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32814 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32815 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32816 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32817 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32818 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32819 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32820 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32821 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32822 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32823 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32824 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32826 2010-07-26 Anton Blanchard <anton@samba.org>
32828 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32829 * malloc/arena.c (heap_trim): Likewise.
32831 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32833 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32835 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32836 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32838 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32840 * sysdeps/i386/elf/Makefile: New file.
32842 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32844 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32845 from fanotify_init.
32846 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32847 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32849 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32851 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32853 * sysdeps/multiarch/strcmp.S: Likewise.
32855 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32857 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32858 strncase_l-nonascii.
32859 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32860 Add strncase_l-ssse3.
32861 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32862 * sysdeps/x86_64/strcmp.S: Likewise.
32863 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32864 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32865 * sysdeps/x86_64/strncase.S: New file.
32866 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32867 * sysdeps/x86_64/strncase_l.S: New file.
32868 * string/Makefile (strop-tests): Add strncasecmp.
32869 * string/test-strncasecmp.c: New file.
32871 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32874 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32875 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32877 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32879 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32881 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32883 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32884 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32885 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32887 2010-05-01 Alan Modra <amodra@gmail.com>
32889 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32890 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32891 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32892 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32893 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32894 tidying. Don't tail-call __sigjmp_save for static lib.
32895 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32897 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32898 (CALL_MCOUNT): Add eh info, and nop after bl.
32899 (TAIL_CALL_SYSCALL_ERROR): New macro.
32900 (PSEUDO_RET): Use it.
32901 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32902 Correct save location of integer regs and cr.
32903 (_dl_profile_resolve): Correct cr save location. Delete nops
32904 after bl when SHARED. Reduce cfi size a little by better
32905 placement of cfi directives.
32906 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32907 make a stack frame. Instead use parm save area as a temp.
32908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32909 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32911 Don't make a stack frame for parent, use parm save area.
32912 Increase child stack frame to 112 bytes. Don't save unused reg,
32913 and adjust reg usage. Set up cfi on error recovery and
32914 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32916 (__makecontext): Add dummy nop after jump to exit.
32917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32918 Use correct parm save area and cr save, reduce stack frame.
32919 Correct cfi for possible PSEUDO_RET frame setup.
32920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32921 Branch to local label emitted by PSEUDO_RET rather than
32924 2010-08-12 Andreas Schwab <schwab@redhat.com>
32927 * locale/programs/locale.c (print_assignment): New function.
32928 (show_locale_vars): Use it.
32930 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32932 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32934 (struct statfs64): Likewise.
32935 (_STATFS_F_FLAGS): Define.
32936 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32937 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32938 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32939 (ST_VALID): Define locally.
32940 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32941 __statvfs_getflags, use the provided value.
32942 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32943 __ASSUME_STATFS_F_FLAGS.
32945 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32947 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32948 Add sys/fanotify.h.
32949 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32950 fanotify_mask for GLIBC_2.13.
32951 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32952 fanotify_init and fanotify_mark.
32953 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32954 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32956 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32958 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32959 prlimit64 for GLIBC_2.13.
32960 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32962 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32965 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32966 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32967 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32968 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32970 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32973 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32974 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32976 * nss/Makefile: Add rules to build and run tst-nss-test1.
32977 * shlib-versions: Add entry for libnss_test1.
32978 * nss/nss_test1.c: New file.
32979 * nss/tst-nss-test1.c: New file.
32981 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32982 (__nss_configure_lookup): Set appropriate entry in
32983 __nss_configure_lookup to true.
32984 * nss/nsswitch.h: Define enum with indeces of databases in
32985 databases and __nss_database_custom arrays. Declare
32986 __nss_database_custom.
32987 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32988 to avoid using nscd when custom rules are installed.
32989 * nss/getXXbyYY_r.c: Likewise.
32990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32992 * nss/nss_files/files-parse.c: Whitespace fixes.
32994 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32997 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32998 * posix/fnmatch_loop.c: Likewise.
33000 2010-07-17 Andi Kleen <ak@linux.intel.com>
33002 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33003 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33004 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33005 * Versions.def [GLIBC_2.13]: Add.
33007 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33009 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33010 Also fail if tpwd after pwuid call is NULL.
33012 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33014 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33015 when converting to ms.
33017 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33019 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33020 EOPNOTSUPP errors with ENOTTY.
33021 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33022 EOPNOTSUPP errors with ENOTTY.
33024 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33026 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33027 Add strcasecmp_l-ssse3.
33028 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33030 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33031 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33032 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33034 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33036 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33038 * string/Makefile (strop-tests): Add strcasecmp.
33039 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33040 strcasecmp_l-nonascii.
33041 (gen-as-const-headers): Add locale-defines.sym.
33042 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33043 * sysdeps/x86_64/strcasecmp.S: New file.
33044 * sysdeps/x86_64/strcasecmp_l.S: New file.
33045 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33046 * sysdeps/x86_64/locale-defines.sym: New file.
33047 * string/test-strcasecmp.c: New file.
33049 * string/test-strcasestr.c: Test both ends of the range of characters.
33050 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33052 2010-07-29 Roland McGrath <roland@redhat.com>
33055 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33057 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33059 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33062 2010-07-27 Andreas Schwab <schwab@redhat.com>
33064 * manual/memory.texi (Malloc Tunable Parameters): Document
33067 2010-07-26 Roland McGrath <roland@redhat.com>
33070 * configure.in (-fgnu89-inline check): Set and substitute
33071 gnu89_inline, not libc_cv_gnu89_inline.
33072 * configure: Regenerated.
33073 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33075 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33077 * string/test-strnlen.c: New file.
33078 * string/Makefile (strop-tests): Add strnlen.
33079 * string/tester.c (test_strnlen): Add a few more test cases.
33080 * string/tst-strlen.c: Better error reporting.
33082 * sysdeps/x86_64/strnlen.S: New file.
33084 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33086 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33087 lower-latency instructions.
33089 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33091 * string/test-strcasestr.c: New file.
33092 * string/test-strstr.c: New file.
33093 * string/Makefile (strop-tests): Add strstr and strcasestr.
33094 * string/str-two-way.h: Don't undefine MAX.
33095 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33097 2010-07-21 Andreas Schwab <schwab@redhat.com>
33099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33100 strcasestr-nonascii.
33101 (CFLAGS-strcasestr-nonascii.c): Define.
33102 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33103 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33104 Remove unused attribute.
33106 2010-07-20 Roland McGrath <roland@redhat.com>
33108 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33109 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33110 ld.so.cache was broken. With it, there is no way to disable dsocaps
33111 like LD_HWCAP_MASK can disable hwcaps.
33113 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33115 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33117 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33119 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33120 call in strcasestr.
33121 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33122 __strcasestr_sse42_nonascii.
33123 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33124 strcasestr-nonascii.c.
33125 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33127 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33129 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33130 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33131 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33132 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33134 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33136 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33139 2010-07-06 Andreas Schwab <schwab@redhat.com>
33142 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33145 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33147 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33148 _PC_PIPE_BUF using F_GETPIPE_SZ.
33150 2010-07-05 Roland McGrath <roland@redhat.com>
33152 * manual/arith.texi (Rounding Functions): Fix rint description
33153 implicit in round description.
33155 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33157 * elf/Makefile: Fix linking for a few tests to make recent linker
33160 2010-06-30 Andreas Schwab <schwab@redhat.com>
33162 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33163 $(common-objpfx)libc_nonshared.a.
33165 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33167 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33168 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33169 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33170 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33171 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33172 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33173 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33174 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33189 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33190 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33191 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33192 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33193 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33194 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33195 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33196 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33197 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33198 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33199 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33200 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33216 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33218 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33219 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33220 * string/memmove.c (memmove): Renamed to ...
33221 (MEMMOVE): ...this. Default to memmove.
33222 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33223 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33226 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33227 mempcpy-ssse3-back memmove-ssse3-back.
33228 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33229 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33230 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33231 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33232 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33233 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33234 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33235 * sysdeps/x86_64/multiarch/memmove.c: New file.
33236 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33237 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33238 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33239 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33240 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33241 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33243 (index_Fast_Copy_Backward): Define.
33244 (HAS_ARCH_FEATURE): Define.
33245 (HAS_FAST_REP_STRING): Define.
33246 (HAS_FAST_COPY_BACKWARD): Define.
33248 2010-06-21 Andreas Schwab <schwab@redhat.com>
33250 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33251 Restore proper fallback handling.
33253 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33256 * posix/group_member.c (__group_member): Correct checking loop.
33258 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33259 OOM in getpwuid_r correctly. Return error number when the caller
33260 should return, otherwise -1.
33261 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33262 call returning > 0 value.
33263 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33265 2010-06-07 Andreas Schwab <schwab@redhat.com>
33267 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33268 libc_nonshared.a from targets in modules-names.
33270 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33272 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33275 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33277 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33278 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33279 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33280 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33282 2010-06-02 Andreas Schwab <schwab@redhat.com>
33284 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33286 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33288 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33291 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33292 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33295 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33297 2010-06-14 Roland McGrath <roland@redhat.com>
33299 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33301 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33303 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33304 __REDIRECT followed by __THROW.
33305 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33306 * posix/getopt.h (getopt): Likewise.
33308 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33310 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33311 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33312 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33314 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33315 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33317 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33319 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33321 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33325 Properly check family and model.
33327 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33329 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33331 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33333 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33335 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33337 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33340 2010-05-19 Andreas Schwab <schwab@redhat.com>
33342 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33345 2010-05-21 Andreas Schwab <schwab@redhat.com>
33347 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33348 and internal_recvmmsg.
33349 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33350 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33351 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33352 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33354 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33355 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33356 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33358 2010-05-20 Andreas Schwab <schwab@redhat.com>
33360 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33362 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33364 POWER7 optimizations.
33365 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33366 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33368 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33370 * version.h: Update for 2.13 development version.
33372 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33374 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33375 exceptions. Return 0.
33377 2010-05-07 Roland McGrath <roland@redhat.com>
33379 * elf/ldconfig.c (main): Add a const.
33381 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33383 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33384 (args_options): Add no-idn option.
33385 (ahosts_keys_int): Add idn_flags to ai_flags.
33386 (parse_option): Handle 'i' option to clear idn_flags.
33388 * malloc/malloc.c (_int_free): Possible race in the most recently
33389 added check. Only act on the data if no current modification
33392 See ChangeLog.17 for earlier changes.