]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Remove locale file dependence on int32_t alignment.
[thirdparty/glibc.git] / ChangeLog
1 2013-10-03 Joseph Myers <joseph@codesourcery.com>
2
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.
10
11 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
12
13 [BZ #431]
14 * manual/string.texi: Fix strncat and wcsncat.
15
16 2013-10-03 Brooks Moses <bmoses@google.com>
17
18 [BZ #15915]
19 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20 * Makerules: ...here, and adjust associated comments.
21
22 2013-10-02 Will Newton <will.newton@linaro.org>
23
24 * malloc/Makefile: Add tst-pvalloc.
25 * malloc/tst-pvalloc.c: New file.
26
27 2013-10-02 Will Newton <will.newton@linaro.org>
28
29 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30 improve test coverage.
31
32 2013-10-02 Will Newton <will.newton@linaro.org>
33
34 * malloc/Makefile: Add tst-posix_memalign.
35 * malloc/tst-posix_memalign.c: New file.
36
37 2013-10-01 Eric Blake <eblake@redhat.com>
38
39 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40 Use __THROWNL rather than __THROW on static functions.
41
42 2013-09-30 Petr Machata <pmachata@redhat.com>
43
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.
125
126 2013-09-30 Andreas Schwab <schwab@suse.de>
127
128 [BZ #15048]
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.
133
134 2013-09-28 Mike Frysinger <vapier@gentoo.org>
135
136 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
137
138 2013-09-28 P. J. McDermott <pj@pehjota.net>
139
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.
143
144 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
145
146 * sysdeps/sh/stackguard-macros.h: New file.
147
148 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
149
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.
156
157 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
158
159 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
160 Fix thread ID register.
161
162 2013-09-25 Joseph Myers <joseph@codesourcery.com>
163
164 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
165 [POSIX || UNIX98]: Require rather than permitting all symbols from
166 <time.h>.
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
173 constant.
174
175 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
176
177 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
178 argument calculation.
179
180 2013-09-24 Joseph Myers <joseph@codesourcery.com>
181
182 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
183 Expect macro.
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.
193
194 2013-09-24 Joseph Myers <joseph@codesourcery.com>
195 Richard Sandiford <richard@codesourcery.com>
196
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
209 maybe_swap_uint32.
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".
218 (GET): New macro.
219 (SET): Likewise.
220 (INC): Likewise.
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
231 locale data.
232
233 2013-09-24 Roland McGrath <roland@hack.frob.com>
234
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.
238
239 2013-09-24 Will Newton <will.newton@linaro.org>
240
241 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
242 macro.
243
244 2013-09-23 Joseph Myers <joseph@codesourcery.com>
245
246 * locale/hashval.h (compute_hashval): Interpret bytes of key as
247 unsigned char.
248
249 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
250
251 * manual/threads.texi (POSIX Threads): Fix a typo.
252
253 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
254
255 [BZ #14547]
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.
260
261 [BZ #14547]
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
267 when malloc fails.
268
269 2013-09-23 Carlos O'Donell <carlos@redhat.com>
270
271 [BZ #15754]
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.
275
276 [BZ #15754]
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.
291
292 2013-09-23 Hector Marco <hecmargi@upv.es>
293 Ismael Ripoll <iripoll@disca.upv.es>
294 Carlos O'Donell <carlos@redhat.com>
295
296 [BZ #15754]
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.
303
304 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
305
306 [BZ #15859]
307 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
308
309 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
310
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.
318
319 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
320
321 * NEWS: Mention malloc probes.
322
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.
330
331 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
332 * manual/probes.texi: Document it.
333
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.
341
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.
350
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.
355
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.
362
363 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
364
365 [BZ #15963, #13985]
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.
369
370 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
371
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.
377 (__cos): Likewise.
378 (slow): Use TAYLOR_SLOW.
379 (sloww): Likewise.
380 (bsloww): Likewise.
381 (csloww): Likewise.
382
383 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
384
385 * stdlib/strtod_l.c: Fix buffer overrun.
386
387 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
388
389 * benchtests/Makefile (bench): Add sincos.
390 * benchtests/bench-sincos.c: New file.
391
392 * math/libm-test.inc (cos_test_data): New test inputs.
393 (sin_test_data): Likewise.
394
395 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
396 macro.
397 (__sin): Use it.
398 (__cos): Likewise.
399 (slow1): Likewise.
400 (slow2): Likewise.
401 (sloww1): Likewise.
402 (sloww2): Likewise.
403 (bsloww1): Likewise.
404 (bsloww2): Likewise.
405 (cslow2): Likewise.
406 (csloww1): Likewise.
407 (csloww2): Likewise.
408
409 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
410 function.
411 (__sin): Use it.
412 (__cos): Likewise.
413
414 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
415 gotos.
416 (__cos): Likewise.
417
418 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
419
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.
426
427 2013-09-18 Joseph Myers <joseph@codesourcery.com>
428 Aldy Hernandez <aldyh@redhat.com>
429
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
448 declaration.
449
450 2013-09-18 Joseph Myers <joseph@codesourcery.com>
451
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.
458
459 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
460 Do not append -msoft-float.
461 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
462
463 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
464
465 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
466
467 2013-09-17 Joseph Myers <joseph@codesourcery.com>
468
469 [BZ #15966]
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.
475
476 2013-09-13 Richard Sandiford <richard@codesourcery.com>
477
478 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
479 prototype.
480 (ctype_startup): Use uint32_t in cast and sizeof for
481 ctype->charnames.
482
483 2013-09-11 Jia Liu <proljc@gmail.com>
484
485 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
486 __daddr_t_defined.
487 [__FreeBSD__]: Likewise.
488
489 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
490
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.
497
498 2013-09-11 Will Newton <will.newton@linaro.org>
499
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.
504
505 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
506
507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
508
509 2013-09-11 Andreas Schwab <schwab@suse.de>
510
511 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
512 if not defined.
513 (O_TMPFILE) [__USE_GNU]: Define.
514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
515 Define.
516
517 2013-09-11 Will Newton <will.newton@linaro.org>
518
519 [BZ #15857]
520 * malloc/malloc.c (__libc_memalign): Check the value of bytes
521 does not overflow.
522
523 2013-09-11 Will Newton <will.newton@linaro.org>
524
525 [BZ #15856]
526 * malloc/malloc.c (__libc_valloc): Check the value of bytes
527 does not overflow.
528
529 2013-09-11 Will Newton <will.newton@linaro.org>
530
531 [BZ #15855]
532 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
533 does not overflow.
534
535 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
536
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.
542
543 2013-09-10 Allan McRae <allan@archlinux.org>
544
545 [BZ #15748]
546 * manual/arith.texi (Parsing of Floats): Clarify
547 cross-reference.
548
549 [BZ #15849]
550 * manual/install.texi (Running make install): Mention
551 --enable-pt-chown.
552 * INSTALL: Regenerated.
553
554 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
555
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
566 `$(tests-static)'.
567 (tests-static): New variable.
568 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
569 dependency to...
570 [($(build-shared),yes)]
571 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
572 ... this.
573 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
574 New dependency.
575
576 2013-09-09 Allan McRae <allan@archlinux.org>
577
578 [BZ #15939]
579 * manual/string.texi (Collation Functions): Fix typo in
580 strcoll example.
581 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
582
583 [BZ #15893]
584 * stdlib/isomac.c (get_null_defines): Fix memory leak.
585
586 [BZ #15892]
587 * libio/memstream.c (open_memstream): Fix memory leak.
588 * libio/wmemstream.c (open_wmemstream): Likewise.
589
590 [BZ #15895]
591 * nscd/netgroupcache.c: Fix nesting of ifdefs.
592
593 2013-09-09 Will Newton <will.newton@linaro.org>
594
595 * malloc/Makefile: Add tst-realloc to tests.
596 * malloc/tst-realloc.c: New file.
597
598 2013-09-09 Allan McRae <allan@archlinux.org>
599
600 [BZ #15844]
601 * COPYING: Update from GNU website to fix FSF address.
602 * COPYING.LIB: Likewise.
603
604 2013-09-06 David S. Miller <davem@davemloft.net>
605
606 * po/zh_TW.po: Update Chinese (traditional) translation from
607 translation project.
608
609 2013-09-06 Richard Sandiford <richard@codesourcery.com>
610 Joseph Myers <joseph@codesourcery.com>
611
612 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
613 "localeinfo.h".
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
632 iovec.
633 * locale/programs/locfile.h: Include "obstack.h".
634 (struct locale_file): Change to store locale file contents instead
635 of header.
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
659 NO_ADD_LOCALE.
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
663 in file.
664 (NO_FINALIZE): Change to NO_ADD_LOCALE.
665 (TABLE): Move defines earlier in file.
666 (ELEMENT): Likewise.
667 (DEFAULT): Likewise.
668 (wctrans_table_add): Move macro and inline function earlier in
669 file.
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.
688
689 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
690
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.
696
697 2013-09-06 Will Newton <will.newton@linaro.org>
698
699 * benchtests/Makefile (string-bench): Add memcpy.
700
701 2013-09-05 Carlos O'Donell <carlos@redhat.com>
702 Cong Wang <amwang@redhat.com>
703
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
709 IPPROTO_BEETPH.
710 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
711 sockaddr_in6, or ipv6_mreq.
712
713 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
714
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.
718
719 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
720
721 * string/test-memrchr.c: New file.
722 * string/test-memrchr-ifunc.c: New file.
723 * string/Makefile: Add new memrchr testcase.
724
725 2013-09-05 Mike Frysinger <vapier@gentoo.org>
726
727 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
728 fanotify_init returns EPERM.
729
730 2013-09-04 Joseph Myers <joseph@codesourcery.com>
731
732 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
733 errors.
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
737 [!_ISOMAC].
738 * include/fenv.h: Condition include of <stdbool.h> and internal
739 declarations on [!_ISOMAC].
740
741 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
742
743 [BZ #15923]
744 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
745
746 2013-09-04 Joseph Myers <joseph@codesourcery.com>
747
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
767 [SHARED].
768 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
769 [SHARED].
770 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
771 [SHARED && !NO_HIDDEN].
772 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
773 [SHARED].
774 [SHARED && DO_VERSIONING]: Likewise..
775 * libio/Makefile [$(versioning) = yes]: Change conditionals to
776 [$(build-shared) = yes].
777 * manual/install.texi (--disable-versioning): Remove
778 documentation.
779 * INSTALL: Regenerated.
780 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
781 to [SHARED].
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].
797
798 2013-09-04 Will Newton <will.newton@linaro.org>
799
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.
831
832 2013-09-04 Will Newton <will.newton@linaro.org>
833
834 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
835
836 2013-09-03 Joseph Myers <joseph@codesourcery.com>
837
838 [BZ #15427]
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.
844
845 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
846
847 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
848 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
849 Add ifunc.
850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
851 Add strcmp-sse2-unaligned
852 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
853
854 2013-09-02 Mike Frysinger <vapier@gentoo.org>
855
856 * Versions.def (libc): Add GLIBC_2.19.
857
858 2013-09-02 Mike Frysinger <vapier@gentoo.org>
859
860 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
861 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
862
863 2013-09-02 Joseph Myers <joseph@codesourcery.com>
864
865 [BZ #14155]
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.
874
875 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
876
877 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
878
879 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
880
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.
894
895 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
896
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.
919
920 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
921
922 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
924
925 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
926
927 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
928 aix specific files.
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.
937
938 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
939 Roland McGrath <roland@hack.frob.com>
940
941 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
942 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
943
944 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
945
946 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
947 __executable_start symbol instead of _start.
948
949 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
950
951 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
952 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
953 Move macros to...
954 * sysdeps/gnu/ldsodefs.h: ... this new file.
955
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.
959
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):
964 Likewise.
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):
968 Likewise.
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.
973
974 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
975 TEST_TRUNC.
976 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
977 functions, renamed from truncdfsf_test, trunctfsf_test,
978 trunctfdf_test.
979 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
980 functions.
981 (do_test): Run all these.
982
983 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
984
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:
1000 Likewise.
1001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1002 Likewise.
1003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1004 Likewise.
1005 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1006
1007 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1008
1009 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1011
1012 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1013
1014 [BZ #15897]
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.
1028
1029 2013-08-27 Roland McGrath <roland@hack.frob.com>
1030
1031 * include/netdb.h [!_ISOMAC]:
1032 Don't include <tls.h>.
1033 (h_errno, __libc_h_errno): Move declaration and macros out of
1034 [_LIBC_REENTRANT].
1035
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"))).
1042
1043 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1044 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1045
1046 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1047
1048 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1049 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1050
1051 * resolv/res_mkquery.c: Include <sys/time.h>.
1052
1053 * inet/ifreq.c: Moved to ...
1054 * sysdeps/unix/ifreq.c: ... here.
1055 * inet/ifreq.c: New file, true stub version.
1056
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>.
1065
1066 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1067 * bits/socket.h: ... here.
1068
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.
1072
1073 2013-08-27 Andreas Schwab <schwab@suse.de>
1074
1075 [BZ #15736]
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
1080 locales.
1081 * string/test-strncasecmp.c (test_main): Likewise.
1082
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.
1088
1089 2013-08-26 Roland McGrath <roland@hack.frob.com>
1090
1091 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1092
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.
1096
1097 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1098
1099 [BZ #15890]
1100 * nscd/aicache.c: Include res_hconf.h.
1101 (addhstaiX): Initialize res_hconf.
1102
1103 2013-08-26 Andreas Schwab <schwab@suse.de>
1104
1105 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1106 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1107
1108 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1109
1110 * nscd/aicache.c (addhstaiX): Fix indentation.
1111
1112 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1113
1114 * configure.ac: Quote $build_pt_chown test.
1115 * configure: Regenerated.
1116
1117 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1118
1119 [BZ #15532]
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.
1125
1126 2013-08-22 David S. Miller <davem@davemloft.net>
1127
1128 * po/ca.po: Update Catalan translation from translation project.
1129 * po/uk.po: Add Ukrainian translations from translation project.
1130
1131 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1132
1133 [BZ #15797]
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
1139 errno is unchanged.
1140
1141 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
1142
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.
1183
1184 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1185
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.
1190
1191 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1192
1193 [BZ #15867]
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
1204 sa_flags value.
1205 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1206 interrupting a syscall and set with option SA_SIGINFO.
1207
1208 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1209
1210 [BZ #15531]
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.
1217
1218 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1219
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.
1223
1224 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1225 Roland McGrath <roland@hack.frob.com>
1226
1227 * Makefile (INSTALL): Remove trailing blank lines from output of
1228 makeinfo.
1229
1230 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1231
1232 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1233 Align 32 bit compat elf_greg to 8 bytes.
1234
1235 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1236
1237 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1238
1239 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1240
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.
1247
1248 2013-08-16 Florian Weimer <fweimer@redhat.com>
1249
1250 [BZ #14699]
1251 CVE-2013-4237
1252 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1253 member.
1254 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1255 member.
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
1259 conditional.
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
1265 strongly.
1266 * manual/conf.texi (Limits for Files): Add portability note to
1267 NAME_MAX, PATH_MAX.
1268 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1269
1270 2013-08-13 Andreas Schwab <schwab@suse.de>
1271
1272 [BZ #15749]
1273 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1274 of fabs.
1275 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1276 LDBL_MAX_EXP >= 16384]: Add tests for it.
1277
1278 2013-08-12 David S. Miller <davem@davemloft.net>
1279
1280 * version.h (RELEASE): Set to "development".
1281 (VERSION): Set to "2.18.90".
1282 * NEWS: Add 2.19 section.
1283
1284 2013-08-03 David S. Miller <davem@davemloft.net>
1285
1286 * po/ko.po: Update Korean translation from translation project.
1287
1288 2013-08-01 David S. Miller <davem@davemloft.net>
1289
1290 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1291 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1292 Bilka.
1293
1294 2013-07-30 David S. Miller <davem@davemloft.net>
1295
1296 * po/fr.po: Update French translation from translation project.
1297
1298 2013-07-28 David S. Miller <davem@davemloft.net>
1299
1300 * po/cs.po: Update Czech translation from translation project.
1301
1302 * po/sv.po: Update Swedish translation from translation project.
1303
1304 2013-07-27 David S. Miller <davem@davemloft.net>
1305
1306 * po/eo.po: Update Esperanto translation from translation project.
1307
1308 * po/vi.po: Update Vietnamese translation from translation project.
1309
1310 * po/de.po: Update German translation from translation project.
1311
1312 2013-07-26 David S. Miller <davem@davemloft.net>
1313
1314 * po/bg.po: Update Bulgarian translation from translation project.
1315
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.
1319
1320 2013-07-24 David S. Miller <davem@davemloft.net>
1321
1322 * po/libc.pot: Update.
1323
1324 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1325
1326 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1327 variable page size.
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.
1331
1332 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1333
1334 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1335
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>
1341
1342 [BZ #15755]
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
1352 CLOSE_ALL_FDS.
1353 * manual/install.texi (Configuring and compiling): Mention
1354 --enable-pt_chown. Add @findex for grantpt.
1355 * INSTALL: Regenerate.
1356
1357 2013-07-20 David S. Miller <davem@davemloft.net>
1358
1359 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1360 difference between 32-bit and 64-bit.
1361
1362 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1363
1364 [BZ #15711]
1365 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1366 Avoid system header dependency with -ffreestanding.
1367 ($(objpfx)bits/syscall%d): Likewise.
1368
1369 2013-07-13 David S. Miller <davem@davemloft.net>
1370
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.
1374
1375 2013-07-07 David S. Miller <davem@davemloft.net>
1376
1377 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1378
1379 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1380
1381 * sysdeps/i386/fpu/libm-test-ulps: Update.
1382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1383
1384 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1385
1386 * configure.in (--enable-lock-elision): Fix message text.
1387 * INSTALL: Regenerate.
1388 * configure: Regenerate.
1389
1390 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1391
1392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1393
1394 2013-07-03 Andreas Jaeger <aj@suse.de>
1395
1396 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1397 define.
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.
1404
1405 2013-07-03 Allan McRae <allan@archlinux.org>
1406
1407 * sysdeps/i386/fpu/libm-test-ulps: Update.
1408
1409 2013-07-02 David S. Miller <davem@davemloft.net>
1410
1411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1412
1413 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1414
1415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1416
1417 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1418
1419 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1421
1422 2013-07-02 Andi Kleen <ak@linux.intel.com>
1423
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.
1429
1430 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1431
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.
1435
1436 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1437
1438 [BZ #13304]
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.
1486
1487 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1488
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
1491 Silvermont.
1492 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1493 macro.
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.
1500
1501 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1502
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
1506 POWER8.
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.
1518
1519 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1520
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
1525 GLRO(dl_hwcap2).
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
1531 struct member.
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.
1543
1544 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1545
1546 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1547 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1548
1549 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1550
1551 [BZ #12492]
1552 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1553 mprotect making __stack_prot writable.
1554
1555 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1556 Joseph Myers <joseph@codesourcery.com>
1557
1558 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1559 as being properly aligned.
1560
1561 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1562
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.
1570
1571 [BZ #15022]
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
1580 around call_map.
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.
1591
1592 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1593
1594 * configure.in (CC): Require GCC version 4.4 or later.
1595 * configure: Regenerated.
1596 * manual/install.texi (Tools for Compilation): Update GCC version
1597 requirement.
1598 * INSTALL: Regenerated.
1599
1600 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1601
1602 [BZ #15674]
1603 * string/test-memcmp.c (check2): New.
1604 (main): Call check2.
1605
1606 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1607
1608 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1609
1610 [BZ #15022]
1611 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1612 over to...
1613 (dl_open_worker) [!SHARED]: ... here.
1614
1615 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1616
1617 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1618
1619 2013-06-25 Richard Henderson <rth@redhat.com>
1620
1621 * locale/programs/locarchive.c: Include <libc-internal.h>
1622
1623 2013-06-25 Joseph Myers <joseph@codesourcery.com>
1624
1625 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1626 trailing whitespace removed.
1627
1628 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1629
1630 [BZ #10283]
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
1635 values.
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.
1648
1649 2013-06-24 Mike Frysinger <vapier@gentoo.org>
1650
1651 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1652 (ALIGN_UP): Likewise.
1653 (PTR_ALIGN_DOWN): Likewise.
1654 (PTR_ALIGN_UP): Likewise.
1655
1656 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1657
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
1661 POWER8.
1662 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1663 (_dl_string_platform): Add case for exporting platform position for
1664 POWER8.
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
1670 power7 directories.
1671 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1672 power7 directories.
1673
1674 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1675
1676 * INSTALL: Regenerate.
1677
1678 * nscd/connections.c (nscd_init): Fix comment.
1679
1680 2013-06-22 Joseph Myers <joseph@codesourcery.com>
1681
1682 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1683
1684 [BZ #15667]
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.
1687
1688 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1689
1690 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1691 DL_DST_REQ_STATIC.
1692 (DL_DST_REQ_STATIC): Remove macro.
1693
1694 2013-06-21 Joseph Myers <joseph@codesourcery.com>
1695
1696 [BZ #7006]
1697 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1698 with a shift of 0 bits.
1699
1700 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1701
1702 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1703 $(tststatic-ENV).
1704
1705 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1706
1707 [BZ #15655]
1708 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1709
1710 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1711
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
1717 recursive call.
1718 * string/memset.c (memset): Likewise.
1719 * string/test-memmove.c (simple_memmove): Disable loop transformation
1720 to library calls.
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.
1725
1726 2013-06-20 Joseph Myers <joseph@codesourcery.com>
1727
1728 * math/test-misc.c (main): Ignore fesetround failure when failures
1729 of subsequent rounding tests would be ignored.
1730
1731 [BZ #15654]
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
1737 FE_TONEAREST.
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.
1744
1745 2013-06-18 Roland McGrath <roland@hack.frob.com>
1746
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.
1750
1751 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1752
1753 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1754 fields.
1755
1756 2013-06-17 Roland McGrath <roland@hack.frob.com>
1757
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.
1763
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.
1769
1770 2013-06-17 Joseph Myers <joseph@codesourcery.com>
1771
1772 * math/test-misc.c (main): Do not treat incorrectly rounded
1773 conversions as failure unless ROUNDING_TESTS passes.
1774
1775 2013-06-15 Joseph Myers <joseph@codesourcery.com>
1776
1777 [BZ #15631]
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.
1781
1782 * math/libm-test.inc (fma_test_data): Add another test.
1783
1784 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1785
1786 * manual/threads.texi (Non-POSIX Extensions): New document
1787 node. Document pthread_getattr_default_np and
1788 pthread_setattr_default_np.
1789
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:
1793 Likewise.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1795 Likewise.
1796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1797 Likewise.
1798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1799 Likewise.
1800 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1801 Likewise.
1802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1803 Likewise.
1804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1805 Likewise.
1806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1807 Likewise.
1808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1809 Likewise.
1810
1811 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1812
1813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1814 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1815
1816 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1817 H.J. Lu <hjl.tools@gmail.com>
1818
1819 [BZ #15627]
1820 * sysdeps/x86_64/rtld-memset.c: Remove file.
1821 * sysdeps/x86_64/rtld-memset.S: New file.
1822
1823 2013-06-14 Joseph Myers <joseph@codesourcery.com>
1824
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
1829 ROUNDING_TESTS.
1830
1831 2013-06-13 Roland McGrath <roland@hack.frob.com>
1832
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.
1837
1838 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1839
1840 * NEWS: Fix note on clock function precision. Text by Roland
1841 McGrath.
1842
1843 2013-06-13 Roland McGrath <roland@hack.frob.com>
1844
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.
1847
1848 2013-06-13 Joseph Myers <joseph@codesourcery.com>
1849
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.
1861
1862 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1863
1864 [BZ #12515]
1865 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1866 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1867
1868 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1869
1870 [BZ #15605]
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.
1875
1876 2013-06-12 Joseph Myers <joseph@codesourcery.com>
1877
1878 * math/bug-nextafter.c: Include <math-tests.h>.
1879 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1880 the relevant type.
1881 * math/bug-nexttoward.c: Include <math-tests.h>.
1882 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1883 the relevant type.
1884 * math/test-misc.c: Include <math-tests.h>.
1885 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1886 the relevant type.
1887
1888 2013-06-12 Andreas Jaeger <aj@suse.de>
1889
1890 * po/ia.po: Update Interlingua translation from translation
1891 project.
1892
1893 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1894
1895 * include/fenv.h: Include stdbool.h.
1896 (struct rm_ctx): New structure.
1897 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1898 Define macro.
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.
1941
1942 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1943
1944 * locale/iso-639.def: Convert to UTF-8.
1945
1946 2013-06-11 Joseph Myers <joseph@codesourcery.com>
1947
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).
1954
1955 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1956
1957 * benchtests/Makefile (string-bench): Add strcpy_chk and
1958 stpcpy_chk.
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
1964 code.
1965 (do_test): Likewise.
1966
1967 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1968
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/
1974 dl-procinfo.h.
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/
1980 dl-procinfo.h.
1981
1982 2013-06-11 Andreas Schwab <schwab@suse.de>
1983
1984 [BZ #14991]
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
2000 characters.
2001 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2002
2003 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2004
2005 * include/sys/time.h: Fix indentation and add copyright header.
2006
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.
2059
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.
2121
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.
2132
2133 2013-06-11 Andreas Schwab <schwab@suse.de>
2134
2135 [BZ #15577]
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.
2141
2142 2013-06-11 Andreas Jaeger <aj@suse.de>
2143
2144 * po/zh_TW.po: Update Chinese (traditional) translation from
2145 translation project.
2146
2147 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2148
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):
2164 Likewise.
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.
2168
2169 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2170
2171 * mach/err_boot.sub: Remove trailing whitespace.
2172 * mach/err_ipc.sub: Likewise.
2173 * mach/err_mach.sub: Likewise.
2174
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.
2184
2185 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2186
2187 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2188 of assigning.
2189
2190 2013-06-08 Joseph Myers <joseph@codesourcery.com>
2191
2192 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2193 otherwise empty TRANS lines.
2194 * sysdeps/gnu/errlist.c: Regenerated.
2195
2196 * catgets/gencat.c (error_print): Use (void) in function
2197 definition.
2198 * crypt/crypt_util.c (__init_des): Likewise.
2199 * crypt/speeds.c (Stop): Likewise.
2200 (main): 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.
2225 (mtrace): 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.
2302
2303 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2304
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.
2313 (malloc): Likewise.
2314 (free): 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.
2351 (skip): Likewise.
2352 (value): 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.
2359 (main): 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.
2379 (PRINT): Likewise.
2380 * stdio-common/printf_fp.c (outchar): Likewise.
2381 (PRINT): Likewise.
2382 * stdio-common/printf_fphex.c (outchar): Likewise.
2383 (PRINT): Likewise.
2384 * stdio-common/printf_size.c (outchar): Likewise.
2385 (PRINT): 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):
2418 Likewise.
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
2427 definitions.
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.
2447
2448 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2449
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.
2455
2456 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2457
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.
2521
2522 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2523
2524 * posix/transbug.c: Remove executable mode.
2525
2526 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2527
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.
2719
2720 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2721
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.
2726
2727 2013-06-05 Andreas Schwab <schwab@suse.de>
2728
2729 [BZ #15100]
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.
2733
2734 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2735
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.
2742
2743 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2744
2745 * string/test-strchrnul.c: Add copyright header.
2746
2747 * posix/tst-getaddrinfo4.c: Increase test timeout.
2748
2749 2013-06-03 Carlos O'Donell <carlos@redhat.com>
2750
2751 [BZ #15536]
2752 * math/libm-test.inc (MAX_EXP): Remove
2753 (MIN_EXP): Define.
2754 (ulp): Use MIN_EXP - MANT_DIG.
2755 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2756
2757 2013-05-31 Carlos O'Donell <carlos@redhat.com>
2758
2759 * po/be.po: Revert last change.
2760 * po/zh_CN.po: Likewise.
2761 * po/header.pot: Likewise.
2762
2763 2013-05-31 Joseph Myers <joseph@codesourcery.com>
2764
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
2771 $(link-libc-args).
2772 (build-module): Link with $(link-libc-args).
2773 (build-module-asneeded): Likewise.
2774 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2775 list of objects.
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
2781 libc.
2782 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2783 libc and ld.so.
2784 ($(objpfx)libpcprofile.so): Likewise.
2785 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2786 libc_nonshared.a.
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
2790 $(link-libc-deps).
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
2801 $(link-libc-deps).
2802 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2803 libc.
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
2808 ld.so.
2809 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2810 $(link-libc-deps).
2811 * sysdeps/i386/fpu/Makefile: Remove file.
2812 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2813 ($(objpfx)libm.so): Remove dependency on ld.so.
2814
2815 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
2816
2817 [BZ # 15553]
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.
2825
2826 2013-05-30 Jeff Law <law@redhat.com>
2827
2828 [BZ #14256]
2829 * manual/errno.texi (ESTALE): Update to account for more than
2830 just NFS file systems.
2831 * sysdeps/gnu/errlist.c: Regenerated.
2832
2833 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2834
2835 [BZ #15465]
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):
2868 Likewise.
2869 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2870 Likewise.
2871 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2872 Likewise.
2873 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2875 Likewise.
2876 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2877 Likewise.
2878 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2879
2880 2013-05-28 Carlos O'Donell <carlos@redhat.com>
2881
2882 * po/be.po: Add descriptive title.
2883 * po/zh_CN.po: Likewise.
2884 * po/header.pot: Likewise.
2885
2886 2013-05-28 Mike Frysinger <vapier@gentoo.org>
2887
2888 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2889 error message.
2890 (enlarge_archive): Likewise.
2891
2892 2013-05-28 Ben North <ben@redfrontdoor.org>
2893
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.
2896
2897 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2898
2899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2900
2901 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2902
2903 * stdio-common/bug26.c (main): Correct fscanf template.
2904
2905 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2906 declare _dl_skip_args.
2907
2908 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2909 Don't declare.
2910
2911 * manual/platform.texi: Add missing @end deftypefun.
2912
2913 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2914
2915 [BZ #15529]
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.
2919
2920 * math/libm-test.inc: Add drem and pow10 to list of tested
2921 functions.
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.
2929
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.
2936
2937 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2938
2939 * manual/platform.texi: Add PowerPC PPR function set documentation.
2940 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2941 implementation.
2942
2943 2013-05-24 Carlos O'Donell <carlos@redhat.com>
2944
2945 * math/libm-test.inc (MAX_EXP): Define.
2946 (ULPDIFF): 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.
2952
2953 2013-05-24 Joseph Myers <joseph@codesourcery.com>
2954
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
2958 END_DATA.
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.
3126
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.
3130 (END): Likewise.
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.
3300
3301 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3302
3303 [BZ #15381]
3304 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3305
3306 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3307
3308 [BZ #14894]
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.
3313
3314 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3315
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.
3319
3320 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3321
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
3328 field to arg_str.
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
3346 and extra2_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
3352 macros.
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
3355 macros.
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
3358 cleanup macros.
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
3361 macros.
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
3364 macros.
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
3367 cleanup macros.
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
3370 cleanup macros.
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
3373 cleanup macros.
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
3376 macros.
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
3379 macros.
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
3382 macros.
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
3385 cleanup macros.
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
3388 cleanup macros.
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
3391 macros.
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
3394 cleanup macros.
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
3397 macros.
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
3400 macros.
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
3403 cleanup macros.
3404 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3405
3406 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3407
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.
3414
3415 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3416
3417 [BZ #15441]
3418 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3419 returns -1.
3420 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3421 null return -1.
3422 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3423 loading the domain.
3424
3425 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3426
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.
3435
3436 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3437
3438 * benchtests/Makefile: Sort function entries.
3439
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.
3451
3452 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3453
3454 [BZ #15339]
3455 * posix/tst-getaddrinfo4.c: New test.
3456 * posix/Makefile (tests): Add it.
3457
3458 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3459
3460 [BZ #15339]
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.
3465
3466 2013-05-21 Andreas Schwab <schwab@suse.de>
3467
3468 [BZ #15014]
3469 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3470 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3471 successful.
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.
3479
3480 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3481
3482 * benchtests/Makefile: Remove instructions for adding
3483 benchmark tests.
3484 * benchtests/README: New file to explain how to execute and
3485 enhance the benchmark tests.
3486
3487 2013-05-21 Andreas Schwab <schwab@suse.de>
3488
3489 [BZ #15493]
3490 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3491 * setjmp/tst-sigsetjmp.c: New test.
3492
3493 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3494
3495 * sysdeps/x86_64/memset.S (memset): New implementation.
3496 (__bzero): Likewise.
3497 (__memset_tail): New function.
3498
3499 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3500
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.
3508
3509 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3510
3511 [BZ #15490]
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):
3516 Likewise.
3517 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3518 <math_private.h>.
3519 (__nearbyintl): Use math_force_eval before restoring
3520 floating-point environment.
3521 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3522
3523 * math/gen-libm-test.pl (special_functions): Remove.
3524 (parse_args): Don't handle TEST_extra. Handle functions with no
3525 return value.
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.
3542
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.
3547
3548 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3549
3550 [BZ #15488]
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
3554 double tests.
3555 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3556 disable.
3557 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3558 check_long_double.
3559
3560 * math/gen-libm-test.pl (@tests): Remove variable.
3561 ($count): Likewise.
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
3582 find_function_ulps.
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.
3647
3648 2013-05-17 Joseph Myers <joseph@codesourcery.com>
3649
3650 [BZ #15480]
3651 [BZ #15485]
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"
3656 exceptions.
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.
3666
3667 * math/libm-test.inc (struct test_f_f1_data): Remove field
3668 extra_init.
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.
3685
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.
3690
3691 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3692 exceptions.
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
3727 test input.
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
3732 that test input.
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
3737 test input.
3738 (lrint_upward_test_data): Test for "inexact" exceptions.
3739 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3740 test input.
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.
3761
3762 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3763
3764 [BZ #15424]
3765 * benchtests/bench-modf.c (struct args): Mark arg0 as
3766 volatile.
3767 * scripts/bench.pl: Mark members of struct args as volatile.
3768
3769 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3770
3771 [BZ # 15497]
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.
3775
3776 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3777
3778 [BZ #15442]
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
3791 into account.
3792 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3793 New macro.
3794 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3795 Likewise.
3796
3797 2013-05-16 Joseph Myers <joseph@codesourcery.com>
3798
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.
3807
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.
3911
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
3917 parse_args.
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.
3934
3935 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3936
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.
4131
4132 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4133
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.
4138
4139 2013-05-16 Richard Henderson <rth@redhat.com>
4140
4141 * math/atest-exp2.c (LIMB64): New macro.
4142 (CONSTSZ): New macro.
4143 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4144 (hexdig): Move ...
4145 (print_mpn_fp): ... to function scope.
4146 (read_mpn_hex): Remove.
4147 (get_log2): Remove.
4148 (exp2_mpn): Use mp_log2.
4149 (main): Use mp_exp1.
4150
4151 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4152
4153 * math/libm-test.inc: Remove comment about not testing "inexact"
4154 exceptions.
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
4170 INEXACT_EXCEPTION.
4171 (rint_towardzero_test_data): Likewise.
4172 (rint_downward_test_data): Likewise.
4173 (rint_upward_test_data): Likewise.
4174
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.
4184
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.
4189
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.
4204
4205 2013-05-13 Peter Collingbourne <pcc@google.com>
4206
4207 * math/atest-exp2.c (get_log2): Remove const attribute.
4208
4209 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4210
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.
4225
4226 2013-05-15 Peter Collingbourne <pcc@google.com>
4227
4228 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4229 (EXTRACT_WORDS64) Use where appropriate.
4230 (INSERT_WORDS64) Likewise.
4231
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.
4235
4236 * malloc/obstack.c (_obstack_compat): Add initializer.
4237
4238 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4239
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.
4245
4246 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4247
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.
4255
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.
4273
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.
4288
4289 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4290 function contents.
4291
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.
4306
4307 2013-05-14 David S. Miller <davem@davemloft.net>
4308
4309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4310
4311 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4312
4313 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4314
4315 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4316 extra_test to int.
4317 (struct test_f_i_data): Change type of max_ulp to int.
4318
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.
4323
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).
4328
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.
4336
4337 * math/libm-test.inc (scalbln_test): Correct function name in END
4338 call.
4339
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.
4344
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.
4349
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.
4356
4357 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4358
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.
4362
4363 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4364
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.
4369
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.
4376
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.
4387
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.
4394
4395 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4396
4397 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4398
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.
4401
4402 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4403
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.
4410
4411 [BZ #14582]
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.
4415
4416 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4417
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.
4428
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
4485 of BUILD_COMPLEX.
4486
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.
4524
4525 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4526
4527 * math/libm-test.inc (fma_test): Use max_value instead of local
4528 variable fltmax.
4529 (nextafter_test): Likewise.
4530
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.
4677
4678 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4679
4680 [BZ #12387]
4681 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4682
4683 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4684
4685 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4686
4687 2013-05-10 Andreas Jaeger <aj@suse.de>
4688
4689 [BZ #15448]
4690 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4691 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4692
4693 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4694
4695 * math/gen-libm-test.pl (adjust_arg): New function.
4696 (special_functions): Handle generating output in both functions
4697 and arrays.
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.
4717
4718 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4719
4720 * benchtests/bench-skeleton.c (startup): Fix coding style.
4721
4722 2013-05-10 Joseph Myers <joseph@codesourcery.com>
4723
4724 [BZ #6809]
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
4732 domain errors.
4733
4734 2013-05-10 Florian Weimer <fweimer@redhat.com>
4735
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
4744 stat.
4745
4746 2013-05-10 Andreas Jaeger <aj@suse.de>
4747
4748 [BZ #15395]
4749 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4750 localization.
4751 Include <locale.h>.
4752
4753 2013-05-09 Carlos O'Donell <carlos@redhat.com>
4754
4755 * elf/dl-close.c (_dl_close_worker): Add comments.
4756
4757 2013-05-09 Joseph Myers <joseph@codesourcery.com>
4758
4759 [BZ #15359]
4760 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4761 high part of pi/2.
4762 (__ieee754_rem_pio2l): Update comments.
4763
4764 [BZ #15429]
4765 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4766 high part of pi/2.
4767 (__ieee754_rem_pio2l): Update comments.
4768
4769 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4770 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4771
4772 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4773 M_PI_4l.
4774
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.
4780
4781 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4782
4783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4784
4785 2013-05-08 Joseph Myers <joseph@codesourcery.com>
4786
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.
4803
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.
4808
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
4832 value.
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.
4837
4838 [BZ #2546]
4839 [BZ #2560]
4840 [BZ #5159]
4841 [BZ #15426]
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
4850 other arguments.
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
4857 other arguments.
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
4864 other arguments.
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
4884 prototype.
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.
4891
4892 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
4893
4894 * benchtests/bench-skeleton.c (main): Preheat CPU.
4895
4896 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4897
4898 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4899
4900 2013-05-07 Roland McGrath <roland@hack.frob.com>
4901
4902 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4903 and _dl_skip_args_internal.
4904
4905 2013-05-07 Carlos O'Donell <carlos@redhat.com>
4906
4907 * manual/message.texi (Message Translation): Talk about users.
4908 Message to key mapping impacts design.
4909
4910 2013-05-06 Roland McGrath <roland@hack.frob.com>
4911
4912 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4913
4914 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4915
4916 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4917 * sysdeps/wordsize-64/glob64.c: ... here.
4918
4919 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4920 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4921 New macros.
4922
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.
4929
4930 * io/poll.c (__poll): Renamed from poll.
4931 Add libc_hidden_def.
4932 (poll): Define as weak alias.
4933
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.
4940
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.
4951
4952 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4953 (setrlimit): Define as weak alias.
4954
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.
4959
4960 2013-05-06 Joseph Myers <joseph@codesourcery.com>
4961
4962 * math/gen-libm-test.pl (parse_args): Initialize x before each
4963 test of frexp, modf and remquo.
4964
4965 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4966 test signgam value.
4967
4968 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4969
4970 [BZ #15418]
4971 [BZ #15419]
4972 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4973 internal tests.
4974 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4975
4976 2013-05-06 Roland McGrath <roland@hack.frob.com>
4977
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.
4982
4983 2013-05-04 Joseph Myers <joseph@codesourcery.com>
4984
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
4992 functions.
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.
5015
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.
5025
5026 2013-05-03 Roland McGrath <roland@hack.frob.com>
5027
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.
5046
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].
5051
5052 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5053
5054 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5055 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5056 definition.
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.
5062
5063 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5064
5065 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5066 test signgam value.
5067
5068 * math/libm-test.inc (hypot_test): Do not use
5069 IGNORE_ZERO_INF_SIGN.
5070
5071 2013-05-03 Andreas Jaeger <aj@suse.de>
5072
5073 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5074 Linux 3.9.
5075 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5076 (PF_MAX): Adjust for VSOCK change.
5077
5078 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5079
5080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5081
5082 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5083
5084 [BZ #15264]
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.
5088
5089 2013-05-02 David S. Miller <davem@davemloft.net>
5090
5091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5092
5093 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5094
5095 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5096
5097 2013-05-01 Roland McGrath <roland@hack.frob.com>
5098
5099 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5100
5101 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5102
5103 [BZ #14952]
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__)).
5109
5110 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5111
5112 [BZ #15423]
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.
5124
5125 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5126
5127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5128
5129 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5130
5131 [BZ #15416]
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.
5143
5144 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5145
5146 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5147
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.
5152 (VARIANT): Define.
5153 * benchtests/bench-skeleton.c (main): Run benchmark for each
5154 variant.
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.
5173
5174 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5175 in CPPFLAGS.
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
5180 iterations.
5181 * scripts/bench.pl: Don't expect iterations in parameters.
5182
5183 2013-04-29 Roland McGrath <roland@hack.frob.com>
5184
5185 * io/fchdir.c (__fchdir): Renamed from fchdir.
5186 (fchdir): Define as weak alias.
5187
5188 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5189
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
5204 check_int.
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.
5217
5218 2013-04-29 Andreas Jaeger <aj@suse.de>
5219
5220 [BZ #15084]
5221 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5222 and RES_USEVC.
5223
5224 [BZ #15085]
5225 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5226 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5227 unimplemented.
5228
5229 [BZ #15380]
5230 * stdlib/random.c (__initstate): Return NULL if
5231 __initstate fails.
5232
5233 [BZ #15086]
5234 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5235 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5236 RES_SNGLKUPREOP.
5237
5238 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5239
5240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5241
5242 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5243
5244 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5245 of individual tests.
5246 (casin_test): Likewise.
5247 (casinh_test): Likewise.
5248
5249 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5250
5251 [BZ #15409]
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
5258 and redefine.
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
5262 and redefine.
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.
5269
5270 2013-04-27 Andreas Jaeger <aj@suse.de>
5271
5272 [BZ #15007]
5273 * stdlib/stdlib.h: Update guards for qecvt.
5274 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5275 <stdlib.h>.
5276
5277 2013-04-27 Allan McRae <allan@archlinux.org>
5278
5279 * sysdeps/i386/fpu/libm-test-ulps: Update.
5280
5281 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5282
5283 [BZ #15406]
5284 * math/s_catan.c: Include <float.h>.
5285 (__catan): Ensure underflow exception occurs for underflowed
5286 result.
5287 * math/s_catanf.c: Include <float.h>.
5288 (__catanf): Ensure underflow exception occurs for underflowed
5289 result.
5290 * math/s_catanh.c: Include <float.h>.
5291 (__catanh): Ensure underflow exception occurs for underflowed
5292 result.
5293 * math/s_catanhf.c: Include <float.h>.
5294 (__catanhf): Ensure underflow exception occurs for underflowed
5295 result.
5296 * math/s_catanhl.c: Include <float.h>.
5297 (__catanhl): Ensure underflow exception occurs for underflowed
5298 result.
5299 * math/s_catanl.c: Include <float.h>.
5300 (__catanl): Ensure underflow exception occurs for underflowed
5301 result.
5302 * math/libm-test.inc (catan_test): Add more tests.
5303 (catanh_test): Likewise.
5304
5305 [BZ #15405]
5306 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5307 underflowed result.
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.
5320
5321 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5322
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.
5330
5331
5332 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5333
5334 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5335
5336 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5337
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
5369 tests.
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):
5386 Likewise.
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.
5431
5432 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5433
5434 [BZ #15366]
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.
5440
5441 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5442
5443 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5444 __ehdr_start with hidden visibility.
5445
5446 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5447
5448 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5449
5450 * math/libm-test.inc (cos_test): Use accurate hex constants.
5451 (sincost_test): Likewise.
5452
5453 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5454
5455 * math/libm-test.inc (catan_test): Add more tests.
5456 (catanh_test): Likewise.
5457
5458 * math/s_catanf.c (__catanf): Use suffixed floating-point
5459 constants.
5460 * math/s_catanhf.c (__catanhf): Likewise.
5461 * math/s_catanhl.c (__catanhl): Likewise.
5462 * math/s_catanl.c (__catanl): Likewise.
5463
5464 [BZ #15394]
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.
5477
5478 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5479
5480 * benchtests/Makefile: Mention files in which fast and slow
5481 paths of math functions are implemented.
5482
5483 2013-04-23 Roland McGrath <roland@hack.frob.com>
5484
5485 * sysdeps/posix/timespec_get.c: New file.
5486
5487 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5488
5489 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5490 POWER.
5491 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5492 for POWER.
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
5498
5499 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5500
5501 [BZ #14888]
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.
5506
5507 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5508
5509 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5510 member.
5511 (_nss_files_init): Set it here.
5512
5513 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5514
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
5517 unsigned.
5518
5519 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5520
5521 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5522
5523 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5524
5525 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5526 size just once.
5527
5528 2013-04-21 David S. Miller <davem@davemloft.net>
5529
5530 * po/ru.po: Update Russion translation from translation project.
5531
5532 2013-04-17 Adam Conrad <adconrad@0c3.net>
5533
5534 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5535 and setfsgid.
5536
5537 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5538
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.
5544
5545 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5546
5547 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5548 slowtan.
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.
5555
5556 2013-04-16 Roland McGrath <roland@hack.frob.com>
5557
5558 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5559 considered kosher.
5560
5561 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5562
5563 * benchtests/Makefile: Include cppflags-iterator.mk to add
5564 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5565
5566 * Makefile.in (bench-clean): New target.
5567 * benchtests/Makefile (bench-clean): Likewise.
5568
5569 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5570
5571 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5572
5573 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5574
5575 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5576
5577 2013-04-15 Andreas Schwab <schwab@suse.de>
5578
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
5583 more than recsize.
5584
5585 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5586
5587 * benchtests/Makefile (bench): Write all output to
5588 bench-out.tmp together.
5589
5590 2013-04-15 Andreas Schwab <schwab@suse.de>
5591
5592 * nscd/nscd.c (main): Don't fork again after closing files.
5593
5594 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5595
5596 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5597
5598 * benchtests/Rules (bench-deps): Collect dependencies into a
5599 single variable. Add Makefile to dependencies.
5600 ($(objpfx)bench-%.c): Depend on bench-deps.
5601
5602 2013-04-12 Roland McGrath <roland@hack.frob.com>
5603 Xavier Roche <roche+kml2@exalead.com>
5604
5605 [BZ #15361]
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.
5610
5611 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5612
5613 * Rules (bench): Move target definition...
5614 * benchtests/Makefile: ... here.
5615
5616 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5617
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.
5622
5623 2013-04-11 Andreas Schwab <schwab@suse.de>
5624
5625 [BZ #13988]
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.
5630
5631 [BZ #14293]
5632 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5633 non-freeable.
5634
5635 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5636
5637 * Makeconfig (rtld-prefix): Define built linker prefix.
5638 * Rules (run-bench): Use it.
5639 * math/Makefile (run-regen-ulps): Likewise.
5640
5641 * Rules (bench): Remove eval.
5642
5643 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5644 Roland McGrath <roland@hack.frob.com>
5645 Ondrej Bilka <neleai@seznam.cz>
5646
5647 [BZ #15346]
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
5651 trailing spaces.
5652
5653 2013-04-08 Roland McGrath <roland@hack.frob.com>
5654
5655 [BZ #14280]
5656 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5657 when computing value.
5658
5659 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5660
5661 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5662 Use testrun.sh to run libm tests.
5663
5664 [BZ #15309]
5665 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5666
5667 2013-04-06 Marko Myllynen <myllynen@redhat.com>
5668
5669 [BZ #15264]
5670 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5671
5672 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5673
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
5684 otherwise use "".
5685 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5686
5687 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5688
5689 [BZ #10060, #10062]
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.
5697
5698 2013-04-06 Carlos O'Donell <carlos@redhat.com>
5699
5700 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5701 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5702
5703 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5704
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).
5710
5711 * stdio-common/tstdiomisc.c (F): Properly collect individual
5712 tests' results.
5713
5714 [BZ #14686, #15336]
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.
5720
5721 [BZ #15335, #15342]
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.
5725
5726 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5727 unreachable code.
5728
5729 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5730 definitions.
5731
5732 2013-04-03 Joseph Myers <joseph@codesourcery.com>
5733
5734 [BZ #14478]
5735 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5736 underflowed result.
5737 * math/s_cexpf.c (__cexpf): Likewise.
5738 * math/s_cexpl.c (__cexpl): Likewise.
5739 * math/libm-test.inc (cexp_test): Add more tests.
5740
5741 2013-04-03 Andreas Schwab <schwab@suse.de>
5742
5743 [BZ #15330]
5744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5745 order arrays from heap if bigger than alloca cutoff.
5746
5747 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5748
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
5752 GCC PR56828.
5753
5754 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5755
5756 * Rules (bench): Move bench.out after the run is complete.
5757
5758 * Rules (bench): Echo currently running benchmark.
5759
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.
5764
5765 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5766 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5767 its value.
5768
5769 [BZ #15305]
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.
5776
5777 2013-04-02 Joseph Myers <joseph@codesourcery.com>
5778
5779 [BZ #15327]
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.
5789
5790 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5791
5792 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5794
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.
5799
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.
5810
5811 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5812
5813 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5814 instructions.
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.
5820
5821 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5822
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
5831 declaration.
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
5842 issignaling.
5843 * math/libm-test.inc (print_float, issignaling_test): New
5844 functions.
5845 (check_float_internal): Add issignaling checks.
5846 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5847 default definition.
5848 * sysdeps/powerpc/math-tests.h: New file.
5849 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5850 tests.
5851 * math/test-snan.c (TEST_FUNC): Likewise.
5852
5853 2013-03-30 David S. Miller <davem@davemloft.net>
5854
5855 * po/de.po: Update from translation team.
5856
5857 2013-03-30 Joseph Myers <joseph@codesourcery.com>
5858
5859 [BZ #10357]
5860 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5861 imaginary part less than 1.0 and real part less than 0.5
5862 specially.
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.
5871
5872 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5873
5874 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5875 ONE with its value.
5876
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.
5885
5886 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5887
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.
5896 (__sqr): Likewise.
5897
5898 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5899
5900 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5901
5902 2013-03-28 Roland McGrath <roland@hack.frob.com>
5903
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.
5908
5909 2013-03-28 Roland McGrath <roland@hack.frob.com>
5910
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.
5916
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.
5922
5923 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5924 Declare them here.
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.
5928
5929 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5930 (__libc_message): Never call vsyslog.
5931
5932 2013-03-28 Alan Modra <amodra@gmail.com>
5933
5934 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5935 Define as empty.
5936 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5937 Likewise.
5938
5939 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5940
5941 [BZ #15214]
5942 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5943 underflow.
5944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5945
5946 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5947
5948 [BZ #15304]
5949 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5950 Don't add gid passed as argument.
5951
5952 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5953
5954 2013-03-27 Joseph Myers <joseph@codesourcery.com>
5955
5956 [BZ #15307]
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
5959 specially.
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.
5967
5968 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5969
5970 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5971 constants.
5972 (norm): Likewise.
5973 (denorm): Likewise.
5974 (__dbl_mp): Likewise.
5975 (add_magnitudes): Likewise.
5976 (sub_magnitudes): Likewise.
5977 (__add): Likewise.
5978 (__sub): Likewise.
5979 (__mul): Likewise.
5980 (__sqr): Likewise.
5981 (__inv): Likewise.
5982 (__dvd): Likewise.
5983
5984 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5985 commented code.
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.
5992 (__exp1): Likewise.
5993 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5994 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5995 (log1): 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.
6002 (bsloww): Likewise.
6003 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6004
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.
6009 (denorm): Likewise.
6010 (__dbl_mp): Likewise.
6011 (add_magnitudes): Likewise.
6012 (sub_magnitudes): Likewise.
6013 (__mul): Likewise.
6014 (__sqr): 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.
6021
6022 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6023
6024 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6025 llroundl symbol when building for PPC32.
6026
6027 2013-03-24 Mark H Weaver <mhw@netris.org>
6028
6029 * manual/arith.texi (Normalization Functions): Fix prototypes for
6030 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6031
6032 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6033
6034 [BZ #13889]
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.
6040
6041 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6042
6043 [BZ #11120]
6044 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6045 with NOT_IN_libc.
6046
6047 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6048
6049 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6050 symbol.
6051
6052 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6053
6054 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6055 wrap blocks consisting of several statements.
6056
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.
6061
6062 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6063
6064 [BZ #15285]
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.
6078
6079 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6080
6081 * Rules ($(objpfx)bench-%.c): Include code from a C source
6082 file.
6083
6084 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6085
6086 [BZ #15287]
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.
6096
6097 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6098
6099 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6100 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6101
6102 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6103
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.
6112 (MIG): 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
6123 LIBC_CONFIG_VAR.
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
6132 LIBC_CONFIG_VAR.
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.
6142
6143 2013-03-20 Roland McGrath <roland@hack.frob.com>
6144
6145 [BZ #14812]
6146 * locale/programs/localedef.c (options): Put N_ translation marker
6147 on argument names, not just descriptions.
6148
6149 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6150
6151 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6152
6153 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6154
6155 [BZ #14176]
6156 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6157
6158 2013-03-19 Roland McGrath <roland@hack.frob.com>
6159
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.
6173
6174 2013-03-19 Joseph Myers <joseph@codesourcery.com>
6175
6176 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6177 constants.
6178 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6179 double constants.
6180
6181 2013-03-19 Andreas Schwab <schwab@suse.de>
6182
6183 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6184 * sysdeps/gnu/configure: Regenerate.
6185
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
6197 for source.
6198
6199 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6200
6201 * manual/nptl.texi: Renamed to ...
6202 * manual/threads.texi: ... this.
6203 * manual/Makefile (chapters): Update.
6204
6205 2013-03-18 Roland McGrath <roland@hack.frob.com>
6206
6207 [BZ #14812]
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.
6212
6213 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
6214
6215 [BZ #14812]
6216 * iconv/iconv_prog.c (options): Put N_ translation marker
6217 on argument names, not just descriptions.
6218 * iconv/iconvconfig.c (options): Likewise.
6219
6220 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
6221
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.
6226
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.
6231
6232 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6233 Inline strlen part.
6234 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6235
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.
6242
6243 2013-03-17 Carlos O'Donell <carlos@redhat.com>
6244
6245 * manual/memory.texi (Malloc Tunable Parameters):
6246 Sort parameters alphabetically. Add comments for missing entries.
6247
6248 2013-03-17 David S. Miller <davem@davemloft.net>
6249
6250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6251
6252 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6253
6254 [BZ #15283]
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.
6263
6264 [BZ #14155]
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.
6274
6275 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6276
6277 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6278 variable.
6279
6280 2013-03-15 Roland McGrath <roland@hack.frob.com>
6281
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.
6285
6286 * sysdeps/unix/sysv/linux/ldsodefs.h
6287 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6288 * sysdeps/generic/ldsodefs.h: ... here.
6289
6290 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6291
6292 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6293
6294 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6295 math/test-snan.c.
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
6300 test-powerpc-snan.
6301
6302 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6303 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6304 functions.
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):
6310 Remove variables.
6311 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6312 Remove functions.
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,
6316 respectively.
6317
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.
6323
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):
6333 Likewise.
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.
6340
6341 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6342 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6343 doubles.
6344
6345 * math/test-misc.c (main): Fix copy'n'pastos.
6346 * misc/tst-efgcvt.c (special): Likewise.
6347
6348 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6349 Remove declarations.
6350
6351 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6352
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.
6357
6358 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6359
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.
6364
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>
6368
6369 * Makefile.in (bench): New target.
6370 * NEWS: Mention the benchmark framework.
6371 * Rules (bench): Likewise.
6372 (binaries-bench): Generate binaries for functions to
6373 benchmark.
6374 * benchtests/Makefile: New makefile for benchmark tests.
6375 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6376 programs.
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
6380 benchmark programs.
6381
6382 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6383
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
6387 division.
6388 (denorm): Likewise.
6389 (__dbl_mp): Likewise.
6390 (add_magnitudes): Likewise.
6391 (sub_magnitudes): Likewise.
6392 (__mul): Likewise.
6393 (__sqr): 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.
6400
6401 * manual/nptl.texi (cindex): Modify threads to pthreads.
6402
6403 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6404
6405 * sysdeps/x86_64/preconfigure: Regenerated.
6406
6407 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6408
6409 [BZ #14155]
6410 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6411 0x1p28 and above.
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
6414 0x1p28 and above.
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.
6419
6420 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6421
6422 * manual/Makefile (chapters): Add nptl.
6423 * manual/debug.texi (Debugging Support): Add link to Threads
6424 chapter.
6425 * manual/nptl.texi: New file.
6426
6427 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6428
6429 2013-03-14 Petr Baudis <pasky@ucw.cz>
6430
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>.
6434
6435 2013-03-13 Andreas Schwab <schwab@suse.de>
6436
6437 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6438 instead of .os.
6439
6440 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6441
6442 * timezone/zic.c: Update from tzcode 2013b.
6443
6444 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6445
6446 * manual/install.texi (Configuring and compiling):
6447 Mention i686 and i586.
6448 * INSTALL: Regenerate.
6449
6450 2013-03-12 Roland McGrath <roland@hack.frob.com>
6451
6452 * sysdeps/init_array/elf-init.c: New file.
6453 * csu/elf-init.c
6454 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6455 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6456
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.
6462
6463 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6464
6465 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6466 definining bcopy.
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
6473 memset-x86-64.
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.
6480
6481 2013-03-11 Andreas Schwab <schwab@suse.de>
6482
6483 [BZ #15234]
6484 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6485 by SHLIB_COMPAT.
6486 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6487 (GLIBC_2.16): Remove pthread_atfork.
6488
6489 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6490
6491 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6492 (ptestcases.h): Likewise.
6493
6494 2013-03-08 Roland McGrath <roland@hack.frob.com>
6495
6496 * Makeconfig ($(common-objpfx)config.status): Depend on
6497 sysdeps/*/preconfigure{,.in} too.
6498
6499 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6500
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.
6529
6530 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6531
6532 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6533 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6534 __malloc_ptrdiff_t.
6535
6536 * malloc/malloc.h (__malloc_size_t): Remove macro.
6537 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6538 __malloc_size_t.
6539 (old_memalign_hook): Likewise.
6540 (old_realloc_hook): Likewise.
6541 (struct hdr): Likewise.
6542 (flood): 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.
6552
6553 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6554
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
6558 implementation.
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.
6568
6569 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6570
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.
6579
6580 2013-03-07 Andreas Jaeger <aj@suse.de>
6581
6582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6583 bits/mman-linux.h.
6584
6585 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6586
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.
6596
6597 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6598 (__slowpow): Use long double EXPL and LOGL functions to
6599 compute POW.
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.
6606
6607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6608 intermediate variable to calculate exponent.
6609 (__sqr): Likewise.
6610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6611 Likewise.
6612 (__sqr): Likewise.
6613
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.
6620
6621 [BZ #12723]
6622 * posix/Makefile (tests): Add tst-pathconf.
6623 * posix/tst-pathconf.c: New test case.
6624 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6625 _PC_PIPE_BUF.
6626 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6627
6628 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
6629
6630 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6631
6632 2013-03-06 Andreas Jaeger <aj@suse.de>
6633
6634 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6635 definition via __MAP_ANONYMOUS.
6636
6637 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6638 it's not part of Linux headers.
6639
6640 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6641 (MAP_HUGE_MASK): Define.
6642
6643 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6644 Define.
6645 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6646 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6647 Define.
6648 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6649 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6650 Define.
6651 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6652 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6653 Define.
6654 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6655
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.
6662
6663 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6664 Handle f2fs.
6665
6666 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6667 Handle f2fs and efivarfs.
6668
6669 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6670 f2fs.
6671
6672 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6673 (EFIVARFS_MAGIC): Add.
6674 (F2FS_LINK_MAX): Add.
6675
6676 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6677
6678 * stdio-common/vfprintf.c: Replace __builtin_expect with
6679 __glibc_unlikely.
6680
6681 2013-03-06 Joseph Myers <joseph@codesourcery.com>
6682
6683 [BZ #13550]
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>
6690 and <bp-asm.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
6696 <bp-asm.h>.
6697 (memcpy): Don't use BP_SYM.
6698 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6699 <bp-asm.h>.
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
6709 pointers.
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
6724 pointers.
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
6742 pointers.
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
6774 pointers.
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.
6785 (_start): Likewise.
6786 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6787 <bp-asm.h>.
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
6793 <bp-asm.h>.
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
6800 <bp-asm.h>.
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
6805 <bp-asm.h>.
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
6812 <bp-asm.h>.
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>
6816 and <bp-asm.h>.
6817 (strncmp): Don't use BP_SYM. Remove comment about bounded
6818 pointers.
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
6825 comment.
6826
6827 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6828
6829 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6830 call free(NULL).
6831
6832 2013-03-05 David S. Miller <davem@davemloft.net>
6833
6834 * po/es.po: Update from translation team.
6835
6836 2013-03-05 Andreas Jaeger <aj@suse.de>
6837
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
6841 is fine.
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
6845 is fine.
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
6849 is fine.
6850 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6851 <bits/mman-linux.h> to end of file.
6852
6853 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6854 (MCL_CURRENT, MCL_FUTURE): Define here.
6855
6856 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6857
6858 [BZ #15232]
6859 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6860 attribute_hidden.
6861 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6862
6863 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6864
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.
6873
6874 2013-03-04 Joseph Myers <joseph@codesourcery.com>
6875
6876 [BZ #13550]
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.
6881
6882 2013-03-04 Andreas Jaeger <aj@suse.de>
6883
6884 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6885 common definitions.
6886
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.
6893
6894 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6895
6896 [BZ #15055]
6897 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6898 __ieee754_sqrl instead of __sqrl.
6899
6900 2013-03-01 Joseph Myers <joseph@codesourcery.com>
6901
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.
6908
6909 2013-03-01 Roland McGrath <roland@hack.frob.com>
6910
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.
6921
6922 2013-03-01 Carlos O'Donell <carlos@redhat.com>
6923
6924 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6925 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6926
6927 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6928
6929 * NEWS: Mention libm performance improvements and non-x86 PI
6930 futex support.
6931
6932 * csu/libc-start.c (__pthread_initialize_minimal): Change
6933 function arguments.
6934 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6935
6936 2013-02-28 Joseph Myers <joseph@codesourcery.com>
6937
6938 [BZ #13550]
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>
6944 and <bp-asm.h>.
6945 (memcpy): Don't use BP_SYM.
6946 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6947 <bp-asm.h>.
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>
6951 and <bp-asm.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
6955 <bp-sym.h>.
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
6961 <bp-sym.h>.
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
6976 <bp-asm.h>.
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
6980 <bp-asm.h>.
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
6985 <bp-asm.h>.
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
7046 <bp-asm.h>.
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.
7054 (_start): Likewise.
7055 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7056 <bp-asm.h>.
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
7061 <bp-asm.h>.
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
7066 <bp-asm.h>.
7067 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7068 comments.
7069 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7070 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7071 <bp-asm.h>.
7072 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7073 FIXME comments.
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
7077 <bp-asm.h>.
7078 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7079 comment.
7080 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7081 and <bp-asm.h>.
7082 (strncmp): Don't use BP_SYM,
7083 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7084 <bp-asm.h>.
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>
7088 and <bp-asm.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
7097 comment.
7098
7099 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7100
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.
7107
7108 2013-02-27 Roland McGrath <roland@hack.frob.com>
7109
7110 * csu/gmon-start.c: Add special exception to license text.
7111
7112 2013-02-27 Richard Henderson <rth@redhat.com>
7113
7114 * scripts/config.guess: Update from config.git.
7115 * scripts/config.sub: Likewise.
7116
7117 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7118
7119 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7120
7121 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7122
7123 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7124
7125 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7126
7127 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7128
7129 2013-02-26 Roland McGrath <roland@hack.frob.com>
7130
7131 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7132 [$(build-shared = yes].
7133
7134 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7135
7136 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7137 (__mul): Reduce iterations for calculating mantissa.
7138
7139 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7140 MPTWO.
7141 (__mpranred): Likewise.
7142
7143 [BZ #15160]
7144 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7145 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7146
7147 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7148
7149 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7150 Define __attribute__.
7151
7152 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7153
7154 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7155 unused.
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
7160 unused.
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.
7166
7167 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7168
7169 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7170 code.
7171 (cc32): Likewise.
7172
7173 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7174 (__acr): Likewise.
7175 (__cpy): Likewise.
7176 (norm): Likewise.
7177 (denorm): Likewise.
7178 (__dbl_mp): Likewise.
7179 (add_magnitudes): Likewise.
7180 (sub_magnitudes): Likewise.
7181 (__mul): Likewise.
7182 (__inv): Likewise.
7183
7184 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7185 style.
7186
7187 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7188 style.
7189
7190 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7191 code.
7192
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):
7196 Likewise.
7197
7198 2013-02-24 Allan McRae <allan@archlinux.org>
7199
7200 * manual/socket.texi (The Internet Namespace): Order menu items
7201 to match that in the file.
7202
7203 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7204 node listing of the info page menu.
7205
7206 2013-02-21 Joseph Myers <joseph@codesourcery.com>
7207
7208 [BZ #13550]
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.
7212 (S1): Likewise.
7213 (S2): Likewise.
7214 (SIZE): Likewise.
7215 (__mpn_add_n): Do not use BP_SYM
7216 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7217 "bp-asm.h".
7218 (PARMS): Do not use macros from bp-asm.h.
7219 (S1): Likewise.
7220 (SIZE): Likewise.
7221 (__mpn_addmul_1): Do not use BP_SYM
7222 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7223 "bp-asm.h".
7224 (PARMS): Do not use macros from bp-asm.h.
7225 (SIGMSK): Likewise.
7226 (_setjmp): Likewise. Do not use BP_SYM.
7227 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7228 "bp-asm.h".
7229 (PARMS): Do not use macros from bp-asm.h.
7230 (SIGMSK): Likewise.
7231 (setjmp): Likewise. Do not use BP_SYM.
7232 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7233 "bp-asm.h".
7234 (PARMS): Do not use macros from bp-asm.h.
7235 (__frexp): Do not use BP_SYM.
7236 (frexp): Likewise.
7237 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7238 "bp-asm.h".
7239 (PARMS): Do not use macros from bp-asm.h.
7240 (__frexpf): Do not use BP_SYM.
7241 (frexpf): Likewise.
7242 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7243 "bp-asm.h".
7244 (PARMS): Do not use macros from bp-asm.h.
7245 (__frexpl): Do not use BP_SYM.
7246 (frexpl): Likewise.
7247 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7248 "bp-asm.h".
7249 (PARMS): Do not use macros from bp-asm.h.
7250 (__remquo): Do not use BP_SYM.
7251 (remquo): Likewise.
7252 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7253 "bp-asm.h".
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
7258 "bp-asm.h".
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
7263 "bp-asm.h".
7264 (PARMS): Do not use macros from bp-asm.h.
7265 (DEST): Likewise.
7266 (SRC): Likewise.
7267 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7268 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7269 "bp-asm.h".
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
7273 "bp-asm.h".
7274 (PARMS): Do not use macros from bp-asm.h.
7275 (S1): Likewise.
7276 (S2): Likewise.
7277 (SIZE): Likewise.
7278 (__mpn_add_n): Do not use BP_SYM.
7279 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7280 "bp-asm.h".
7281 (PARMS): Do not use macros from bp-asm.h.
7282 (S1): Likewise.
7283 (SIZE): Likewise.
7284 (__mpn_addmul_1): Do not use BP_SYM.
7285 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7286 weak_alias.
7287 (bzero): Likewise.
7288 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7289 "bp-asm.h".
7290 (PARMS): Do not use macros from bp-asm.h.
7291 (S): Likewise.
7292 (SIZE): Likewise.
7293 (__mpn_lshift): Do not use BP_SYM.
7294 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7295 "bp-asm.h".
7296 (PARMS): Do not use macros from bp-asm.h.
7297 (DEST): Likewise.
7298 (SRC): Likewise.
7299 (LEN): Likewise.
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
7305 "bp-asm.h".
7306 (PARMS): Do not use macros from bp-asm.h.
7307 (DEST): Likewise.
7308 (LEN): Likewise.
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
7312 "bp-asm.h".
7313 (PARMS): Do not use macros from bp-asm.h.
7314 (S1): Likewise.
7315 (SIZE): Likewise.
7316 (__mpn_mul_1): Do not use BP_SYM.
7317 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7318 "bp-asm.h".
7319 (PARMS): Do not use macros from bp-asm.h.
7320 (S): Likewise.
7321 (SIZE): Likewise.
7322 (__mpn_rshift): Do not use BP_SYM.
7323 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7324 "bp-asm.h".
7325 (PARMS): Do not use macros from bp-asm.h.
7326 (STR): Likewise.
7327 (CHR): Likewise.
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
7331 "bp-asm.h".
7332 (PARMS): Do not use macros from bp-asm.h.
7333 (DEST): Likewise.
7334 (SRC): Likewise.
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
7337 "bp-asm.h".
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
7341 "bp-asm.h".
7342 (PARMS): Do not use macros from bp-asm.h.
7343 (S1): Likewise.
7344 (S2): Likewise.
7345 (SIZE): Likewise.
7346 (__mpn_sub_n): Do not use BP_SYM.
7347 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7348 "bp-asm.h".
7349 (PARMS): Do not use macros from bp-asm.h.
7350 (S1): Likewise.
7351 (SIZE): Likewise.
7352 (__mpn_submul_1): Do not use BP_SYM.
7353 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7354 "bp-asm.h".
7355 (PARMS): Do not use macros from bp-asm.h.
7356 (S1): Likewise.
7357 (S2): Likewise.
7358 (SIZE): Likewise.
7359 (__mpn_add_n): Do not use BP_SYM.
7360 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7361 weak_alias.
7362 (bzero): Likewise.
7363 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7364 "bp-asm.h".
7365 (PARMS): Do not use macros from bp-asm.h.
7366 (BLK2): Likewise.
7367 (LEN): Likewise.
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
7371 "bp-asm.h".
7372 (PARMS): Do not use macros from bp-asm.h.
7373 (DEST): Likewise.
7374 (SRC): Likewise.
7375 (LEN): Likewise.
7376 (memcpy): Likewise. Do not use BP_SYM.
7377 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7378 "bp-asm.h".
7379 (PARMS): Do not use macros from bp-asm.h.
7380 (DEST): Likewise.
7381 (SRC): Likewise.
7382 (LEN): Likewise.
7383 (memmove): Likewise. Do not use BP_SYM.
7384 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7385 "bp-asm.h".
7386 (PARMS): Do not use macros from bp-asm.h.
7387 (DEST): Likewise.
7388 (SRC): Likewise.
7389 (LEN): Likewise.
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
7393 "bp-asm.h".
7394 (PARMS): Do not use macros from bp-asm.h.
7395 (DEST): Likewise.
7396 (LEN): Likewise.
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
7400 "bp-asm.h".
7401 (PARMS): Do not use macros from bp-asm.h.
7402 (STR2): Likewise.
7403 (strcmp): Do not use BP_SYM.
7404 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7405 "bp-asm.h".
7406 (PARMS): Do not use macros from bp-asm.h.
7407 (STR): Likewise.
7408 (DELIM): Likewise.
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
7412 aliases.
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.
7417 (S): Likewise.
7418 (SIZE): Likewise.
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.
7422 (STR): Likewise.
7423 (CHR): Likewise.
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.
7428 (BLK2): Likewise.
7429 (LEN): Likewise.
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.
7434 (S1): Likewise.
7435 (SIZE): Likewise.
7436 (__mpn_mul_1): Do not use BP_SYM.
7437 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7438 "bp-asm.h".
7439 (PARMS): Do not use macros from bp-asm.h.
7440 (STR): Likewise.
7441 (CHR): Likewise.
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.
7446 (S): Likewise.
7447 (SIZE): Likewise.
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.
7451 (SIGMSK): Likewise.
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.
7457 (DEST): Likewise.
7458 (SRC): Likewise.
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
7462 "bp-asm.h".
7463 (PARMS): Do not use macros from bp-asm.h.
7464 (DEST): Likewise.
7465 (SRC): Likewise.
7466 (LEN): Likewise.
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.
7471 (STR): Likewise.
7472 (CHR): Likewise.
7473 (strchr): Likewise. Do not use BP_SYM.
7474 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7475 "bp-asm.h".
7476 (PARMS): Do not use macros from bp-asm.h.
7477 (STR): Likewise.
7478 (CHR): Likewise.
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
7482 "bp-asm.h".
7483 (PARMS): Do not use macros from bp-asm.h.
7484 (STOP): Likewise.
7485 (strcspn): Do not use BP_SYM.
7486 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7487 "bp-asm.h".
7488 (PARMS): Do not use macros from bp-asm.h.
7489 (STR): Likewise.
7490 (STOP): Likewise.
7491 (strpbrk): Likewise. Do not use BP_SYM.
7492 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7493 "bp-asm.h".
7494 (PARMS): Do not use macros from bp-asm.h.
7495 (STR): Likewise.
7496 (CHR): Likewise.
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.
7500 (SKIP): Likewise.
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.
7504 (STR): Likewise.
7505 (DELIM): Likewise.
7506 (SAVE): Likewise.
7507 (FUNCTION): Likewise. Do not use BP_SYM.
7508 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7509 aliases.
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.
7514 (S1): Likewise.
7515 (S2): Likewise.
7516 (SIZE): Likewise.
7517 (__mpn_sub_n): Do not use BP_SYM.
7518 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7519 "bp-asm.h".
7520 (PARMS): Do not use macros from bp-asm.h.
7521 (S1): Likewise.
7522 (SIZE): Likewise.
7523 (__mpn_submul_1): Do not use BP_SYM.
7524 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7525 <bp-sym.h>.
7526 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7527 and <bp-asm.h>.
7528 (PARMS): Do not use macros from bp-asm.h.
7529 (FLAGS): Likewise.
7530 (PTID): Likewise.
7531 (TLS): Likewise.
7532 (CTID): Likewise.
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>
7536 and <bp-asm.h>.
7537 (PARMS): Do not use macros from bp-asm.h.
7538 (LEN): Likewise.
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.
7547 (NSOPS): Likewise.
7548 (semtimedop): Do not use BP_SYM.
7549 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7550 and <bp-asm.h>.
7551
7552 2013-02-21 Allan McRae <allan@archlinux.org>
7553
7554 * manual/message.texi (Charset conversion in gettext):
7555 Move @end statement to beginning of line.
7556
7557 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7558
7559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7560 static.
7561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7562 Likewise.
7563
7564 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7565 (denorm): Likewise.
7566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7568
7569 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7570
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.
7573
7574 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7575
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):
7579 Likewise.
7580
7581 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7582
7583 * manual/nss.texi (System Databases and Name Service Switch):
7584 Remove frobnicate @pxref.
7585
7586 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7587
7588 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7589 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7590
7591 2013-02-20 Petr Machata <pmachata@redhat.com>
7592
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.
7638
7639 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7640
7641 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7642 __attribute_used__ to __attribute__ ((unused)).
7643
7644 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7645
7646 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7647 powerpc mpa.c.
7648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7649 comment formatting.
7650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7651
7652 2013-02-19 Joseph Myers <joseph@codesourcery.com>
7653
7654 [BZ #13550]
7655 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7656 Remove macro.
7657 (ENTER): Remove both macro definitions.
7658 (LEAVE): Likewise.
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
7670 macros.
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
7685 removed macros.
7686 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7687 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7688 macros.
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
7695 macros.
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
7704 removed macros.
7705 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7706 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7707 macros.
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__]:
7719 Likewise.
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
7732 macros.
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
7746 conditional code.
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
7751 L(1_3) into L(1_1).
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
7755 macros.
7756 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7757
7758 2013-02-19 Jakub Jelinek <jakub@redhat.com>
7759
7760 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7761 macro.
7762
7763 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7764
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.
7768
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.
7772
7773 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7774
7775 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7776 and __attribute_alloc_size__.
7777
7778 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7779
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.
7784
7785 2013-02-18 Mike Frysinger <vapier@gentoo.org>
7786
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.
7800
7801 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7802
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:
7810 Likewise.
7811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7812 Likewise.
7813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7814 Likewise.
7815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7816 Likewise.
7817 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7819 Likewise.
7820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7821 Likewise.
7822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7824 Likewise.
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
7831 for libstdc++.
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.
7835
7836 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7837
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.
7844
7845 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7846
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.
7850
7851 2013-02-17 Joseph Myers <joseph@codesourcery.com>
7852
7853 [BZ #13550]
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
7862 "bp-asm.h".
7863 (_setjmp): Do not use BP_SYM.
7864 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7865 "bp-asm.h".
7866 (setjmp): Do not use BP_SYM.
7867 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7868 libc_hidden_def.
7869 (mempcpy): Do not use BP_SYM in weak_alias.
7870 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7871 "bp-asm.h".
7872 (strchr): Do not use BP_SYM.
7873 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7874 "bp-asm.h".
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
7879 "bp-asm.h".
7880 (strcat): Do not use BP_SYM.
7881 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7882 "bp-asm.h".
7883 (STRCMP): Do not use BP_SYM.
7884 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7885 "bp-asm.h".
7886 (STRCPY): Do not use BP_SYM.
7887 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7888 "bp-asm.h".
7889 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7890 "bp-asm.h".
7891 (FUNCTION): Do not use BP_SYM.
7892 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7893 weak_alias.
7894 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7895
7896 2013-02-17 Andreas Jaeger <aj@suse.de>
7897
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.
7905
7906 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7907
7908 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7909 loop termination condition.
7910
7911 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7912 variable to calculate EZ.
7913 (__sqr): Likewise.
7914
7915 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7916 the lower precision input.
7917
7918 2013-02-15 Joseph Myers <joseph@codesourcery.com>
7919
7920 [BZ #13550]
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
7946 append to variable.
7947 [$(build-bounded) = yes] (install-lib): Likewise.
7948 [$(build-bounded) = yes] (generated): Likewise.
7949 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7950 Remove rule.
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)):
7959 Remove dependency.
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.
7968
7969 2013-02-14 Joseph Myers <joseph@codesourcery.com>
7970
7971 [BZ #13550]
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__]:
7978 Likewise.
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
7984 condition.
7985
7986 [BZ #13550]
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
7995 <bp-sym.h>.
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):
8033 Likewise.
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
8041 <bp-sym.h>.
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
8068 <bp-sym.h>.
8069 (__libc_start_main): Do not use BP_SYM.
8070
8071 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8072
8073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8074 redundant return line.
8075 (norm): Likewise.
8076 (denorm): Likewise.
8077 (dbl_mp): Likewise.
8078 (sub_magnitudes): Likewise.
8079 (__add): Likewise.
8080 (__sub): Likewise.
8081 (__mul): Likewise.
8082 (__inv): Likewise.
8083 (__dvd): Likewise.
8084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8085 (norm): Likewise.
8086 (denorm): Likewise.
8087 (dbl_mp): Likewise.
8088 (sub_magnitudes): Likewise.
8089 (__add): Likewise.
8090 (__sub): Likewise.
8091 (__mul): Likewise.
8092 (__inv): Likewise.
8093 (__dvd): Likewise.
8094
8095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8096 instead of __mul.
8097 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8098 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8099 (cc32): Likewise.
8100
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
8106 function
8107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8108 Likewise.
8109 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8110 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8111
8112 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8113
8114 [BZ #13550]
8115 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8116 code.
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
8125 definition.
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
8135 use __ptrvalue.
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):
8139 Likewise.
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
8151 not use __ptrvalue.
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
8159 use __unbounded.
8160 (__new_msgctl): Do not use __ptrvalue.
8161 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8162 __unbounded.
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
8170 __ptrvalue.
8171 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8172 use __unbounded.
8173 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8174 or __ptrvalue.
8175 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8176 use __unbounded.
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):
8180 Likewise.
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):
8186 Likewise.
8187 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8188
8189 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
8190
8191 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8192
8193 * string/mempcpy.c: Implement by calling memcpy.
8194
8195 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8196
8197 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8198
8199 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8200 evaluation.
8201
8202 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8203 values in the mantissa.
8204
8205 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8206 minimize writes to Z.
8207 (sub_magnitudes): Simplify code a bit.
8208
8209 2013-02-12 Roland McGrath <roland@hack.frob.com>
8210
8211 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8212 from the message. The linker prefixes all warnings with that already.
8213
8214 2013-02-12 Andreas Schwab <schwab@suse.de>
8215
8216 [BZ #15078]
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.
8224
8225 [BZ #11561]
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.
8231
8232 2013-02-11 Tom de Vries <tom@codesourcery.com>
8233
8234 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8235 comment.
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.
8239
8240 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
8241
8242 * bits/stdlib-bsearch.h: New file.
8243 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8244 * stdlib/stdlib.h: Likewise.
8245
8246 2013-02-11 Roland McGrath <roland@hack.frob.com>
8247
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
8250 declaration.
8251 * manual/search.texi (Array Search Function): Add missing const in
8252 lfind prototype.
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
8292 take no arguments.
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
8303 argument.
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
8315 prototype.
8316 (Simple Calendar Time): Likewise for stime.
8317 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8318 prototype.
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.
8323
8324 2013-02-11 Tom de Vries <tom@codesourcery.com>
8325
8326 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8327 Remove.
8328
8329 2013-02-11 Roland McGrath <roland@hack.frob.com>
8330
8331 * misc/sys/mman.h: Fix typo in mremap comment.
8332
8333 2013-02-08 Roland McGrath <roland@hack.frob.com>
8334
8335 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8336 the '\0' terminator.
8337
8338 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8339
8340 [BZ #13550]
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
8356 <bp-checks.h>.
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
8368 <bp-checks.h>.
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
8392 <bp-checks.h>.
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
8397 <bp-checks.h>.
8398 (__libc_pread64): Don't use CHECK_N.
8399 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8400 <bp-checks.h>.
8401 (__libc_pwrite): Don't use CHECK_N.
8402 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8403 <bp-checks.h>.
8404 (__libc_pwrite64): Don't use CHECK_N.
8405 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8406 <bp-checks.h>.
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.
8412
8413 2013-02-08 Roland McGrath <roland@hack.frob.com>
8414
8415 * string/strcpy.c: Removed unused variable.
8416
8417 * Makeconfig (+sysdep-includes): Define with := rather than =.
8418 Use an existing include/ subdir of each sysdeps dir before it.
8419
8420 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8421
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
8427 clear_db_cache.
8428 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8429
8430 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8431
8432 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8433 loaded if not already and that a failure is permanent.
8434
8435 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8436
8437 [BZ #15006]
8438 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8439 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8440
8441 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8442
8443 [BZ #13550]
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
8449 <bp-checks.h>.
8450 (___fxstat64): Do not use CHECK_1.
8451 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8452 <bp-checks.h>.
8453 (__fxstatat): Do not use CHECK_1.
8454 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8455 <bp-checks.h>.
8456 (__fxstatat64): Do not use CHECK_1.
8457 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8458 <bp-checks.h>.
8459 (__fxstat): Do not use CHECK_1.
8460 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8461 <bp-checks.h>.
8462 (__fxstatat): Do not use CHECK_1.
8463 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8464 <bp-checks.h>.
8465 (__getresgid): Do not use CHECK_1.
8466 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8467 <bp-checks.h>.
8468 (__getresuid): Do not use CHECK_1.
8469 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8470 <bp-checks.h>.
8471 (__lxstat): Do not use CHECK_1.
8472 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8473 <bp-checks.h>.
8474 (__old_msgctl): Do not use CHECK_1.
8475 (__new_msgctl): Likewise.
8476 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8477 <bp-checks.h>.
8478 (__new_setrlimit): Do not use CHECK_1.
8479 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8480 <bp-checks.h>.
8481 (__old_shmctl): Do not use CHECK_1.
8482 (__new_shmctl): Likewise.
8483 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8484 <bp-checks.h>.
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
8489 <bp-checks.h>.
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
8495 <bp-checks.h>.
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
8500 <bp-checks.h>.
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
8506 <bp-checks.h>.
8507 (do_sigtimedwait): Do not use CHECK_1.
8508 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8509 <bp-checks.h>.
8510 (do_sigwaitinfo): Do not use CHECK_1.
8511 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8512 <bp-checks.h>.
8513 (msgctl): Do not use CHECK_1.
8514 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8515 <bp-checks.h>.
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
8520 <bp-checks.h>.
8521 (__fxstat): Do not use CHECK_1.
8522 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8523 <bp-checks.h>.
8524 (__fxstatat): Do not use CHECK_1.
8525 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8526 <bp-checks.h>.
8527 (__lxstat): Do not use CHECK_1.
8528 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8529 <bp-checks.h>.
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.
8535
8536 [BZ #13550]
8537 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8538 definitions.
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.
8542
8543 2013-02-07 Roland McGrath <roland@hack.frob.com>
8544
8545 * nscd/nscd-client.h (__nscd_drop_map_ref):
8546 Add __attribute__ ((unused)).
8547 * nis/nss-nisplus.h (niserr2nss): Likewise.
8548
8549 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8550 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8551
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.
8581
8582 2013-02-05 Roland McGrath <roland@hack.frob.com>
8583
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.
8589
8590 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8591 instead of calling alloca.
8592
8593 * io/lseek.c (__lseek): Rename to __libc_lseek.
8594 Define __lseek as an alias.
8595
8596 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8597
8598 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8599
8600 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8601 else clause and remove check for non-standard endianness.
8602
8603 2013-02-04 David S. Miller <davem@davemloft.net>
8604
8605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8606
8607 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8608
8609 [BZ #13550]
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):
8617 Remove alias.
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
8626 CHECK_STRING.
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
8631 <bp-checks.h>.
8632 (__real_chown): Do not use CHECK_STRING.
8633 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8634 <bp-checks.h>.
8635 (fchownat): Do not use CHECK_STRING.
8636 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8637 CHECK_STRING.
8638 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8639 <bp-checks.h>.
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
8649 <bp-checks.h>.
8650 (__real_chown): Do not use CHECK_STRING.
8651 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8652 <bp-checks.h>.
8653 (__lchown): Do not use CHECK_STRING.
8654 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8655 <bp-checks.h>.
8656 (__chown): Do not use CHECK_STRING.
8657 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8658 <bp-checks.h>.
8659 (truncate64): Do not use CHECK_STRING.
8660 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8661 Likewise.
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
8665 <bp-checks.h>.
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.
8669
8670 2013-02-04 Andreas Schwab <schwab@suse.de>
8671
8672 [BZ #14142]
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>.
8676
8677 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8678
8679 * elf/link.h (struct link_map): Extend the l_addr comment.
8680 * include/link.h (struct link_map): Likewise.
8681
8682 2013-02-01 Joseph Myers <joseph@codesourcery.com>
8683
8684 [BZ #13550]
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
8691 <bp-checks.h>.
8692 (__backtrace): Don't use BOUNDED_1.
8693 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8694 <bp-checks.h>.
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.
8700
8701 2013-01-31 Joseph Myers <joseph@codesourcery.com>
8702
8703 [BZ #13550]
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
8709 <bp-start.h>.
8710
8711 [BZ #13550]
8712 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8713 definitions.
8714 (CHECK_FCNTL): Likewise.
8715 (CHECK_N_PAGES): Likewise.
8716
8717 [BZ #13550]
8718 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8719 definitions.
8720 (CHECK_SIGSET_NULL_OK): Likewise.
8721 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8722 <bp-checks.h>.
8723 (sigpending): Don't use CHECK_SIGSET.
8724 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8725 <bp-checks.h>.
8726 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8727 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8728 <bp-checks.h>.
8729 (do_sigsuspend): Don't use CHECK_SIGSET.
8730 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8731 use CHECK_SIGSET.
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
8735 use CHECK_SIGSET.
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
8743 <bp-checks.h>.
8744 (sigpending): Don't use CHECK_SIGSET.
8745 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8746 <bp-checks.h>.
8747 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8748
8749 [BZ #13550]
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>
8756 and <bp-semctl.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.
8766
8767 [BZ #13550]
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
8776 include.
8777 (common-generated): Do not add s-proto-bp.d.
8778 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8779 (int): Likewise.
8780 (typ): Likewise.
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.
8785
8786 [BZ #15062]
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.
8797
8798 2013-01-31 David S. Miller <davem@davemloft.net>
8799
8800 * po/de.po: Update from translation team.
8801
8802 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8803
8804 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8805
8806 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8807
8808 * configure.in (_AC_PROG_CC_C89): New definition.
8809 * configure: Regenerate.
8810
8811 * configure.in (AC_PROG_CPP): New definition.
8812 * configure: Regenerate.
8813
8814 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8815
8816 * debug/tst-backtrace.h: New file.
8817 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8818 (ret): Remove variable.
8819 (x): Likewise.
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.
8825 (x): Likewise.
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.
8831 (x): Likewise.
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.
8837 (x): Likewise.
8838 (FAIL): Remove macro.
8839 (NO_INLINE): Likewise.
8840 (handle_signal): Use match function instead of strstr.
8841
8842 2013-01-23 Roland McGrath <roland@hack.frob.com>
8843
8844 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8845
8846 2013-01-23 David S. Miller <davem@davemloft.net>
8847
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.
8854
8855 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8856
8857 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8858 * sysdeps/posix/ulimit.c: ... this.
8859 Include <limits.h>.
8860 * sysdeps/unix/bsd/ulimit.c: Remove file.
8861
8862 2013-01-23 Adam Conrad <adconrad@0c3.net>
8863
8864 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8865 (LDFLAGS-tst-array5): Likewise.
8866
8867 2013-01-23 Joseph Myers <joseph@codesourcery.com>
8868
8869 [BZ #15036]
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.
8874
8875 2013-01-21 David S. Miller <davem@davemloft.net>
8876
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
8883 -funwind-tables.
8884
8885 2013-01-21 Andreas Schwab <schwab@suse.de>
8886
8887 [BZ #15020]
8888 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8889 closed its stdout.
8890
8891 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8892
8893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8894 "mpa2.h".
8895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8896
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>
8901
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.
8916
8917 2013-01-18 Anton Blanchard <anton@samba.org>
8918 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8919
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
8930 64-bit values.
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.
8938
8939 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8940
8941 [BZ #14496]
8942 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8943 Fix application of SIMD FP exception mask.
8944
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.
8949
8950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8951 multiplication.
8952
8953 2013-01-17 David S. Miller <davem@davemloft.net>
8954
8955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8956
8957 2013-01-17 Joseph Myers <joseph@codesourcery.com>
8958
8959 [BZ #15023]
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
8978 k_casinhf.c.
8979 * math/s_casinhl.c: Do not include <float.h>.
8980 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8981 redefine.
8982 (__casinhl): Move code for finite nonzero arguments to
8983 k_casinhl.c.
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.
8987
8988 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8989
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>.
8994
8995 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8996
8997 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8998
8999 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9000
9001 * elf/elf.h (R_386_SIZE32): New relocation.
9002 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9003 R_386_SIZE32.
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.
9007
9008 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9009
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
9019 value.
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
9026 file.
9027
9028 2013-01-16 Andreas Schwab <schwab@suse.de>
9029
9030 [BZ #14327]
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.
9034
9035 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9036
9037 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9038 definitions.
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
9042 definitions here.
9043 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9044 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9045 definitions.
9046 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9047 and ONE.
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
9051 definitions.
9052 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9053 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9054 definitions.
9055 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9056
9057 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9058
9059 2013-01-15 David S. Miller <davem@davemloft.net>
9060
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
9065 file.
9066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9068 file.
9069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9070 file.
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.
9079
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:
9084 New file.
9085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9086 file.
9087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9088 New file.
9089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9090 file.
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
9094 file.
9095 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9096 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9097 file.
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.
9101
9102 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9103 libc_feholdexcept and libc_fesetenv.
9104
9105 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9106
9107 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9108
9109 2013-01-14 David S. Miller <davem@davemloft.net>
9110
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:
9117 Likewise.
9118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9119 Likewise.
9120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9121 Likewise.
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
9127 file.
9128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9129 file.
9130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9131 file.
9132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9133 file.
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
9139 new VIS2 routines.
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:
9143 Likewise.
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.
9151
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
9155 file.
9156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9158 file.
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.
9166
9167 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9168
9169 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9170 to optimize copies.
9171
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.
9175
9176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9177 local variable MPTWO.
9178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9179 Likewise.
9180
9181 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9182
9183 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9184 GLOB_NOESCAPE.
9185
9186 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9187
9188 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9189
9190 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9191
9192 * manual/pattern.texi (glob_t): Document gl_flags.
9193 (glob64_t): Likewise.
9194
9195 2013-01-11 David S. Miller <davem@davemloft.net>
9196
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.
9210
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.
9215
9216 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9217 Move to...
9218 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9219 Here.
9220
9221 2013-01-11 Roland McGrath <roland@hack.frob.com>
9222
9223 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9224 not in the main loop.
9225 * configure: Regenerated.
9226
9227 2013-01-11 Joseph Myers <joseph@codesourcery.com>
9228
9229 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9230 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9231 to just #else.
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
9240 unconditional.
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.
9248
9249 2013-01-11 Steve Ellcey <sellcey@mips.com>
9250
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.
9255
9256 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9257
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
9280 $(rtld-LDFLAGS).
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
9294 option.
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).
9381
9382 2013-01-11 Andreas Jaeger <aj@suse.de>
9383
9384 [BZ #15003]
9385 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9386 value. Sync with Linux 3.7.
9387
9388 2013-01-10 David S. Miller <davem@davemloft.net>
9389
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.
9393
9394 2013-01-10 Roland McGrath <roland@hack.frob.com>
9395
9396 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9397 never set.
9398 * configure: Regenerated.
9399
9400 2013-01-10 David S. Miller <davem@davemloft.net>
9401
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.
9406
9407 2013-01-10 Roland McGrath <roland@hack.frob.com>
9408
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.
9436
9437 2013-01-10 David S. Miller <davem@davemloft.net>
9438
9439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9440
9441 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9442
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.
9451
9452 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9453
9454 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9455 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):
9462 Likewise.
9463 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9464 Likewise.
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
9470 definitions.
9471 (llrint): Likewise, for all definitions.
9472 (llrintl): Likewise.
9473
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].
9479
9480 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9481
9482 [BZ #14200]
9483 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9484 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9485 defined.
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.
9490
9491 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9492
9493 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9494
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):
9498 Remove.
9499
9500 2013-01-10 Andreas Schwab <schwab@suse.de>
9501
9502 [BZ #14964]
9503 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9504 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9505
9506 2013-01-09 David S. Miller <davem@davemloft.net>
9507
9508 [BZ #15003]
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
9515 enum values.
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.
9520
9521 2013-01-09 Anton Blanchard <anton@samba.org>
9522
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.
9527
9528 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9529
9530 * include/features.h (__USE_ANSI): Remove.
9531
9532 2013-01-09 Roland McGrath <roland@hack.frob.com>
9533
9534 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9535
9536 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9537
9538 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9539
9540 * sysdeps/s390/fpu/libm-test-ulps: Update.
9541
9542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9543
9544 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9545 (__acr): Likewise.
9546 (__cpy): Likewise.
9547 (norm): Likewise.
9548 (denorm): Likewise.
9549 (__mp_dbl): Likewise.
9550 (__dbl_mp): Likewise.
9551 (add_magnitudes): Likewise.
9552 (sub_magnitudes): Likewise.
9553 (__add): Likewise.
9554 (__sub): Likewise.
9555 (__mul): Likewise.
9556 (__inv): Likewise.
9557 (__dvd): Likewise.
9558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9559 (__acr): Likewise.
9560 (__cpy): Likewise.
9561 (norm): Likewise.
9562 (denorm): Likewise.
9563 (__mp_dbl): Likewise.
9564 (__dbl_mp): Likewise.
9565 (add_magnitudes): Likewise.
9566 (sub_magnitudes): Likewise.
9567 (__add): Likewise.
9568 (__sub): Likewise.
9569 (__mul): Likewise.
9570 (__inv): Likewise.
9571 (__dvd): Likewise.
9572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9573 (__acr): Likewise.
9574 (__cpy): Likewise.
9575 (norm): Likewise.
9576 (denorm): Likewise.
9577 (__mp_dbl): Likewise.
9578 (__dbl_mp): Likewise.
9579 (add_magnitudes): Likewise.
9580 (sub_magnitudes): Likewise.
9581 (__add): Likewise.
9582 (__sub): Likewise.
9583 (__mul): Likewise.
9584 (__inv): Likewise.
9585 (__dvd): Likewise.
9586
9587 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9588
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.
9593
9594 2013-01-08 Andreas Jaeger <aj@suse.de>
9595
9596 [BZ# 14985]
9597 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9598 Remove.
9599 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9600 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9601
9602 2013-01-07 Anton Blanchard <anton@samba.org>
9603
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.
9647
9648 2013-01-07 Joseph Myers <joseph@codesourcery.com>
9649
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
9662 declaration.
9663 (__libc_valloc): Likewise.
9664 (__libc_pvalloc): Likewise.
9665 (__libc_calloc): Likewise.
9666 (__posix_memalign): Likewise.
9667
9668 [BZ #14996]
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.
9683
9684 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9685
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
9695 to ...
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.
9716
9717 2013-01-04 David S. Miller <davem@davemloft.net>
9718
9719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9720
9721 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9722
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.
9727
9728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9729
9730 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9731
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.
9736 (denorm): Likewise.
9737 (__mp_dbl): Likewise.
9738 (__inv): Likewise.
9739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9740 (__cpymn): Likewise.
9741 (norm): Remove commented code.
9742 (denorm): Likewise.
9743 (__mp_dbl): Likewise.
9744 (__inv): Likewise.
9745
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.
9749 (denorm): Likewise.
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.
9754 (denorm): Likewise.
9755 (__mul): Use 0.0 instead of zero.d.
9756
9757 2013-01-04 Joseph Myers <joseph@codesourcery.com>
9758
9759 [BZ #14994]
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.
9768
9769 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9770
9771 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9772
9773 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9774
9775 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9776 declarations.
9777 (denorm): Likewise.
9778 (__mp_dbl): Likewise.
9779 (__inv): Likewise.
9780
9781 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9782 and adjust the header comment.
9783
9784 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9785 variable name from declaration.
9786
9787 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9788
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.
9795
9796 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9797
9798 [BZ #14981]
9799 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9800 size is zero, record memory as freed.
9801
9802 2013-01-03 Andreas Jaeger <aj@suse.de>
9803
9804 * po/ia.po: Add new Interlingua translation.
9805
9806 2012-01-03 Allan McRae <allan@archlinux.org>
9807
9808 * locale/programs/localedef.c: Fix description of '--posix' flag.
9809
9810 2013-01-02 Joseph Myers <joseph@codesourcery.com>
9811
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
9816 output.
9817
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.
9834
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.
9840
9841 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9842
9843 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9844 four values.
9845
9846 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9847 calculation loop and add branch prediction.
9848
9849 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9850 check access beyond bounds of m1np.
9851
9852 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9853 MPTWO.
9854 (__inv): Remove local variable MPTWO to use the global
9855 constant.
9856 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9857 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9858 variable MPTWO.
9859 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9860 MP3HALFS static const.
9861
9862 2013-01-01 David S. Miller <davem@davemloft.net>
9863
9864 * po/ca.po: Update from translation team.
9865
9866 2013-01-01 Joseph Myers <joseph@codesourcery.com>
9867
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.
9973
9974 2013-01-01 David S. Miller <davem@davemloft.net>
9975
9976 * po/fr.po: Update from translation team.
9977
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.
10000
10001 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10002
10003 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10004 numbers.
10005
10006 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10007
10008 * math/bits/mathcalls.h (modf): Use __nonnull.
10009
10010 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10011
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
10015 could be used.
10016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10017 instead of the bare value.
10018 (power1): Likewise.
10019
10020 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10021
10022 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10023 __ATAN_TWOM.
10024 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10025
10026 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10027 their values.
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.
10032
10033 2012-12-28 Andreas Jaeger <aj@suse.de>
10034
10035 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10036 values are from Linux 3.7.
10037
10038 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10039 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10040
10041 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10042
10043 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10044 TRUE case.
10045
10046 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10047 (norm): Likewise.
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.
10053
10054 2012-12-27 Bruno Haible <bruno@clisp.org>
10055
10056 [BZ #14317]
10057 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10058 only if needed.
10059
10060 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10061
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.
10065
10066 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10067 MPONE.
10068 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10069 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10070 variable MPONE.
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.
10078
10079 2012-12-25 David S. Miller <davem@davemloft.net>
10080
10081 * version.h (RELEASE): Set to "development".
10082 (VERSION): Set to "2.17.90".
10083 * NEWS: Add 2.18 section.
10084
10085 2012-12-21 David S. Miller <davem@davemloft.net>
10086
10087 * po/hr.po: Update from translation team.
10088
10089 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10090
10091 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10092
10093 2012-12-19 Steve Ellcey <sellcey@mips.com>
10094
10095 * NEWS: Mention new memcpy for MIPS.
10096
10097 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10098
10099 * manual/contrib.texi (Contributors): Spelling correction.
10100
10101 2012-12-15 David S. Miller <davem@davemloft.net>
10102
10103 * po/ru.po: Update from translation team.
10104
10105 2012-12-13 David S. Miller <davem@davemloft.net>
10106
10107 * NEWS: Mention IFUNC testsuite enhancements.
10108
10109 * po/pl.po: Update from translation team.
10110 * po/bg.po: Likewise.
10111
10112 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10113 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10114
10115 2012-12-11 David S. Miller <davem@davemloft.net>
10116
10117 * po/sv.po: Update from translation team.
10118
10119 * po/vi.po: Update from translation team.
10120
10121 * po/cs.po: Update from translation team.
10122
10123 * po/de.po: Update from translation team.
10124 * po/eo.po: Likewise.
10125 * po/nl.po: Likewise.
10126
10127 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10128
10129 [BZ #14246]
10130 * manual/argp.texi (Argp Helper Functions): Move node to follow
10131 Argp Parsing State.
10132
10133 [BZ #14872]
10134 * manual/conf.texi (Limits on File System Capacity): Mention if
10135 terminating null is included in the max size.
10136
10137 2012-12-10 Andreas Jaeger <aj@suse.de>
10138
10139 * po/cs.po: Update from translation team.
10140
10141 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10142
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
10146 path.
10147 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10148 * sysdeps/s390/s390-64/memset.S: Likewise.
10149
10150 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10151
10152 [BZ #14833]
10153 * menual/message.texi (Message Translation): Fix typos.
10154 (Helper programs for gettext): Likewise.
10155
10156 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10157
10158 [BZ #14898]
10159 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10160 Change to -1.
10161
10162 2012-12-07 David S. Miller <davem@davemloft.net>
10163
10164 * po/libc.pot: Update.
10165
10166 2012-12-07 Richard Henderson <rth@redhat.com>
10167
10168 [BZ #10114]
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.
10172
10173 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10174 Mike Frysinger <vapier@gentoo.org>
10175
10176 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10177 check for __NR_fadvise64_64.
10178
10179 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10180
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
10184 with cw.
10185
10186 2012-12-06 Joseph Myers <joseph@codesourcery.com>
10187
10188 * NEWS: Use sourceware.org in Bugzilla URL.
10189
10190 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10191
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10193 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10194
10195 * stdio-common/tst-put-error.c (do_test): Add newline to the
10196 padded test to ensure flush.
10197
10198 2012-12-05 Jeff Law <law@redhat.com>
10199
10200 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10201
10202 2012-12-05 Joseph Myers <joseph@codesourcery.com>
10203
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.
10206
10207 * LICENSES: Add more non-FSF copyright and license notices.
10208
10209 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10210 ((unused)).
10211
10212 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10213
10214 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10215 10000 as width of padded output.
10216
10217 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10218
10219 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10220
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):
10224 Likewise.
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)).
10229
10230 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
10231
10232 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10233
10234 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10235
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.
10335
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10337 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10338
10339 [BZ #14914]
10340 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10341 whole low double instead of just low 47 bits when splitting values
10342 into two parts.
10343
10344 2012-12-03 Allan McRae <allan@archlinux.org>
10345
10346 * manual/stdio.texi (Predefined Printf Handlers): Remove
10347 @hsep and @vsep usage.
10348
10349 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10350
10351 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10352 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10353
10354 2012-12-03 Jeff Law <law@redhat.com>
10355
10356 * time/sys/time.h (settimeofday): Do not mark TV argument
10357 as __nonnull.
10358
10359 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10360
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.
10365
10366 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10367
10368 * manual/arith.texi (feenableexcept): Fix typo.
10369 (fedisableexcept): Likewise.
10370
10371 2012-11-30 Roland McGrath <roland@hack.frob.com>
10372
10373 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10374 second, differently-typed declaration, rather than a cast.
10375
10376 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10377
10378 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10379 * include/rpc/svc.h: ... here.
10380
10381 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10382
10383 [BZ #13013]
10384 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10385 depending n and resplen2 to catch cases where answer
10386 equals answerp2.
10387
10388 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10389
10390 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10391 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10392
10393 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10394
10395 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10396
10397 2012-11-29 Roland McGrath <roland@hack.frob.com>
10398
10399 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10400
10401 2012-11-28 Jeff Law <law@redhat.com>
10402
10403 [BZ #13761]
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.
10407
10408 2012-06-04 Florian Weimer <fweimer@redhat.com>
10409
10410 [BZ #14197]
10411 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10412
10413 2012-11-28 David S. Miller <davem@davemloft.net>
10414
10415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10416
10417 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10418
10419 [BZ #14803]
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
10425 bits.
10426
10427 2012-11-28 Jeff Law <law@redhat.com>
10428 Martin Osvald <mosvald@redhat.com>
10429
10430 [BZ #14889]
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.
10438
10439 2012-11-28 Andreas Schwab <schwab@suse.de>
10440
10441 * scripts/abilist.awk: Also handle indirect functions in .opd
10442 section.
10443
10444 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10445
10446 [BZ #13881]
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.
10450 (p3): New 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.
10454 (p3): New 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.
10461
10462 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10463 Carlos O'Donell <carlos_odonell@mentor.com>
10464
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.
10468
10469 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10470
10471 [BZ #11741]
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.
10476
10477 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10478
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.
10493
10494 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10495
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.
10501
10502 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10503
10504 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10505
10506 2012-11-24 Adam Conrad <adconrad@0c3.net>
10507
10508 * configure.in: Autodetect C++ header directories.
10509 * configure: Regenerated.
10510
10511 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10512
10513 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10514
10515 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10516
10517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10518
10519 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10520
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]:
10524 Likewise.
10525 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10526 Likewise.
10527
10528 [BZ #14871]
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.
10532
10533 * sysdeps/generic/unwind-dw2-fde-glibc.c
10534 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10535 __attribute__ ((unused)).
10536
10537 [BZ #14645]
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.
10540
10541 [BZ #14811]
10542 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10543 nonzero exponents with absolute value below 0x1p-117 to +/-
10544 0x1p-117.
10545
10546 [BZ #14869]
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.
10550
10551 [BZ #14868]
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.
10555
10556 * math/libm-test.inc (clog_test): Use
10557 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10558 (clog10_test): Likewise.
10559
10560 [BZ #6778]
10561 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10562
10563 2012-11-22 Andreas Schwab <schwab@suse.de>
10564
10565 * sysdeps/i386/fpu/libm-test-ulps: Update.
10566
10567 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10568
10569 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10570 printf output with newline.
10571
10572 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10573
10574 [BZ #14865]
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.
10579
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.
10592
10593 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10594
10595 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10596
10597 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10598
10599 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10600 macro.
10601
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
10607 include it from...
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
10623 sendmmsg.
10624
10625 2012-11-20 Joseph Myers <joseph@codesourcery.com>
10626
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.
10630
10631 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10632
10633 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10634 DUMMY variables with __attribute__ ((unused)).
10635
10636 * bits/byteswap.h: Include <bits/types.h>.
10637 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10638
10639 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10640
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
10645 failure.
10646
10647 2012-11-19 David S. Miller <davem@davemloft.net>
10648
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.
10656
10657 2012-11-19 Joseph Myers <joseph@codesourcery.com>
10658
10659 [BZ #14856]
10660 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10661 Define to 3.
10662
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
10710 require.
10711 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10712 sigevent): Specify elements.
10713 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10714 entry.
10715 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10716 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10717
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):
10732 Likewise.
10733 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10734 Likewise.
10735 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10736 Likewise.
10737 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10738 Likewise.
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
10753 value.
10754 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10755 as optional.
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
10772 entry.
10773 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10774 optional.
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):
10781 Likewise.
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
10789 as optional.
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
10814 optional-constant.
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.
10821
10822 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10823 expect.
10824 [XPG3 || XPG4] (O_RSYNC): Likewise.
10825 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10826 Likewise.
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):
10834 Likewise.
10835 [XPG3 || XPG4] (blksize_t): Likewise.
10836 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10837 Likewise.
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.
10860
10861 [BZ #14835]
10862 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10863 <bits/siginfo.h>.
10864
10865 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10866
10867 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10868 finalizing MALLSTREAM.
10869
10870 * sysdeps/mach/hurd/syncfs.c: New file.
10871
10872 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10873
10874 [BZ #14719]
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.
10882
10883 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10884
10885 [BZ #13763]
10886 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10887
10888 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10889
10890 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10891 * elf/cache.c (print_entry): Print ",AArch64" for
10892 FLAG_AARCH64_LIB64
10893
10894 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10895 * elf/cache.c (print_entry): Print ",hard-float" for
10896 FLAG_ARM_LIBHF.
10897
10898 2012-11-18 David S. Miller <davem@davemloft.net>
10899
10900 With help from Joseph Myers.
10901 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10902 cutoff to 2**-13.
10903 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10904 cutoff to 2**-25.
10905 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10906 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10907 small.
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.
10914
10915 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10916
10917 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10918 64-bit targets.
10919 * configure: Regenerated.
10920
10921 2012-11-17 David S. Miller <davem@davemloft.net>
10922
10923 [BZ #14811]
10924 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10925 nonzero exponents with absolute value below 0x1p-128 to +/-
10926 0x1p-128.
10927
10928 2012-11-17 Joseph Myers <joseph@codesourcery.com>
10929
10930 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10931
10932 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10933
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.
10955
10956 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10957
10958 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10959
10960 2012-11-16 Andrej Lajovic <natrij@gmail.com>
10961
10962 [BZ #14672]
10963 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10964
10965 2012-11-16 David S. Miller <davem@davemloft.net>
10966
10967 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10968 smaller than LDBL_EPSILON/2.0L, just return xm1.
10969
10970 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10971
10972 * elf/tst-array1.c (init): Set constructor priority to 1000.
10973 (fini): Set destructor priority to 1000.
10974 * elf/tst-array2dep.c: Likewise.
10975
10976 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10977
10978 [BZ #11741]
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
10990 return EOF.
10991
10992 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10993
10994 * libio/libioP.h: Add comment note that the references to C++
10995 bits are now obsolete.
10996
10997 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10998
10999 * math/libm-test.inc (check_complex): Use asprintf.
11000
11001 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11002
11003 * debug/pcprofiledump.c (print_version): Update copyright year.
11004 * malloc/memusagestat.c (print_version): Likewise.
11005
11006 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11007
11008 [BZ #14831]
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.
11018
11019 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11020
11021 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11022 * misc/Makefile (CFLAGS-select.c): Define.
11023 * posix/Makefile (CFLAGS-pause.c): Define.
11024
11025 2012-11-13 David S. Miller <davem@davemloft.net>
11026
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
11041 path.
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
11045 crypt subdir.
11046 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11047 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11048 multiarch changes.
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
11058 file.
11059 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11060 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11061 file.
11062 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11063
11064 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11065
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.
11074
11075 [BZ #14838]
11076 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11077 macro.
11078
11079 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11080
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
11084 bits are 0.
11085
11086 2012-11-11 David S. Miller <davem@davemloft.net>
11087
11088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11089 inttypes.h
11090 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11091 __close rather than their public counterparts.
11092
11093 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11094
11095 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11096 file.
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):
11104 Do not expect.
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.
11109
11110 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11111
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.
11118
11119 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11120 2012i.
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
11124 tzselect.ksh.
11125
11126 * Makefile (format-me): Remove.
11127 (INSTALL): Adjust indentation. Use commands directly instead of
11128 using $(format-me).
11129
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
11158 REPORT_BUGS_TO.
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
11185 and BUGURL.
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
11216 macro.
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
11222 and PKGVERSION.
11223
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.
11235
11236 [BZ #14824]
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):
11243 Likewise.
11244 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11245 Likewise.
11246 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11247 Likewise.
11248 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11249 Likewise.
11250 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11251 Likewise.
11252 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11253 Likewise.
11254
11255 [BZ #14821]
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.
11261
11262 2012-11-09 Andreas Jaeger <aj@suse.de>
11263
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>.
11267
11268 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11269
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
11273 definition.
11274
11275 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11276
11277 * elf/elf.h: Update comment before AArch64 relocations.
11278
11279 2012-11-07 David S. Miller <davem@davemloft.net>
11280
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
11286 __makecontext_ret.
11287 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11288 (sysdep_routines): Add __start_context when in stdlib.
11289
11290 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11291
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
11295 hardcoded "nm".
11296 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11297 (READELF): New variable. Use it instead of hardcoded "readelf".
11298
11299 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11300
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.
11305
11306 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11307
11308 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11309 expectations.
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):
11331 Do not expect.
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.
11344
11345 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11346 not expect.
11347 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11348
11349 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11350 Change function return type to int.
11351
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
11360 && !UNIX98].
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.
11367
11368 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11369 Change condition to [XOPEN2K8].
11370
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
11561 allow.
11562 * conform/data/stdint.h-data: Update comments to clarify
11563 requirements.
11564 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11565 type.
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"
11623 at end of line.
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.
11635 Specify type.
11636 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11637 Specify value.
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):
11643 Expect function.
11644 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11645 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11646 Specify type.
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.
11656
11657 2012-11-07 Roland McGrath <roland@hack.frob.com>
11658
11659 [BZ #14815]
11660 * manual/filesys.texi (Directory Entries): Typo fix.
11661 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11662
11663 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11664
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.
11674
11675 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11676
11677 [BZ #14811]
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 +/-
11685 0x1p-32.
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.
11690
11691 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11692
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.
11696
11697 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11698
11699 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11700 Change XOPEN21K to XOPEN2K.
11701
11702 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11703
11704 * string/memmove.c: Use memcpy when possible.
11705
11706 2012-11-06 Andreas Jaeger <aj@suse.de>
11707
11708 * po/eo.po: Update from translation team.
11709
11710 2012-11-06 Joseph Myers <joseph@codesourcery.com>
11711
11712 [BZ #14793]
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.
11722
11723 2012-11-05 Joseph Myers <joseph@codesourcery.com>
11724
11725 [BZ #14805]
11726 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11727 fenv_t *.
11728
11729 [BZ #14801]
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
11733 fenv_t fields.
11734 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11735 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11736
11737 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11738
11739 [BZ #3665]
11740 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11741
11742 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11743
11744 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11745 PTR_DEMANGLE.
11746
11747 [BZ #5246]
11748 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11749 PTR_DEMANGLE.
11750
11751 2012-11-04 Joseph Myers <joseph@codesourcery.com>
11752
11753 [BZ #14797]
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.
11762
11763 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11764
11765 [BZ #157]
11766
11767 * include/stub-tag.h: Remove file.
11768 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11769 '#include' of it.
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:
12139 Likewise.
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.
12171
12172 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
12173
12174 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12175 /usr/old/bin.
12176
12177 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12178 instead of spaces.
12179 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12180
12181 2012-11-03 Joseph Myers <joseph@codesourcery.com>
12182
12183 [BZ #14796]
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
12196 function.
12197 (libc_fesetround): New macro.
12198 (libc_fesetroundf): Likewise.
12199 (libc_fesetroundl): Likewise.
12200 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12201 function.
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
12207 function.
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
12214 libm_hidden_ver.
12215 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12216 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12217 libm_hidden_def.
12218 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12219 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12220 libm_hidden_ver.
12221 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12222 libm_hidden_def.
12223
12224 [BZ #3439]
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
12227 constant.
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.
12279
12280 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12281
12282 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12283
12284 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12285
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
12289 -x" by "export".
12290 (remove_newlines): Remove.
12291
12292 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12293
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
12300 -mno-sse -mno-mmx.
12301 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12302 <xmmintrin.h>.
12303
12304 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12305
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>.
12310
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.
12316
12317 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12318 (struct rusage): Do not expect type or its members.
12319
12320 [BZ #3439]
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.
12327
12328 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12329
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
12332 arguments.
12333
12334 2012-11-02 Roland McGrath <roland@hack.frob.com>
12335
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.
12340
12341 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12342
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.
12346
12347 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12348
12349 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12350 except include of <misc/sys/syslog.h>.
12351
12352 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12353
12354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12355 function returns with a NULL context exit with zero.
12356
12357 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12358
12359 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12360
12361 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12362
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.
12367
12368 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12369
12370 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12371 floating point opcodes.
12372
12373 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12374
12375 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12376 variable.
12377
12378 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12379
12380 * sysdeps/mach/hurd/powerpc: Remove directory.
12381 * sysdeps/mach/powerpc: Likewise.
12382
12383 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12384
12385 * scripts/check-local-headers.sh: Ignore c++ headers.
12386
12387 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12388
12389 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12390 __libc_cleanup_region_start argument.
12391
12392 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12393
12394 [BZ #14784]
12395 [BZ #14785]
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.
12404
12405 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12406
12407 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12408
12409 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12410
12411 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12412 New variable.
12413
12414 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12415
12416 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12417
12418 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12419
12420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12421 Fix sort order.
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12423 Likewise.
12424
12425 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12426
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:
12430 Likewise.
12431
12432 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12433
12434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12435
12436 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12437
12438 [BZ #14610]
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.
12442
12443 * manual/install.texi (Configuring and compiling): Document
12444 general use of test-wrapper and test-wrapper-env.
12445 * INSTALL: Regenerated.
12446
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
12450 exponent.
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
12454 exponent.
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
12458 exponent.
12459 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12460 macro.
12461 (fma_test): Add more tests.
12462 (fma_test_towardzero): Likewise.
12463 (fma_test_downward): Likewise.
12464 (fma_test_upward): Likewise.
12465
12466 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12467
12468 * sysdeps/i386/tininess.h: Renamed to ...
12469 * sysdeps/x86/tininess.h: This.
12470 * sysdeps/x86_64/tininess.h: Removed.
12471
12472 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12473
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.
12482
12483 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12484
12485 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12486 if defined.
12487
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.
12496
12497 2012-10-30 Andreas Jaeger <aj@suse.de>
12498
12499 * po/ru.po: Update Russion translation from translation project.
12500
12501 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12502
12503 [BZ #14152]
12504 [BZ #14783]
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.
12515
12516 [BZ #14047]
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.
12534
12535 2012-10-30 Andreas Jaeger <aj@suse.de>
12536
12537 [BZ#14767]
12538 * elf/Makefile (tests): Remove conditional for have-initfini-array
12539 since this is now always required and the variable does not exist
12540 anymore.
12541 (tests-static): Likewise.
12542 (modules-names): Likewise.
12543
12544 * po/eo.po: Add Esperanto translation from translation project.
12545
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.
12551
12552 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12553
12554 * manual/message.texi: Delete @cartouche tags.
12555
12556 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12557
12558 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12559 EOPNOTSUPP.
12560 * sysdeps/mach/hurd/fsync.c: Likewise.
12561
12562 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12563 [_POSIX_REALTIME_SIGNALS]: Change condition to
12564 [_POSIX_REALTIME_SIGNALS > 0].
12565
12566 2012-10-27 Andreas Jaeger <aj@suse.de>
12567
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.
12572
12573 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12574
12575 * iconvdata/tst-table.sh: Remove ${SHELL}.
12576 * iconvdata/tst-tables.sh: Likewise.
12577
12578 2012-10-25 David S. Miller <davem@davemloft.net>
12579
12580 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12581 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12582 of strtoull.
12583
12584 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12585 ifunc-impl-list.c
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
12589 file.
12590
12591 2012-10-25 Roland McGrath <roland@hack.frob.com>
12592
12593 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12594 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12595 __getdirentries.
12596
12597 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12598 Jim Blandy <jimb@codesourcery.com>
12599
12600 * scripts/cross-test-ssh.sh: New file.
12601 * manual/install.texi (Configuring and compiling): Document use of
12602 cross-test-ssh.sh.
12603 * INSTALL: Regenerated.
12604
12605 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12606
12607 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12608 EOPNOTSUPP.
12609
12610 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12611
12612 * Makeconfig (run-program-prefix): Fix comment.
12613
12614 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12615 Jim Blandy <jimb@codesourcery.com>
12616
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
12627 tst-pathopt.sh.
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.
12652
12653 2012-10-24 Roland McGrath <roland@hack.frob.com>
12654
12655 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12656 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12657 Targets removed.
12658
12659 [BZ #14743]
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:
12690 Likewise.
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12692 Likewise.
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.
12698
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.
12705
12706 * config.h.in (HAVE_IFUNC): New #undef.
12707 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12708 was successful.
12709 * configure: Regenerated.
12710
12711 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12712
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.
12717
12718 2012-10-24 Mike Frysinger <vapier@gentoo.org>
12719
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.
12725
12726 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12727
12728 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12729
12730 * posix/globtest.sh (TMPDIR): Do not set.
12731 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12732 (testout): Likewise.
12733
12734 2012-10-24 Andreas Jaeger <aj@suse.de>
12735
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.
12741
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__]:
12745 Likewise.
12746 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12747 Likewise.
12748 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12749
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.
12754
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.
12760
12761 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12762
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.
12782
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
12790 binary.
12791
12792 2012-10-23 Jim Blandy <jimb@codesourcery.com>
12793 Joseph Myers <joseph@codesourcery.com>
12794
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).
12801
12802 2012-10-23 Joseph Myers <joseph@codesourcery.com>
12803 Jim Blandy <jimb@codesourcery.com>
12804
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.
12808
12809 2012-10-22 Andreas Jaeger <aj@suse.de>
12810
12811 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12812 __O_RSYNC if it exists, otherwise to O_SYNC.
12813
12814 2012-10-22 Jim Blandy <jimb@codesourcery.com>
12815 Joseph Myers <joseph@codesourcery.com>
12816
12817 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12818 /dev/null.
12819 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12820 from /dev/null
12821 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12822 /dev/null.
12823
12824 2012-10-22 Andreas Jaeger <aj@suse.de>
12825
12826 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12827 Define always.
12828 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12829
12830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12831 bits/fcntl-linux.h.
12832
12833 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12834 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12835
12836 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12837 to __O_LARGEFILE.
12838 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12839 to __O_LARGEFILE.
12840
12841 2012-10-21 Jim Blandy <jimb@codesourcery.com>
12842 Joseph Myers <joseph@codesourcery.com>
12843
12844 * config.make.in (NM): New variable.
12845
12846 2012-10-21 Andreas Jaeger <aj@suse.de>
12847
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>.
12851
12852 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12853
12854 [BZ #14683]
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.
12863
12864 2012-10-20 Andreas Jaeger <aj@suse.de>
12865
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.
12873
12874 2012-10-20 Roland McGrath <roland@hack.frob.com>
12875
12876 * io/fcntl.h: Move include of <bits/types.h> to the top and
12877 include it unconditionally.
12878
12879 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12880
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.
12889
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.
12949
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.
12956
12957 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12958
12959 [BZ #13601]
12960 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12961 header is not read in.
12962
12963 2012-10-19 Joseph Myers <joseph@codesourcery.com>
12964
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.
12971
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
12988 tst-translit.sh.
12989 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12990 tst-gettext2.sh.
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
13000 to run tst-mtrace.
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.
13007
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.
13018
13019 [BZ #13888]
13020 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13021 or TMPDIR.
13022 (testout): Likewise.
13023
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.
13031
13032 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13033
13034 [BZ #14716]
13035 * string/test-memmem.c (check_result): New function.
13036 (do_one_test): Use it.
13037 (check1): New function.
13038 (test_main): Use it.
13039
13040 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13041
13042 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13043
13044 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13045
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
13061 __mmap64 directly.
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
13076 unconditional.
13077 (freopen64) [!_G_OPEN64]: Remove conditional code.
13078 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13079 unconditional.
13080 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13081 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13082 unconditional.
13083 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13084 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13085 unconditional.
13086 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13087 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13088 unconditional.
13089 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13090 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13091 unconditional.
13092 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13093 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13094 unconditional.
13095 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13096 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13097 unconditional.
13098 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13099
13100 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13101
13102 [BZ #12140]
13103 * manual/memory.texi (Malloc Tunable Parameters): Add note
13104 about free list pointers overwriting some perturb bytes.
13105 Wording suggested by Roland McGrath.
13106
13107 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13108
13109 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13110 (lgamma_test): Likewise.
13111 (tgamma_test): Likewise.
13112
13113 2012-10-16 Florian Weimer <fweimer@redhat.com>
13114
13115 [BZ #14700]
13116 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13117 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13118
13119 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13120
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.
13124
13125 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13126
13127 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13128 (__bswap_64): __uint64_t for unsigned 64-bit int.
13129
13130 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13131
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.
13136
13137 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13138
13139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13140 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13141 global and hidden.
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):
13145 Likewise.
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
13160 ifunc-impl-list.c.
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.
13191
13192 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13193 global and hidden.
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):
13198 Likewise.
13199 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13200 Likewise.
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
13205 ifunc-impl-list.c.
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.
13247
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
13258 are defined.
13259 (test_init): Call __libc_ifunc_impl_list to initialize
13260 func_list if TEST_IFUNC and TEST_NAME are defined.
13261
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
13266 defined.
13267 * string/test-memset.c: Support bzero test if TEST_BZERO is
13268 defined.
13269 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13270 __libc_memmove.
13271 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13272 __libc_memset.
13273 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13274 of memset.
13275
13276 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13277
13278 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13279 * configure: Regenerated.
13280
13281 * Makeconfig (+link-static-before-libc): Don't include
13282 $(link-static-libc).
13283
13284 * libio/libio.h (_IO_pos_t): Remove.
13285
13286 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13287
13288 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13289 McGrath.
13290
13291 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13292
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.
13298
13299 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13300
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.
13311
13312 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13313
13314 * NEWS: Add entry for BZ #14602.
13315
13316 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13317
13318 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13319 type-generic.
13320 * math/libm-test.inc: Update comment listing what functions and
13321 macros are tested.
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.
13329
13330 2012-10-09 Roland McGrath <roland@hack.frob.com>
13331
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.
13349
13350 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13351 defined. Don't check if MAP is NULL.
13352
13353 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13354
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
13366 _G_off64_t.
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.
13370
13371 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13372
13373 [BZ #14602]
13374 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13375 Replace with ...
13376 (CHECK_EOL): New macro.
13377 (two_way_short_needle): Check beginning of haystack for EOL. Use
13378 CHECK_EOL.
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.
13383
13384 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13385
13386 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13387 type-generic.
13388 * math/libm-test.inc: Update comment listing what functions and
13389 macros are tested.
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.
13397
13398 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13399
13400 [BZ #14660]
13401 * Makerules (%.dynsym): Force C locale when running
13402 $(OBJDUMP) --dynamic-syms.
13403
13404 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13405
13406 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13407 <stdint.h>.
13408
13409 2012-10-06 David S. Miller <davem@davemloft.net>
13410
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.
13414
13415 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13416
13417 * string/test-strstr.c (check2): Add a test for page boundary.
13418
13419 2012-10-05 David S. Miller <davem@davemloft.net>
13420
13421 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13422 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13423 file.
13424 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13425 sysdep_routines.
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.
13429
13430 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13431
13432 [BZ #14602]
13433 * string/test-strstr.c (check2): New function.
13434 (test_main): Call check2.
13435
13436 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13437 and bug-strchr1.
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.
13459
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.
13466
13467 [BZ #14557]
13468 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13469 if IS_IN_rtld isn't defined.
13470
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.
13482
13483 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13484
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
13491 tested.
13492
13493 * scripts/config.guess: Update from config.git.
13494 * scripts/config.sub: Likewise.
13495
13496 2012-10-04 Roland McGrath <roland@hack.frob.com>
13497
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.
13510
13511 2012-10-03 Roland McGrath <roland@hack.frob.com>
13512
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
13522 [USE_LDCONFIG].
13523 * elf/rtld.c (dl_main): Likewise.
13524
13525 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13526
13527 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13528 _SC_LEVEL4_CACHE_LINESIZE.
13529
13530 2012-10-03 Roland McGrath <roland@hack.frob.com>
13531
13532 * sysdeps/unix/bsd/confstr.h: File removed.
13533
13534 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13535
13536 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13537 sys/sdt-config.h.
13538
13539 2012-10-02 Roland McGrath <roland@hack.frob.com>
13540
13541 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13542 Make 'mapoff' field ElfW(Off) rather than off_t.
13543
13544 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13545
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.
13549
13550 [BZ #10631]
13551 * malloc.c (malloc_printerr): Clarify error message.
13552
13553 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13554
13555 [BZ #14648]
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
13559 macro.
13560 (bit_FMA4_Usable): Updated.
13561 (index_FMA_Usable): New macro.
13562 (CPUID_FMA): Likewise
13563 (HAS_FMA): Defined with bit_FMA_Usable.
13564
13565 2012-10-01 Roland McGrath <roland@hack.frob.com>
13566
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.
13578
13579 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13580 Honza Horak <hhorak@redhat.com>
13581
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.
13587
13588 2012-10-01 Roland McGrath <roland@hack.frob.com>
13589
13590 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13591
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.
13600
13601 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13602
13603 [BZ #14645]
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.
13614
13615 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13616
13617 [BZ #14638]
13618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13619 0 + 0.
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
13624 exact 0 + 0.
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.
13632
13633 2012-09-28 David S. Miller <davem@davemloft.net>
13634
13635 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13636
13637 2012-09-28 Roland McGrath <roland@hack.frob.com>
13638
13639 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13640 instead of SIGALRM.
13641
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.
13646
13647 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13648
13649 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13650
13651 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13652 Conditionalize target on [libnss_test1.so-version].
13653
13654 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13655
13656 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13657 (elfobjdir): Move out of conditionals.
13658
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.
13663
13664 2012-09-28 David S. Miller <davem@davemloft.net>
13665
13666 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13667 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13668 file.
13669 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13670 sysdep_routines.
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.
13674
13675 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13676
13677 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13678
13679 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13680
13681 [BZ #6530]
13682 * stdio-common/vfprintf.c (process_string_arg): Revert
13683 2000-07-22 change.
13684
13685 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13686
13687 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13688 for testcase.
13689 * stdio-common/tst-sprintf.c: Include <locale.h>
13690 (main): Test sprintf's handling of incomplete multibyte
13691 characters.
13692
13693 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13694
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.
13708
13709 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13710
13711 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13712
13713 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13714
13715 [BZ #11438]
13716 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13717 to global scope.
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.
13721
13722 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13723
13724 [BZ #5298]
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.
13728
13729 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13730
13731 [BZ #14543]
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.
13737
13738 2012-09-27 David S. Miller <davem@davemloft.net>
13739
13740 [BZ #14376]
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.
13744
13745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13746
13747 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13748
13749 * rt/tst-aio2.c: Include <pthread.h>.
13750 * rt/tst-aio3.c: Likewise.
13751
13752 2012-09-27 Steve Ellcey <sellcey@mips.com>
13753
13754 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13755
13756 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13757
13758 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13759 contents on [SHARED].
13760
13761 2012-09-26 Marek Polacek <polacek@redhat.com>
13762
13763 [BZ #14530]
13764 [BZ #13741]
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.
13767
13768 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13769
13770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13771
13772 2012-09-25 Roland McGrath <roland@hack.frob.com>
13773
13774 * Makefile.in (all, install): Declare with .PHONY.
13775 Reported by Michael Hope <michael.hope@linaro.org>.
13776
13777 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13778
13779 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13780 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13781 system header.
13782 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13783 Likewise.
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.
13796
13797 2012-09-25 Alan Modra <amodra@gmail.com>
13798
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
13802 place of isync.
13803 (clear_once_control): Add release barrier.
13804
13805 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13806
13807 [BZ #13629]
13808 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13809 specially.
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.
13828
13829 [BZ #14621]
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
13833 and OLD_PATHC.
13834
13835 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13836
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.
13845
13846 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13848
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.
13868
13869 2012-09-25 Joseph Myers <joseph@codesourcery.com>
13870
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.
13900
13901 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13902
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.
13910
13911 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13912
13913 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13914 comments.
13915
13916 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13917
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.
13950
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.
13956
13957 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13958
13959 [BZ #13679]
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)
13963 isn't yes.
13964 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13965
13966 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13967
13968 [BZ #14562]
13969 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13970 new chunk size with MALLOC_ALIGN_MASK.
13971
13972 2012-09-24 Joseph Myers <joseph@codesourcery.com>
13973
13974 [BZ #5044]
13975 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13976 <rounding-mode.h>.
13977 (__printf_fphex): Determine rounding using get_rounding_mode and
13978 round_away.
13979 * stdio-common/tst-printf-round.c (struct hex_test): New
13980 structure.
13981 (hex_tests): New variable.
13982 (test_hex_in_one_mode): New function.
13983 (do_test): Also run tests for hex float output.
13984
13985 2012-09-21 Joseph Myers <joseph@codesourcery.com>
13986
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.
13995
13996 2012-09-20 Joseph Myers <joseph@codesourcery.com>
13997
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.
14002
14003 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14004
14005 [BZ #14579]
14006 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14007 mode only.
14008 * elf/tst-rtld-load-self.sh: New test.
14009 * elf/Makefile: Run it.
14010
14011 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14012
14013 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14014 (tst-writev-ENV): Remove.
14015 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14016
14017 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14018
14019 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14020
14021 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14022
14023 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14024 unconditional.
14025 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14026 Likewise.
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):
14030 Likewise.
14031
14032 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14033
14034 [BZ #14587]
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.
14039
14040 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14041
14042 [BZ #5044]
14043 * stdio-common/printf_fp.c: Include <stdbool.h> and
14044 <rounding-mode.h>.
14045 (___printf_fp): Determine rounding using get_rounding_mode and
14046 round_away.
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).
14051
14052 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14053
14054 [BZ #14576]
14055 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14056 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14057 Likewise.
14058 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14059 Likewise.
14060
14061 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14062
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.
14067
14068 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14069
14070 [BZ #14518]
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
14093 $(link-libm).
14094
14095 2012-12-09 Allan McRae <allan@archlinux.org>
14096
14097 * sysdeps/i386/fpu/libm-test-ulps: Update
14098
14099 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14100
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.
14125
14126 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14127
14128 * csu/libc-tls.c: Update copyright years.
14129
14130 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14131
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.
14136
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.
14150
14151 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14152
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.
14156
14157 * iconv/gconv_db.c: Update copyright years.
14158
14159 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14160
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.
14164
14165 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14166 DP_HI_MASK entry.
14167 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14168
14169 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14170
14171 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14172
14173 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14174 is NULL.
14175
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.
14188
14189 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14190 on $(common-objpfx)soversions.mk.
14191
14192 2012-09-07 Joseph Myers <joseph@codesourcery.com>
14193
14194 [BZ #10014]
14195 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14196 example host name.
14197
14198 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14199
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.
14208
14209 2012-09-05 John Tobey <john.tobey@gmail.com>
14210
14211 [BZ #13542]
14212 * manual/arith.texi (Operations on Complex): Fix description
14213 of carg branch cut.
14214
14215 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14216
14217 [BZ #10014]
14218 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14219 host name.
14220
14221 [BZ #10038]
14222 * manual/memory.texi (Memory): Make order of menu items match
14223 order of sections.
14224
14225 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14226
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).
14230
14231 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14232
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
14239 DL_INITIAL_DTV.
14240
14241 2012-09-06 Petr Machata <pmachata@redhat.com>
14242
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.
14247
14248 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14249
14250 [BZ #14545]
14251 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14252 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14253 freeing dtv[-1].
14254
14255 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14256
14257 [BZ #14544]
14258 * Makeconfig (link-static-before-libc): Replace $(+prector)
14259 with $(+prectorT).
14260 (link-static-after-libc): Replace $(+postctor) with
14261 $(+postctorT).
14262 (link-bounded): Replace $(+prector)/$(+postctor) with
14263 $(+prectorT)/$(+postctorT).
14264 (+prectorT): New macro.
14265 (+postctorT): Likewise.
14266
14267 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14268
14269 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14270 (round_str): Handle values above the maximum for IBM long double
14271 as inexact.
14272 * stdlib/tst-strtod-round.c (tests): Regenerated.
14273
14274 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14275
14276 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14277 assembler flag.
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
14283 for zarch.
14284
14285 2012-09-05 David S. Miller <davem@davemloft.net>
14286
14287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14288
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
14293 entries.
14294
14295 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14296
14297 * malloc/arena.c: Fold copyright years.
14298 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14299
14300 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14301
14302 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14303
14304 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14305
14306 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14307
14308 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14309
14310 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14311 change internal state upon failure.
14312
14313 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14314
14315 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14316 * malloc/memusage.c (mmap): Likewise.
14317 (mmap64, mremap): Likewise. Adjust name in comment.
14318
14319 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14320
14321 * libio/fileops.c: Fix typos in comments.
14322 * libio/oldfileops.c: Likewise.
14323 * libio/wfileops.c: Likewise.
14324
14325 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14326
14327 [BZ #1349]
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
14331 requested size.
14332 * malloc/malloc.c (musable): Use malloc_check_get_size.
14333 * malloc/tst-malloc-usable.c: New test case.
14334
14335 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14336
14337 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14338
14339 2012-09-05 Allan McRae <allan@archlinux.org>
14340
14341 [BZ #13966]
14342 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14343 determine header location.
14344 * configure: Regenerated.
14345
14346 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14347
14348 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14349 float format.
14350 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14351 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14352 format.
14353 (test): Regenerate.
14354
14355 2012-09-04 David S. Miller <davem@davemloft.net>
14356
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.
14360
14361 2012-09-04 Florian Weimer <fweimer@redhat.com>
14362
14363 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14364 failures.
14365
14366 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14367
14368 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14369
14370 [BZ #9914]
14371 * libio/iogetdelim.c: Include <limits.h>.
14372 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14373 + len + 1 would overflow.
14374
14375 2012-09-03 Andreas Jaeger <aj@suse.de>
14376
14377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14378 * sysdeps/i386/fpu/libm-test-ulps: Update.
14379
14380 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14381
14382 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14383 Add s_sinf-sse2, s_conf-sse2.
14384
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.
14389
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.
14396
14397 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14398 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14399
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.
14403
14404 * math/libm-test.inc (cos_test): Add more test cases.
14405 (sin_test): Likewise.
14406 (sincos_test): Likewise.
14407
14408 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14409
14410 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14411 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14412 hidden.
14413 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14414
14415 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14416
14417 [BZ #14538]
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 ().
14422
14423 2012-09-01 Allan McRae <allan@archlinux.org>
14424
14425 [BZ #13412]
14426 * configure.in (AWK): Require gawk version 3.0 or later.
14427 * configure: Regenerated.
14428
14429 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14430
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
14437 conditionals.
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
14448 conditional code.
14449 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14450 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14451
14452 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14453
14454 [BZ #14476]
14455 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14456 scripts/test-installation.pl.
14457
14458 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14459 and $ld_so_version if it is set.
14460
14461 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14462
14463 [BZ #14516]
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.
14467
14468 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14469
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):
14496 Remove.
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.
14502
14503 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14504
14505 [BZ #5400]
14506 * NEWS: Add fixed bug number.
14507
14508 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14509
14510 [BZ #14519]
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.
14515
14516 [BZ #3479]
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
14524 unconditionally.
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
14540 unconditional.
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.
14552
14553 [BZ #14459]
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.
14567
14568 2012-08-25 Marek Polacek <polacek@redhat.com>
14569
14570 * time/time.h: Fix some typos in comments.
14571
14572 2012-08-23 Roland McGrath <roland@hack.frob.com>
14573
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.
14577
14578 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14579
14580 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14581 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14582
14583 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14584
14585 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14586 #include of fxstatat64.c.
14587
14588 2012-08-22 Roland McGrath <roland@hack.frob.com>
14589
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.
14629
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.
14637
14638 [BZ# 13696]
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):
14652 Variables removed.
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
14668 [USE_NSCD].
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.
14674
14675 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14676
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.
14680
14681 2012-08-22 Roland McGrath <roland@hack.frob.com>
14682
14683 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14684 Conditionalize whole body on [IREL].
14685
14686 2012-08-22 Jeff Law <law@redhat.com>
14687
14688 [BZ #14505]
14689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14690 if the family is PF_UNSPEC.
14691
14692 2012-08-22 Mike Frysinger <vapier@gentoo.org>
14693
14694 * Makerules (lib-version): Rename from V.
14695 (install-lib-nosubdir): Change V to lib-version.
14696
14697 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14698
14699 [BZ #14252]
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.
14706
14707 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14708
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.
14713
14714 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14715 array references.
14716 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14717
14718 [BZ #11607]
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.
14727
14728 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14729
14730 [BZ #11607]
14731 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14732 the first character.
14733
14734 2012-08-21 Roland McGrath <roland@hack.frob.com>
14735
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.
14739
14740 2012-08-21 Joseph Myers <joseph@codesourcery.com>
14741
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
14757 unconditional.
14758 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14759 conditional code.
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
14763 unconditional.
14764 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14765 conditional code.
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
14769 unconditional.
14770 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14771 conditional code.
14772
14773 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14774
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.
14778
14779 2012-08-20 Roland McGrath <roland@hack.frob.com>
14780
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>.
14784
14785 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14786 DSOCAPS to match condition on defining it.
14787
14788 2012-08-20 Joseph Myers <joseph@codesourcery.com>
14789
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.
14801
14802 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14803 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14804
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
14808 unconditional.
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.
14824
14825 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14826
14827 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14828
14829 2012-08-18 Andreas Jaeger <aj@suse.de>
14830
14831 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14832
14833 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14834
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.
14839
14840 2012-08-18 Mike Frysinger <vapier@gentoo.org>
14841
14842 [BZ #9685]
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.
14848
14849 2012-08-17 Mike Frysinger <vapier@gentoo.org>
14850
14851 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14852
14853 2012-08-17 Marek Polacek <polacek@redhat.com>
14854
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.
14857
14858 2012-08-17 Roland McGrath <roland@hack.frob.com>
14859
14860 * configure.in: Add AC_SUBST for sysheaders.
14861 * configure: Regenerated.
14862 * config.make.in (sysheaders): New substituted variable.
14863
14864 * sysdeps/unix/mkfifo.c: Moved ...
14865 * sysdeps/posix/mkfifo.c: ... here.
14866 * sysdeps/unix/mkfifoat.c: Moved ...
14867 * sysdeps/posix/mkfifoat.c: ... here.
14868
14869 * sysdeps/unix/utime.c: Moved ...
14870 * sysdeps/posix/utime.c: ... here.
14871
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.
14876
14877 * sysdeps/unix/nice.c: Moved ...
14878 * sysdeps/posix/nice.c: ... here.
14879
14880 * sysdeps/unix/alarm.c: Moved ...
14881 * sysdeps/posix/alarm.c: ... here.
14882
14883 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14884
14885 2012-08-17 Jeff Law <law@redhat.com>
14886
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.
14896
14897 2012-08-17 Roland McGrath <roland@hack.frob.com>
14898
14899 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14900 * sysdeps/unix/syscalls.list: ... here.
14901
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.
14908
14909 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14910 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14911 Macros removed.
14912 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14913 [!NO_THREADS].
14914 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14915 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14916 Likewise.
14917
14918 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14919 __libc_cleanup_push argument.
14920
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.
14930
14931 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14932 last change.
14933
14934 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14935 [_IO_MTSAFE_IO].
14936 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14937 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14938 New macros.
14939
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.
14967
14968 * libio/Makefile: Test [$(libc-reentrant) = yes]
14969 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14970
14971 * Makeconfig
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.
14977
14978 2012-08-16 Gary Benson <gbenson@redhat.com>
14979
14980 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14981 unmapping the first object in a namespace.
14982
14983 2012-08-16 Roland McGrath <roland@hack.frob.com>
14984
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.
14998
14999 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15000
15001 * stdlib/longlong.h: Update from GCC.
15002
15003 2012-08-16 Roland McGrath <roland@hack.frob.com>
15004
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.
15012
15013 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15014
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.
15020
15021 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15022
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.
15041
15042 2012-08-15 Roland McGrath <roland@hack.frob.com>
15043
15044 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15045 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15046
15047 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15048
15049 * elf/dl-sym.c: Include <stdlib.h>.
15050
15051 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15052 constants, which avoids warnings in 32-bit builds.
15053
15054 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15055 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15056
15057 * misc/lseek.c: File moved to ...
15058 * io/lseek.c: ... here.
15059
15060 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15061
15062 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15063 shifting LEN more than 31 bits at once.
15064
15065 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15066
15067 [BZ #14195]
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.
15074
15075 2012-08-15 Andreas Jaeger <aj@suse.de>
15076
15077 [BZ #14090]
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.
15082
15083 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15084
15085 [BZ #14090]
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.
15090
15091 2012-08-15 Roland McGrath <roland@hack.frob.com>
15092
15093 * string/str-two-way.h: Include <sys/param.h>.
15094 (MAX): Macro removed.
15095
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>.
15099
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".
15105
15106 * include/dirent.h: Declare __getdirentries.
15107
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.
15110
15111 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15112
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.
15126
15127 2012-08-14 Roland McGrath <roland@hack.frob.com>
15128
15129 * elf/dl-open.c: Include <atomic.h>.
15130 * elf/dl-lookup.c: Likewise.
15131
15132 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15133
15134 * sysdeps/unix/sysv/linux/kernel-features.h
15135 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15136 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15137 unconditionally.
15138 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15139 unconditionally.
15140 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15141 condition on __ASSUME_CLONE_THREAD_FLAGS.
15142
15143 2012-08-14 Andreas Jaeger <aj@suse.de>
15144
15145 * sysdeps/i386/fpu/libm-test-ulps: Update.
15146
15147 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15148
15149 * include/atomic.h (atomic_exchange_and_add): Split into ...
15150 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15151 New atomic macros.
15152
15153 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15154
15155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15156
15157 2012-08-13 Jeff Law <law@redhat.com>
15158
15159 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15160 null byte in the output string.
15161
15162 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15163
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.
15172
15173 2012-08-09 Jeff Law <law@redhat.com>
15174
15175 [BZ #13939]
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
15182 arena_get2.
15183 (__libc_malloc): Unify retrying after main arena failure with
15184 __libc_memalign version.
15185 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15186
15187 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15188
15189 [BZ #14166]
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
15200 __redirect_time.
15201 Include <time.h>.
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.
15216
15217 2012-08-08 Mark Salter <msalter@redhat.com>
15218
15219 * elf/elf.h
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.
15232
15233 2012-08-08 Joseph Myers <joseph@codesourcery.com>
15234
15235 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15236 Remove.
15237
15238 2012-08-08 Roland McGrath <roland@hack.frob.com>
15239
15240 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15241
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.
15245
15246 2012-08-07 Allan McRae <allan@archlinux.org>
15247
15248 [BZ #14303]
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
15252 not found.
15253 (open_input): Call CPP using execvp.
15254
15255 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15256
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
15266 conditional code.
15267 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15268 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15269 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15270 code.
15271 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15272 unconditional.
15273 [__ASSUME_WAITID_SYSCALL]: Likewise.
15274 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15275
15276 2012-08-07 Roland McGrath <roland@hack.frob.com>
15277
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.
15302
15303 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15304 * bits/fcntl.h: ... here.
15305
15306 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15307 not 0.
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].
15320
15321 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15322 * bits/dirent.h: ... here.
15323
15324 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15325 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15326
15327 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15328
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
15335 version.
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.
15348
15349 2012-08-06 Roland McGrath <roland@hack.frob.com>
15350
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.
15380
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.
15393
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.
15430
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.
15441
15442 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15443
15444 * stdlib/secure-getenv.c (__secure_getenv): Replace
15445 GLIBC_2_16 with GLIBC_2_17.
15446
15447 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15448
15449 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15450 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15451
15452 2012-08-03 David S. Miller <davem@davemloft.net>
15453
15454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15455
15456 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15457
15458 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15459 Remove.
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.
15469
15470 2012-08-03 Roland McGrath <roland@hack.frob.com>
15471
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.
15477
15478 * sysdeps/generic/eloop-threshold.h: New file.
15479 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15480 of MAXSYMLINKS.
15481 * elf/chroot_canon.c (chroot_canon): Likewise.
15482
15483 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15484
15485 [BZ #13717]
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
15492 kernel versions.
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
15499 i386.
15500 (__ASSUME_UTIMES): Likewise.
15501 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15502 kernel version.
15503 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15504 (__ASSUME_TMPFS_NAME): Likewise.
15505 * README: Update reference to Linux kernel versions.
15506
15507 2012-08-02 Marek Polacek <polacek@redhat.com>
15508
15509 [BZ# 14150]
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.
15589
15590 2012-08-01 Roland McGrath <roland@hack.frob.com>
15591
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.
15600
15601 2012-08-01 Marek Polacek <polacek@redhat.com>
15602
15603 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15604 Use dlfcn directly instead of a variable.
15605 (binfmt-subdir): Do not define.
15606 (dlfcn): Likewise.
15607
15608 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15609
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
15617 macro definition.
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.
15626
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.
15641
15642 2012-08-01 Roland McGrath <roland@hack.frob.com>
15643
15644 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15645 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15646
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.
15668
15669 [BZ #14138]
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.
15674
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.
15680
15681 2012-08-01 Florian Weimer <fweimer@redhat.com>
15682
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):
15687 Likewise.
15688 * WUR-REPORT: Remove set*id functions.
15689
15690 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15691
15692 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15693
15694 2012-07-31 Roland McGrath <roland@hack.frob.com>
15695
15696 [BZ #10191]
15697 * include/sys/socket.h (__libc_accept, __libc_accept4):
15698 Add attribute_hidden.
15699 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15700
15701 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15702 use of PTR_MANGLE.
15703 * inet/getnetgrent_r.c (setup): Likewise.
15704
15705 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15706
15707 2012-07-31 David S. Miller <davem@davemloft.net>
15708
15709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15710
15711 2012-07-31 Joseph Myers <joseph@codesourcery.com>
15712
15713 [BZ #13629]
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
15716 than 1.0.
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.
15726
15727 2012-07-31 Florian Weimer <fweimer@redhat.com>
15728
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.
15732
15733 2012-07-30 Roland McGrath <roland@hack.frob.com>
15734
15735 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15736 rather than to 1.
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.
15743
15744 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15745 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15746
15747 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15748 definition on [!__NO_LONG_DOUBLE_MATH].
15749
15750 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15751 PTR_MANGLE and PTR_DEMANGLE.
15752
15753 * socket/accept4.c (accept4): Rename to __libc_accept4.
15754 Define accept4 as a weak alias.
15755
15756 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15757 on [_DIRENT_HAVE_D_TYPE].
15758 * io/ftw.c (ftw_dir): Likewise.
15759
15760 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15761
15762 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15763
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.
15769 (_NSIG): Now 32.
15770
15771 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15772 initializer on [_LIBC_REENTRANT].
15773
15774 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15775 definitions inside [_POSIX_MAPPED_FILES].
15776
15777 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15778
15779 * dirent/opendir.c: Include <fcntl.h>.
15780
15781 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15782 (__libc_getspecific): Likewise.
15783 (__libc_key_create): Likewise.
15784
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.
15793
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>.
15806
15807 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15808 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15809
15810 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15811 [HAVE_MMAP].
15812
15813 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15814 Add multiple inclusion protection.
15815
15816 2012-07-27 David S. Miller <davem@davemloft.net>
15817
15818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15819
15820 2012-07-27 Gary Benson <gbenson@redhat.com>
15821
15822 [BZ #14298]
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
15836 "unmap_complete".
15837 * elf/rtld-debugger-interface.txt: New file documenting the above.
15838
15839 2012-07-26 Roland McGrath <roland@hack.frob.com>
15840
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.
15845
15846 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15847
15848 * inet/check_native.c: New file.
15849
15850 2012-07-26 Joseph Myers <joseph@codesourcery.com>
15851
15852 [BZ #13629]
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.
15864
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
15871 tst-audit.h.
15872 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15873 macro.
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
15879 macro.
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
15885 macro.
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
15891 macro.
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
15897 macro.
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
15903 macro.
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.
15919
15920 2012-07-26 Andreas Jaeger <aj@suse.de>
15921
15922 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15923 ptrace.
15924
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
15928 PTRACE_O_MASK.
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.
15932
15933 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15934 value.
15935
15936 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15937 _sigsys.
15938 (si_call_addr, si_syscall, si_arch): Define new macro.
15939 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15940 _sigsys.
15941 (si_call_addr, si_syscall, si_arch): Define new marcro.
15942 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15943 _sigsys.
15944 (si_call_addr, si_syscall, si_arch): Define new macro.
15945 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15946 _sigsys.
15947 (si_call_addr, si_syscall, si_arch): Define new macro.
15948
15949 2012-07-25 Joseph Myers <joseph@codesourcery.com>
15950
15951 [BZ #13717]
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
15960 kernel version.
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):
15969 Remove.
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
15976 code.
15977 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15978 Remove conditional code.
15979 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15980 code.
15981 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15982 unconditional.
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):
15986 Remove.
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
15995 code.
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
16000 conditional code.
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
16004 code.
16005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16006 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16007 conditional code.
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
16012 conditional code.
16013 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16014 unconditional.
16015 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16016 conditional code.
16017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16018 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16019 unconditional.
16020 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16021 conditional code.
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
16026 conditional code.
16027 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16028 unconditional.
16029 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16030 conditional code.
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
16035 conditional code.
16036 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16037 unconditional.
16038 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16039 conditional code.
16040
16041 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16042
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.
16066
16067 2012-07-25 Florian Weimer <fweimer@redhat.com>
16068
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
16081 secure_getenv.
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:
16095 Likewise.
16096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16097 Likewise.
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.
16105
16106 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16107
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
16129 pltexit members.
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.
16136
16137 2012-07-25 Marek Polacek <polacek@redhat.com>
16138
16139 [BZ #6808]
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.
16147
16148 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16149
16150 * conform/data/time.h-data (NULL): Use macro-constant. Require
16151 equal to 0.
16152 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16153 clock_t.
16154 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16155
16156 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16157
16158 * configure.in <sysdeps resolving>: Correct printing
16159 Implies_before.
16160 * configure: Regenerate.
16161
16162 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16163
16164 * math/w_ilogb.c: Include <limits.h>.
16165 * math/w_ilogbl.c: Likewise.
16166
16167 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16168
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.
16174
16175 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16176
16177 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16178 (__sendto): Use create_address_port. Initialize APORT and deallocate
16179 it if not null.
16180
16181 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16182 with O_NOLINK passed to __file_name_lookup.
16183
16184 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16185 with O_NOLINK passed to __file_name_lookup.
16186
16187 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16188 negative N or less than NGIDS.
16189
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.
16193
16194 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16195
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:
16206 ... here.
16207 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16209 ... here.
16210 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16212 ... here.
16213 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16215 ... here.
16216 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16218 ... here.
16219 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16221 ... here.
16222
16223 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16224
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.
16229
16230 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16231
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.
16244
16245 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16246
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.
16270
16271 2012-07-17 Marek Polacek <polacek@redhat.com>
16272
16273 [BZ #14349]
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.
16290
16291 * elf/dl-open.c: Comment fixes.
16292
16293 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16294
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:
16307 ... here.
16308 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16310 ... here.
16311 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16313 ... here.
16314 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16316 ... here.
16317 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16319 ... here.
16320 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16322 ... here.
16323 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16325 ... here.
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.
16328
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.
16342
16343 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16344
16345 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16346 zero value for regular exit case.
16347
16348 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16349 (__start_context): Preserve zero value for regular exit case.
16350
16351 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16352 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16353
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
16357 exit call.
16358
16359 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16360
16361 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16362 preprocessor. Test for each exception mask separately.
16363
16364 2012-07-16 Andreas Jaeger <aj@suse.de>
16365
16366 * po/ru.po: Update from translation team.
16367
16368 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16369
16370 * conform/data/string.h-data (NULL): Use macro-constant. Require
16371 equal to 0.
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.
16377
16378 2012-07-13 Andreas Jaeger <aj@suse.de>
16379
16380 * po/fr.po: Update from translation team.
16381
16382 2012-07-12 Marek Polacek <polacek@redhat.com>
16383
16384 [BZ #14173]
16385 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16386 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16387 loop condition.
16388
16389 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16390
16391 [BZ #13717]
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
16397 version.
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
16405 unconditionally.
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.
16410
16411 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16412
16413 [BZ #14307]
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).
16424
16425 2012-07-11 Andreas Jaeger <aj@suse.de>
16426
16427 * po/fr.po: Update from translation team.
16428
16429 * po/sv.po: Update from translation team
16430 * po/fr.po: Another update from translation team.
16431
16432 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16433
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.
16438
16439 2012-07-11 David S. Miller <davem@davemloft.net>
16440
16441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16442
16443 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16444
16445 [BZ #14347]
16446 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16447 (INTERNAL_MARK): Shift it here.
16448
16449 2012-07-10 Marek Polacek <polacek@redhat.com>
16450
16451 [BZ #14151]
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
16456 with .globl.
16457 * sysdeps/i386/configure: Regenerated.
16458 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16459 with .globl.
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.
16488
16489 2012-07-09 Roland McGrath <roland@hack.frob.com>
16490
16491 [BZ #14336]
16492 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16493 system".
16494 * manual/message.texi (The Uniforum approach): Likewise.
16495 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16496 (glibc iconv Implementation): Likewise.
16497
16498 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16499
16500 [BZ #14337]
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.
16512
16513 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16514
16515 [BZ #14283]
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.
16518
16519 [BZ #14042]
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.
16525
16526 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16527
16528 [BZ #14154]
16529 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16530 approximation for values within 0x1p-13f of an odd multiple of
16531 pi/4.
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.
16535
16536 [BZ #6778]
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
16546 define.
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.
16554
16555 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16556
16557 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16558
16559 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16560
16561 [BZ #14157]
16562 [BZ #14331]
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.
16572
16573 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16574
16575 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16576 xopen-msg.sed.
16577 * catgets/xopen-msg.awk: New file.
16578 * catgets/xopen-msg.sed: Removed.
16579
16580 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16581 po2text.sed.
16582 * intl/po2test.awk: New file.
16583 * intl/po2test.sed: Removed.
16584
16585 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16586
16587 [BZ #14328]
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.
16606
16607 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16608
16609 * .gitignore: Delete /ports entry.
16610
16611 2012-07-03 Andreas Jaeger <aj@suse.de>
16612
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.
16620
16621 2012-07-03 Joseph Myers <joseph@codesourcery.com>
16622
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.
16669
16670 [BZ #14283]
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.
16678
16679 [BZ #14273]
16680 * math/libm-test.inc (cosh_test): Add more tests.
16681
16682 * version.h (RELEASE): Set to "development".
16683 (VERSION): Set to "2.16.90".
16684
16685 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16686
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.
16690
16691 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16692
16693 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16694
16695 2012-06-27 Andreas Jaeger <aj@suse.de>
16696
16697 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16698
16699 2012-06-25 Andreas Jaeger <aj@suse.de>
16700
16701 * sysdeps/s390/fpu/libm-test-ulps: Update.
16702
16703 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16704 Thomas Schwinge <thomas@codesourcery.com>
16705
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
16709 fanotify_mark.
16710
16711 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16712
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.
16717
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):
16723 Likewise.
16724
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.
16728
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.
16735
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.
16739
16740 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16741 initialize the GOT register before use.
16742
16743 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16744 calculation of ARGC > 4.
16745
16746 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16747 meaningful names to some local labels.
16748
16749 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16750 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16751
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.
16761
16762 2012-06-22 Andreas Schwab <schwab@redhat.com>
16763
16764 [BZ #13579]
16765 * include/link.h (struct link_map): Add l_free_initfini.
16766 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16767 l_initfini.
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
16771 set.
16772
16773 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16774
16775 * configure.in: Use AC_LANG_SOURCE.
16776 * configure: Regenerate.
16777
16778 2012-06-22 Roland McGrath <roland@hack.frob.com>
16779
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.
16788
16789 2012-06-21 Jeff Law <law@redhat.com>
16790
16791 [BZ #14277]
16792 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16793 free. Simplify list management for _LIBC case.
16794
16795 2012-06-21 Joseph Myers <joseph@codesourcery.com>
16796
16797 [BZ #14273]
16798 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16799 Clear sign bit of 64-bit integer value before comparing against
16800 overflow value.
16801
16802 * sysdeps/mach/configure: Regenerated.
16803
16804 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16805
16806 [BZ #14278]
16807 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16808
16809 2012-06-21 Jeff Law <law@redhat.com>
16810
16811 [BZ #13882]
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.
16816
16817 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16818
16819 * scripts/list-sources.sh: Scan PORTS for translations.
16820 * po/libc.pot: Regenerated.
16821
16822 2012-06-21 Andreas Jaeger <aj@suse.de>
16823
16824 [BZ #12194]
16825 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16826 warning.
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.
16830
16831 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16832
16833 [BZ #14117]
16834 * sysdeps/i386/fpu_control.h: Removed.
16835 * sysdeps/x86_64/fpu_control.h: Moved to ...
16836 * sysdeps/x86/fpu_control.h: Here.
16837
16838 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16839 (_FPU_SETCW): Likewise.
16840
16841 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16842
16843 [BZ #14117]
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.
16847
16848 [BZ #14050]
16849 [BZ #14117]
16850 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16851 functions if __x86_64__ is defined.
16852
16853 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16854
16855 * string/endian.h: Add !__ASSEMBLER__ condition for including
16856 conversion interfaces.
16857
16858 2012-06-15 Joseph Myers <joseph@codesourcery.com>
16859
16860 [BZ #14241]
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
16863 integers.
16864 * math/libm-test.inc (pow_test): Add more tests.
16865
16866 2012-06-15 Andreas Jaeger <aj@suse.de>
16867
16868 * manual/contrib.texi (Contributors): Update entry of Liubov
16869 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16870 Machado Filho.
16871
16872 2012-06-15 Cyril Hrubis <metan@ucw.cz>
16873
16874 * string/string.h: Add __wur to GNU version of strerror_r.
16875
16876 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16877
16878 [BZ #14229]
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.
16883
16884 2012-06-14 Roland McGrath <roland@hack.frob.com>
16885
16886 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16887
16888 2012-06-14 Joseph Myers <joseph@codesourcery.com>
16889
16890 * libm_test.inc (csqrt_test): Allow more spurious underflow
16891 exceptions.
16892 (j0_test): Likewise.
16893 (j1_test): Likewise.
16894 (y0_test): Likewise.
16895 (y1_test): Likewise.
16896
16897 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16898
16899 * po/Makefile (libc.pot): Use UTF-8 charset.
16900
16901 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16902
16903 [BZ #14210]
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.
16909
16910 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16911
16912 [BZ #14050]
16913 [BZ #14117]
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.
16920 (lrint): Likewise.
16921 (llrintf): Likewise.
16922 (llrint): Likewise.
16923 (fmaxf): Likewise.
16924 (fmax): Likewise.
16925 (fminf): Likewise.
16926 (fmin): Likewise.
16927 (rint): Likewise.
16928 (rintf): Likewise.
16929 (ceil): Likewise.
16930 (ceilf): Likewise.
16931 (floor): Likewise.
16932 (floorf): Likewise.
16933 (nearbyint): Likewise.
16934 (nearbyintf): Likewise.
16935
16936 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16937
16938 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16939 non-default versions.
16940
16941 2012-06-11 Roland McGrath <roland@hack.frob.com>
16942
16943 [BZ #14218]
16944 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16945
16946 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16947
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.
16952
16953 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16954 reading it.
16955 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16956 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16957
16958 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16959
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.
16964
16965 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16966
16967 [BZ #14117]
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.
16973
16974 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16975 __SSE_MATH__.
16976
16977 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16978
16979 [BZ #14134]
16980 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16981 character 0xffff that matches the last element of the
16982 conversion table.
16983
16984 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16985
16986 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16987 fmodl commit.
16988
16989 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16990
16991 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16992 values higher than 25.6283.
16993
16994 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16995
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.
17000
17001 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17002
17003 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17004 cpu2 is -1 and errno is not ENOSYS.
17005
17006 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17007
17008 [BZ #14117]
17009 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17010 * sysdeps/x86/bits/string.h: This.
17011 * sysdeps/x86_64/bits/string.h: Removed.
17012
17013 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17014 if not compiling for x86-64, but compiling for >= i486.
17015
17016 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17017 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17018
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.
17028
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.
17035
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.
17042
17043 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17044
17045 [BZ #13743]
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.
17056
17057 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17058 Jakub Jelinek <jakub@redhat.com>
17059
17060 [BZ #14188]
17061 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17062 where __builtin_expect is unavailable.
17063
17064 2012-06-03 David S. Miller <davem@davemloft.net>
17065
17066 * stdlib/longlong.h: Updated from GCC.
17067
17068 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17069
17070 [BZ #14042]
17071 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17072 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17073 __mcount_internal.
17074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17075 (GLIBC_2.16): Likewise.
17076
17077 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17078
17079 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17080
17081 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17082
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
17087 variable.
17088 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17089 Likewise.
17090 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17091 Likewise.
17092 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17093 Likewise.
17094
17095 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17096 definition. Document in comment.
17097
17098 2012-06-01 David S. Miller <davem@davemloft.net>
17099
17100 * stdlib/longlong.h: Updated from GCC.
17101
17102 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17103
17104 [BZ #14117]
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
17110 sys/io.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.
17117
17118 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17119 Define only if __x86_64__ is defined.
17120
17121 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17122
17123 [BZ #14048]
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.
17127
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.
17135
17136 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17137
17138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17139 computation is not scheduled after fetestexcept.
17140
17141 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17142
17143 [BZ #14117]
17144 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17145 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17146
17147 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17148
17149 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17150 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17151
17152 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17153
17154 [BZ #14117]
17155 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17156 <bits/wordsize.h>.
17157 (__WCHAR_MIN): Support __WORDSIZE == 64.
17158 (__WCHAR_MAX): Likewise.
17159
17160 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17161 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17162
17163 [BZ #14183]
17164 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17165 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17166
17167 [BZ #14117]
17168 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17169 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17170
17171 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17172 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17173
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.
17180
17181 2012-05-31 David S. Miller <davem@davemloft.net>
17182
17183 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17184 entries.
17185
17186 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17187
17188 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17189 gen-libm-test.pl.
17190
17191 [BZ #14132]
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.
17209
17210 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17211
17212 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17213 bits/sysctl.h.
17214
17215 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17216
17217 [BZ #14117]
17218 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17219 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17220
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.
17227
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.
17231
17232 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17233 with __addr.
17234 (insw): Likewise.
17235 (insl): Likewise.
17236 (outsb): Likewise.
17237 (outsw): Likewise.
17238 (outsl): Likewise.
17239
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.
17243
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.
17250
17251 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17252 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17253
17254 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17255 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17256
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.
17260
17261 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17262 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17263 to ...
17264 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17265
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.
17269
17270 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17271 for x86-64.
17272 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17273
17274 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17275
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.
17281 (M_PIl): 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.
17289
17290 2012-05-31 David S. Miller <davem@davemloft.net>
17291
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.
17296
17297 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17298
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.
17306
17307 2012-05-31 Marek Polacek <polacek@redhat.com>
17308
17309 [BZ #14132]
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.
17315
17316 2012-05-30 David S. Miller <davem@davemloft.net>
17317
17318 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17319 (___Q_simulate_exceptions): Use real FP ops rather than writing
17320 into the %fsr.
17321 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17322 Likewise.
17323
17324 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17325
17326 [BZ #14117]
17327 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17328 * sysdeps/x86/bits/xtitypes.h: This.
17329
17330 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17331 * sysdeps/x86/bits/wordsize.h: This.
17332
17333 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17334 * sysdeps/x86/bits/huge_vall.h: This.
17335
17336 * sysdeps/i386/bits/select.h: Removed.
17337 * sysdeps/x86_64/bits/select.h: Renamed to ...
17338 * sysdeps/x86/bits/select.h: This.
17339
17340 * sysdeps/i386/bits/setjmp.h: Removed.
17341 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17342 * sysdeps/x86/bits/setjmp.h: This.
17343
17344 * sysdeps/i386/bits/mathdef.h: Removed.
17345 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17346 * sysdeps/x86/bits/mathdef.h: This.
17347
17348 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17349
17350 [BZ #14132]
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
17359 alias.
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.
17364
17365 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17366
17367 [BZ #14117]
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.
17374
17375 * sysdeps/i386/bits/endian.h: Removed.
17376 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17377 * sysdeps/x86/bits/endian.h: This.
17378
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.
17387
17388 2012-05-30 David S. Miller <davem@davemloft.net>
17389
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.
17400
17401 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17402
17403 [BZ #14183]
17404 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17405 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17406
17407 2012-05-30 Richard Henderson <rth@twiddle.net>
17408
17409 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17410 with #ifndef NOT_IN_libc.
17411
17412 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17413 marked to avoid plt entry.
17414
17415 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17416
17417 [BZ #14112]
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
17423 abi-variants.
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
17429 entries.
17430 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17431 Removed.
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):
17443 Removed.
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
17449 macro.
17450 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17451 Renamed to ...
17452 (abi-*): This.
17453 (abi-64-ld-soname): New macro.
17454 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17455 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17456 Renamed to ...
17457 (abi-*): This.
17458 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17459 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17460
17461 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17462
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.
17489
17490 * configure.in (libc_cv_fpie): Weaken to a compile test using
17491 LIBC_TRY_CC_OPTION.
17492 * configure: Regenerated.
17493
17494 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17495
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:
17500 Refreshed.
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:
17507 Refreshed.
17508
17509 2012-05-27 David S. Miller <davem@davemloft.net>
17510
17511 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17512 (___Q_zero): New.
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.
17517 (numbers): Delete.
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
17527 formatting.
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
17532 formatting.
17533
17534 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17535
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.
17549
17550 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17551
17552 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17553 fields.
17554
17555 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17556
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):
17561 Likewise.
17562 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17563 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17564 Likewise.
17565
17566 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17567
17568 * po/h.po: Update from translation team.
17569
17570 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17571
17572 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17573
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):
17583 Likewise.
17584
17585 2012-05-26 Marek Polacek <polacek@redhat.com>
17586
17587 [BZ #14152]
17588 * math/libm-test.inc (fma_test): Don't always expect underflow
17589 exception.
17590
17591 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17592
17593 [BZ #12416]
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.
17597
17598 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17599
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
17603 kernel-features.h.
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
17607 kernel-features.h.
17608 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17609 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17610
17611 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17612
17613 * configure.in: Define the default includes to being none.
17614 * configure: Regenerated.
17615
17616 2012-05-25 Roland McGrath <roland@hack.frob.com>
17617
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.
17626
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.
17634
17635 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17636
17637 [BZ #13717]
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
17775 unconditional.
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
17782 unconditional.
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.
17794
17795 2012-05-25 Richard Henderson <rth@twiddle.net>
17796
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
17800 elf_ifunc_invoke.
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.
17804
17805 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17806
17807 [BZ #14153]
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
17811 exception.
17812
17813 2012-05-24 Jeff Law <law@redhat.com>
17814
17815 * stdio-common/Makefile (tests): Add bug25.
17816 * stdio-common/bug25.c: New test.
17817
17818 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17819
17820 [BZ #13576]
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.
17824
17825 2012-05-24 Joseph Myers <joseph@codesourcery.com>
17826
17827 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17828 Require >= 256.
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.
17859
17860 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17861
17862 [BZ #14132]
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
17889 hidden proto.
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
17918 proto.
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.
18044
18045 2012-05-24 Roland McGrath <roland@hack.frob.com>
18046
18047 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18048
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.
18054
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.
18059
18060 [BZ #14132]
18061 * include/sys/time.h (__gettimeofday): Remove macro.
18062 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18063 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18064 Remove INTDEF.
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.
18077
18078 2012-05-24 Daniel Jacobowitz <drow@false.org>
18079 H.J. Lu <hongjiu.lu@intel.com>
18080
18081 [BZ #12495]
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.
18088
18089 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18090
18091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18093 Likewise.
18094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18095 Likewise.
18096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18097 Likewise.
18098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18099 Likewise.
18100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18101 Likewise.
18102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18103 Likewise.
18104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18105 Likewise.
18106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18107 Likewise.
18108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18109 Likewise.
18110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18111 Likewise.
18112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18113 Likewise.
18114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18115 Likewise.
18116
18117 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18118 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18119
18120 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18121
18122 [BZ #10846]
18123 [BZ #14036]
18124 * math/libm-test.inc (exp_test): Add test from bug 14036.
18125 (pow_test): Add test from bug 10846.
18126
18127 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18128 and other flags.
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.
18136
18137 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18138 exceptions.
18139 * math/libm-test.inc ("Philosophy"): Update comment about
18140 exception testing.
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.
18174
18175 2012-05-23 David S. Miller <davem@davemloft.net>
18176
18177 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18178 (__libc_sigaction): Remove unused local variables.
18179
18180 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18181
18182 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18183
18184 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18185
18186 mktime: avoid signed integer overflow
18187 * time/mktime.c (__mktime_internal): Do not mishandle the case
18188 where diff == INT_MIN.
18189
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.
18193
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
18198 tm_isdst values.
18199
18200 mktime: merge another wrapv change from gnulib
18201 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18202 from some compilers.
18203
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).
18210
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
18214 such types.
18215
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.
18223
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.
18230
18231 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18232
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):
18236 Likewise.
18237
18238 2012-05-23 Andreas Jaeger <aj@suse.de>
18239
18240 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18241 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18242
18243 2012-05-23 Andreas Jaeger <aj@suse.de>
18244 Maximilian Attems <max@stro.at>
18245
18246 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18247 New macros.
18248
18249 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18250
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.
18254
18255 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18256
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.
18263
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.
18268
18269 2012-05-23 Andreas Jaeger <aj@suse.de>
18270
18271 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18272 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18273 macro.
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.
18286
18287 2012-05-22 Roland McGrath <roland@hack.frob.com>
18288
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.
18292
18293 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18294
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>.
18303
18304 2012-05-22 Andreas Jaeger <aj@suse.de>
18305
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.
18309
18310 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18311
18312 [BZ #14122]
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.
18319
18320 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18321
18322 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18323 Add arch_prctl.
18324 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18325
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):
18329 New macro.
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].
18336
18337 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18338
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.
18347
18348 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18349
18350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18351 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18352
18353 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18354 Use "neg %eax".
18355
18356 * time/mktime.c: Update copyright years.
18357
18358 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18359
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.
18366
18367 * time/mktime.c (compile-command): Add "-I.".
18368
18369 mktime: merge mktime-internal.h change from gnulib
18370 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18371
18372 mktime: merge time_r change from gnulib
18373 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18374
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.
18378
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.
18382
18383 mktime: merge HAVE_CONFIG_H change from gnulib
18384 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18385
18386 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18387
18388 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18389 Use "neg %eax".
18390
18391 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18392 __rlim_t cast.
18393 (struct rusage): Use anonymous union to pad each field to
18394 __syscall_slong_t.
18395
18396 2012-05-21 David S. Miller <davem@davemloft.net>
18397
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.
18402
18403 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18404
18405 * configure.in (libc_cv_predef_stack_protector): Only consider
18406 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18407 * configure: Regenerated.
18408
18409 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18410
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.
18417
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):
18424 Renamed to ...
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.
18432
18433 2012-05-21 Andreas Jaeger <aj@suse.de>
18434
18435 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18436 only if [SHARED]. Add prototype for __wcschr_ia32.
18437
18438 2012-05-21 Roland McGrath <roland@hack.frob.com>
18439
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.
18445
18446 2012-05-21 Andreas Jaeger <aj@suse.de>
18447
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.
18451
18452 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18453
18454 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18455
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):
18459 New macro.
18460
18461 2012-05-21 Bruno Haible <bruno@clisp.org>
18462 Andreas Jaeger <aj@suse.de>
18463
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
18472 anymore.
18473
18474 2012-05-19 Andreas Jaeger <aj@suse.de>
18475 Roland McGrath <roland@hack.frob.com>
18476
18477 * manual/contrib.texi: Completely rewritten. It contains now an
18478 alphabetical list of contributors and their contributions.
18479
18480 2012-05-21 Richard Henderson <rth@twiddle.net>
18481
18482 * misc/getauxval.c (__getauxval): Use unsigned long int.
18483 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18484 (getauxval): Use unsigned long int.
18485
18486 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18487
18488 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18489
18490 2012-05-21 Roland McGrath <roland@hack.frob.com>
18491
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).
18495
18496 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18497
18498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18499
18500 2012-05-20 Richard Henderson <rth@twiddle.net>
18501
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:
18521 Update.
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.
18530
18531 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18532
18533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18534
18535 2012-05-19 David S. Miller <davem@davemloft.net>
18536
18537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18538
18539 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18540
18541 [BZ #14123]
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.
18559
18560 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18561
18562 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18563 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18564
18565 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18566
18567 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18568
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.
18600
18601 2012-05-18 Andreas Jaeger <aj@suse.de>
18602
18603 * csu/.gitignore: Delete.
18604
18605 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18606
18607 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18608 (timex): Use __syscall_slong_t.
18609
18610 2012-05-18 Andreas Jaeger <aj@suse.de>
18611 Carlos O'Donell <carlos_odonell@mentor.com>
18612
18613 * manual/install.texi (Configuring and compiling): Update
18614 description about files modified in the source directory.
18615 * INSTALL: Regenerated.
18616
18617 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18618
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.
18623
18624 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18625
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):
18630 Likewise.
18631 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18632 CFLAGS-memmove.c): Likewise.
18633 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18634 Likewise.
18635
18636 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18637
18638 * sysdeps/x86_64/x32/_itoa.h: New file.
18639
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.
18643
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.
18648
18649 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18650 years.
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.
18654
18655 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18656 include <bits/wordsize.h>. Check __x86_64__ instead of
18657 __WORDSIZE.
18658 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18659 if __x86_64__ is defined. Use anonymous union on fpstate.
18660
18661 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18662 anonymous union.
18663
18664 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18665
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]:
18671 Likewise.
18672 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18673 Likewise.
18674 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18675 Likewise.
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].
18679
18680 * sysdeps/powerpc/powerpc32/dl-machine.c
18681 (__elf_machine_runtime_setup) [PROF]: Don't reference
18682 _dl_prof_resolve.
18683
18684 2012-05-18 Andreas Jaeger <aj@suse.de>
18685
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.
18689 (lrint): Likewise.
18690 (llrintf): Likewise.
18691 (llrint): Likewise.
18692 (fmaxf): Likewise.
18693 (fmax): Likewise.
18694 (fminf): Likewise.
18695 (fmin): Likewise.
18696 (rint): Likewise.
18697 (rintf): Likewise.
18698 (nearbyint): Likewise.
18699 (nearbyintf): Likewise.
18700 (ceil): Likewise.
18701 (ceilf): Likewise.
18702 (floor): Likewise.
18703 (floorf): Likewise.
18704
18705 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18706
18707 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18708 on both fields and cast pointer to __syscall_ulong_t.
18709
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.
18724
18725 2012-05-17 David S. Miller <davem@davemloft.net>
18726
18727 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18728
18729 2012-05-17 Andreas Jaeger <aj@suse.de>
18730
18731 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18732 warning.
18733
18734 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18735
18736 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18737
18738 2012-05-17 Andreas Jaeger <aj@suse.de>
18739
18740 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18741 when it is used.
18742
18743 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18744
18745 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18746
18747 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18748
18749 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18750 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18751
18752 2012-05-17 Andreas Jaeger <aj@suse.de>
18753 Carlos O'Donell <carlos_odonell@mentor.com>
18754
18755 [BZ #14059]
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
18775 are present.
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.
18781
18782 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18783
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.
18790
18791 2012-05-17 Andreas Jaeger <aj@suse.de>
18792
18793 * manual/examples/search.c (critter_cmp): Change signature to
18794 avoid warnings.
18795 * manual/string.texi (Collation Functions): Likewise.
18796
18797 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18798
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.
18806
18807 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18808
18809 [BZ #208]
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.
18814
18815 2012-05-16 Roland McGrath <roland@hack.frob.com>
18816
18817 [BZ #10375]
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.
18825
18826 [BZ #10375]
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.
18834
18835 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18836
18837 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18838 (mq_attr): Use __syscall_slong_t.
18839
18840 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18841
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.
18848
18849 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18850
18851 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18852
18853 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18854
18855 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18856
18857 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18858
18859 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18860 __syscall_ulong_t.
18861
18862 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18863 include <bits/wordsize.h>. Check __x86_64__ instead of
18864 __WORDSIZE.
18865 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18866 defined.
18867 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18868
18869 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18870 include <bits/wordsize.h>. Check __x86_64__ instead of
18871 __WORDSIZE.
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
18875 defined.
18876
18877 2012-05-16 Joseph Myers <joseph@codesourcery.com>
18878
18879 * configure.in (makeinfo): Require version 4.5 or later. Allow
18880 versions 5 to 9.
18881 * configure: Regenerated.
18882 * manual/install.texi (texinfo): Increase version requirement to
18883 4.5 or later.
18884 * INSTALL: Regenerated.
18885
18886 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18887
18888 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18889
18890 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18891
18892 * sysdeps/x86_64/x32/ffs.c: New file.
18893
18894 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18895 __syscall_ulong_t.
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.
18900
18901 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18902 __syscall_ulong_t.
18903
18904 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18905 <bits/wordsize.h>.
18906 (msgqnum_t): Use __syscall_ulong_t.
18907 (msglen_t): Likewise.
18908 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18909 __syscall_ulong_t.
18910
18911 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18912 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18913
18914 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18915
18916 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18917 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18918
18919 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18920 __syscall_slong_t.
18921
18922 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18923 include <bits/wordsize.h>. Check __x86_64__ instead of
18924 __WORDSIZE.
18925
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.
18929
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.
18933
18934 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18935 <stdint.h>.
18936 (GET_PC): Cast to uintptr_t first.
18937 (GET_FRAME): Likewise.
18938 (GET_STACK): Likewise.
18939
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.
18969
18970 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18971
18972 * Makerules (+depfiles): Also collect depfiles from .oS in
18973 $(extra-objs).
18974 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18975 .oS, $(libnldbl-routines)).
18976
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).
18983
18984 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18985
18986 * bits/types.h (__snseconds_t): Removed.
18987 * time/time.h (struct timespec): Replace __snseconds_t with
18988 __syscall_slong_t.
18989 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18990 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18991 Likewise.
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.
18998
18999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19000
19001 * sysdeps/mach/hurd/bits/typesizes.h
19002 (__SYSCALL_SLONG_TYPE): New macro.
19003 (__SYSCALL_ULONG_TYPE): Likewise.
19004
19005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19006
19007 * bits/types.h (__syscall_slong_t): New type.
19008 (__syscall_ulong_t): Likewise.
19009
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.
19021
19022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19023
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
19032 signal stack.
19033 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19034
19035 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19036
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>.
19049
19050 [BZ #14109]
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.
19055
19056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19057
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.
19061
19062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19063
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
19066 load frame size.
19067
19068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19069
19070 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19071
19072 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19073
19074 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19075 * sysdeps/x86_64/x32/sysdep.h: New file.
19076
19077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19078
19079 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19080 * sysdeps/x86_64/setjmp.S: Likewise.
19081
19082 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19083
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.
19089
19090 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19091
19092 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19093 include of <not-cancel.h>.
19094
19095 2012-05-15 Roland McGrath <roland@hack.frob.com>
19096
19097 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19098
19099 2012-05-15 Jeff Law <law@redhat.com>
19100 Andreas Jaeger <aj@suse.de>
19101
19102 [BZ #13594]
19103 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19104 out from...
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.
19109
19110 2012-05-15 Roland McGrath <roland@hack.frob.com>
19111
19112 * configure.in (sysnames): Look for Implies-before and Implies-after
19113 files.
19114 * configure: Regenerated.
19115
19116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19117
19118 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19119 8-byte data alignment with LP_SIZE alignment.
19120
19121 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19122
19123 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19124 into R10_LP.
19125
19126 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19127
19128 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19129
19130 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19131
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:
19135 Likewise.
19136 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19137
19138 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19139
19140 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19141 (stackinfo_sub_sp): Likewise.
19142
19143 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19144
19145 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19146 RAX_LP.
19147
19148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19149
19150 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19151 into R*_LP.
19152
19153 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19154
19155 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19156 sizes into R*_LP.
19157
19158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19159
19160 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19161
19162 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19163
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
19166 R8_LP.
19167
19168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19169
19170 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19171 R8_LP.
19172
19173 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19174
19175 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19176 logb for POWER7.
19177 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19178 logbf for POWER7.
19179 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19180 logbl for POWER7.
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.
19187
19188 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19189
19190 * README.libm: Remove file.
19191
19192 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19193
19194 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19195 count for x32. Use R*_LP and omit operand-size suffix.
19196
19197 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19198
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.
19202
19203 2012-05-14 Roland McGrath <roland@hack.frob.com>
19204
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.
19208
19209 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19210
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.
19214
19215 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19216
19217 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19218 the `q' suffix from lea and replace .quad with ASM_ADDR.
19219
19220 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19221
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
19224 instead of $17.
19225 (PTR_DEMANGLE): Likewise.
19226
19227 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19228
19229 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19230 (LP_OP): Likewise.
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.
19239 (R8_LP): Likewise.
19240 (R9_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.
19248
19249 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19250
19251 * sysdeps/x86_64/x32/dl-machine.h: New file.
19252
19253 2012-05-14 Andreas Jaeger <aj@suse.de>
19254
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.
19264 (lib): Remove.
19265 (stubs): Remove.
19266 ($(objpfx)stubs ../po/manual.pot): Remove.
19267 ($(objpfx)stamp%): Remove.
19268 (make-target-directory): Remove.
19269 (subdir_install): Remove.
19270 (routines): Remove.
19271 (aux): Remove.
19272 (sources): Remove.
19273 (objects): Remove.
19274 (headers): Remove.
19275
19276 [BZ #13750]
19277 * manual/.gitignore: Remove, it's not needed anymore.
19278 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19279 all files in it.
19280 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19281 directory.
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
19285 libc-texinfo.sh.
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.
19302
19303 * manual/install.texi (Configuring and compiling): Adjust since
19304 the info files are not part of the tar ball anymore.
19305
19306 2012-05-14 Andreas Jaeger <aj@suse.de>
19307
19308 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19309 variable.
19310
19311 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19312
19313 [BZ #13717]
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
19335 conditional code.
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
19345 non-SPARC.
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
19351 conditional code.
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
19429 return 1.
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.
19434
19435 2012-05-14 Andreas Jaeger <aj@suse.de>
19436
19437 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19438 it's not used in glibc.
19439 (__coshm1): Likewise.
19440 (__acosh1p): Likewise.
19441 (__sgn): Likewise.
19442
19443 * manual/string.texi (Copying and Concatenation): Add missing
19444 variable in concat example.
19445 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19446
19447 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19448
19449 [BZ #14103]
19450 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19451 __builtin_clzl with __builtin_clzll.
19452
19453 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19454
19455 [BZ #14104]
19456 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19457 libc_freeres_ptr.
19458
19459 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19460
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.
19465
19466 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19467
19468 * NEWS: Update ia64 info.
19469
19470 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19471
19472 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19473 used as bcopy.
19474
19475 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19476
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.
19481
19482 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19483
19484 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19485 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19486
19487 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19488
19489 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19490 thread pointer.
19491 (TLS_IE): Use mov/add instead of movq/addq to load thread
19492 pointer.
19493 (TLS_GD_PREFIX): New.
19494 (TLS_GD): Use it.
19495
19496 2012-05-11 David S. Miller <davem@davemloft.net>
19497
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.
19501
19502 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19503
19504 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19505 is 32-byte aligned.
19506
19507 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19508
19509 [BZ #11837]
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.
19514
19515 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19516
19517 [BZ #13673]
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.
19522
19523 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19524
19525 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19526 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19527
19528 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19529
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.
19550
19551 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19552
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.
19556
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".
19560
19561 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19562 instead of int.
19563
19564 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19565 if __dir_mkfile succeeded.
19566
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.
19570
19571 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19572
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.
19580
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):
19586 New macros.
19587 (struct stat64): Likewise.
19588 (_STATBUF_ST_NSEC): New macro.
19589 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19590
19591 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19592 __strtoul_internal rather than strtoul.
19593
19594 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19595
19596 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19597 and reject them.
19598
19599 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19600
19601 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19602 which preserves existing values.
19603 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19604
19605 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19606
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.
19610
19611 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19612
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.
19617
19618 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19619
19620 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19621 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19622
19623 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19624
19625 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19626 sysdeps/mach/hurd/readlink.c.
19627
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
19637 macro to -1.
19638 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19639 macro to -1.
19640 (_POSIX_ASYNC_IO): Undefine macro.
19641 (_POSIX_PRIORITIZED_IO): Undefine macro.
19642 (_POSIX_SPIN_LOCKS): Define macro to -1.
19643
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,
19648 F_DUPFD_CLOEXEC.
19649
19650 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19651
19652 * elf/Makefile (pldd-modules): Define unconditionally.
19653
19654 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19655
19656 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19657
19658 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19659
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.
19663
19664 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19665
19666 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19667
19668 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19669
19670 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19671
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.
19675
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.
19679
19680 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19681
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).
19686
19687 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19688
19689 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19690 REQUESTED_TIME. Properly set the remaining time and return EINTR
19691 if interrupted.
19692
19693 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19694
19695 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19696 Depend on against $(link-rpcuserlibs).
19697
19698 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19699
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
19706 attribute_relro.
19707
19708 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19709
19710 [BZ #3748]
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.
19716
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.
19724
19725 2012-05-10 Roland McGrath <roland@hack.frob.com>
19726
19727 * math/w_ilogbf.c: Add #include <limits.h>.
19728
19729 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19730
19731 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19732 path instead of returning without unlocking.
19733
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.
19737
19738 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19739
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.
19746
19747 dup3 for GNU Hurd.
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.
19753
19754 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19755
19756 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19757
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
19763 d->port.lock.
19764
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.
19768
19769 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19770
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
19773 definitions.
19774
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
19780 __libc_accept4.
19781 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19782
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.
19787
19788 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19789
19790 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19791
19792 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19793
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.
19799
19800 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19801
19802 [BZ #3906]
19803 * bits/in.h (IPV6_PKTINFO): Define new macro.
19804 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19805
19806 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19807
19808 [BZ #13954]
19809 [BZ #13955]
19810 [BZ #13956]
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.
19818
19819 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19820 Andreas Jaeger <aj@suse.de>
19821
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.
19881
19882 2012-05-10 Roland McGrath <roland@hack.frob.com>
19883
19884 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19885 change. Update copyright years.
19886
19887 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19888
19889 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19890
19891 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19892 Joseph Myers <joseph@codesourcery.com>
19893 Paul Pluzhnikov <ppluzhnikov@google.com>
19894
19895 [BZ #14012]
19896 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19897 requiring rpcgen.
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
19911 comment.
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.
19916
19917 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19918
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.
19922
19923 2012-05-10 Joseph Myers <joseph@codesourcery.com>
19924
19925 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19926 sysdeps/unix/sysv/syscalls.list.
19927 (stime): Likewise.
19928 (utime): Likewise.
19929 * sysdeps/unix/sysv/syscalls.list: Remove file.
19930
19931 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19932
19933 [BZ #3440]
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.
19939
19940 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19941
19942 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19943 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19944 after this.
19945
19946 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19947
19948 * stdlib/longlong.h: Updated from GCC.
19949
19950 2012-05-09 Andreas Jaeger <aj@suse.de>
19951
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.
19957
19958 [BZ #14053]
19959 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19960 to asm.
19961 (lrint): Likewise.
19962 (llrintf): Likewise.
19963 (llrint): Likewise.
19964 (rint): Likewise.
19965 (rintf): Likewise.
19966 (nearbyint): Likewise.
19967 (nearbyintf): Likewise.
19968
19969 2012-05-09 Andreas Jaeger <aj@suse.de>
19970 Pedro Alves <palves@redhat.com>
19971
19972 * nscd/nscd.c (run_mode): Use enum.
19973 (main): Cleanup coding style issue.
19974
19975 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
19976 Andreas Jaeger <aj@suse.de>
19977
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.
19984
19985 2012-05-09 Andreas Jaeger <aj@suse.de>
19986
19987 [BZ #14083]
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]:
19992 Likewise.
19993
19994 2012-05-09 Joseph Myers <joseph@codesourcery.com>
19995
19996 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19997 == 0.
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.
20009 Specify type.
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
20013 type.
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.
20029 Specify type.
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
20096 allow.
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
20102 positive value.
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
20132 allow.
20133
20134 2012-05-08 Ian Wienand <ianw@vmware.com>
20135
20136 [BZ #14080]
20137 * time/tzset.c (__tzset_parse_tz): Update default rules for
20138 daylight time changes in the Energy Policy Act of 2005.
20139
20140 2012-05-09 Andreas Jaeger <aj@suse.de>
20141
20142 [BZ #13983]
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.
20145
20146 2012-05-08 David S. Miller <davem@davemloft.net>
20147
20148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20149 movxtod instead of popping the value on the stack.
20150
20151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20152
20153 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20154
20155 * config.h.in: Add HAVE_ARM_PCS_VFP.
20156
20157 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20158
20159 [BZ #13979]
20160 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20161 checking but the checks are disabled for any reason.
20162
20163 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20164
20165 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20166 and ELF64_R_TYPE with ELFW(R_TYPE).
20167
20168 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20169
20170 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20171 (ulimit): Likewise.
20172
20173 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20174 (settimeofday): Likewise.
20175
20176 2012-05-08 Mike Frysinger <vapier@gentoo.org>
20177
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.
20186 (th_data): Define.
20187 (th_msg): Change to th_u1.th_u2.tu_data.
20188
20189 2012-05-07 David S. Miller <davem@davemloft.net>
20190
20191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20192
20193 [BZ #14074]
20194 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20195 (SETUP_PIC_REG): Use it.
20196 (SETUP_PIC_REG_LEAF): Use it.
20197
20198 2012-05-07 Joseph Myers <joseph@codesourcery.com>
20199
20200 [BZ #13885]
20201 [BZ #13923]
20202 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20203 USE_AS_EXPM1L.
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
20208 e_expl.S.
20209 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20210 USE_AS_EXPM1L.
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
20215 e_expl.S.
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.
20220
20221 2012-05-06 David S. Miller <davem@davemloft.net>
20222
20223 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20224 quad soft-float symbols whose references which are compiler
20225 generated.
20226 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20227
20228 2012-05-06 Joseph Myers <joseph@codesourcery.com>
20229
20230 [BZ #13884]
20231 [BZ #13914]
20232 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20233 USE_AS_EXP10L.
20234 (EXPL_FINITE): Likewise.
20235 (FLDLOG): Likewise.
20236 (c0): Likewise.
20237 (c1): 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
20242 e_expl.S.
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
20248 USE_AS_EXP10L.
20249 (EXPL_FINITE): Likewise.
20250 (FLDLOG): Likewise.
20251 (c0): Likewise.
20252 (c1): 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
20257 tests for bugs.
20258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20259
20260 [BZ #14064]
20261 * math/libm-test.inc (check_float_internal): Correct ulp
20262 calculation for subnormal expected results.
20263
20264 2012-05-06 Andreas Jaeger <aj@suse.de>
20265
20266 * Makeconfig (+math-flags): New, set to -frounding-math.
20267 (+cflags): Add +math-flags so that all of glibc gets compiled with
20268 it.
20269
20270 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20271
20272 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20273
20274 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20275 Disable one test.
20276
20277 [BZ #13787]
20278 [BZ #13922]
20279 [BZ #14036]
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
20285 underflow.
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
20289 underflow.
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
20293 underflow.
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.
20299
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.
20306
20307 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20308 (nice): Likewise.
20309 (poll): Likewise.
20310 (signal): Likewise.
20311 (time): Likewise.
20312 (times): Likewise.
20313
20314 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20315
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.
20332
20333 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20334
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:
20338 Moved to ...
20339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20340 Here.
20341 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20342 to ...
20343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20344 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20345 to ...
20346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20347 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20348 to ...
20349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20350 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20351 to ...
20352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20353 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20354 to ...
20355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20356 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20357 to ...
20358 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20359 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20360 to ...
20361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20362 Here.
20363 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20364 to ...
20365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20366 Here.
20367 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20368 to ...
20369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20370 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20371 Moved to ...
20372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20373 Here.
20374 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20375 to ...
20376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20377
20378 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20379
20380 * sysdeps/unix/common/bits/dirent.h: Remove file.
20381 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20382
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.
20390
20391 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20392
20393 [BZ #13563]
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.
20398
20399 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20400
20401 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20402 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20403
20404 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20405
20406 [BZ #14049]
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.
20410
20411 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20412
20413 * sysdeps/s390/fpu/libm-test-ulps: Update.
20414
20415 2012-05-03 Andreas Jaeger <aj@suse.de>
20416
20417 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20418 does not get optimized out.
20419 (malloc_opt_barrier): New.
20420
20421 2012-05-03 Andreas Jaeger <aj@suse.de>
20422 Roland McGrath <roland@hack.frob.com>
20423
20424 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20425 intermediate file deletion.
20426 (generated): Add .symlist files.
20427
20428 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20429
20430 [BZ #13775]
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.
20445
20446 2012-05-03 Roland McGrath <roland@hack.frob.com>
20447
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.
20451
20452 2012-05-03 Andreas Jaeger <aj@suse.de>
20453
20454 * sysdeps/i386/fpu/libm-test-ulps: Update.
20455
20456 * FAQ: Removed.
20457 * FAQ.in: Likewise.
20458 * scripts/gen-FAQ.pl: Likewise.
20459 * manual/install.texi (Installation): Point to online location of
20460 FAQ.
20461 * Makefile (files-for-dist): Remove FAQ.
20462 (FAQ): Remove.
20463
20464 2012-05-02 Allan McRae <allan@archlinux.org>
20465
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.
20487
20488 2012-05-02 David S. Miller <davem@davemloft.net>
20489
20490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20491
20492 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20493
20494 [BZ #14055]
20495 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20496
20497 2012-05-02 Andreas Jaeger <aj@suse.de>
20498
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.
20508
20509 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20510
20511 [BZ #2550]
20512 [BZ #2570]
20513 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20514 comparisons to determine direction to adjust input.
20515
20516 2012-05-01 Roland McGrath <roland@hack.frob.com>
20517
20518 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20519 output to the target.
20520
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.
20528
20529 * elf/check-localplt.c: File removed.
20530
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.
20540
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.
20550
20551 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20552
20553 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20554 allow.
20555 * conform/data/ctype.h-data [C99-based standards] (isblank):
20556 Expect function.
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.
20644 Require >= 2.
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
20694 bound negative.
20695 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20696 bound with "U".
20697 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20698 bound with "L".
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
20702 bound with "UL".
20703 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20704 Specify type.
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
20708 == 0.
20709 [ISO11] (max_align_t): Require type.
20710 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20711
20712 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20713 from $CFLAGS, without defining away __attribute__ calls.
20714 (checknamespace): Use $CFLAGS_namespace.
20715
20716 * conform/conformtest.pl (@keywords): Only include C99 keywords
20717 for standards based on C99 or C11.
20718
20719 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20720 Disable tests.
20721 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20722 UNIX98]: Likewise.
20723
20724 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20725 usability of symbols in #if.
20726
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.
20730
20731 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20732 in one place. Also handle "macro-constant".
20733
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.
20737
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
20741 "typed-constant".
20742
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-".
20746
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.
20756
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.
20761
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.
20952
20953 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20954 _XOPEN_SOURCE_EXTENDED for XPG4.
20955
20956 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20957
20958 * Makeconfig (localtime): Remove variable.
20959 (inst_localtime-file): Likewise.
20960
20961 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20962
20963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20964 Update.
20965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20966 Update.
20967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20968 Update.
20969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20970 Update.
20971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20972 Update.
20973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20974 Update.
20975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20976 Update.
20977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20978 Update.
20979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20980 Update.
20981
20982 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20983
20984 [BZ #2550]
20985 [BZ #2570]
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):
20991 Likewise.
20992 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20993 Likewise.
20994 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20995 Likewise.
20996 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20997 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20998 Likewise.
20999 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21000 Likewise.
21001 * math/libm-test.inc (nexttoward_test): Add more tests.
21002
21003 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21004
21005 [BZ #14040]
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):
21009 Likewise.
21010
21011 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21012
21013 [BZ #13942]
21014 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21015 (1 - x) * (1 + x).
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.
21022
21023 [BZ #14034]
21024 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21025 of square root.
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.
21039
21040 [BZ #13884]
21041 [BZ #13924]
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
21046 of __ieee754_expf.
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.
21052
21053 2012-04-29 Marek Polacek <polacek@redhat.com>
21054
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.
21084
21085 2012-04-29 Andreas Jaeger <aj@suse.de>
21086
21087 * Makerules (tests): Remove enable-check-abi protection.
21088 (check-abi-warn): Remove.
21089 (check-abi-%): Remove check-abi-warn usage.
21090
21091 * configure.in: Remove check-abi configure option.
21092 * configure: Regenerated.
21093 * config.make.in (enable-check-abi): Remove.
21094
21095 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21096
21097 [BZ #14033]
21098 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21099 double functions to double *_finite functions.
21100
21101 [BZ #13941]
21102 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21103 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21104 LDBL_MIN_EXP.
21105 * stdio-common/Makefile (tests): Add tst-sprintf3.
21106 * stdio-common/tst-sprintf3.c: New file.
21107
21108 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21109 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21110
21111 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21112
21113 * conform/conformtest.pl: Remove duplicate typed-constant
21114 handling.
21115
21116 2012-04-28 David S. Miller <davem@davemloft.net>
21117
21118 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21119 (check-abi-%): Remove AWK script prerequisite and explicit
21120 abilist directory.
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
21126 checks.
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
21148 file.
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
21158 file.
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
21163 file.
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
21170 file.
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
21174 file.
21175 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21176 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21177 New file.
21178 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21179 New file.
21180 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21181 New file.
21182 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21183 New file.
21184 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21185 New file.
21186 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21187 New file.
21188 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21189 New file.
21190 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21191 New file.
21192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21193 New file.
21194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21195 New file.
21196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21197 New file.
21198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21199 New file.
21200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21201 New file.
21202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21203 file.
21204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21205 New file.
21206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21207 New file.
21208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21209 file.
21210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21211 New file.
21212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21213 New file.
21214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21215 file.
21216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21217 New file.
21218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21219 New file.
21220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21221 New file.
21222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21223 New file.
21224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21225 New file.
21226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21227 New file.
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
21230 file.
21231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21232 New file.
21233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21234 file.
21235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21236 file.
21237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21238 file.
21239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21240 file.
21241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21242 file.
21243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21244 New file.
21245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21246 file.
21247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21248 file.
21249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21250 New file.
21251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21252 file.
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
21255 file.
21256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21257 New file.
21258 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21259 file.
21260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21261 file.
21262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21263 file.
21264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21265 file.
21266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21267 file.
21268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21269 New file.
21270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21271 file.
21272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21273 file.
21274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21275 New file.
21276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21277 file.
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
21281 file.
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
21294 file.
21295 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21296 New file.
21297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21298 file.
21299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21300 file.
21301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21302 file.
21303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21304 file.
21305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21306 file.
21307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21308 New file.
21309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21310 New file.
21311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21312 file.
21313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21314 New file.
21315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21316 file.
21317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21319 file.
21320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21321 New file.
21322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21323 file.
21324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21325 file.
21326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21327 file.
21328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21329 file.
21330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21331 file.
21332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21333 New file.
21334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21335 New file.
21336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21337 file.
21338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21339 New file.
21340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21341 file.
21342
21343 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21344
21345 * conform/conformtest.pl: Fix typo in handling typed-constant from
21346 allow-header.
21347
21348 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21349
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
21353 requirements.
21354
21355 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21356
21357 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21358
21359 [BZ #887]
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
21362 rounding mode.
21363
21364 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21365
21366 [BZ #14027]
21367 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21368 to be done.
21369 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21370 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21371
21372 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21373
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.
21381
21382 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21383 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21384
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.
21390 (bsdi*): Likewise.
21391 (osf*): Likewise.
21392 (sunos*): Likewise.
21393 (ultrix*): Likewise.
21394 (newsos*): Likewise.
21395 (dynix*): Likewise.
21396 (*bsd*): Likewise.
21397 (sysv*): Likewise.
21398 (isc*): Likewise.
21399 (esix*): Likewise.
21400 (sco*): Likewise.
21401 (minix*): Likewise.
21402 (irix4*): Likewise.
21403 (irix6*): Likewise.
21404 (solaris[2-9]*): Likewise.
21405 (none): Likewise.
21406 * configure: Regenerated.
21407
21408 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21409
21410 [BZ #11521]
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.
21417
21418 2012-04-26 David S. Miller <davem@davemloft.net>
21419
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.
21435
21436 2012-04-25 David S. Miller <davem@davemloft.net>
21437
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.
21443
21444 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21445
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
21449 libgcc_s.h.
21450 * sysdeps/gnu/unwind-resume.c: Likewise.
21451 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21452
21453 2012-04-25 David S. Miller <davem@davemloft.net>
21454
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.
21470
21471 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21472
21473 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21474 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21475 -DIS_IN_build.
21476
21477 * timezone/README: Update upstream location and email address for
21478 tzcode and tzdata.
21479 * timezone/zdump.c: Update from tzcode 2012b.
21480 * timezone/zic.c: Likewise.
21481
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.
21489
21490 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21491 Paul Pluzhnikov <ppluzhnikov@google.com>
21492
21493 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21494 strings correctly.
21495
21496 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21497
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.
21501
21502 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21503
21504 * sysdeps/unix/fork.S: Remove file.
21505 * sysdeps/unix/i386/fork.S: Likewise.
21506 * sysdeps/unix/sparc/fork.S: Likewise.
21507
21508 * sysdeps/unix/system.c: Remove file.
21509 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21510
21511 * sysdeps/unix/getegid.S: Remove file.
21512 * sysdeps/unix/geteuid.S: Likewise.
21513
21514 2012-04-24 Roland McGrath <roland@hack.frob.com>
21515
21516 * scripts/check-localplt.awk: New file.
21517 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21518 of diff.
21519 * scripts/data/localplt-generic.data: Add a comment.
21520
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>.
21525
21526 2012-04-24 Andreas Jaeger <aj@suse.de>
21527
21528 * Makerules (common-clean): Also remove gen-as-const-headers
21529 files.
21530
21531 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21532
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.
21536
21537 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21538
21539 [BZ #13886]
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.
21544
21545 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21546
21547 * sysdeps/unix/getdents.c: Remove file.
21548 * sysdeps/unix/sysv/getdents.c: Likewise.
21549 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21550
21551 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21552 sysdeps/unix/mman/syscalls.list.
21553 (mmap): Likewise.
21554 (mprotect): Likewise.
21555 (msync): 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.
21560
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.
21567
21568 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21569
21570 * sysdeps/unix/sysv/gethostname.c: Move to ...
21571 * sysdeps/posix/gethostname.c: ... here.
21572
21573 * sysdeps/unix/execve.S: Remove file.
21574
21575 * sysdeps/unix/_exit.S: Remove file.
21576
21577 2012-04-23 Andreas Jaeger <aj@suse.de>
21578
21579 [BZ #13739]
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.
21583 (dist): Removed.
21584 (tar-it): Removed.
21585 (edition): Removed.
21586 (glibc-doc-$(edition).tar): Removed
21587 (%.Z): Removed.
21588 (%.gz): Removed.
21589 (%.uu): Removed.
21590 (ETAGS): Remove, it's in Makeconfig.
21591 (move-if-change): Remove, it's in Makeconfig.
21592
21593 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21594
21595 [BZ #13970]
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.
21603
21604 2012-04-21 Andreas Jaeger <aj@suse.de>
21605
21606 [BZ #13739]
21607 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21608
21609 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21610
21611 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21612 * sysdeps/unix/sysv/Versions: Remove file.
21613
21614 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21615
21616 [BZ #13927]
21617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21618
21619 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
21620
21621 [BZ #7064]
21622 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21623 version from __vm86.
21624
21625 2012-04-20 Joseph Myers <joseph@codesourcery.com>
21626
21627 * sysdeps/unix/common/lxstat.c: Remove file.
21628 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21629
21630 * sysdeps/unix/sysv/Makefile: Remove file.
21631
21632 * sysdeps/unix/sysv/direct.h: Remove file.
21633
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.
21641
21642 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21643
21644 * sysdeps/unix/xmknod.c: Remove file.
21645 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21646
21647 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21648
21649 * sysdeps/unix/sysv/i386/time.S: Remove file.
21650
21651 * sysdeps/unix/fxstat.c: Remove file.
21652 * sysdeps/unix/xstat.c: Likewise.
21653 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21654
21655 * sysdeps/unix/sysv/sigaction.c: Remove file.
21656
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.
21670
21671 * sysdeps/unix/siglist.c: Remove file.
21672
21673 * sysdeps/unix/getppid.S: Remove file.
21674
21675 * sysdeps/unix/mkdir.c: Remove file.
21676 * sysdeps/unix/rmdir.c: Likewise.
21677
21678 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21679
21680 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21681 ERR_MAX value.
21682 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21683 errlist-compat value.
21684
21685 2012-04-18 David S. Miller <davem@davemloft.net>
21686
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.
21703
21704 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21705
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
21708 overlap.
21709
21710 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21711
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.
21718
21719 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21720
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.
21726
21727 2012-04-18 David S. Miller <davem@davemloft.net>
21728
21729 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21730
21731 2012-04-18 Andreas Jaeger <aj@suse.de>
21732
21733 [BZ# 6794]
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.
21737
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.
21741
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.
21745
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.
21749
21750 2012-04-17 David S. Miller <davem@davemloft.net>
21751
21752 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21753
21754 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21755
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.
21762
21763 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21764
21765 [BZ #6794]
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.
21793
21794 2012-04-17 Petr Baudis <pasky@ucw.cz>
21795
21796 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21797 with altivec.
21798
21799 2012-04-16 Marek Polacek <polacek@redhat.com>
21800
21801 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21802
21803 2012-04-16 Marek Polacek <polacek@redhat.com>
21804
21805 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21806 operands of fdivp instruction.
21807
21808 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21809
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.
21820
21821 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21822
21823 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21824 __ILP32__.
21825
21826 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
21827
21828 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21829 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21830
21831 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21832
21833 [BZ #13973]
21834 * locale/iso-639.def: Fix gl language name. Spotted by
21835 Yaron Shahrabani.
21836
21837 2012-04-12 Roland McGrath <roland@hack.frob.com>
21838
21839 [BZ #2074]
21840 * libio/libio.h (__io_write_fn): Update comment.
21841
21842 2012-04-12 Petr Baudis <pasky@ucw.cz>
21843
21844 [BZ #2074]
21845 * stdio.texi (Hook Functions): The user provided writer function
21846 is not allowed to return -1.
21847
21848 2012-04-11 David S. Miller <davem@davemloft.net>
21849
21850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21851
21852 2012-04-11 Mike Frysinger <vapier@gentoo.org>
21853
21854 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21855 Add a leading slash to rtkaio.
21856
21857 2012-04-11 Jim Meyering <meyering@redhat.com>
21858
21859 [BZ #11959]
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
21863 the fact.
21864
21865 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21866
21867 * bits/types.h (__snseconds_t): New type.
21868 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21869
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.
21877
21878 2012-04-10 Andreas Jaeger <aj@suse.de>
21879
21880 [BZ #2636]
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
21886 _SC_CLK_TCK.
21887
21888 2012-04-10 David S. Miller <davem@davemloft.net>
21889
21890 [BZ #13967]
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.
21893
21894 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21895
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.
21899
21900 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21901
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
21906 _dl_inhibit_cache.
21907 * elf/dl-load.c (_dl_map_object): Use it.
21908 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21909
21910 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21911
21912 [BZ #13872]
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
21918 exceptions.
21919
21920 [BZ #11521]
21921 * math/s_ctan.c: Include <float.h>.
21922 (__ctan): Avoid internal overflow or cancellation in calculating
21923 denominator.
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.
21933
21934 2012-04-09 Andreas Jaeger <aj@suse.de>
21935
21936 [BZ #6894]
21937 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21938 is an optional BSD extension.
21939
21940 [BZ #10254]
21941 * manual/stdio.texi (Opening Streams): Document additional fopen
21942 parameters.
21943
21944 2012-04-09 Roland McGrath <roland@hack.frob.com>
21945
21946 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21947 %eax without telling the compiler.
21948
21949 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21950
21951 [BZ # 13963]
21952 * manual/install.texi: Use sourceware.org.
21953
21954 2012-04-09 Joseph Myers <joseph@codesourcery.com>
21955
21956 [BZ #13873]
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.
21963
21964 [BZ #706]
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.
21971
21972 2012-04-08 Joseph Myers <joseph@codesourcery.com>
21973
21974 [BZ #13705]
21975 * math/libm-test.inc (exp_test): Do not allow overflow exception
21976 on underflow test.
21977
21978 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21979
21980 [BZ #13705]
21981 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21982 instead of __kernel_standard_f.
21983
21984 2012-04-08 Mike Frysinger <vapier@gentoo.org>
21985
21986 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21987 * sysdeps/x86_64/memset_chk.S: Likewise.
21988
21989 2012-04-08 Andreas Jaeger <aj@suse.de>
21990
21991 [BZ #10153]
21992 * manual/startup.texi (Environment Access): Describe return value
21993 for putenv and setenv.
21994
21995 [BZ #6895]
21996 * manual/filesys.texi (Directory Entries): Add description for
21997 DT_LNK.
21998
21999 [BZ #6890]
22000 * manual/filesys.texi (Directory Entries): Clarify that it's file
22001 system not operating system in the description of DT_UNKNOWN.
22002
22003 [BZ #6578]
22004 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22005
22006 2012-04-08 Stephen Compall <s11@member.fsf.org>
22007
22008 [BZ #6649]
22009 * manual/llio.texi (Opening and Closing Files): Add cross
22010 reference to explain mode argument.
22011
22012 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22013
22014 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22015 * sysdeps/x86_64/memset_chk.S: Likewise.
22016
22017 2012-04-07 David S. Miller <davem@davemloft.net>
22018
22019 * elf/elf.h (R_SPARC_WDISP10): Define.
22020 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22021 R_SPARC_SIZE32.
22022 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22023 R_SPARC_SIZE64 and R_SPARC_H34.
22024
22025 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22026
22027 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22028 conditions and remove no longer applicable assertion.
22029
22030 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22031
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.
22035
22036 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22037
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.
22048
22049 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22050
22051 [BZ #13895]
22052 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22053 extra indirection.
22054 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22055 * nss/tst-nss-static.c: New.
22056
22057 2012-04-06 Robert Millan <rmh@gnu.org>
22058
22059 [BZ #6486]
22060 * manual/llio.texi (File Position Primitive): lseek
22061 refers to WHENCE when it really means OFFSET.
22062
22063 2012-04-06 Andreas Jaeger <aj@suse.de>
22064
22065 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22066 strncmp declarations.
22067
22068 * abilist/libc.abilist: Add __poll and __ppoll.
22069
22070 2012-04-05 David S. Miller <davem@davemloft.net>
22071
22072 * scripts/check-local-headers.sh: Accept a host triplet in the
22073 path matched by the exclude regexp.
22074
22075 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22076 definition.
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.
22085
22086 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22087 lazy binding.
22088 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22089 undefined symbol errors.
22090
22091 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22092 DT_NEEDED entries.
22093
22094 2012-04-05 Michael Matz <matz@suse.de>
22095
22096 [BZ #13592]
22097 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22098
22099 2012-04-05 Andreas Jaeger <aj@suse.de>
22100
22101 [BZ #13908]
22102 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22103 comment.
22104
22105 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22106
22107 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22108 which ROUND is no valid rounding mode.
22109
22110 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22111
22112 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22113 read again.
22114 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22115
22116 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22117
22118 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22119 an exception using FPU order intentionally.
22120
22121 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22122
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.
22127
22128 2012-04-05 Simon Josefsson <simon@josefsson.org>
22129
22130 [BZ #12340]
22131 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22132 EINVAL when BUFLEN is too smal.
22133
22134 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22135
22136 [BZ #13553]
22137 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22138 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22139
22140 2012-04-03 Andreas Jaeger <aj@suse.de>
22141
22142 [BZ #13938]
22143 * manual/setjmp.texi (System V contexts): Fix sentence.
22144
22145 [BZ #13926]
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.
22153
22154 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22155 __GLIBC_HAVE_LONG_LONG.
22156
22157 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22158 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22159
22160 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22161
22162 [BZ #13691]
22163 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22164 inptr and inend, rather than using last_ch.
22165
22166 2012-04-02 David S. Miller <davem@davemloft.net>
22167
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.
22181
22182 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22183
22184 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22185 CHAR_MAX.
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.
22189
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.
22195
22196 2012-04-01 Ulrich Drepper <drepper@gmail.com>
22197
22198 * po/ru.po: Update from translation team.
22199 * po/vi.po: Likewise.
22200
22201 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22202
22203 * resolv/nss_dns/dns-host.c: Merge copyright years.
22204
22205 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22206
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.
22211
22212 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22213
22214 [BZ #13928]
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.
22218
22219 2012-03-30 Jeff Law <law@redhat.com>
22220
22221 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22222 due to long keys.
22223 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22224 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22225
22226 * resolv/nss_dns/dns-host.c: Update copyright year.
22227
22228 2012-03-30 Ulrich Drepper <drepper@gmail.com>
22229
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.
22232
22233 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22234 comments for sendmmsg.
22235
22236 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22237
22238 [BZ #13691]
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.
22243
22244 2012-03-29 David S. Miller <davem@davemloft.net>
22245
22246 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22247 small copies by hand.
22248
22249 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22250
22251 [BZ #13761]
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.
22255
22256 2012-03-28 David S. Miller <davem@davemloft.net>
22257
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
22265 bits.
22266 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22267 implementation too.
22268 * sysdeps/sparc/mempcpy.S: New file.
22269
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.
22273
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.
22282
22283 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22284 loop to 256 bytes instead of 64 bytes and fix test signedness.
22285
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.
22289
22290 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22291
22292 * malloc/mallocbug.c: Avoid warnings about unused variables.
22293
22294 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22295
22296 [BZ #13760]
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.
22300
22301 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22302
22303 [BZ #369]
22304 [BZ #2678]
22305 [BZ #3866]
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.
22317
22318 [BZ #3868]
22319 [BZ #13879]
22320 [BZ #13910]
22321 [BZ #13911]
22322 [BZ #13912]
22323 [BZ #13913]
22324 [BZ #13915]
22325 [BZ #13916]
22326 [BZ #13917]
22327 [BZ #13918]
22328 [BZ #13919]
22329 [BZ #13920]
22330 [BZ #13921]
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
22335 __kernel_standard.
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.
22379
22380 2012-03-27 Anton Blanchard <anton@samba.org>
22381
22382 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22383 MAP_HUGETLB.
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.
22387
22388 2012-03-27 David S. Miller <davem@davemloft.net>
22389
22390 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22391
22392 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22393 have-as-vis3 check.
22394
22395 2012-03-27 Andreas Jaeger <aj@suse.de>
22396
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.
22402
22403 * sysdeps/x86_64/configure.in: Merge contents from
22404 sysdeps/i386/configure.in (without i686 check).
22405
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.
22415
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.
22422
22423 * sysdeps/unix/i386/start.c: Delete file.
22424 * sysdeps/unix/sparc/start.c: Delete file.
22425 * sysdeps/unix/start.c: Delete file.
22426
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.
22432
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.
22444
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.
22452
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.
22457
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.
22469
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.
22481
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.
22494
22495 * configure.in: Remove support for elf directories in sysdeps.
22496
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.
22506
22507 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22508
22509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22510
22511 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22512 denormal result into account.
22513
22514 2012-03-25 Roland McGrath <roland@hack.frob.com>
22515
22516 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22517 Reported by Allan McRae <allan@archlinux.org>.
22518
22519 2012-03-23 Jeff Law <law@redhat.com>
22520
22521 * nss/getnssent.c (__nss_getent): Fix typo.
22522
22523 2012-03-23 David S. Miller <davem@davemloft.net>
22524
22525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22526
22527 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22528
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.
22532
22533 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22534 Paul Pluzhnikov <ppluzhnikov@google.com>
22535
22536 [BZ #6528]
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.
22550
22551 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22552
22553 [BZ #13892]
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.
22562
22563 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22564
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).
22568
22569 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22570
22571 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22572 with uint64_t.
22573
22574 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22575
22576 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22577 declaration.
22578 (struct La_x32_retval): Likewise.
22579
22580 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22581
22582 * sysdeps/x86_64/preconfigure.in: New file.
22583 * sysdeps/x86_64/preconfigure: New generated file.
22584
22585 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22586
22587 [BZ #13824]
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
22591 __ieee754_expl.
22592 * math/libm-test.inc (exp2_test): Add more tests.
22593
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):
22597 Likewise.
22598 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22599 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22600 Likewise.
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.
22604
22605 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22606
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.
22616
22617 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22618 and x32_gnu_pltexit.
22619
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.
22626
22627 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22628
22629 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22630 exponent.
22631
22632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22633
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
22644 define.
22645 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22646 define.
22647
22648 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22649
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.
22664
22665 2012-03-21 David S. Miller <davem@davemloft.net>
22666
22667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22668
22669 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22670
22671 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22672 of x86_64 when setting libc_cv_slibdir, libdir and
22673 libc_cv_localedir.
22674 * sysdeps/unix/sysv/linux/configure: Regenerated.
22675
22676 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22677
22678 * manual/lang.texi (Old Varargs): Remove section.
22679 (How Variadic): Update menu.
22680 (va_start): Do not mention varargs.h.
22681
22682 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22683 Joseph Myers <joseph@codesourcery.com>
22684
22685 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22686 link test.
22687 * configure: Regenerated.
22688
22689 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22690
22691 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22692 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22693 conformtest.pl
22694
22695 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22696
22697 * NOTES: Remove.
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
22703 NOTES.
22704
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.
22716
22717 [BZ #13883]
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.
22724
22725 2012-03-21 Allan McRae <allan@archlinux.org>
22726
22727 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22728
22729 2012-03-21 Joseph Myers <joseph@codesourcery.com>
22730
22731 [BZ #13871]
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
22735 __kernel_standard.
22736 * math/w_exp2f.c: Likewise.
22737 * math/w_exp2l.c: Likewise.
22738 * math/libm-test.inc (exp2_test): Require overflow exception for
22739 1e6 input.
22740
22741 [BZ #3866]
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
22751 ones as needed.
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
22757 ones as needed.
22758 * math/libm-test.inc (pow_test): Add more tests.
22759
22760 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22761
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.
22812
22813 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22814
22815 * stdio-common/_itoa.h: Moved to ...
22816 * sysdeps/generic/_itoa.h: Here.
22817
22818 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22819
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.
22823
22824 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22825
22826 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22827 <bits/wordsize.h>.
22828 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22829 (__signbit): Likwise.
22830 (llrintf): Likwise.
22831 (llrint): Likwise.
22832
22833 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22834
22835 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22836 __WORDSIZE != 64.
22837
22838 2012-03-20 Joseph Myers <joseph@codesourcery.com>
22839
22840 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22841 OVERFLOW_EXCEPTION_OK.
22842 * math/libm-test.inc ("Philosophy"): Update comment about
22843 exception testing.
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.
22857
22858 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22859
22860 * sysdeps/x86_64/bits/atomic.h
22861 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22862 64bit integer.
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.
22868
22869 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22870
22871 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22872 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22873
22874 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22875
22876 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22877 Check __x86_64__ instead of __WORDSIZE.
22878
22879 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22880
22881 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22882
22883 2012-03-19 David S. Miller <davem@davemloft.net>
22884
22885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22886
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):
22890 Remove.
22891 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22892 (libc_feholdexcept_setroundl): Remove.
22893 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22894 Remove.
22895 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22896 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22897
22898 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22899
22900 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22901 int64_t instead of long int.
22902 (INSERT_WORDS64): Likwise.
22903
22904 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22905
22906 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22907 _Unwind_GetCFA return to _Unwind_Ptr first.
22908
22909 2012-03-19 Joseph Myers <joseph@codesourcery.com>
22910
22911 [BZ #13629]
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.
22925
22926 [BZ #11451]
22927 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22928 x and y.
22929 * math/libm-test.inc (atan2_test): Add another test.
22930
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):
22936 Remove rule.
22937 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22938 Likewise.
22939 [generic bits/local_lim.h] (before-compile): Do not append to
22940 variable.
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
22947 include.
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
22953 variable.
22954 [generic sys/param.h] (sysdep_headers): Likewise.
22955 [generic bits/errno.h] (before-compile): Do not append to
22956 variable.
22957 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22958 rule.
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
22963 variable.
22964 [generic bits/ioctls.h] (before-compile): Do not append to
22965 variable.
22966 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22967 rule.
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
22971 rule.
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
22976 variable.
22977 [generic sys/syscall.h] (syscall.h): Remove variable.
22978 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22979 rule.
22980 [generic sys/syscall.h] (before-compile): Do not append to
22981 variable.
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.
22989
22990 2012-03-19 Richard Henderson <rth@twiddle.net>
22991
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.
23005
23006 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23007 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23008
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.
23017
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
23028 SET_RESTORE_ROUND.
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.
23031 (__cos): Likewise.
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.
23041
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.
23045
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.
23063
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.
23075
23076 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23077
23078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23079
23080 2012-03-17 David S. Miller <davem@davemloft.net>
23081
23082 [BZ #6471]
23083 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23084 for 2.16.
23085
23086 2012-03-16 David S. Miller <davem@davemloft.net>
23087
23088 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23089 warnings.
23090
23091 [BZ #6471]
23092 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23093 properly.
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.
23099
23100 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23101
23102 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23103
23104 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23105 [__LP64__].
23106
23107 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23108
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.
23115
23116 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23117
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.
23122
23123 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23124
23125 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23126 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23127
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>.
23134
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.
23138
23139 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23140 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23141
23142 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23143
23144 [BZ #2551]
23145 [BZ #2552]
23146 [BZ #2553]
23147 [BZ #2554]
23148 [BZ #2562]
23149 [BZ #2563]
23150 [BZ #2565]
23151 [BZ #2566]
23152 [BZ #2576]
23153 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23154 (y0): Likewise.
23155 * math/w_j0f.c (j0f): Likewise.
23156 (y0f): Likewise.
23157 * math/w_j0l.c (__j0l): Likewise.
23158 (__y0l): Likewise.
23159 * math/w_j1.c (j1): Likewise.
23160 (y1): Likewise.
23161 * math/w_j1f.c (j1f): Likewise.
23162 (y1f): Likewise.
23163 * math/w_j1l.c (__j1l): Likewise.
23164 (__y1l): Likewise.
23165 * math/w_jn.c (jn): Likewise.
23166 (yn): Likewise.
23167 * math/w_jnf.c (jnf): Likewise.
23168 (ynf): Likewise.
23169 * math/w_jnl.c (__jnl): Likewise.
23170 (__ynl): 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.
23178
23179 [BZ #13851]
23180 [BZ #13854]
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.
23195
23196 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23197
23198 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23199 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23200
23201 2012-03-16 Roland McGrath <roland@hack.frob.com>
23202
23203 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23204 * configure.in: Use it for both main tree and add-ons.
23205 * configure: Regenerated.
23206
23207 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23208
23209 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23210
23211 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23212
23213 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23214 in comment.
23215
23216 [BZ #13851]
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
23222 infinite argument.
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.
23243
23244 2012-03-16 David S. Miller <davem@davemloft.net>
23245
23246 * sysdeps/sparc/fpu/math_private.h: New file.
23247
23248 2012-03-15 David S. Miller <davem@davemloft.net>
23249
23250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23251 file.
23252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23254 file.
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
23261 sysdep routines.
23262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23263
23264 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23265 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23266
23267 * sysdeps/sparc/sparc-ifunc.h: New file.
23268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23269 sparc-ifunc.h
23270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23272 Likewise.
23273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23274 Likewise.
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:
23279 Likewise.
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:
23285 Likewise.
23286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23287 Likewise.
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.
23312
23313 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23314
23315 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23316 scaling.
23317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23318
23319 2012-03-15 Andreas Jaeger <aj@suse.de>
23320
23321 [BZ #13852]
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.
23330
23331 * math/libm-test.inc (cos_test): Enable some large input tests for
23332 float as well
23333 (sin_test): Likewise.
23334 (sincos_test): Likewise.
23335 (tan_test): Add tests for large input.
23336
23337 * sysdeps/i386/fpu/libm-test-ulps: Update.
23338
23339 2012-03-15 Andreas Jaeger <aj@suse.de>
23340
23341 [BZ #13658]
23342 * math/libm-test.inc (cos_test): Add more test cases.
23343 (sin_test): Likewise.
23344 (sincos_test): Likewise.
23345
23346 2012-03-15 Andreas Jaeger <aj@suse.de>
23347
23348 [BZ #13837]
23349 * math/libm-test.inc (cos_test): Add a test case for large input
23350 value.
23351 (sin_test): Likewise.
23352 (sincos_test): Likewise.
23353
23354 2012-03-15 Andreas Jaeger <aj@suse.de>,
23355 Joseph Myers <joseph@codesourcery.com>
23356
23357 [BZ #13658]
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.
23367
23368 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23369 Define.
23370 (libc_feupdateenv_53bit): Define.
23371 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23372 Define.
23373 (libc_feupdateenv_53bit): Define.
23374
23375 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23376 53 bit (without extend i386 double precision).
23377
23378 * math/libm-test.inc (sincos_test): Add tests for large input.
23379 (sin): Likewise.
23380 (cos): Likewise.
23381
23382 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23383
23384 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23385
23386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23387
23388 2012-03-15 David S. Miller <davem@davemloft.net>
23389
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
23406 file.
23407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23409 file.
23410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23412 file.
23413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23415 file.
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.
23420
23421 2012-03-14 David S. Miller <davem@davemloft.net>
23422
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
23452 routines.
23453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23454 file.
23455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23457 file.
23458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23460 file.
23461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23463 file.
23464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23466 file.
23467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23469 file.
23470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23471 file.
23472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23473 file.
23474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23475 file.
23476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23477 New file.
23478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23479 file.
23480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23481 file.
23482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23484 file.
23485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23487 file.
23488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23490 file.
23491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23493 VIS3 routines.
23494
23495 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23496 New file.
23497
23498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23499
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:
23511 New file.
23512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23513 file.
23514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23515 New file.
23516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23517 file.
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.
23523
23524 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23525 fzeros/fnegs to load 0x80000000 into a float register instead of
23526 using the stack.
23527 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23528
23529 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23530
23531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23532 bits/syscall.h.
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.
23540
23541 2012-03-14 Roland McGrath <roland@hack.frob.com>
23542
23543 [BZ #13846]
23544 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23545
23546 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23547
23548 [BZ #13841]
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.
23556
23557 [BZ #13840]
23558 * math/libm-test.inc (hypot_test): Add more tests.
23559
23560 2012-03-13 David S. Miller <davem@davemloft.net>
23561
23562 [BZ #13840]
23563 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23564 double-precision for the calculation instead of scaling.
23565
23566 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23567
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):
23572 Likewise.
23573 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23574
23575 2012-03-13 David S. Miller <davem@davemloft.net>
23576
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.
23582
23583 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23584 large parameters.
23585
23586 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23587
23588 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23589 'err' in the ifdef scope in which it is actually used.
23590
23591 * nss/nss_db/db-init.c: Include string.h
23592
23593 2012-03-12 David S. Miller <davem@davemloft.net>
23594
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.
23599
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
23603 expression.
23604 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23605 later.
23606
23607 2012-03-11 David S. Miller <davem@davemloft.net>
23608
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.
23613
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.
23616
23617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23618
23619 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23620
23621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23622
23623 2012-03-09 David S. Miller <davem@davemloft.net>
23624
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
23634 call.
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.
23638
23639 2012-03-10 Joseph Myers <joseph@codesourcery.com>
23640
23641 * sunrpc/Makefile (others): Add rpcgen.
23642 ($(objpfx)rpcgen): Remove special build rule and dependency on
23643 libc.
23644 * sunrpc/rpcgen.c: New file.
23645
23646 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23647
23648 [BZ #13673]
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.
23660
23661 [BZ #13673]
23662 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23663 with URL.
23664 * locale/programs/locfile-kw.gperf: Likewise.
23665 * locale/programs/charmap-kw.h: Regenerated.
23666 * locale/programs/locfile-kw.h: Likewise.
23667
23668 [BZ #13673]
23669 * intl/plural.y: Replace FSF snail mail address with URL.
23670 * intl/plural.c: Regenerated.
23671
23672 2012-03-09 Richard Henderson <rth@twiddle.net>
23673
23674 * include/math_private.h: Remove file.
23675 * math/math_private.h: Move file ...
23676 * sysdeps/generic/math_private.h: ... here.
23677
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.
23681
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.
24018
24019 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24020
24021 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24022 * sunrpc/rpc_main.c: Likewise.
24023 * sunrpc/rpc_svcout.c: Likewise.
24024
24025 2012-03-09 David S. Miller <davem@davemloft.net>
24026
24027 * include/math_private.h: New file.
24028
24029 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24030
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.
24039
24040 [BZ #13566]
24041 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24042 checking __USE_GNU.
24043
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.
24048
24049 2012-03-08 Richard Henderson <rth@twiddle.net>
24050
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.
24055
24056 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24057 to inline function.
24058 (__rintf, __floor, __floorf): Likewise.
24059
24060 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24061 macro to inline function.
24062 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24063
24064 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24065 not <math/math_private.h>.
24066
24067 2012-03-08 David S. Miller <davem@davemloft.net>
24068
24069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24070 copyright year.
24071 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24072
24073 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24074
24075 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24076 normalization.
24077 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24078 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24079
24080 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24081
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.
24087
24088 2012-03-07 Marek Polacek <polacek@redhat.com>
24089
24090 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24091
24092 2012-03-08 Marek Polacek <polacek@redhat.com>
24093
24094 [BZ #13806]
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.
24099
24100 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24101
24102 [BZ #6911]
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
24112 expansion.
24113 * manual/filesys.texi: Likewise.
24114 (getumask): Document as specific to GNU/Hurd.
24115 * manual/install.texi: Likewise. Reword some references to
24116 GNU/Linux.
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
24131 child on GNU/Hurd.
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.
24145
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
24149 puts.
24150 * configure: Regenerated.
24151
24152 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24153
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.
24157
24158 [BZ #10716]
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.
24169
24170 2012-03-07 Ulrich Drepper <drepper@gmail.com>
24171
24172 * po/zh_TW.po: Update from translation team.
24173
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.
24218
24219 [BZ #6959]
24220 * timezone/Makefile: Don't install timezone files, just the programs
24221 and scripts.
24222
24223 2012-03-06 Ulrich Drepper <drepper@gmail.com>
24224
24225 * nss/databases.def: Add missing gshadow entry.
24226
24227 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24228
24229 2012-03-06 Marek Polacek <polacek@redhat.com>
24230
24231 [BZ #13726]
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.
24236
24237 2012-03-06 David S. Miller <davem@davemloft.net>
24238
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
24246 __builtin_expect.
24247 (INLINE_CLONE_SYSCALL): Likewise.
24248
24249 2012-03-05 David S. Miller <davem@davemloft.net>
24250
24251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24252
24253 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24254
24255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24256
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.
24260
24261 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24262
24263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24264 Replace gettimeofday with __vdso_gettimeofday.
24265
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.
24269
24270 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24271 time with __vdso_time.
24272
24273 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24274
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.
24278
24279 2012-03-05 Andreas Jaeger <aj@suse.de>
24280
24281 * sysdeps/i386/fpu/libm-test-ulps: Update.
24282
24283 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24284
24285 [BZ #3976]
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.
24296
24297 [BZ #3976]
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.
24309
24310 2012-03-05 Tom de Vries <tom@codesourcery.com>
24311
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.
24315
24316 2012-03-05 Kees Cook <keescook@chromium.org>
24317
24318 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24319
24320 [BZ #13656]
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.
24325
24326 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24327
24328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24329
24330 2012-03-03 Marek Polacek <polacek@redhat.com>
24331
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.
24337
24338 2012-03-02 David S. Miller <davem@davemloft.net>
24339
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.
24348
24349 2012-03-02 Roland McGrath <roland@hack.frob.com>
24350
24351 [BZ #13792]
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.
24397
24398 [BZ #13792]
24399 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24400 function to ...
24401 * manual/timeval_subtract.c.texi: ... here, new file.
24402
24403 2012-03-02 David S. Miller <davem@davemloft.net>
24404
24405 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24406
24407 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24408
24409 [BZ #3976]
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
24416 <fenv.h>.
24417 (tan): Save and restore rounding mode and use round-to-nearest for
24418 all computations.
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.
24434
24435 [BZ #10135]
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):
24440 Likewise.
24441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24442 Likewise.
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.
24453
24454 * manual/filesys.texi (mode_t): Describe constraints on size and
24455 signedness, not exact equivalence to a particular type.
24456 (ino_t): Likewise.
24457 (ino64_t): Likewise.
24458 (dev_t): Likewise.
24459 (nlink_t): Likewise.
24460 (blkcnt_t): Likewise.
24461 (blkcnt64_t): Likewise.
24462 * manual/llio.texi (off_t): Likewise.
24463
24464 [BZ #3976]
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.
24475
24476 2012-03-01 Chris Demetriou <cgd@google.com>
24477
24478 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24479 have predictable order.
24480
24481 2012-03-01 David S. Miller <davem@davemloft.net>
24482
24483 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24484
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.
24489
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.
24499
24500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24501
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.
24505
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.
24525
24526 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24527
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.
24533
24534 [BZ #2541]
24535 [BZ #4108]
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
24540 exponent.
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.
24545
24546 2012-03-01 Kai Tietz <ktietz@redhat.com>
24547
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.
24554
24555 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24556
24557 [BZ #13786]
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.
24566
24567 [BZ #5794]
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.
24571
24572 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24574
24575 2012-02-29 Jeff Law <law@redhat.com>
24576
24577 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24578 out of bounds read.
24579
24580 2012-02-29 Marek Polacek <polacek@redhat.com>
24581
24582 [BZ #13706]
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.
24585
24586 2012-02-28 David S. Miller <davem@davemloft.net>
24587
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.
24594
24595 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24596
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
24600 from bug 2561.
24601
24602 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24603
24604 * sysdeps/x86_64/fpu/e_expf.S: New file.
24605 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24606
24607 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24608
24609 [BZ #13637]
24610 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24611 of remain_len that may cause incomplete multi-byte character and
24612 false match.
24613 * posix/bug-regex33.c: New file.
24614 * posix/Makefile (tests): Add bug-regex33.
24615
24616 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24617
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.
24665
24666 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24667
24668 * include/dirent.h: Include <dirstream.h> before
24669 <dirent/dirent.h>.
24670
24671 2012-02-28 David S. Miller <davem@davemloft.net>
24672
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.
24677
24678 2012-02-27 David S. Miller <davem@davemloft.net>
24679
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.
24684
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.
24690
24691 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24692
24693 [BZ #3992]
24694 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24695
24696 2012-02-27 David S. Miller <davem@davemloft.net>
24697
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.
24706
24707 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24708
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.
24716
24717 2012-02-27 David S. Miller <davem@davemloft.net>
24718
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.
24727
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.
24731
24732 2012-02-27 Roland McGrath <roland@hack.frob.com>
24733
24734 [BZ #13775]
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.
24739
24740 * rt/tst-aio.c: Include <fcntl.h>.
24741 * rt/tst-aio7.c: Likewise.
24742 * rt/tst-aio64.c: Likewise.
24743
24744 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24745
24746 2012-02-27 Joseph Myers <joseph@codesourcery.com>
24747
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
24752 kernels.
24753 * INSTALL: Regenerated.
24754 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24755 Change to 2.6.19.
24756 * sysdeps/unix/sysv/linux/configure: Regenerated.
24757
24758 * manual/llio.texi (fclean): Remove documentation.
24759
24760 * manual/Makefile (libc-texi-generated): New variable. Include
24761 version.texi.
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.
24770 (ISBN): Likewise.
24771 (VERSION, UPDATED): Remove.
24772 (version.texi): Include.
24773
24774 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24775
24776 * sysdeps/posix/spawni.c: Include <signal.h>.
24777 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24778 * sysdeps/pthread/aio_fsync.c: Likewise.
24779
24780 2012-02-26 Ulrich Drepper <drepper@gmail.com>
24781
24782 * conform/Makefile (tests): Run only when not cross-compiling and
24783 when fast-check is not defined.
24784
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
24789 headers.
24790 * include/bits/dlfcn.h: Likewise.
24791 * include/langinfo.h: Likewise.
24792 * include/monetary.h: Likewise.
24793 * include/sys/poll.h: Likewise.
24794
24795 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24796 for __USE_GNU.
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.
24808
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.
24830
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
24837 sigevent.
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.
24842
24843 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24844
24845 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24846
24847 2012-02-25 Ulrich Drepper <drepper@gmail.com>
24848
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
24852 support.
24853
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.
24928
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.
24977
24978 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24979
24980 * time/time.h: TIME_UTC must be a macro.
24981 Make timespec_get available for ISO C11 only as well.
24982
24983 2012-02-24 Ulrich Drepper <drepper@gmail.com>
24984
24985 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24986 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24987
24988 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24989
24990 * configure.in: Use -o not -a in test for unsupported multi-arch.
24991
24992 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24993
24994 * manual/texinfo.tex: Update to version 2012-01-19.16.
24995
24996 2012-02-24 Joseph Myers <joseph@codesourcery.com>
24997
24998 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24999
25000 2012-02-24 Roland McGrath <roland@hack.frob.com>
25001
25002 [BZ #13738]
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.
25006
25007 [BZ #13738]
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.
25011
25012 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25013 Roland McGrath <roland@hack.frob.com>
25014
25015 [BZ #5461]
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
25020 name.
25021 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25022
25023 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25024
25025 [BZ #2547]
25026 [BZ #11365]
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.
25030
25031 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25032
25033 [BZ #2548]
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.
25041
25042 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25043
25044 [BZ #10110]
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.
25049
25050 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25051
25052 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25053
25054 2012-02-21 David S. Miller <davem@davemloft.net>
25055
25056 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25057 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25058
25059 2012-02-20 David S. Miller <davem@davemloft.net>
25060
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.
25065
25066 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25067
25068 * manual/install.texi: Fix stray word in line-wrapped comment.
25069
25070 2012-02-20 David S. Miller <davem@davemloft.net>
25071
25072 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25073 both binutils and gcc support GOTDATA.
25074
25075 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25076 "rd %pc" in the PIC register setup sequences.
25077
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.
25092
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.
25098
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.
25105
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.
25111
25112 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25113
25114 * manual/install.texi: Do not mention specific glibc version
25115 numbers.
25116 * manual/libc.texinfo (VERSION, UPDATED): Update.
25117 (@copying): Use @copyright{} and range of years.
25118
25119 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25120
25121 [BZ #13695]
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)):
25130 Likewise.
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
25137 variable.
25138 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25139 Likewise.
25140
25141 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25142
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
25149 <bits/epoll.h>.
25150 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25151 (__EPOLL_PACKED): Define to empty if not defined by
25152 <bits/epoll.h>.
25153 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25155 bits/epoll.h.
25156
25157 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25158
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
25163 <bits/timerfd.h>.
25164 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25166 bits/timerfd.h.
25167
25168 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25169
25170 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25171 in C locale.
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.
25176
25177 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25178
25179 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25180 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25181
25182 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25183
25184 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25185 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25186 defined.
25187 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25188 Likewise.
25189 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25190 entry for 2.16.
25191
25192 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25193
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.
25234
25235 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25236
25237 [BZ #9739]
25238 * manual/string.texi (strnlen): Use correct parameter name in
25239 equivalent expression.
25240
25241 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25242
25243 [BZ #11174]
25244 * manual/users.texi (seteuid): Consistently use neweuid for
25245 argument name.
25246
25247 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25248
25249 [BZ #13704]
25250 * manual/nss.texi (Services in the NSS configuration): Correct
25251 list of services in example configuration file.
25252
25253 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25254
25255 [BZ #11322]
25256 * manual/arith.texi: Remove statements about negative zero
25257 behaving identically to zero.
25258
25259 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25260
25261 [BZ #5993]
25262 * manual/install.texi: Do not document upgrading from libc5.
25263
25264 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25265
25266 [BZ #4596]
25267 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25268
25269 2012-02-18 David S. Miller <davem@davemloft.net>
25270
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
25275 instead.
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.
25281
25282 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25283
25284 * aout/Makefile: Remove.
25285
25286 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25287
25288 [BZ #13058]
25289 * manual/examples/argp-ex1.c (main): Format definition in GNU
25290 style.
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
25295 definition.
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.
25299
25300 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25301
25302 [BZ #5077]
25303 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25304 rounding modes.
25305
25306 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25307
25308 [BZ #6907]
25309 * manual/string.texi (strchr): Change when strchrnul is
25310 recommended.
25311
25312 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25313
25314 [BZ #174]
25315 * manual/locale.texi (setlocale): Document LOCPATH.
25316
25317 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25318
25319 [BZ #10210]
25320 * manual/process.texi (execle): Move @dots{} before last argument.
25321
25322 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25323
25324 [BZ #12047]
25325 * manual/charset.texi (Generic Charset Conversion): Fix typo
25326 (LC_TYPE -> LC_CTYPE).
25327
25328 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25329
25330 [BZ #5805]
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.
25339 (verr): Likewise.
25340 (verrx): 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.
25345 (jnf): Likewise.
25346 (jnl): Likewise.
25347 (yn): Likewise.
25348 (ynf): Likewise.
25349 (ynl): Likewise.
25350 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25351 line.
25352 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25353 "...".
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
25358 names.
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
25363 "...".
25364 * manual/stdio.texi (__fpending): Separate initial words of
25365 paragraph from @deftypefun line.
25366 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25367 "...".
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.
25372
25373 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25374
25375 [BZ #6884]
25376 * manual/stdio.texi (fopen): Fix typos in description of
25377 ",ccs=STRING".
25378
25379 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25380
25381 [BZ #4026]
25382 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25383 get clock_id definition.
25384
25385 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25386
25387 [BZ #4822]
25388 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25389 (madvise): Cast every argument to void on its own.
25390
25391 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25392
25393 [BZ #9902]
25394 * manual/startup.texi (Exit Status): Fix typo.
25395
25396 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25397
25398 [BZ #10140]
25399 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25400 * manual/examples/argp-ex2.c: Likewise.
25401 * manual/examples/argp-ex3.c: Likewise.
25402
25403 2012-02-16 Richard Henderson <rth@redhat.com>
25404
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.
25409
25410 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25411
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.
25415
25416 2012-02-16 David S. Miller <davem@davemloft.net>
25417
25418 [BZ #11494]
25419 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25420
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.
25426
25427 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25428
25429 [BZ #3335]
25430 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25431
25432 2012-02-15 Roland McGrath <roland@hack.frob.com>
25433
25434 [BZ #4822]
25435 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25436
25437 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25438 (write, read, close): Likewise.
25439 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25440
25441 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25442
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
25447 <bits/signalfd.h>.
25448 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25449 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25450 bits/signalfd.h.
25451
25452 2012-02-14 Marek Polacek <polacek@redhat.com>
25453
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.
25457
25458 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25459
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
25464 <bits/inotify.h>.
25465 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25467 bits/inotify.h.
25468
25469 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25470
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
25475 <bits/eventfd.h>.
25476 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25478 bits/eventfd.h.
25479
25480 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25481
25482 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25483 __feraiseexcept instead of feraiseexcept.
25484
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.
25489
25490 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25491
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.
25499
25500 2012-02-09 Richard Henderson <rth@twiddle.net>
25501
25502 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25503 of kernel-features.h.
25504
25505 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25506
25507 2012-02-08 Marek Polacek <polacek@redhat.com>
25508
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.
25513
25514 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25515
25516 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25517 tests.
25518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25519
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.
25524
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.
25531
25532 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25533
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.
25549
25550 2012-02-07 Marek Polacek <polacek@redhat.com>
25551
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.
25555
25556 2012-02-07 Marek Polacek <polacek@redhat.com>
25557
25558 * math/Makefile (tests): Add tst-CMPLX2.
25559 * math/tst-CMPLX2.c: New file.
25560
25561 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25562
25563 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25564
25565 * math/libm-test.inc (jn_test): Add missing L suffix.
25566
25567 2012-02-06 Marek Polacek <polacek@redhat.com>
25568
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.
25623
25624 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25625
25626 [BZ #411]
25627 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25628
25629 2012-02-06 Joseph Myers <joseph@codesourcery.com>
25630
25631 * sysdeps/i386/sysdep.h: Include <features.h>.
25632 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25633 version.
25634
25635 2012-02-05 Joseph Myers <joseph@codesourcery.com>
25636
25637 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25638 Define.
25639 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25640 LOAD_PIC_REG_STR.
25641
25642 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25643
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
25647 macro.
25648
25649 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25650
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.
25695
25696 2012-02-03 Joseph Myers <joseph@codesourcery.com>
25697
25698 * math/tst-CMPLX.c: Include <stdio.h>.
25699
25700 2012-01-31 Joseph Myers <joseph@codesourcery.com>
25701
25702 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25703 float.
25704 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25705 * sysdeps/sparc/bits/mathdef.h: Likewise.
25706
25707 2012-01-31 Marek Polacek <polacek@redhat.com>
25708
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.
25713
25714 2012-01-31 Ulrich Drepper <drepper@gmail.com>
25715
25716 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25717 names. Just use the correct names. Remove unnecessary wrapper
25718 functions.
25719 * malloc/arena.c: Likewise.
25720 * malloc/hooks.c: Likewise.
25721
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>.
25725
25726 2012-01-30 Ulrich Drepper <drepper@gmail.com>
25727
25728 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25729 into tail calls.
25730 (update_get_addr): New function.
25731 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25732 GET_ADDR_MODULE parameter.
25733
25734 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25735
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.
25765
25766 2012-01-30 Joseph Myers <joseph@codesourcery.com>
25767
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):
25771 Fix typo.
25772
25773 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25774
25775 * scripts/config.guess: Update from upstream config git repository.
25776 * scripts/config.sub: Likewise.
25777
25778 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25779
25780 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25781 (EM_NUM): Update.
25782 (R_TILEPRO_*, R_TILEGX_*): New macros.
25783
25784 * scripts/firstversions.awk: Fix bug in version range handling.
25785
25786 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25787
25788 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25789
25790 * include/sys/epoll.h: New file.
25791 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25792 libc_hidden_def.
25793
25794 2012-01-28 Ulrich Drepper <drepper@gmail.com>
25795
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.
25799 (fmax): Likewise.
25800 (fminf): Likewise.
25801 (fmin): Likewise.
25802
25803 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25804 * math/math_private.h: Remove libc_fegetround* and
25805 libc_fesetround*.
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
25813 of HAS_YMM_USABLE.
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.
25819
25820 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25821
25822 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25823
25824 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25825 size is not set.
25826 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25827
25828 2012-01-27 Ulrich Drepper <drepper@gmail.com>
25829
25830 [BZ #13618]
25831 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25832 relocation.
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.
25838
25839 2012-01-27 Joseph Myers <joseph@codesourcery.com>
25840
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.
25975
25976 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25977
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.
25987
25988 2012-01-26 Joseph Myers <joseph@codesourcery.com>
25989
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.
26000
26001 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26002
26003 [BZ #13583]
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
26008 possible.
26009 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26010 HAS_AVX.
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.
26016
26017 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26018
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.
26023
26024 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26025
26026 * include/stdio.h: Add C++ protection. Add gets declarations and
26027 definitions.
26028 * debug/tst-chk1.c: Don't declare gets here.
26029 * stdio-common/tst-gets.c: Likewise.
26030
26031 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26032
26033 * posix/glob: Remove directory.
26034
26035 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26036
26037 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26038
26039 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26040
26041 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26042 of the non-standard EPFNOSUPPORT.
26043
26044 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26045
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.
26049
26050 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26051
26052 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26053
26054 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26055
26056 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26057 transient errors.
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.
26063
26064 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26065
26066 * malloc/malloc.c: Various cleanups.
26067 * malloc/hooks.c: Likewise.
26068
26069 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26070 * stdlib/bug-fmtmsg1.c: New file.
26071
26072 * stdlib/fmtmsg.c (init): Add missing unlock.
26073 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26074
26075 2012-01-12 Marek Polacek <polacek@redhat.com>
26076
26077 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26078 and _GNU_SOURCE.
26079
26080 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26081
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.
26087
26088 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26089
26090 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26091
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.
26096
26097 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26098
26099 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26100
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.
26104
26105 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26106
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.
26111
26112 * math/bits/math-finite.h: Add ldexp support.
26113
26114 2012-01-10 Marek Polacek <polacek@redhat.com>
26115
26116 * locale/programs/localedef.h (show_archive_content): Add noreturn
26117 attribute.
26118
26119 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26120
26121 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26122
26123 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26124
26125 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26126
26127 * io/Makefile (headers): Add bits/poll2.h.
26128
26129 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26130
26131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26132 typo #include statement.
26133
26134 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26135
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.
26151
26152 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26153
26154 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26155 appropriate.
26156
26157 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26158
26159 * math/Makefile (tests): Add tst-CMPLX.
26160 * math/tst-CMPLX.c: New file.
26161
26162 * math/complex.h (CMPLXL): Fix typo.
26163
26164 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26165 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26166 GLIBC_2.16.
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.
26177
26178 [BZ #1350]
26179 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26180
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.
26190
26191 * configure.in: PWD_P is not used anymore.
26192 * config.make.in: Remove PWD_P entry.
26193
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
26197 and IA-64.
26198 Remove __builtin_expect test because we require at least gcc 3.4.
26199 * aclocal.m4: Likewise.
26200
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.
26208
26209 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26210
26211 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26212
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
26219 them.
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.
26238
26239 2012-01-07 Ulrich Drepper <drepper@gmail.com>
26240
26241 [BZ #13553]
26242 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26243 for non-gcc.
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.
26442
26443 [BZ #13551]
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.
26475
26476 * argp/Versions: Remove _argp_unlock_xxx.
26477
26478 [BZ #13559]
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.
26493
26494 * scripts/abilist.awk: Add support for indirect functions.
26495
26496 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26497
26498 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26499
26500 * shlib-versions: Remove entries for ports architectures.
26501
26502 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26503 files in ports.
26504 * elf/stackguard-macros.h: Remove support for IA-64.
26505 * elf/tst-auditmod1.c: Likewise.
26506 * sysdeps/generic/ldsodefs.h: Likewise.
26507
26508 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26509 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26510 configure files.
26511
26512 [BZ #13552]
26513 * configure.in: Remove --enable-omitfp support.
26514 * FAQ.in: Adjust.
26515 * config.make.in: Likewise.
26516 * Makeconfig: Likewise.
26517 * manual/install.texi: Likewise.
26518
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.
26523
26524 [BZ #13555]
26525 * configure.in: Remove entries for unsupported architectures.
26526
26527 [BZ #13533]
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
26530 routines.
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
26537 renaming.
26538 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26539 * wcsmbs/tst-c16c32-1.c: New file.
26540
26541 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26542 local variable.
26543
26544 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26545
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.
26550
26551 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26552
26553 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26554
26555 [BZ #13566]
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.
26559
26560 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26561
26562 * iconv/loop.c (single loop): Fix assertion in storing of
26563 remaining bytes.
26564
26565 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26566
26567 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26568
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.
26589
26590 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26591
26592 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26593 pure attribute.
26594
26595 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26596
26597 [BZ #13533]
26598 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26599 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26600 transformations.
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.
26615
26616 * wcsmbs/wchar.h: Add missing __restrict.
26617
26618 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26619
26620 [BZ #13532]
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.
26628
26629 [BZ #13531]
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.
26634
26635 [BZ 13527]
26636 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26637 ISO C11.
26638
26639 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26640 code.
26641
26642 [BZ #13528]
26643 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26644
26645 [BZ #13529]
26646 * assert/assert.h (static_assert): Define.
26647
26648 * version.h: Update for 2.16 development version.
26649
26650 [BZ #13526]
26651 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26652 _ISOC11_SOURCE.
26653
26654 * version.h (RELEASE): Bump for 2.15 release.
26655 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26656
26657 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26658 Patch by Marek Polacek <mpolacek@redhat.com>.
26659
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.
26665
26666 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26667
26668 [BZ #13540]
26669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26670 destination buffer.
26671 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26672
26673 2011-12-23 Marek Polacek <polacek@redhat.com>
26674
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.
26680
26681 2011-12-23 Ulrich Drepper <drepper@gmail.com>
26682
26683 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26684 !__SSE_MATH__.
26685
26686 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26687
26688 [BZ #13540]
26689 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26690 processing for last bytes.
26691
26692 2011-08-06 Bruno Haible <bruno@clisp.org>
26693
26694 [BZ #13061]
26695 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26696 U+0385, not to U+1FEE.
26697
26698 [BZ #13062]
26699 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26700 entry for U+00A5 U+0301.
26701
26702 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26703
26704 [BZ #13166]
26705 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26706 buffer for the output is too small.
26707
26708 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26709 optimization.
26710
26711 [BZ #13185]
26712 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26713 SSE flags if possible.
26714
26715 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26716
26717 [BZ #13540]
26718 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26719 processing for last bytes.
26720
26721 2011-12-22 Joseph Myers <joseph@codesourcery.com>
26722
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):
26730 Remove.
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):
26739 Remove.
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):
26744 Remove.
26745 (syscall-list-variants, syscall-list-32bit-options)
26746 (syscall-list-32bit-condition, syscall-list-64bit-options)
26747 (syscall-list-64bit-condition): Define.
26748
26749 2011-12-22 Ulrich Drepper <drepper@gmail.com>
26750
26751 * locale/iso-639.def: Add brx entry.
26752
26753 [BZ #13328]
26754 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26755 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26756
26757 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26758 __feraiseexcept_renamed.
26759
26760 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26761
26762 [BZ #13538]
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.
26767
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.
26772
26773 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26774
26775 [BZ #13305]
26776 [BZ #12786]
26777 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26778 * math/s_cacoshf.c: Likewise.
26779 * math/s_cacoshl.c: Likewise.
26780
26781 2011-12-21 Ulrich Drepper <drepper@gmail.com>
26782
26783 [BZ #13439]
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.
26788
26789 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26790
26791 [BZ #13524]
26792 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26793 numerator after shifting it by one limb.
26794
26795 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26796
26797 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26798 under [__USE_EXTERN_INLINES].
26799
26800 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26801
26802 [BZ #13446]
26803 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26804
26805 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26806
26807 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26808 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26809 optimized code.
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.
26817
26818 2011-12-08 Marek Polacek <mpolacek@redhat.com>
26819
26820 [BZ #13484]
26821 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26822 of __asm__.
26823
26824 2011-12-17 Ulrich Drepper <drepper@gmail.com>
26825
26826 [BZ #13506]
26827 * time/tzfile.c (__tzfile_read): Check values from file header.
26828
26829 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26830
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.
26862
26863 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26864
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.
26870
26871 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26872
26873 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26874 FD_CLOEXEC.
26875
26876 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26877
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
26886 wrong alignments.
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.
26900
26901 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26902
26903 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26904 * wcsmbs/test-wcsrchr.c: New file.
26905 * string/test-strrchr.c: Add wcsrchr support.
26906 (WIDE): New macro.
26907 * wcsmbs/test-wcscpy.c: New file.
26908 * string/test-strcpy.c: Add wcscpy support.
26909 (WIDE): New macro.
26910
26911 2011-12-10 Ulrich Drepper <drepper@gmail.com>
26912
26913 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26914 the inner loop.
26915
26916 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26917
26918 [BZ #13472]
26919 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26920
26921 2011-12-04 Ulrich Drepper <drepper@gmail.com>
26922
26923 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26924 Minor optimizations.
26925
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.
26929
26930 2011-12-03 Ulrich Drepper <drepper@gmail.com>
26931
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.
26938
26939 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26940 warning.
26941
26942 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26943 __wmemcmp_sse2.
26944
26945 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26946 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26947
26948 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26949
26950 2011-12-02 Ulrich Drepper <drepper@gmail.com>
26951
26952 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26953 problem.
26954
26955 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26956
26957 2011-11-29 Joseph Myers <joseph@codesourcery.com>
26958
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.
26966
26967 2011-12-02 Joseph Myers <joseph@codesourcery.com>
26968
26969 * sysdeps/sh/backtrace.c: New file.
26970
26971 2011-12-02 Andreas Schwab <schwab@redhat.com>
26972
26973 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26974 parenthesis.
26975
26976 2011-12-01 Andreas Schwab <schwab@redhat.com>
26977
26978 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26979 falling back to utime.
26980
26981 2011-11-30 Andreas Schwab <schwab@redhat.com>
26982
26983 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26984 expectations for float.
26985
26986 2011-11-29 Andreas Schwab <schwab@redhat.com>
26987
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.
26996
26997 2011-11-17 Ulrich Drepper <drepper@gmail.com>
26998
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
27003 handling.
27004
27005 2011-11-16 Andreas Schwab <schwab@redhat.com>
27006
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.
27017
27018 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27019
27020 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27021 O_CLOEXEC.
27022 * locale/loadlocale.c (_nl_load_locale): Likewise.
27023
27024 2011-11-15 Andreas Schwab <schwab@redhat.com>
27025
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.
27030
27031 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27032 count references to noai6ai_cached.
27033
27034 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27035
27036 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27037
27038 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27039 FD_CLOEXEC for /proc/self/maps.
27040
27041 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27042 FD_CLOEXEC for /proc/meminfo.
27043
27044 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27045 gai.conf.
27046
27047 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27048 FD_CLOEXEC for given file.
27049
27050 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27051
27052 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27053 FD_CLOEXEC for /etc/hosts.
27054 (_gethtent): Likewise.
27055
27056 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27057
27058 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27059 cancellation and set FD_CLOEXEC for /etc/netgroup.
27060
27061 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27062 reading /etc/publickey.
27063
27064 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27065 allow cancellation when reading /etc/group.
27066
27067 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27068 cancellation.
27069 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27070
27071 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27072 when using data file.
27073
27074 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27075
27076 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27077 (write_nis_obj): Use "c" and "e" in fopen.
27078
27079 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27080
27081 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27082
27083 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27084
27085 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27086
27087 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27088 locale.alias.
27089
27090 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27091
27092 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27093
27094 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27095
27096 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27097 file parsing and set FD_CLOEXEC.
27098
27099 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27100
27101 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27102
27103 2011-11-14 Andreas Schwab <schwab@redhat.com>
27104
27105 * malloc/arena.c (arena_get2): Don't call reused_arena when
27106 _int_new_arena failed.
27107
27108 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27109
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.
27119
27120 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27121
27122 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27123
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.
27143
27144 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27145
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.
27150
27151 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27152 variable.
27153
27154 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27155 mantissa words.
27156 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27157
27158 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27159 from unused variable.
27160
27161 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27162 DWARF definitions.
27163 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27164 for assembling.
27165
27166 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27167 over namespaces.
27168
27169 * sunrpc/rpc_prot.c (rejected): Fix case value.
27170
27171 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27172 unsigned long long int to avoid warnings in shift.
27173
27174 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27175 of use of trans.
27176 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27177 variable tmp.
27178
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.
27182
27183 * nis/nis_table.c (nis_list): Use variable of correct type for
27184 result of __follow_path call.
27185
27186 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27187
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
27192 name clash.
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.
27196
27197 2011-10-30 Marek Polacek <mpolacek@redhat.com>
27198
27199 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27200 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27201
27202 2011-11-11 Roland McGrath <roland@hack.frob.com>
27203
27204 * include/unistd.h: Fix __readlink return type.
27205 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27206
27207 2011-11-11 Ulrich Drepper <drepper@gmail.com>
27208
27209 * stdlib/ucontext.h: Undo last change for makecontext.
27210
27211 2011-11-11 Andreas Schwab <schwab@redhat.com>
27212
27213 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27214
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.
27219
27220 2011-11-10 Andreas Schwab <schwab@redhat.com>
27221
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.
27225
27226 2011-11-08 Ulrich Drepper <drepper@gmail.com>
27227
27228 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27229 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27230
27231 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27232 instructions.
27233
27234 2011-11-07 Andreas Schwab <schwab@redhat.com>
27235
27236 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27237 handler when locking.
27238
27239 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27240 Fix size of allocated buffer.
27241
27242 2011-11-04 Andreas Schwab <schwab@redhat.com>
27243
27244 [BZ #10103]
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.
27248
27249 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27250
27251 2011-11-03 Andreas Schwab <schwab@redhat.com>
27252
27253 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27254 installed.
27255
27256 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27257 is disabled.
27258
27259 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27260
27261 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27262
27263 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27264
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
27269 here.
27270
27271 * scripts/check-local-headers.sh: Ignore libaudit.h.
27272
27273 * nscd/Makefile (extra-objs): Make recursively expanded.
27274
27275 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27276
27277 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27278 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27279
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.
27283
27284 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27285 process_vm_writev.
27286 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27287 process_vm_writev.
27288 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27289 process_vm_writev from libc using GLIBC_2.15 version.
27290
27291 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27292
27293 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27294
27295 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27296 stack usage.
27297
27298 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27299
27300 [BZ #13367]
27301 * nss/getent.c (initgroups_keys): Show error message in case no group
27302 names are given.
27303
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.
27317 Adjust caller.
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
27324 is not changed.
27325 (__bump_nl_timestamp): New function.
27326 (__free_in6ai): New function.
27327
27328 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27329
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.
27333
27334 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27335
27336 [BZ #13276]
27337 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27338 return value.
27339
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.
27343
27344 2011-07-03 Andreas Jaeger <aj@suse.de>
27345
27346 [BZ #10709]
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.
27350
27351 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27352
27353 [BZ #13337]
27354 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27355 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27356
27357 * elf/chroot_canon.c (chroot_canon): Cleanups.
27358
27359 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27360
27361 [BZ #13335]
27362 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27363 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27364
27365 * string/test-strchr.c: Make usable for strchrnul testing.
27366 * string/test-strchrnul.c: New file.
27367 * string/Makefile (strop-tests): Add strchrnul.
27368
27369 * po/it.po: Update from translation team.
27370 * po/es.po: Likewise.
27371
27372 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27373
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.
27380
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
27385 anymore.
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.
27401
27402 2011-10-28 Andreas Schwab <schwab@redhat.com>
27403
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.
27407
27408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27409 wide char related routines to wcsmbs subdir.
27410
27411 2011-10-27 Andreas Schwab <schwab@redhat.com>
27412
27413 [BZ #13344]
27414 * misc/sys/cdefs.h (__THROWNL): Define.
27415 * posix/unistd.h: Use __THREADNL instead of __THREAD
27416 for memory synchronization functions.
27417
27418 2011-10-26 Roland McGrath <roland@hack.frob.com>
27419
27420 [BZ #13349]
27421 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27422 doesn't exist.
27423 * manual/stdio.texi (Obstack Streams): Node removed.
27424
27425 2011-10-26 Andreas Schwab <schwab@redhat.com>
27426
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.
27430
27431 * math/math_private.h (math_force_eval): Allow non-addressable
27432 arguments.
27433 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27434
27435 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27436
27437 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27438 file is not needed.
27439
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.
27448 Add AVX variants.
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.
27468
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.
27471
27472 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27473 place. Use VEX encoding when compiling for AVX.
27474
27475 2011-10-25 Andreas Schwab <schwab@redhat.com>
27476
27477 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27478 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27479
27480 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27481
27482 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27483
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.
27505
27506 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27507
27508 2011-10-25 Andreas Schwab <schwab@redhat.com>
27509
27510 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27511 condition.
27512 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27513
27514 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27515
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.
27563
27564 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27565
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.
27570
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
27577 name is a macro.
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
27582 using __copysign.
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,
27587 and __inv.
27588 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27589 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27590 __copysign.
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.
27627
27628 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27629 rename.
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.
27638
27639 2011-10-24 Andreas Schwab <schwab@redhat.com>
27640
27641 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27642
27643 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27644
27645 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27646
27647 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27648 prediction.
27649 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27650
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.
27654
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>.
27667
27668 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27669
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.
27681
27682 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27683
27684 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27685 XMM-moves are used for copying on small sizes.
27686
27687 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27688
27689 * wcsmbs/Makefile (strop-tests): Add wcschr.
27690 * wcsmbs/test-wcschr.c: New file.
27691 * string/test-strchr.c: Update.
27692 Add wcschr support.
27693 (WIDE): New macro.
27694
27695 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27696
27697 * wcsmbs/Makefile (strop-tests): Add wcslen.
27698 * wcsmbs/test-wcslen.c: New file.
27699 * string/test-strlen.c: Update.
27700 Add wcslen support.
27701 (WIDE): New macro.
27702
27703 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27704
27705 * po/it.po: Update from translation team.
27706
27707 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27708
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.
27717
27718 2011-10-23 Ulrich Drepper <drepper@gmail.com>
27719
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.
27731
27732 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27733
27734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27735 __ynl_finite aliases.
27736
27737 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27738
27739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27740
27741 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27742 define DLA_FMA.
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.
27754
27755 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27756
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
27761 "math_private.h".
27762
27763 2011-10-22 Ulrich Drepper <drepper@gmail.com>
27764
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.
27788
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.
27812
27813 2011-10-21 Ulrich Drepper <drepper@gmail.com>
27814
27815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27816 compilation problems.
27817
27818 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27819 __builtin_expect.
27820
27821 2011-10-20 Ulrich Drepper <drepper@gmail.com>
27822
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.
27831
27832 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27833 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27834
27835 2011-10-20 Andreas Schwab <schwab@redhat.com>
27836
27837 [BZ #12892]
27838 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27839 it would create a cycle with a link time dependency.
27840
27841 2011-10-19 Ulrich Drepper <drepper@gmail.com>
27842
27843 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27844 instruction.
27845 * string/Makefile (strop-tests): Add rawmemchr.
27846 * string/test-rawmemchr.c: New file.
27847
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.
27853
27854 2011-10-19 Andreas Schwab <schwab@redhat.com>
27855
27856 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27857 __feraiseexcept instead of feraiseexcept.
27858
27859 2011-10-18 Ulrich Drepper <drepper@gmail.com>
27860
27861 * math/math_private.h: Define defaults for libc_fetestexcept and
27862 libc_feupdateenv.
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.
27870
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.
27876
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.
27885
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.
27898
27899 2011-10-18 Andreas Schwab <schwab@redhat.com>
27900
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.
27905
27906 2011-10-17 Ulrich Drepper <drepper@gmail.com>
27907
27908 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27909
27910 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27911
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.
27915
27916 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27917 about macro parameter expansion.
27918
27919 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27920 __NO_MATH_INLINES is defined. Cleanups.
27921
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.
27928
27929 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27930 name.
27931 (floorf): Likewise.
27932
27933 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27934
27935 2011-10-17 Andreas Schwab <schwab@redhat.com>
27936
27937 * misc/sys/cdefs.h: Fix last change.
27938
27939 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27940 database lookup.
27941
27942 2011-10-16 Ulrich Drepper <drepper@gmail.com>
27943
27944 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27945
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.
27968
27969 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27970 ceil, ceilf, floor, floorf.
27971
27972 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27973 Perform IRELATIVE relocations last.
27974
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.
27981
27982 2011-10-15 Ulrich Drepper <drepper@gmail.com>
27983
27984 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27985 is sufficient, at least on modern CPUs.
27986
27987 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27988
27989 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27990 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27991
27992 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27993 __expl_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.
28006
28007 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28008 is sufficient, at least on modern CPUs.
28009
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.
28017
28018 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28019
28020 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28021
28022 * configure.in: Also look in $cxxmachine/include for C++ system
28023 headers.
28024
28025 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28026
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.
28033 Fixing indents.
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.
28049 Add new tests.
28050 * wcsmbs/wmemcmp.c: Update.
28051 (WMEMCMP): New macro.
28052 Fix overflow bug.
28053
28054 2011-10-12 Andreas Jaeger <aj@suse.de>
28055
28056 [BZ #13268]
28057 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28058
28059 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28060
28061 * libio/iofwide.c (do_length): Avoid warning.
28062
28063 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28064
28065 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28066
28067 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28068
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.
28075
28076 * ctype/ctype.h: Add support for inlined isXXX functions when
28077 compiling C++ code.
28078
28079 2011-10-14 Andreas Schwab <schwab@redhat.com>
28080
28081 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28082
28083 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28084
28085 2011-10-13 Roland McGrath <roland@hack.frob.com>
28086
28087 [BZ #13291]
28088 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28089
28090 2011-10-13 Andreas Schwab <schwab@redhat.com>
28091
28092 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28093 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28094 feraiseexcept.
28095
28096 * sysdeps/x86_64/memrchr.S: Check for zero size.
28097
28098 * string/stratcliff.c: Add memrchr tests.
28099
28100 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28101
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.
28116
28117 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28118
28119 Add integration with gcc's -ffinite-math-only and optimize wrapper
28120 functions in libm.
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
28204 used.
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
28398 inlined copy.
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.
28402
28403 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28404
28405 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28406 of rawmemchr.
28407
28408 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28409
28410 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28411
28412 * po/ja.po: Update from translation team.
28413
28414 2011-10-08 Roland McGrath <roland@hack.frob.com>
28415
28416 * locale/programs/locarchive.c (prepare_address_space): New function.
28417 (create_archive, enlarge_archive, open_archive): Use it.
28418
28419 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28420 inside [SHARED], where it is used.
28421
28422 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28423
28424 * nss/getent.c (netgroup_keys): Remove unused variable.
28425 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28426
28427 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28428
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.
28464
28465 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28466 of the number.
28467 * stdio-common/printf_fphex.c: Likewise.
28468 * stdio-common/printf_size.c: Likewise.
28469
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.
28597
28598 * po/ja.po: Update from translation team.
28599
28600 2011-09-29 Andreas Jaeger <aj@suse.de>
28601
28602 [BZ #13179]
28603 * sunrpc/netname.c (netname2host): Fix logic.
28604
28605 [BZ #6779]
28606 [BZ #6783]
28607 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28608 correctly.
28609 * math/w_remainder.c (__remainder): Likewise.
28610 * math/w_remainderf.c (__remainderf): Likewise.
28611 * math/libm-test.inc (remainder_test): Add test cases.
28612
28613 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28614
28615 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28616 sdiv_qrnnd.
28617
28618 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28619
28620 * string/test-memcmp.c: Avoid unncessary #defines.
28621 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28622
28623 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28624
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.
28634
28635 2011-09-12 Marek Polacek <mpolacek@redhat.com>
28636
28637 * elf/dl-load.c (lose): Add cast to avoid warning.
28638
28639 2011-10-07 Ulrich Drepper <drepper@gmail.com>
28640
28641 * po/ca.po: Update from translation team.
28642
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
28650 INNETGR.
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
28656 GETFDNETGR.
28657 (netgroup_response_header): Define.
28658 (innetgroup_response_header): Define.
28659 (datahead): Add netgroup_response_header and innetgroup_response_header
28660 elements.
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.
28682
28683 * nscd/connections.c (register_traced_file): Don't register file
28684 for disabled databases.
28685
28686 2011-10-06 Ulrich Drepper <drepper@gmail.com>
28687
28688 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28689
28690 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28691 from tree and freeing node.
28692
28693 2011-09-25 Jiri Olsa <jolsa@redhat.com>
28694
28695 * nss/nsswitch.c (__nss_database_lookup): Handle
28696 nss_parse_service_list out of memory case.
28697
28698 2011-09-15 Jiri Olsa <jolsa@redhat.com>
28699
28700 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28701 out of memory case.
28702
28703 2011-10-04 Andreas Schwab <schwab@redhat.com>
28704
28705 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28706 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28707 pass it down.
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
28719 elf_machine_rela.
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):
28728 Likewise.
28729 (elf_machine_lazy_rel): Likewise.
28730 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28731 Likewise.
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.
28745
28746 2011-09-28 Ulrich Drepper <drepper@gmail.com>
28747
28748 * nss/nss_files/files-init.c (_nss_files_init): Use static
28749 initialization for all the *_traced_file variables.
28750
28751 2011-09-28 Andreas Schwab <schwab@redhat.com>
28752
28753 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28754
28755 2011-09-27 Roland McGrath <roland@hack.frob.com>
28756
28757 [BZ #13226]
28758 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28759
28760 2011-09-27 Andreas Schwab <schwab@redhat.com>
28761
28762 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28763 Reread the line before reparsing it.
28764
28765 2011-09-26 Andreas Schwab <schwab@redhat.com>
28766
28767 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28768
28769 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28770 Maxim Kuvyrkov <maxim@codesourcery.com>
28771 Joseph Myers <joseph@codesourcery.com>
28772
28773 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28774 if needed for __stack_chk_guard.
28775
28776 2011-09-19 Roland McGrath <roland@hack.frob.com>
28777
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.
28782
28783 * Makerules: Don't include tls.make.
28784 (config-tls): Always set to thread.
28785 * tls.make.c: File removed.
28786
28787 2011-09-19 Mike Frysinger <vapier@gentoo.org>
28788
28789 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28790 * config.make.in (CPPFLAGS-config): New substituted variable.
28791
28792 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28793
28794 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28795
28796 [BZ #13192]
28797 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28798 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28799
28800 2011-09-15 Roland McGrath <roland@hack.frob.com>
28801
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>.
28809
28810 2011-09-15 Ulrich Drepper <drepper@gmail.com>
28811
28812 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28813 for __FINITE_MATH_ONLY__ == 1.
28814
28815 2011-09-15 Andreas Schwab <schwab@redhat.com>
28816
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.
28825
28826 2011-09-14 Ulrich Drepper <drepper@gmail.com>
28827
28828 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28829
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
28833 32-bit.
28834
28835 2011-09-14 Andreas Schwab <schwab@redhat.com>
28836
28837 * elf/rtld.c (dl_main): Also relocate in dependency order when
28838 doing symbol dependency testing.
28839
28840 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28841
28842 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28843 Always define `refsym'.
28844
28845 2011-09-13 Andreas Schwab <schwab@redhat.com>
28846
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):
28853 Likewise.
28854 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28855 Likewise.
28856
28857 * elf/Makefile (gen-ldd): Fix pattern.
28858
28859 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28860 (init_tls): Likewise.
28861
28862 2011-09-12 Ulrich Drepper <drepper@gmail.com>
28863
28864 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28865
28866 2011-09-12 Andreas Schwab <schwab@redhat.com>
28867
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):
28871 Likewise.
28872
28873 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28874
28875 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28876 if non-absolute.
28877 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28878 ldd_rewrite_script.
28879
28880 2011-09-11 Ulrich Drepper <drepper@gmail.com>
28881
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.
28897
28898 [BZ #13067]
28899 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28900
28901 [BZ #13090]
28902 * configure.in: Fix use of AC_INIT.
28903
28904 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28905
28906 2011-09-10 Ulrich Drepper <drepper@gmail.com>
28907
28908 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28909 __set_errno.
28910 * malloc/hooks.c: Likewise.
28911
28912 [BZ #11929]
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
28923 GLRO(dl_pagesize).
28924
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.
28928
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.
28933
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.
28971
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
28975 USE_IN_LIBIO.
28976 * Makeconfig: Adjust for dropped configure option. All features are
28977 now mandatory.
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.
29049
29050 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29051
29052 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29053
29054 2011-07-03 Andreas Jaeger <aj@suse.de>
29055
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.
29059
29060 2010-05-12 Petr Baudis <pasky@suse.cz>
29061
29062 [BZ #11589]
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.
29069
29070 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29071
29072 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29073 instead of 0.
29074 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29075 instead of 0.
29076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29077 Patch in part by Pavel Roskin <proski@gnu.org>.
29078
29079 [BZ #13138]
29080 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29081 realloc.
29082 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29083 Free memory block if necessary.
29084
29085 [BZ #12847]
29086 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29087 be NULL. Don't lock in this case.
29088
29089 2011-09-09 Roland McGrath <roland@hack.frob.com>
29090
29091 * elf/elf.h (ELFOSABI_GNU): New macro.
29092 (ELFOSABI_LINUX): Define to that.
29093
29094 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29095
29096 * string/strncat.c (strncat): Undef the symbol in case it has been
29097 defined in bits/string.h.
29098
29099 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29100
29101 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29102
29103 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29104 link map.
29105
29106 2011-08-17 Andreas Jaeger <aj@suse.de>
29107
29108 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29109
29110 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29111 Ian Lance Taylor <iant@google.com>
29112
29113 * math/libm-test.inc (lround_test): New testcase.
29114 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29115
29116 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29117
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.
29129
29130 [BZ #13118]
29131 * posix/Makefile (bug-regex32-ENV): Define.
29132 Patch by John Stanley <jpsinthemix@verizon.net>.
29133
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
29141 FD_ISSET.
29142 * debug/fdelt_chk.c: New file.
29143
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.
29148
29149 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29150
29151 * string/Makefile (strop-tests): Add memcmp.
29152 * string/test-wmemcmp.c: New file.
29153 * string/test-memcmp.c: Add wmemcmp support.
29154
29155 2011-09-08 Roland McGrath <roland@hack.frob.com>
29156
29157 [BZ #13153]
29158 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29159 2011-07-19 change.
29160
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.
29164
29165 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29166
29167 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29168
29169 2011-09-08 Andreas Schwab <schwab@redhat.com>
29170
29171 * elf/dl-load.c (lose): Check for non-null L.
29172
29173 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29174
29175 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29176
29177 * elf/dl-libc.c (dlerror_run): Pass back error code from
29178 dl_catch_error.
29179
29180 [BZ #13123]
29181 * elf/dl-load.c (lose): Free l_origin if it is valid.
29182
29183 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29184 names.
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>.
29191
29192 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29193
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.
29204
29205 2011-08-15 Alan Modra <amodra@gmail.com>
29206
29207 [BZ #13092]
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
29213 __mcount_internal.
29214 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29215 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29216
29217 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29218
29219 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29220 for finite and infinity parameters.
29221
29222 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29223
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.
29227
29228 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29229
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.
29233
29234 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29235
29236 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29237 AVX check.
29238
29239 2011-09-07 Andreas Schwab <schwab@redhat.com>
29240
29241 [BZ #13144]
29242 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29243 last change.
29244
29245 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29246
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
29251 clock_gettime.
29252
29253 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29254
29255 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29256 Forgot to demangle the pointer.
29257
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.
29267
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
29274 call.
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.
29278
29279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29280 gettimeofday vsyscall, just use time.
29281
29282 2011-09-06 Andreas Schwab <schwab@redhat.com>
29283
29284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29285 <errno.h>.
29286
29287 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29288
29289 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29290 syscall on x86-64.
29291 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29292 syscall.
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.
29296
29297 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29298
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.
29302
29303 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29304
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.
29312
29313 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29314
29315 [BZ #13134]
29316 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29317 before glibc 2.15.
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.
29329
29330 [BZ #13150]
29331 * posix/glob.h: Remove gcc 1.x support.
29332
29333 [BZ #13068]
29334 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29335
29336 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29337
29338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29339 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29340 strrchr-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.
29347
29348 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29349
29350 * sysdeps/x86_64/wcscmp.S: New file.
29351
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.
29358
29359 2011-09-05 David S. Miller <davem@davemloft.net>
29360
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.
29367
29368 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29369
29370 * po/ja.po: Update from translation team.
29371
29372 [BZ #13144]
29373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29374 kernel in 64-bit binaries.
29375
29376 2011-09-01 David S. Miller <davem@davemloft.net>
29377
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
29384 entries.
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.
29391
29392 2011-08-31 David S. Miller <davem@davemloft.net>
29393
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
29411 i386.
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.
29418
29419 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29420 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29421
29422 2011-08-30 Andreas Schwab <schwab@redhat.com>
29423
29424 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29425
29426 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29427
29428 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29429 directive.
29430
29431 2011-08-24 David S. Miller <davem@davemloft.net>
29432
29433 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29434
29435 2011-08-24 Andreas Schwab <schwab@redhat.com>
29436
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.
29443
29444 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29445 it wasn't used.
29446
29447 2011-08-23 David S. Miller <davem@davemloft.net>
29448
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.
29454
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.
29458
29459 2011-08-23 Andreas Schwab <schwab@redhat.com>
29460
29461 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29462 backslash.
29463
29464 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29465
29466 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29467 protection macro.
29468 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29469 and <dl-machine.h>.
29470 (Elf64_FuncDesc): Remove.
29471
29472 2011-08-22 David S. Miller <davem@davemloft.net>
29473
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.
29478
29479 2011-08-16 Andreas Schwab <schwab@redhat.com>
29480
29481 [BZ #11724]
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.
29485
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.
29493
29494 2011-08-22 Andreas Schwab <schwab@redhat.com>
29495
29496 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29497
29498 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29499 dependencies back to end of function.
29500
29501 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29502 $(elfobjdir)/ld.so.
29503
29504 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29505
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
29514 attribute_hidden.
29515 (_libc_vdso_platform_setup): Remove initialization of
29516 __vdso_gettimeofday and __vdso_time.
29517
29518 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29519
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
29523 getc_unlocked.
29524
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.
29529
29530 [BZ #13114]
29531 * stdio-common/Makefile (tests): Add bug24.
29532 * stdio-common/bug24.c: New file.
29533
29534 2011-08-19 Andreas Jaeger <aj@suse.de>
29535
29536 [BZ #13114]
29537 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29538 non-existant file when using close-on-exec mode.
29539
29540 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29541
29542 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29543 the very first instruction.
29544
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>.
29550
29551 2011-08-19 Andreas Schwab <schwab@redhat.com>
29552
29553 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29554 expectations for long double.
29555
29556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29557 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29558
29559 2011-08-14 David S. Miller <davem@davemloft.net>
29560
29561 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29562 artificual limit depends upon the system page size.
29563
29564 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29565
29566 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29567 * resolv/Makefile: Define CFLAGS-libresolv.
29568
29569 2011-08-17 Andreas Schwab <schwab@redhat.com>
29570
29571 * nss/makedb.c (compute_tables): Make variables used in nested
29572 function static.
29573
29574 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29575
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.
29579
29580 * elf/pldd.c (main): Attach to all threads in the process.
29581 Rewrite /proc handling to use *at functions.
29582
29583 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29584
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.
29591
29592 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29593 string for the scope number.
29594
29595 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29596
29597 * nscd/servicescache.c (cache_addserv): Make sure written is always
29598 initialized.
29599
29600 2011-08-14 Roland McGrath <roland@hack.frob.com>
29601
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.
29606
29607 * string/strncat.c (STRNCAT): Use prototype definition.
29608
29609 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29610 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29611 -Iprograms here.
29612 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29613 (localedef-modules): Add localedef.
29614 (locale-modules): Add locale.
29615
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.
29619
29620 2011-08-14 David S. Miller <davem@davemloft.net>
29621
29622 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29623 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29624
29625 2011-08-13 Ulrich Drepper <drepper@gmail.com>
29626
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.
29634
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.
29638
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.
29643
29644 2011-08-12 Ulrich Drepper <drepper@gmail.com>
29645
29646 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29647 was a dependency or dynamically loaded.
29648
29649 2011-08-11 Ulrich Drepper <drepper@gmail.com>
29650
29651 * intl/l10nflist.c: Allow architecture-specific pop function.
29652 * sysdeps/x86_64/l10nflist.c: New file.
29653
29654 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29655 classification.
29656
29657 2011-08-10 Andreas Schwab <schwab@redhat.com>
29658
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.
29664
29665 2011-08-10 David S. Miller <davem@davemloft.net>
29666
29667 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29668 enum.
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.
29672
29673 2011-08-09 Ulrich Drepper <drepper@gmail.com>
29674
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
29678 GLIBC_2.15.
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
29686 using scandirat.
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.
29695
29696 2011-08-08 Ulrich Drepper <drepper@gmail.com>
29697
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.
29703
29704 2011-08-04 Ulrich Drepper <drepper@gmail.com>
29705
29706 * string/test-string.h (IMPL): Use __STRING to expand name and then
29707 stringify it.
29708
29709 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29710 of cleanups.
29711
29712 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29713
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.
29720
29721 2011-07-22 Andreas Schwab <schwab@redhat.com>
29722
29723 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29724 line.
29725
29726 2011-07-26 Andreas Schwab <schwab@redhat.com>
29727
29728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29729 encoding to ACE if AI_IDN.
29730
29731 2011-08-01 Jakub Jelinek <jakub@redhat.com>
29732
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.
29735
29736 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29737
29738 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29739 Fix overflow bug in strncat.
29740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29741
29742 * string/test-strncat.c: Update.
29743 Add new tests for checking overflow bugs.
29744
29745 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29746
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.
29756
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.
29761
29762 2011-07-25 Andreas Schwab <schwab@redhat.com>
29763
29764 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29765 __n bigger than INT_MAX+1.
29766 (__strncmp_g): Likewise.
29767
29768 2011-07-23 Ulrich Drepper <drepper@gmail.com>
29769
29770 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29771 * libio/stido.h: Likewise.
29772
29773 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29774 (AF_NFC): Define.
29775 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29776 (AF_NFC): Define.
29777
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.
29783
29784 [BZ #13021]
29785 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29786 installed.
29787
29788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29789 typo.
29790 (_dl_x86_64_save_sse): Likewise.
29791
29792 2011-07-22 Ulrich Drepper <drepper@gmail.com>
29793
29794 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29795 OSXSAVE.
29796 (_dl_x86_64_save_sse): Likewise.
29797
29798 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29799
29800 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29801
29802 2011-07-21 Andreas Schwab <schwab@redhat.com>
29803
29804 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29805 change.
29806 (_dl_x86_64_save_sse): Use correct AVX check.
29807
29808 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29809
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.
29813
29814 2011-07-21 Ulrich Drepper <drepper@gmail.com>
29815
29816 * string/tester.c (test_strcat): Add tests for different alignments
29817 of source and destination.
29818 (test_strncat): Likewise.
29819
29820 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29821
29822 [BZ #12852]
29823 * posix/glob.c (glob): Check passed in values before using them in
29824 expressions to avoid some overflows.
29825 (glob_in_dir): Likewise.
29826
29827 [BZ #13007]
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
29830 new hardware.
29831 * elf/tst-audit4.c: Add same checks here.
29832 * elf/tst-audit6.c: Likewise.
29833
29834 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29835
29836 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29837
29838 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29839
29840 2011-07-20 Ulrich Drepper <drepper@gmail.com>
29841
29842 * po/cs.po: Update from translation team.
29843 * po/bg.po: Likewise.
29844
29845 2011-07-12 Marek Polacek <mpolacek@redhat.com>
29846
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.
29850
29851 2011-07-20 Marek Polacek <mpolacek@redhat.com>
29852
29853 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29854
29855 2011-07-20 Andreas Schwab <schwab@redhat.com>
29856
29857 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29858 strlen results.
29859
29860 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29861
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.
29868
29869 2011-07-14 Marek Polacek <mpolacek@redhat.com>
29870
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.
29875
29876 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29877
29878 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29879 "aux_cache->nlibs < 0".
29880
29881 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29882 in the reload-count case.
29883
29884 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29885
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
29906 and i7.
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.
29912
29913 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29914
29915 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29916 buffer64.
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
29924 buffer32.
29925 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29926 casting of buffer.
29927
29928 2011-07-19 Andreas Schwab <schwab@redhat.com>
29929
29930 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29931
29932 2011-07-19 Ulrich Drepper <drepper@gmail.com>
29933
29934 * nscd/nscd.c (termination_handler): Don't do anything for a database
29935 if it has not yet been initialized.
29936
29937 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29938
29939 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29940
29941 2011-07-15 Marek Polacek <mpolacek@redhat.com>
29942
29943 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29944
29945 2011-07-18 Ulrich Drepper <drepper@gmail.com>
29946
29947 * po/nl.po: Update from translation team.
29948 * po/sv.po: Likewise.
29949
29950 2011-07-16 Roland McGrath <roland@hack.frob.com>
29951
29952 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29953 now disallowed by GCC.
29954
29955 * configure.in (use-default-link): Default to yes if a test -shared
29956 link meets our qualifications.
29957 * configure: Regenerated.
29958
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.
29965
29966 2011-07-14 Roland McGrath <roland@hack.frob.com>
29967
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.
29971
29972 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29973 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29974
29975 * configure.in (-z relro check): Adjust test code to add a large
29976 writable data section after it.
29977 * configure: Regenerated.
29978
29979 2011-07-11 Roland McGrath <roland@hack.frob.com>
29980
29981 * configure.in (-z relro check): Fix test code to make the variable
29982 truly const.
29983 * configure: Regenerated.
29984
29985 2011-07-11 Ulrich Drepper <drepper@gmail.com>
29986
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
30007 files instead.
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.
30024
30025 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30026
30027 2011-07-10 Roland McGrath <roland@hack.frob.com>
30028
30029 * csu/elf-init.c (__libc_csu_init): Comment typo.
30030
30031 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30032
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.
30038
30039 2011-07-09 Roland McGrath <roland@hack.frob.com>
30040
30041 * configure.in (.ctors/.dtors header and trailer check):
30042 Use an empirical test on a built program.
30043 * configure: Regenerated.
30044
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.
30048
30049 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30050 Update tests that use readelf to use $READELF instead.
30051 * configure: Regenerated.
30052
30053 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30054
30055 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30056 if the result is not used.
30057
30058 2011-07-05 Andreas Jaeger <aj@suse.de>
30059
30060 [BZ#9696]
30061 * stdlib/tst-strtod.c: Add testcase.
30062
30063 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30064
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
30068 the new function.
30069 (__pathconf): Pass file to __statfs_link_max.
30070 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30071 __statfs_link_max.
30072 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30073 __statfs_link_max.
30074
30075 [BZ #12868]
30076 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30077 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30078 Handle Lustre.
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>.
30082
30083 2011-07-05 Andreas Jaeger <aj@suse.de>
30084
30085 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30086
30087 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30088
30089 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30090 `status' variable.
30091 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30092 Likewise.
30093
30094 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30095
30096 * Makefile (strop-tests): Add strncat.
30097 * string/test-strncat.c: New file.
30098
30099 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30100
30101 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30102
30103 2011-06-21 Andreas Jaeger <aj@suse.de>
30104
30105 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30106 Copy rule from iconvdata/Makefile.
30107
30108 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30109
30110 [BZ #12922]
30111 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30112 but no long options are defined, just return 'W'.
30113
30114 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30115
30116 [BZ #9696]
30117 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30118
30119 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30120
30121 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30122 netgroups to read.
30123 (innetgr): Likewise.
30124
30125 2011-07-05 Roland McGrath <roland@hack.frob.com>
30126
30127 * config.make.in (install_root): Default to $(DESTDIR).
30128
30129 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30130
30131 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30132
30133 2011-07-02 Roland McGrath <roland@hack.frob.com>
30134
30135 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30136
30137 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30138 containing directory rather than embedding absolute directory names.
30139
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.
30143
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.
30148
30149 * config.make.in (OBJCOPY): New variable.
30150 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30151 * configure: Regenerated.
30152
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.
30158
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.
30165
30166 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30167 DT_FLAGS/DT_FLAGS_1 with zero flags.
30168
30169 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30170 linker script munging.
30171
30172 2011-07-02 Ulrich Drepper <drepper@gmail.com>
30173
30174 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30175 as 128-bit value.
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
30180 as 64-bit value.
30181 * crypt/sha256.c (SWAP64): Define.
30182 (sha256_process_block): Perform total addition using 64-bit if
30183 possible.
30184 (__sha256_finish_ctx): Likewise.
30185
30186 2011-07-01 Ulrich Drepper <drepper@gmail.com>
30187
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.
30194
30195 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
30196
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
30202
30203 2011-07-01 Andreas Schwab <schwab@redhat.com>
30204
30205 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30206 domain only when needed.
30207
30208 2011-06-30 Andreas Schwab <schwab@redhat.com>
30209
30210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30211 is always restored.
30212
30213 2011-06-29 Ulrich Drepper <drepper@gmail.com>
30214
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.
30218
30219 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30220
30221 * sysdeps/generic/dl-irel.h: fix protection against multiple
30222 inclusions.
30223 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30224
30225 2011-06-28 Ulrich Drepper <drepper@gmail.com>
30226
30227 [BZ #12935]
30228 * malloc/memusage.sh: Fix quoting in message.
30229 * debug/xtrace.sh: Likewise.
30230
30231 * configure.in: Remove support for --experimental-malloc option, make
30232 it the default.
30233 * config.make.in: Likewise.
30234 * malloc/Makefile: Likewise.
30235
30236 2011-06-27 Andreas Schwab <schwab@redhat.com>
30237
30238 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30239 two-byte characters.
30240
30241 2011-06-27 Roland McGrath <roland@hack.frob.com>
30242
30243 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30244 AC_CACHE_CHECK invocation.
30245 * configure: Regenerated.
30246
30247 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30248
30249 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30250
30251 [BZ #12350]
30252 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30253 bit from old_res_options.
30254
30255 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30256
30257 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30258 value type for setfct.
30259
30260 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30261
30262 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30263 __gettimeofday instead of gettimeofday.
30264
30265 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30266
30267 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30268
30269 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30270
30271 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30272
30273 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30274 info.
30275
30276 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30277
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.
30292
30293 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30294
30295 [BZ #12874]
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.
30299
30300 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30301
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
30319 processors.
30320 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30321 Define.
30322 (index_Fast_Unaligned_Load): Define.
30323 (HAS_FAST_UNALIGNED_LOAD): Define.
30324
30325 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30326
30327 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30328
30329 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30330
30331 [BZ #12907]
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>.
30335
30336 2011-06-22 Andreas Schwab <schwab@redhat.com>
30337
30338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30339
30340 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30341
30342 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30343 /sys/devices/system/cpu/online if it is usable.
30344
30345 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30346 reading the information from the /proc filesystem to once a second.
30347
30348 2011-06-21 Andreas Jaeger <aj@suse.de>
30349
30350 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30351 NULL after inclusion of kernel headers.
30352
30353 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30354
30355 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30356 calls to internal_setent.
30357
30358 [BZ #12885]
30359 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30360 addresses using gethostbyname4_r ignore IPv4 addresses.
30361
30362 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30363 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30364
30365 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30366
30367 2011-06-20 David S. Miller <davem@davemloft.net>
30368
30369 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30370 inclusions.
30371 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30372
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.
30380
30381 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30382 * elf/dl-sym.c: Likewise.
30383
30384 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30385
30386 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30387 need to dereference resplen2.
30388
30389 2011-06-14 Andreas Schwab <schwab@redhat.com>
30390
30391 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30392
30393 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30394
30395 * Makeconfig: Define vardbdir and inst_vardbdir.
30396 * nss/Makefile: Add rules to install db-Makefile.
30397
30398 * nss/nss_db/db-XXX.c: Cleanup.
30399
30400 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30401 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30402 GLIBC_PRIVATE.
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
30406 get*ent calls.
30407 * nss/nss_db/db-initgroups.c: New file.
30408
30409 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30410 interface.
30411
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.
30416
30417 * nss/makedb.c (compute_tables): Check result of multiple hash table
30418 sizes to minimize maximum chain length.
30419
30420 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30421
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
30426 entries better.
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
30430 here from...
30431 * nss/makedb.c: ...here.
30432 Improve database format to be smaller and require less memory at
30433 runtime.
30434 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30435 db anymore.
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.
30451
30452 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30453
30454 * nss/makedb.c: Rewritten to not use database library.
30455 * nss/Makefile: Update to build new makedb program.
30456
30457 2011-06-14 Andreas Jaeger <aj@suse.de>
30458
30459 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30460 memset declaration.
30461
30462 2011-06-10 Andreas Schwab <schwab@redhat.com>
30463
30464 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30465 tmpbuf.
30466
30467 2011-06-10 Roland McGrath <roland@hack.frob.com>
30468
30469 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30470 * elf/Makefile ($(objpfx)ld.so): Likewise.
30471
30472 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30473 Don't list ld.so twice in dependencies.
30474
30475 * posix/bug-regex31.c: Include <stdlib.h>.
30476
30477 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30478
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.
30482
30483 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30484 nonmembers" output to use the right array.
30485
30486 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30487
30488 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30489
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.
30494
30495 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30496 variable definition inside #if's controlling its use.
30497
30498 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30499
30500 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30501
30502 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30503
30504 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30505 unreachable code.
30506
30507 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30508
30509 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30510 * configure: Regenerated.
30511
30512 * Makerules: Revert last change.
30513 * elf/Makefile: Likewise.
30514
30515 2011-06-09 Roland McGrath <roland@hack.frob.com>
30516
30517 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30518 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30519 (reloc-link): Likewise.
30520
30521 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30522
30523 * elf/Makefile: Add rules to build pldd.
30524 * elf/pldd.c: New file.
30525 * elf/pldd-xx.c: New file.
30526
30527 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30528
30529 * version.h: Update for 2.15 development version.
30530
30531 2011-06-07 David S. Miller <davem@davemloft.net>
30532
30533 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30534 ifuncs.
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):
30543 Likewise.
30544
30545 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30546
30547 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30548
30549 2011-06-06 Roland McGrath <roland@hack.frob.com>
30550
30551 [BZ #12849]
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.
30557 (texis): Use it.
30558 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30559
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.
30564
30565 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30566
30567 [BZ #12841]
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.
30571
30572 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30573
30574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30575 Assume Intel Core i3/i5/i7 processor if AVX is available.
30576
30577 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30578
30579 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30580 typo.
30581
30582 2011-05-31 Andreas Schwab <schwab@redhat.com>
30583
30584 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30585 memory. Use alloca_account. Fix memory leak when retrying.
30586
30587 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30588
30589 * version.h (RELEASE): Bump for 2.14 release.
30590 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30591
30592 * config.make.in (RANLIB): Remove entry.
30593
30594 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30595
30596 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30597 (libc.pot): Work around missing support for .ksh extension in xgettext.
30598
30599 [BZ #12684]
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.
30603
30604 [BZ #12454]
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.
30609
30610 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30611
30612 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30613
30614 [BZ #12350]
30615 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30616 bit from old_res_options.
30617 (gaih_inet): Likewise.
30618
30619 [BZ #11099]
30620 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30621 as signed.
30622
30623 * resolv/res_init.c (res_setoptions): Make the code more compact.
30624
30625 [BZ #11558]
30626 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30627 set RES_USEVC.
30628
30629 [BZ #11634]
30630 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30631
30632 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30633
30634 [BZ #11781]
30635 * malloc/malloc.h: Declare malloc hook variables as volatile.
30636
30637 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30638 in last patch.
30639
30640 [BZ #11799]
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.
30646
30647 2011-05-28 Ulrich Drepper <drepper@gmail.com>
30648
30649 [BZ #12811]
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
30656 buffer.
30657 Patches mostly by Emil Wojak <emil@wojak.eu>.
30658 * posix/bug-regex32.c: New file.
30659 * posix/Makefile (tests): Add bug-regex32.
30660
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.
30664
30665 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30666
30667 * debug/xtrace.sh: Unify messages.
30668 * malloc/memusage.sh: Likewise.
30669
30670 [BZ #12813]
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
30674 __vdso_time.
30675
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.
30683
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.
30687
30688 2011-05-27 Ulrich Drepper <drepper@gmail.com>
30689
30690 [BZ #12813]
30691 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30692 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30693 available.
30694 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30695 __vdso_getcpu.
30696
30697 [BZ #12814]
30698 * iconvdata/Makefile (tests): Add bug-iconv9.
30699 * iconvdata/bug-iconv9.c: New file.
30700
30701 2011-05-27 Andreas Schwab <schwab@redhat.com>
30702
30703 [BZ #12814]
30704 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30705
30706 2011-05-25 Jakub Jelinek <jakub@redhat.com>
30707
30708 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30709 (struct user_regs_struct): Change intcs field back to cs.
30710
30711 2011-05-25 Ulrich Drepper <drepper@gmail.com>
30712
30713 * po/ja.po: Update from translation team.
30714
30715 2011-05-23 Ulrich Drepper <drepper@gmail.com>
30716
30717 [BZ #12795]
30718 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30719 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30720
30721 2011-05-20 Andreas Schwab <schwab@redhat.com>
30722
30723 * stdlib/longlong.h: Update from GCC.
30724
30725 2011-05-23 Andreas Schwab <schwab@redhat.com>
30726
30727 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30728 parameter name.
30729 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30730 Add parameter name.
30731 (__sysconf): Pass it down.
30732
30733 2011-05-22 Ulrich Drepper <drepper@gmail.com>
30734
30735 [BZ #12671]
30736 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30737 some situations.
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.
30742
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
30745 pltexit.
30746
30747 2011-05-21 Ulrich Drepper <drepper@gmail.com>
30748
30749 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30750 and CLOCK_BOOTTIME_ALARM.
30751
30752 [BZ #12782]
30753 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30754 is returned.
30755
30756 * string/_strerror.c (__strerror_r): Print negative errors as signed
30757 numbers.
30758
30759 [BZ #12777]
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.
30763
30764 * configure.in: Fix typo in redirection and correct removal of test
30765 files in two cases.
30766
30767 [BZ #12788]
30768 * locale/setlocale.c (new_composite_name): Fix test to check for
30769 identical name of all categories.
30770
30771 [BZ #12792]
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
30777 error flag.
30778
30779 2011-05-20 Ulrich Drepper <drepper@gmail.com>
30780
30781 [BZ #11869]
30782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30783 alloca.
30784 * include/alloca.h (extend_alloca_account): Define.
30785
30786 [BZ #11857]
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>.
30791
30792 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30793
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.
30797
30798 2011-05-19 Andreas Schwab <schwab@redhat.com>
30799
30800 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30801
30802 2011-05-19 Ulrich Drepper <drepper@gmail.com>
30803
30804 * libio/freopen.c (freopen): Use __dup2, not dup2.
30805 * libio/freopen64.c (freopen64): Likewise.
30806
30807 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30808
30809 [BZ #12775]
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.
30814
30815 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30816
30817 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30818
30819 2011-05-17 Ulrich Drepper <drepper@gmail.com>
30820
30821 [BZ #11837]
30822 * iconvdata/gb18030.c: Update to GB18020-2005.
30823
30824 2011-05-16 Ulrich Drepper <drepper@gmail.com>
30825
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>.
30829
30830 [BZ #11892]
30831 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30832 on the stack.
30833
30834 [BZ #11895]
30835 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30836 through underflows.
30837
30838 [BZ #12766]
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
30841 mode.
30842
30843 [BZ #11697]
30844 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30845
30846 [BZ #11820]
30847 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30848 (struct user_fpregs_struct): Avoid __uint*_t types.
30849
30850 [BZ #6420]
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.
30859
30860 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30861 used and couldn't be at all thread-safe.
30862
30863 2011-05-15 Ulrich Drepper <drepper@gmail.com>
30864
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.
30880
30881 [BZ #7101]
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.
30886
30887 [BZ #10138]
30888 * scripts/config.guess: Update from autoconf-2.68.
30889 * scripts/config.sub: Likewise.
30890
30891 [BZ #10157]
30892 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30893 tests into ...
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.
30897
30898 [BZ #10149]
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.
30902
30903 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30904 Use non-cancelable interfaces.
30905
30906 [BZ #9809]
30907 * locale/iso-639.def: Add entry for Sorani.
30908
30909 [BZ #11901]
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
30915 mmap.
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
30921 mmap.
30922 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30923
30924 2011-05-14 Ulrich Drepper <drepper@gmail.com>
30925
30926 [BZ #11952]
30927 [BZ #12453]
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>.
30936
30937 [BZ #12083]
30938 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30939 correctly.
30940
30941 [BZ #12601]
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.
30946
30947 [BZ #12626]
30948 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30949 buf2 definition.
30950
30951 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30952
30953 [BZ #12432]
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.
30959
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.
30963
30964 2011-05-11 Andreas Schwab <schwab@redhat.com>
30965
30966 * Makeconfig (+link-pie): Indent.
30967 * Rules (binaries-pie): Define if $(have-fpie) and
30968 $(build-shared).
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.
30978
30979 2011-05-13 Ulrich Drepper <drepper@gmail.com>
30980
30981 * libio/tst_putwc.c: Fix error messages.
30982
30983 [BZ #12724]
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.
30988
30989 2011-05-12 Ulrich Drepper <drepper@gmail.com>
30990
30991 [BZ #12511]
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>.
31001
31002 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31003
31004 [BZ #12052]
31005 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31006
31007 [BZ #12625]
31008 * misc/mntent_r.c (addmntent): Flush the stream after the output
31009
31010 [BZ #12393]
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.
31019
31020 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31021
31022 [BZ #11257]
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.
31029
31030 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31031
31032 [BZ #11532]
31033 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31034 and CP774 modules.
31035 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31036 and CP774 modules.
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.
31053
31054 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31055 END CHARMAP line.
31056 * iconvdata/gen-8bit-gap.sh: Likewise.
31057 * iconvdata/gen-8bit.sh: Likewise.
31058
31059 * locale/iso-639.def: Add ary entry.
31060
31061 [BZ #11258]
31062 * locale/C-translit.h.in: Add U20A1 transliteration.
31063
31064 [BZ #12178]
31065 * locale/iso-639.def: Add wae entry.
31066 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31067
31068 [BZ #12545]
31069 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31070 for n.
31071
31072 [BZ #12711]
31073 * locale/C-translit.h.in: Add entry for U20B9.
31074 Patch by pravin.d.s@gmail.com.
31075
31076 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31077
31078 [BZ #12713]
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.
31095
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
31099 __alloc_dir.
31100 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31101 from fdopendir if O_CLOEXEC is already set.
31102
31103 2011-03-15 Alan Modra <amodra@gmail.com>
31104
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.
31110
31111 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31112
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.
31116
31117 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31118
31119 [BZ #12734]
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.
31126
31127 2011-05-07 Petr Baudis <pasky@suse.cz>
31128 Ulrich Drepper <drepper@gmail.com>
31129
31130 [BZ #12393]
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.
31136
31137 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31138
31139 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31140 __BEGIN/__END_DECLS.
31141
31142 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31143
31144 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31145 NSS_STATUS_NOTFOUND if no record was found.
31146
31147 2011-05-05 Andreas Schwab <schwab@redhat.com>
31148
31149 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31150 (headers-not-in-tirpc): Remove rpc/netdb.h
31151 * resolv/netdb.h: Revert last change.
31152
31153 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31154
31155 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31156 circular dependency between libgcc.a and libc.a.
31157
31158 2011-05-05 Andreas Schwab <schwab@redhat.com>
31159
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.
31165
31166 2011-05-03 Andreas Schwab <schwab@redhat.com>
31167
31168 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31169
31170 2011-04-28 Maciej Babinski <mbabinski@google.com>
31171
31172 [BZ #12714]
31173 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31174 gethostbyname4_r when IPv6 results are possible.
31175
31176 2011-05-02 Ulrich Drepper <drepper@gmail.com>
31177
31178 [BZ #12723]
31179 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31180 _PC_PIPE_BUF handling.
31181
31182 2011-04-30 Bruno Haible <bruno@clisp.org>
31183
31184 [BZ #12717]
31185 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31186 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31187 to 'int'.
31188 * inet/getnameinfo.c (getnameinfo): Likewise.
31189
31190 2011-04-29 Ulrich Drepper <drepper@gmail.com>
31191
31192 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31193 to groups setting in database lookup.
31194 * nss/nsswitch.conf: Add initgroups entry.
31195
31196 2011-04-22 Ulrich Drepper <drepper@gmail.com>
31197
31198 [BZ #12685]
31199 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31200 mode string.
31201 Patch by Eric Blake <eblake@redhat.com>.
31202
31203 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31204
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.
31211
31212 2011-04-21 Ulrich Drepper <drepper@gmail.com>
31213
31214 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31215 problem in reallocation in last patch.
31216
31217 2011-04-20 Ulrich Drepper <drepper@gmail.com>
31218
31219 * sunrpc/Makefile: Move inclusion of Rules.
31220
31221 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31222
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.
31227
31228 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31229
31230 * elf/elf.h (R_ARM_IRELATIVE): Define.
31231
31232 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31233
31234 * po/ru.po: Update from translation team.
31235
31236 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31237
31238 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31239 dependencies.
31240
31241 2011-02-06 Mike Frysinger <vapier@gentoo.org>
31242
31243 [BZ #12653]
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.
31249
31250 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31251
31252 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31253 differing bytes.
31254 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31255 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31256 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31257
31258 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31259
31260 [BZ #12420]
31261 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31262 storing it.
31263 * stdlib/bug-getcontext.c: New file.
31264 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31265
31266 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31267
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.
31272
31273 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31274
31275 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31276 between environment variables and auxiliary vector.
31277
31278 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31279
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.
31351
31352 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31353
31354 [BZ #12650]
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.
31363
31364 2011-03-14 Andreas Schwab <schwab@redhat.com>
31365
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
31373 with zero is_path.
31374
31375 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31376
31377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31378 Make cancelable.
31379
31380 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31381
31382 [BZ #12655]
31383 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31384 Patch by Filipe David Manana <fdmanana@apache.org>.
31385
31386 2011-04-07 Andreas Schwab <schwab@redhat.com>
31387
31388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31389 Maintain aligned stack.
31390 (CHECK_RSP): Remove unused macro.
31391
31392 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31393
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.
31396
31397 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31398
31399 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31400
31401 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31402
31403 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31404
31405 [BZ #12518]
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.
31415
31416 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31417
31418 [BZ #12631]
31419 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31420
31421 2011-03-30 Andreas Schwab <schwab@redhat.com>
31422
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.
31427
31428 2011-04-01 Andreas Schwab <schwab@redhat.com>
31429
31430 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31431 open_by_handle_at.
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.
31439
31440 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31441
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.
31449
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.
31467
31468 2011-04-01 Andreas Schwab <schwab@redhat.com>
31469
31470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31471 bits/timex.h.
31472
31473 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31474
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.
31483
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
31495 open_by_handle.
31496
31497 * io/fcntl.h (AT_EMPTY_PATH): Define.
31498
31499 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31500
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
31504 to...
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):
31508 Export.
31509
31510 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31511
31512 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31513 round counter.
31514 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31515
31516 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31517
31518 [BZ #12597]
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.
31523
31524 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31525
31526 [BZ #12587]
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.
31530
31531 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31532
31533 [BZ #12583]
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>.
31537
31538 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31539
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,...).
31543
31544 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31545
31546 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31547
31548 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31549
31550 [BZ #12510]
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
31553 used variable.
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.
31561
31562 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31563
31564 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31565
31566 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31567 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31568 to _start.
31569
31570 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31571
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.
31574
31575 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31576 Ulrich Drepper <drepper@gmail.com>
31577
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.
31581
31582 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31583
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.
31588
31589 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31590
31591 * libio/fmemopen.c (fmemopen): Optimize a bit.
31592
31593 2011-03-03 Andreas Schwab <schwab@redhat.com>
31594
31595 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31596
31597 2011-03-03 Roland McGrath <roland@redhat.com>
31598
31599 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31600
31601 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31602
31603 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31604 __bzero_ultra1 instead of __memset_ultra1.
31605
31606 2011-02-23 Andreas Schwab <schwab@redhat.com>
31607 Ulrich Drepper <drepper@gmail.com>
31608
31609 [BZ #12509]
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
31615 list.
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.
31623
31624 2011-02-17 Andreas Schwab <schwab@redhat.com>
31625
31626 [BZ #12454]
31627 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31628 dependencies are missing.
31629
31630 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31631
31632 Fix __if_freereq crash: Unlike the generic version which uses free,
31633 Hurd needs munmap.
31634 * sysdeps/mach/hurd/ifreq.h: New file.
31635
31636 2011-01-27 Petr Baudis <pasky@suse.cz>
31637 Ulrich Drepper <drepper@gmail.com>
31638
31639 [BZ 12445]#
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.
31644
31645 2010-09-28 Andreas Schwab <schwab@redhat.com>
31646 Ulrich Drepper <drepper@gmail.com>
31647
31648 [BZ #12489]
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.
31652
31653 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31654 Glauber de Oliveira Costa <glommer@gmail.com>
31655
31656 * elf/elf.h: Add new ARM TLS relocs.
31657
31658 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31659
31660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31661 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31662 cast from r3.
31663 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31664 'tests' variable.
31665 * sysdeps/wordsize-64/tst-writev.c: New file.
31666
31667 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31668
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
31672 resolved.
31673
31674 2011-02-15 Ulrich Drepper <drepper@gmail.com>
31675
31676 [BZ #12469]
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.
31682
31683 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31684
31685 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31686 protection macro.
31687 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31688 inclusion protection macro.
31689
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.
31693
31694 2011-02-11 Jakub Jelinek <jakub@redhat.com>
31695
31696 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31697 arginfo fn returning -1.
31698
31699 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31700 and thousands string is zero terminated.
31701
31702 2011-02-03 Andreas Schwab <schwab@redhat.com>
31703
31704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31705 sysdeps/unix/sysv/linux/bits/socket.h.
31706
31707 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31708
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.
31715
31716 2011-02-05 Ulrich Drepper <drepper@gmail.com>
31717
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.
31746
31747 2011-02-04 Roland McGrath <roland@redhat.com>
31748
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.
31754
31755 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31756
31757 * posix/fnmatch_loop.c: Add some consts.
31758
31759 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31760
31761 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31762
31763 [BZ #12460]
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.
31774
31775 2011-02-02 Ulrich Drepper <drepper@gmail.com>
31776
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>.
31780
31781 2011-02-02 Andreas Schwab <schwab@redhat.com>
31782
31783 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31784 of errno.
31785
31786 2011-01-19 Ulrich Drepper <drepper@gmail.com>
31787
31788 [BZ #11724]
31789 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31790 of constructors.
31791 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31792 of destructors.
31793 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31794
31795 [BZ #11724]
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>.
31813
31814 2010-10-01 Andreas Schwab <schwab@redhat.com>
31815
31816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31817 decoding ACE if AI_CANONIDN.
31818
31819 2011-01-18 Ulrich Drepper <drepper@gmail.com>
31820
31821 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31822
31823 2011-01-17 Ulrich Drepper <drepper@gmail.com>
31824
31825 * version.h (RELEASE): Bump for 2.13 release.
31826 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31827
31828 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31829
31830 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31831 MADV_NOHUGEPAGE.
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.
31838
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.
31855
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.
31859
31860 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31861
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.
31873
31874 * configure.in: Don't override --enable-multi-arch.
31875
31876 2011-01-15 Ulrich Drepper <drepper@gmail.com>
31877
31878 [BZ #6812]
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
31882 failed.
31883
31884 2011-01-14 Ulrich Drepper <drepper@gmail.com>
31885
31886 [BZ #10563]
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.
31890
31891 [BZ #12378]
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.
31899
31900 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31901
31902 * elf/Makefile (check-execstack): Revert last change. Depend on
31903 check-execstack.h.
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.
31910
31911 2011-01-13 Ulrich Drepper <drepper@gmail.com>
31912
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.
31918
31919 [BZ #12397]
31920 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31921 syscall.
31922
31923 [BZ #10484]
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.
31927
31928 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31929
31930 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31931 loader is ld.so.
31932
31933 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31934
31935 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31936 alignment for SSE2.
31937
31938 2011-01-12 Ulrich Drepper <drepper@gmail.com>
31939
31940 [BZ #12394]
31941 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31942 characters. When rounding increased number of integer digits recompute
31943 number of groups.
31944 * stdio-common/tst-grouping.c: New file.
31945 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31946
31947 2011-01-09 Ulrich Drepper <drepper@gmail.com>
31948
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.
31951
31952 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31953 void.
31954 * bits/select.h: Likewise.
31955
31956 2011-01-08 Ulrich Drepper <drepper@gmail.com>
31957
31958 * po/ja.po: Update from translation team.
31959
31960 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
31961
31962 [BZ #11155]
31963 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31964 implementation just like for lxstat, fxstatat, et al.
31965
31966 2010-12-27 Jim Meyering <meyering@redhat.com>
31967
31968 [BZ #12348]
31969 * posix/regexec.c (build_trtable): Return failure indication upon
31970 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31971
31972 2010-12-25 Ulrich Drepper <drepper@gmail.com>
31973
31974 [BZ #12201]
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.
31979
31980 [BZ #12207]
31981 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31982
31983 [BZ #12204]
31984 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31985 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31986
31987 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31988
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.
32001
32002 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32003
32004 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32005 always use the slow path.
32006
32007 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32008
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.
32028
32029 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32030
32031 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32032 accurately.
32033 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32034 GETDENTS_64BIT_ALIGNED.
32035
32036 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32037
32038 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32039
32040 2010-12-10 Andreas Schwab <schwab@redhat.com>
32041
32042 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32043 _GNU_SOURCE.
32044
32045 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32046 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32047 Remove __restrict.
32048 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32049 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32050
32051 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32052
32053 [BZ #11655]
32054 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32055 are initialized.
32056
32057 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32058
32059 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32060
32061 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32062
32063 * po/it.po: Update from translation team.
32064
32065 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32066
32067 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32068 unused codes.
32069
32070 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32071
32072 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32073
32074 2010-11-24 Andreas Schwab <schwab@redhat.com>
32075
32076 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32077 specially.
32078 (gaih_getanswer_slice): Likewise.
32079
32080 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32081
32082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32083
32084 2010-05-31 Petr Baudis <pasky@suse.cz>
32085
32086 [BZ #11149]
32087 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32088 silently even in the chroot mode.
32089
32090 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32091
32092 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32093 last patch a bit. Pretty printing
32094
32095 2010-05-31 Petr Baudis <pasky@suse.cz>
32096
32097 [BZ #10085]
32098 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32099 initialization of skip_initgroups_dyn.
32100
32101 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32102
32103 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32104 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32105
32106 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32107
32108 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32109
32110 2010-11-11 Andreas Schwab <schwab@redhat.com>
32111
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.
32118
32119 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32120
32121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32122 Support Intel processor model 6 and model 0x2c.
32123
32124 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32125
32126 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32127 signed comparison.
32128
32129 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32130
32131 [BZ #12205]
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.
32138
32139 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32140
32141 [BZ #12194]
32142 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32143 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32144
32145 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32146
32147 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32148 IFUNC support.
32149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32150 memset-x86-64.
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):
32159 Define.
32160 (index_Prefer_SSE_for_memop): Define.
32161 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32162
32163 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32164
32165 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32166 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32167
32168 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32169
32170 [BZ #12191]
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.
32175
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.
32186
32187 2010-11-03 Ulrich Drepper <drepper@gmail.com>
32188
32189 [BZ #12167]
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>.
32194
32195 2010-10-28 Erich Ritz <erichritz@gmail.com>
32196
32197 * math/math.h (isinf): Fix typo in comment.
32198
32199 2010-11-01 Ulrich Drepper <drepper@gmail.com>
32200
32201 * po/da.po: Update from translation team.
32202
32203 2010-10-26 Ulrich Drepper <drepper@gmail.com>
32204
32205 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32206 is added to the list.
32207
32208 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32209 Ulrich Drepper <drepper@gmail.com>
32210
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.
32219
32220 2010-10-25 Ulrich Drepper <drepper@gmail.com>
32221
32222 [BZ #12159]
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>.
32226
32227 2010-10-24 Ulrich Drepper <drepper@gmail.com>
32228
32229 [BZ #12140]
32230 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32231 perturbing.
32232
32233 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32234
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
32240 submachine.
32241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32242
32243 2010-10-22 Andreas Schwab <schwab@redhat.com>
32244
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.
32257
32258 2010-09-09 Andreas Schwab <schwab@redhat.com>
32259
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.
32264
32265 2010-10-18 Andreas Schwab <schwab@redhat.com>
32266
32267 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32268 _dl_map_object do it.
32269
32270 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32271
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.
32277
32278 * bits/mathdef.h: Update copyright year.
32279 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32280
32281 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32282
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
32288 multiply/add.
32289 (FP_FAST_FMAF): Likewise.
32290
32291 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32292
32293 [BZ #3268]
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.
32305
32306 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32307
32308 [BZ #3268]
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.
32313
32314 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32315
32316 [BZ #3268]
32317 * math/libm-test.inc (fma_test): Add some more tests.
32318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32319 correctly.
32320
32321 2010-10-15 Andreas Schwab <schwab@redhat.com>
32322
32323 * scripts/data/localplt-s390-linux-gnu.data: New file.
32324 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32325
32326 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32327
32328 [BZ #3268]
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
32331 instead of dbl-64.
32332 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32333 inlines.
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.
32344
32345 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32346
32347 [BZ #3268]
32348 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32349 fma tests.
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.
32357
32358 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32359
32360 [BZ #12078]
32361 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32362 * posix/bug-regex31.input: Add test case.
32363
32364 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32365
32366 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32367 * posix/bug-regex31.input: New file.
32368
32369 [BZ #12078]
32370 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32371 (parse_sub_exp): Fix last change, use postorder.
32372
32373 * posix/bug-regex31.c: New file.
32374 * posix/Makefile: Add rules to build and run bug-regex31.
32375
32376 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32377
32378 [BZ #12078]
32379 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32380
32381 [BZ #12108]
32382 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32383 to have entries in sys_siglist.
32384
32385 [BZ #12093]
32386 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32387 be NULL.
32388
32389 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32390
32391 [BZ #3268]
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.
32413
32414 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32415
32416 [BZ #12107]
32417 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32418 newline.
32419
32420 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32421
32422 * string/bug-strstr1.c: New file.
32423 * string/Makefile: Add rules to build and run bug-strstr1.
32424
32425 2010-10-05 Eric Blake <eblake@redhat.com>
32426
32427 [BZ #12092]
32428 * string/str-two-way.h (two_way_long_needle): Always clear memory
32429 when skipping input due to the shift table.
32430
32431 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32432
32433 [BZ #12005]
32434 * malloc/mcheck.c: Handle large requests.
32435
32436 [BZ #12077]
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.
32441
32442 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32443
32444 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32445 __set_fpscr.
32446
32447 2010-09-30 Andreas Jaeger <aj@suse.de>
32448
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):
32454 Likewise.
32455
32456 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32457
32458 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32459 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32460
32461 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32462
32463 [BZ #12067]
32464 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32465 trying to locate the ELF header.
32466
32467 2010-09-27 Andreas Schwab <schwab@redhat.com>
32468
32469 [BZ #11611]
32470 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32471 Mask out sign-bit copies when constructing f_fsid.
32472
32473 2010-09-24 Petr Baudis <pasky@suse.cz>
32474
32475 * debug/stack_chk_fail_local.c: Add missing licence exception.
32476 * debug/warning-nop.c: Likewise.
32477
32478 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32479
32480 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32481 implementing getdents64 using getdents syscall, set d_type if
32482 __ASSUME_GETDENTS32_D_TYPE.
32483
32484 2010-09-16 Andreas Schwab <schwab@redhat.com>
32485
32486 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32487 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32488
32489 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32490
32491 [BZ #12037]
32492 * posix/unistd.h: Undo change of feature selection for ftruncate from
32493 2010-01-11.
32494
32495 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32496
32497 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32498 detection.
32499
32500 2010-09-20 Andreas Schwab <schwab@redhat.com>
32501
32502 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32503 fanotify_mark.
32504 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32505
32506 2010-09-14 Andreas Schwab <schwab@redhat.com>
32507
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.
32511
32512 2010-09-13 Andreas Schwab <schwab@redhat.com>
32513 Ulrich Drepper <drepper@redhat.com>
32514
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)
32520 here anymore.
32521
32522 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32523
32524 * resolv/res_init.c (__res_vinit): Count the default server we added.
32525
32526 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32527 Ulrich Drepper <drepper@redhat.com>
32528
32529 [BZ #11968]
32530 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32531 (____longjmp_chk): Use %ebx for saving value across system call.
32532 Add unwind info.
32533
32534 2010-09-06 Andreas Schwab <schwab@redhat.com>
32535
32536 * manual/Makefile: Don't mix pattern rules with normal rules.
32537
32538 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32539
32540 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32541 operation.
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):
32547 Likewise.
32548
32549 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32550
32551 [BZ #11979]
32552 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32553 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32554
32555 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32556
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.
32564
32565 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32566
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.
32576
32577 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32578
32579 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32580 (epoll_create1): Declare.
32581
32582 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32583
32584 2010-08-31 Andreas Schwab <schwab@redhat.com>
32585
32586 [BZ #7066]
32587 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32588 shifting retval into place.
32589
32590 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32591
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.
32603
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.
32610
32611 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32612
32613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32614 fanotify_mark.
32615
32616 2010-08-27 Roland McGrath <roland@redhat.com>
32617
32618 * sysdeps/i386/i686/multiarch/Makefile
32619 (CFLAGS-varshift.c): New variable.
32620
32621 2010-08-27 Ulrich Drepper <drepper@redhat.com>
32622
32623 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32624 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32625
32626 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32627
32628 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32629
32630 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32631
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.
32640
32641 2010-08-25 Roland McGrath <roland@redhat.com>
32642
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.
32649
32650 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32651
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.
32664
32665 2010-08-25 Ulrich Drepper <drepper@redhat.com>
32666
32667 [BZ #10851]
32668 * resolv/res_init.c (__res_vinit): When no server address at all
32669 is given default to loopback.
32670
32671 2010-08-24 Roland McGrath <roland@redhat.com>
32672
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.
32679
32680 * sunrpc/rpc_parse.h: Avoid nested comment.
32681
32682 2010-08-24 Richard Henderson <rth@redhat.com>
32683 Ulrich Drepper <drepper@redhat.com>
32684 H.J. Lu <hongjiu.lu@intel.com>
32685
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.
32698
32699 2010-08-21 Mike Frysinger <vapier@gentoo.org>
32700
32701 * configure.in: Move assembler checks to before sysdep dir checking.
32702
32703 2010-08-20 Petr Baudis <pasky@suse.cz>
32704
32705 * LICENSES: Sync the sunrpc license.
32706
32707 2010-08-19 Ulrich Drepper <drepper@redhat.com>
32708
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.
32801
32802 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32803 handling.
32804
32805 2010-08-19 Andreas Schwab <schwab@redhat.com>
32806
32807 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32808
32809 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
32810
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.
32825
32826 2010-07-26 Anton Blanchard <anton@samba.org>
32827
32828 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32829 * malloc/arena.c (heap_trim): Likewise.
32830
32831 2010-08-16 Ulrich Drepper <drepper@redhat.com>
32832
32833 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32834 here. Not...
32835 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32836 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32837
32838 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32839
32840 * sysdeps/i386/elf/Makefile: New file.
32841
32842 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32843
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.
32848
32849 2010-08-15 Ulrich Drepper <drepper@redhat.com>
32850
32851 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32852 of strncasecmp_l.
32853 * sysdeps/multiarch/strcmp.S: Likewise.
32854
32855 2010-08-14 Ulrich Drepper <drepper@redhat.com>
32856
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.
32870
32871 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32872 warning.
32873
32874 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32875 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32876
32877 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32878
32879 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32880
32881 2010-08-12 Ulrich Drepper <drepper@redhat.com>
32882
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.
32886
32887 2010-05-01 Alan Modra <amodra@gmail.com>
32888
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
32896 save location.
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
32922 __syscall_error.
32923
32924 2010-08-12 Andreas Schwab <schwab@redhat.com>
32925
32926 [BZ #11904]
32927 * locale/programs/locale.c (print_assignment): New function.
32928 (show_locale_vars): Use it.
32929
32930 2010-08-11 Ulrich Drepper <drepper@redhat.com>
32931
32932 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32933 field.
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.
32944
32945 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32946
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.
32955
32956 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32957 Add prlimit.
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
32961 prlimit64.
32962 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32963 syscall.
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
32969 add prlimit alias.
32970 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32971
32972 [BZ #11903]
32973 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32974 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32975
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.
32980
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.
32991
32992 * nss/nss_files/files-parse.c: Whitespace fixes.
32993
32994 2010-08-09 Ulrich Drepper <drepper@redhat.com>
32995
32996 [BZ #11883]
32997 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32998 * posix/fnmatch_loop.c: Likewise.
32999
33000 2010-07-17 Andi Kleen <ak@linux.intel.com>
33001
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.
33006
33007 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33008
33009 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33010 Also fail if tpwd after pwuid call is NULL.
33011
33012 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33013
33014 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33015 when converting to ms.
33016
33017 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33018
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.
33023
33024 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33025
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
33029 strcasecmp.
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.
33033
33034 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33035
33036 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33037
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.
33048
33049 * string/test-strcasestr.c: Test both ends of the range of characters.
33050 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33051
33052 2010-07-29 Roland McGrath <roland@redhat.com>
33053
33054 [BZ #11856]
33055 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33056
33057 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33058
33059 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33060 for ld.so.
33061
33062 2010-07-27 Andreas Schwab <schwab@redhat.com>
33063
33064 * manual/memory.texi (Malloc Tunable Parameters): Document
33065 M_PERTURB.
33066
33067 2010-07-26 Roland McGrath <roland@redhat.com>
33068
33069 [BZ #11840]
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@.
33074
33075 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33076
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.
33081
33082 * sysdeps/x86_64/strnlen.S: New file.
33083
33084 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33085
33086 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33087 lower-latency instructions.
33088
33089 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33090
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.
33096
33097 2010-07-21 Andreas Schwab <schwab@redhat.com>
33098
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.
33105
33106 2010-07-20 Roland McGrath <roland@redhat.com>
33107
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.
33112
33113 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33114
33115 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33116
33117 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33118
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.
33126
33127 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33128
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.
33133
33134 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33135
33136 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33137 fcntl.
33138
33139 2010-07-06 Andreas Schwab <schwab@redhat.com>
33140
33141 [BZ #11577]
33142 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33143 dl_signal_cerror.
33144
33145 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33146
33147 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33148 _PC_PIPE_BUF using F_GETPIPE_SZ.
33149
33150 2010-07-05 Roland McGrath <roland@redhat.com>
33151
33152 * manual/arith.texi (Rounding Functions): Fix rint description
33153 implicit in round description.
33154
33155 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33156
33157 * elf/Makefile: Fix linking for a few tests to make recent linker
33158 happy.
33159
33160 2010-06-30 Andreas Schwab <schwab@redhat.com>
33161
33162 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33163 $(common-objpfx)libc_nonshared.a.
33164
33165 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33166
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.
33215
33216 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33217
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.
33224 (END_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):
33242 Define.
33243 (index_Fast_Copy_Backward): Define.
33244 (HAS_ARCH_FEATURE): Define.
33245 (HAS_FAST_REP_STRING): Define.
33246 (HAS_FAST_COPY_BACKWARD): Define.
33247
33248 2010-06-21 Andreas Schwab <schwab@redhat.com>
33249
33250 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33251 Restore proper fallback handling.
33252
33253 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33254
33255 [BZ #11701]
33256 * posix/group_member.c (__group_member): Correct checking loop.
33257
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.
33264
33265 2010-06-07 Andreas Schwab <schwab@redhat.com>
33266
33267 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33268 libc_nonshared.a from targets in modules-names.
33269
33270 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33271
33272 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33273 requires it.
33274
33275 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33276
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.
33281
33282 2010-06-02 Andreas Schwab <schwab@redhat.com>
33283
33284 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33285
33286 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33287
33288 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33289 and F_GETPIPE_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
33296
33297 2010-06-14 Roland McGrath <roland@redhat.com>
33298
33299 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33300
33301 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33302
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.
33307
33308 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33309
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
33313 in AT_FLAGS.
33314 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33315 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33316
33317 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33318
33319 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33320
33321 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33322
33323 [BZ #11640]
33324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33325 Properly check family and model.
33326
33327 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33328
33329 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33330
33331 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33332
33333 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33334
33335 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33336
33337 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33338 symbol reference.
33339
33340 2010-05-19 Andreas Schwab <schwab@redhat.com>
33341
33342 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33343 symbol reference.
33344
33345 2010-05-21 Andreas Schwab <schwab@redhat.com>
33346
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.
33353
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.
33357
33358 2010-05-20 Andreas Schwab <schwab@redhat.com>
33359
33360 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33361
33362 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33363
33364 POWER7 optimizations.
33365 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33366 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33367
33368 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33369
33370 * version.h: Update for 2.13 development version.
33371
33372 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33373
33374 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33375 exceptions. Return 0.
33376
33377 2010-05-07 Roland McGrath <roland@redhat.com>
33378
33379 * elf/ldconfig.c (main): Add a const.
33380
33381 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33382
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.
33387
33388 * malloc/malloc.c (_int_free): Possible race in the most recently
33389 added check. Only act on the data if no current modification
33390 happened.
33391
33392 See ChangeLog.17 for earlier changes.