]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update copyright years for time/mktime.c
[thirdparty/glibc.git] / ChangeLog
1 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2
3 * time/mktime.c: Update copyright years.
4
5 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6
7 mktime: merge comment-quoting-style change from gnulib
8 * time/mktime.c: Quote 'like this' in comments.
9 The GNU coding standards suggest that we no longer quote `like this',
10 as "`" and "'" are typically rendered asymmetrically nowadays.
11 The typical gnulib style is to quote 'like this' when quoting
12 code, and "like this" when quoting English.
13
14 * time/mktime.c (compile-command): Add "-I.".
15
16 mktime: merge mktime-internal.h change from gnulib
17 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18
19 mktime: merge time_r change from gnulib
20 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21
22 mktime: merge DEBUG change from gnulib
23 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24 case system <time.h> has a #define.
25
26 mktime: merge <sys/types.h> change from gnulib
27 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28 since <time.t> is now guaranteed to define time_t.
29
30 mktime: merge HAVE_CONFIG_H change from gnulib
31 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32
33 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34
35 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36 Use "neg %eax".
37
38 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39 __rlim_t cast.
40 (struct rusage): Use anonymous union to pad each field to
41 __syscall_slong_t.
42
43 2012-05-21 David S. Miller <davem@davemloft.net>
44
45 * Makefules (o-iterator): Remove .s cases.
46 (compile-command.s): Delete.
47 (COMPILE.s): Delete.
48 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49
50 2012-05-21 Joseph Myers <joseph@codesourcery.com>
51
52 * configure.in (libc_cv_predef_stack_protector): Only consider
53 "foobar" and "__stack_chk_fail" lines in libc_undefs.
54 * configure: Regenerated.
55
56 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
57
58 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
59 New macro. Use R*LP on int and pointer.
60 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
61 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
62 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64
65 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66 [__WORDSIZE_TIME64_COMPAT32] instead of
67 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68 (struct utmp): Likewise.
69 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
71 Renamed to ...
72 (__WORDSIZE_TIME64_COMPAT32): This.
73 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
75 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
76 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
77 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
78 (__WORDSIZE_TIME64_COMPAT32): New macro.
79
80 2012-05-21 Andreas Jaeger <aj@suse.de>
81
82 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
83 only if [SHARED]. Add prototype for __wcschr_ia32.
84
85 2012-05-21 Roland McGrath <roland@hack.frob.com>
86
87 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
88 of %rbp unmolested in the jmp_buf while mangling the low bits.
89 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
90 unmolested high bits of %rbp while demangling the low bits.
91 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
92
93 2012-05-21 Andreas Jaeger <aj@suse.de>
94
95 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
96 * sunrpc/svc_simple.c: Use it for registerrpc.
97 * sunrpc/xcrypt.c: Use it for passwd2des.
98
99 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
100
101 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
102
103 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
104 Don't define if [__SYSCALL_WORDSIZE != 32].
105 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
106 New macro.
107
108 2012-05-21 Bruno Haible <bruno@clisp.org>
109 Andreas Jaeger <aj@suse.de>
110
111 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
112 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
113 inptr and inend for must_buffer_ch.
114 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
115 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
116 * stdio-common/Makefile (tests): Remove bug15.
117 (bug15-ENV): Remove macro.
118 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
119 anymore.
120
121 2012-05-19 Andreas Jaeger <aj@suse.de>
122 Roland McGrath <roland@hack.frob.com>
123
124 * manual/contrib.texi: Completely rewritten. It contains now an
125 alphabetical list of contributors and their contributions.
126
127 2012-05-21 Richard Henderson <rth@twiddle.net>
128
129 * misc/getauxval.c (__getauxval): Use unsigned long int.
130 * misc/sys/auxv.h: Include <sys/cdefs.h>.
131 (getauxval): Use unsigned long int.
132
133 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
134
135 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
136
137 2012-05-21 Roland McGrath <roland@hack.frob.com>
138
139 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
140 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
141 __alignof__ (long double).
142
143 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
144
145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
146
147 2012-05-20 Richard Henderson <rth@twiddle.net>
148
149 * misc/getauxval.c: New file.
150 * misc/sys/auxv.h: New file.
151 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
152 (routines): Add getauxval.
153 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
154 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
155 * elf/dl-sysdep.c (_dl_auxv): Remove.
156 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
157 * elf/dl-support.c (_dl_auxv): New variable.
158 (_dl_aux_init): Initialize it.
159 * manual/startup.texi (Auxiliary Vector): New node.
160 * sysdeps/generic/bits/hwcap.h: New file.
161 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
162 * sysdeps/powerpc/sysdep.h: ... here. Include it.
163 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
164 * sysdeps/sparc/sysdep.h: ... here. Include it.
165 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
166 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
168 Update.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
172 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
177
178 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
179
180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
181
182 2012-05-19 David S. Miller <davem@davemloft.net>
183
184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
185
186 2012-05-19 Joseph Myers <joseph@codesourcery.com>
187
188 [BZ #14123]
189 * math/s_ccosh.c: Include <float.h>
190 (__ccosh): Avoid internal overflow calculating sinh and cosh
191 values before multiplying by sin and cos values.
192 * math/s_ccoshf.c: Likewise.
193 * math/s_ccoshl.c: Likewise.
194 * math/s_csin.c: Likewise.
195 * math/s_csinf.c: Likewise.
196 * math/s_csinl.c: Likewise.
197 * math/s_csinh.c: Likewise.
198 * math/s_csinhf.c: Likewise.
199 * math/s_csinhl.c: Likewise.
200 * math/libm-test.inc (ccos_test): Add more tests.
201 (ccosh_test): Likewise.
202 (csin_test): Likewise.
203 (csinh_test): Likewise.
204 * sysdeps/i386/fpu/libm-test-ulps: Update.
205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
206
207 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
208
209 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
210 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
211
212 * sysdeps/x86_64/x32/_itoa.h: Add comment.
213
214 2012-05-19 Joseph Myers <joseph@codesourcery.com>
215
216 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
217 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
218 * sysdeps/powerpc/soft-fp/Versions: Likewise.
219 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
220 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
221 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
222 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
223 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
224 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
225 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
226 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
227 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
228 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
229 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
230 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
231 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
232 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
233 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
234 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
235 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
236 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
237 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
238 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
239 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
240 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
241 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
242 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
243 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
244 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
245 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
246 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
247
248 2012-05-18 Andreas Jaeger <aj@suse.de>
249
250 * csu/.gitignore: Delete.
251
252 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
253
254 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
255 (timex): Use __syscall_slong_t.
256
257 2012-05-18 Andreas Jaeger <aj@suse.de>
258 Carlos O'Donell <carlos_odonell@mentor.com>
259
260 * manual/install.texi (Configuring and compiling): Update
261 description about files modified in the source directory.
262 * INSTALL: Regenerated.
263
264 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
265
266 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
267 value. Use "or" to set return value to -1.
268 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
269 negate return value.
270
271 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
272
273 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
274 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
275 failure if the compiler has Graphite support disabled.
276 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
277 Likewise.
278 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
279 CFLAGS-memmove.c): Likewise.
280 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
281 Likewise.
282
283 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
284
285 * sysdeps/x86_64/x32/_itoa.h: New file.
286
287 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
288 getdents system call only if kernel and user dirents have the
289 same d_ino and d_off.
290
291 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
292 LLONG_MAX != LONG_MAX.
293 (_itoa_word): Use _ITOA_WORD_TYPE on value.
294 (_fitoa_word): Likewise.
295
296 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
297 years.
298 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
299 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
300 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
301
302 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
303 include <bits/wordsize.h>. Check __x86_64__ instead of
304 __WORDSIZE.
305 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
306 if __x86_64__ is defined. Use anonymous union on fpstate.
307
308 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
309 anonymous union.
310
311 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
312
313 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
314 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
315 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
316 Refer to _rtld_local_ro instead of _rtld_global_ro.
317 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
318 Likewise.
319 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
320 Likewise.
321 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
322 Likewise.
323 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
324 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
325 of _rtld_global, and rtld_progname instead of _dl_argv[0].
326
327 * sysdeps/powerpc/powerpc32/dl-machine.c
328 (__elf_machine_runtime_setup) [PROF]: Don't reference
329 _dl_prof_resolve.
330
331 2012-05-18 Andreas Jaeger <aj@suse.de>
332
333 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
334 function only available for GCCs before 3.4 since GCC 3.4
335 introduced a builtin.
336 (lrint): Likewise.
337 (llrintf): Likewise.
338 (llrint): Likewise.
339 (fmaxf): Likewise.
340 (fmax): Likewise.
341 (fminf): Likewise.
342 (fmin): Likewise.
343 (rint): Likewise.
344 (rintf): Likewise.
345 (nearbyint): Likewise.
346 (nearbyintf): Likewise.
347 (ceil): Likewise.
348 (ceilf): Likewise.
349 (floor): Likewise.
350 (floorf): Likewise.
351
352 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
353
354 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
355 on both fields and cast pointer to __syscall_ulong_t.
356
357 * bits/types.h (__fsword_t): New type.
358 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
359 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
361 (__FSWORD_T_TYPE): Likewise.
362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
363 (__FSWORD_T_TYPE): Likewise.
364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
365 (__FSWORD_T_TYPE): Likewise.
366 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
367 (__FSWORD_T_TYPE): Likewise.
368 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
369 __SWORD_TYPE with __fsword_t.
370 (statfs64): Likewise.
371
372 2012-05-17 David S. Miller <davem@davemloft.net>
373
374 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
375
376 2012-05-17 Andreas Jaeger <aj@suse.de>
377
378 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
379 warning.
380
381 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
382
383 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
384
385 2012-05-17 Andreas Jaeger <aj@suse.de>
386
387 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
388 when it is used.
389
390 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
391
392 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
393
394 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
395
396 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
397 * sysdeps/x86_64/tst-mallocalign1.c: New file.
398
399 2012-05-17 Andreas Jaeger <aj@suse.de>
400 Carlos O'Donell <carlos_odonell@mentor.com>
401
402 [BZ #14059]
403 * sysdeps/x86_64/multiarch/init-arch.h
404 (bit_YMM_Usable): Rename to...
405 (bit_AVX_Usable): ... this.
406 (bit_FMA4_Usable): New macro.
407 (bit_XMM_state): New macro.
408 (bit_YMM_state): New macro.
409 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
410 [__ASSEMBLER__] (index_AVX_Usable): ... this.
411 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
412 (CPUID_OSXSAVE): New macro.
413 (CPUID_AVX): New macro.
414 (CPUID_FMA4): New macro.
415 (index_YMM_Usable): Rename to...
416 (index_AVX_Usable): ... this.
417 (HAS_AVX): Use HAS_ARCH_FEATURE.
418 (HAS_FMA4): Likewise.
419 (HAS_YMM_USABLE): Remove.
420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
421 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
422 are present.
423 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
424 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
425 * sysdeps/x86_64/multiarch/Makefile: Likewise.
426 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
427 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
428
429 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
430
431 * math/libm-test.c: Support platforms without multiple rounding modes.
432 * math/bug-nextafter.c: Support platforms without FP exceptions.
433 * math/bug-nexttoward.c: Likewise.
434 * math/test-fenv.c: Likewise.
435 * math/test-misc.c: Likewise.
436 * stdlib/bug-getcontext.c: Likewise.
437
438 2012-05-17 Andreas Jaeger <aj@suse.de>
439
440 * manual/examples/search.c (critter_cmp): Change signature to
441 avoid warnings.
442 * manual/string.texi (Collation Functions): Likewise.
443
444 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
445
446 * bits/types.h: Fold copyright years.
447 * bits/typesizes.h: Likewise.
448 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
449 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
450 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
451 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
452 * time/time.h: Likewise.
453
454 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
455
456 [BZ #208]
457 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
458 in instead of returning them. Return void.
459 (__libc_mallinfo): Accumulate over all arenas.
460 (__malloc_stats): Adjust for change in int_mallinfo interface.
461
462 2012-05-16 Roland McGrath <roland@hack.frob.com>
463
464 [BZ #10375]
465 * configure.in (NM): Add AC_CHECK_TOOL for it.
466 (libc_extra_cflags): New substituted variable.
467 Check for -fstack-protector being used implicitly.
468 * configure: Regenerated.
469 * config.make.in (config-extra-cflags): New variable,
470 gets @libc_extra_cflags@.
471 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
472
473 [BZ #10375]
474 * configure.in: Check for _FORTIFY_SOURCE being predefined.
475 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
476 * configure: Regenerated.
477 * config.make.in (CPPUNDEFS): New substituted variable.
478 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
479 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
480 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
481
482 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
483
484 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
485 (mq_attr): Use __syscall_slong_t.
486
487 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
488
489 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
490 Check __x86_64__ instead of __WORDSIZE.
491 (_STAT_VER_LINUX): Likewise.
492 (stat): Check __x86_64__ instead of __WORDSIZE. Use
493 __syscall_ulong_t and __syscall_slong_t.
494 (stat64): Likewise.
495
496 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
497
498 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
499
500 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
501
502 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
503
504 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
505
506 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
507 __syscall_ulong_t.
508
509 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
510 include <bits/wordsize.h>. Check __x86_64__ instead of
511 __WORDSIZE.
512 (greg_t): Use "__extension__ long long int" if __x86_64__ is
513 defined.
514 (mcontext_t): Replace "unsigned long" with "unsigned long long".
515
516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
517 include <bits/wordsize.h>. Check __x86_64__ instead of
518 __WORDSIZE.
519 (user_regs_struct): Use "__extension__ unsigned long long"
520 instead of "unsigned long" if __x86_64__ is defined.
521 (user): Likewise. Pad after pointer field if __ILP32__ is
522 defined.
523
524 2012-05-16 Joseph Myers <joseph@codesourcery.com>
525
526 * configure.in (makeinfo): Require version 4.5 or later. Allow
527 versions 5 to 9.
528 * configure: Regenerated.
529 * manual/install.texi (texinfo): Increase version requirement to
530 4.5 or later.
531 * INSTALL: Regenerated.
532
533 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
534
535 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
536
537 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
538
539 * sysdeps/x86_64/x32/ffs.c: New file.
540
541 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
542 __syscall_ulong_t.
543 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
544 defined. Use __syscall_ulong_t.
545 (shminfo): Use __syscall_ulong_t.
546 (shm_info): Likewise.
547
548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
549 __syscall_ulong_t.
550
551 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
552 <bits/wordsize.h>.
553 (msgqnum_t): Use __syscall_ulong_t.
554 (msglen_t): Likewise.
555 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
556 __syscall_ulong_t.
557
558 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
559 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
560
561 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
562
563 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
564 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
565
566 * sysvipc/sys/msg.h (msgbuf): Replace long int with
567 __syscall_slong_t.
568
569 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
570 include <bits/wordsize.h>. Check __x86_64__ instead of
571 __WORDSIZE.
572
573 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
574 "unsigned long long int" if __x86_64__ is defined.
575 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
576
577 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
578 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
579 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
580
581 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
582 <stdint.h>.
583 (GET_PC): Cast to uintptr_t first.
584 (GET_FRAME): Likewise.
585 (GET_STACK): Likewise.
586
587 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
588 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
589 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
590 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
591 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
592 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
593 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
594 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
595 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
596 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
597 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
598 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
599 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
600 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
602 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
603 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
604 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
605 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
606 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
607 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
608 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
609 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
610 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
611 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
612 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
613 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
614 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
615 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
616
617 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
618
619 * Makerules (+depfiles): Also collect depfiles from .oS in
620 $(extra-objs).
621 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
622 .oS, $(libnldbl-routines)).
623
624 * Makerules (native-compile-mkdep-flags): Define.
625 * sunrpc/Makefile (extra-objs): Add $(addprefix
626 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
627 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
628 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
629 calling $(make-target-directory).
630
631 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
632
633 * bits/types.h (__snseconds_t): Removed.
634 * time/time.h (struct timespec): Replace __snseconds_t with
635 __syscall_slong_t.
636 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
637 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
638 Likewise.
639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
640 (__SNSECONDS_T_TYPE): Likewise.
641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
642 (__SNSECONDS_T_TYPE): Likewise.
643 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
644 (__SNSECONDS_T_TYPE): Likewise.
645
646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
647
648 * sysdeps/mach/hurd/bits/typesizes.h
649 (__SYSCALL_SLONG_TYPE): New macro.
650 (__SYSCALL_ULONG_TYPE): Likewise.
651
652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
653
654 * bits/types.h (__syscall_slong_t): New type.
655 (__syscall_ulong_t): Likewise.
656
657 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
658 (__SYSCALL_ULONG_TYPE): Likewise.
659 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
660 (__SYSCALL_SLONG_TYPE): Likewise.
661 (__SYSCALL_ULONG_TYPE): Likewise.
662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
663 (__SYSCALL_SLONG_TYPE): Likewise.
664 (__SYSCALL_ULONG_TYPE): Likewise.
665 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
666 (__SYSCALL_SLONG_TYPE): Likewise.
667 (__SYSCALL_ULONG_TYPE): Likewise.
668
669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
670
671 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
672 Add sigaltstack-offsets.sym.
673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
674 <sigaltstack-offsets.h>.
675 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
676 longjmp_msg pointer.
677 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
678 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
679 signal stack.
680 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
681
682 2012-05-15 Joseph Myers <joseph@codesourcery.com>
683
684 * elf/stackguard-macros.h: Remove file.
685 * sysdeps/generic/stackguard-macros.h: New file.
686 * sysdeps/i386/stackguard-macros.h: Likewise.
687 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
688 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
689 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
690 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
691 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
692 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
693 * sysdeps/x86_64/stackguard-macros.h: Likewise.
694 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
695 <elf/stackguard-macros.h>.
696
697 [BZ #14109]
698 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
699 __aligned__ in attribute.
700 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
701 (gregset_t): Likewise.
702
703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
704
705 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
706 * sysdeps/x86_64/64/Implies-after: Here. New file.
707 * sysdeps/x86_64/x32/Implies-after: New file.
708
709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
710
711 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
712 and access return value for _dl_profile_fixup. Use R10_LP to
713 load frame size.
714
715 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
716
717 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
718
719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
720
721 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
722 * sysdeps/x86_64/x32/sysdep.h: New file.
723
724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
725
726 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
727 * sysdeps/x86_64/setjmp.S: Likewise.
728
729 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
730
731 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
732 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
733 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
734 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
735 remove unused global constant.
736
737 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
738
739 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
740 include of <not-cancel.h>.
741
742 2012-05-15 Roland McGrath <roland@hack.frob.com>
743
744 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
745
746 2012-05-15 Jeff Law <law@redhat.com>
747 Andreas Jaeger <aj@suse.de>
748
749 [BZ #13594]
750 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
751 out from...
752 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
753 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
754 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
755 code changing __hst_map_handle.map.
756
757 2012-05-15 Roland McGrath <roland@hack.frob.com>
758
759 * configure.in (sysnames): Look for Implies-before and Implies-after
760 files.
761 * configure: Regenerated.
762
763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
764
765 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
766 8-byte data alignment with LP_SIZE alignment.
767
768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
769
770 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
771 into R10_LP.
772
773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
774
775 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
776
777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
778
779 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
780 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
781 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
782 Likewise.
783 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
784
785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
786
787 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
788 (stackinfo_sub_sp): Likewise.
789
790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
791
792 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
793 RAX_LP.
794
795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
796
797 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
798 into R*_LP.
799
800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
801
802 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
803 sizes into R*_LP.
804
805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
806
807 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
808
809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
810
811 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
812 into R11_LP and load __x86_64_shared_cache_size_half into
813 R8_LP.
814
815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
816
817 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
818 R8_LP.
819
820 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
821
822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
823 logb for POWER7.
824 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
825 logbf for POWER7.
826 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
827 logbl for POWER7.
828 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
829 powerpc32/power7/fpu/s_logb.c via #include.
830 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
831 powerpc32/power7/fpu/s_logbf.c via #include.
832 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
833 powerpc32/power7/fpu/s_logbl.c via #include.
834
835 2012-05-15 Joseph Myers <joseph@codesourcery.com>
836
837 * README.libm: Remove file.
838
839 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
840
841 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
842 count for x32. Use R*_LP and omit operand-size suffix.
843
844 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
845
846 * shlib-versions: Move x86_64-.*-linux.* entries to ...
847 * sysdeps/x86_64/64/shlib-versions: Here. New file.
848 * sysdeps/x86_64/x32/shlib-versions: New file.
849
850 2012-05-14 Roland McGrath <roland@hack.frob.com>
851
852 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
853 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
854 Use _dl_fatal_printf instead.
855
856 2012-05-14 Joseph Myers <joseph@codesourcery.com>
857
858 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
859 set if not set by the user. Do not allow for being unset.
860 * sysdeps/unix/sysv/linux/configure: Regenerated.
861
862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
863
864 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
865 the `q' suffix from lea and replace .quad with ASM_ADDR.
866
867 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
868
869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
870 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
871 instead of $17.
872 (PTR_DEMANGLE): Likewise.
873
874 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
875
876 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
877 (LP_OP): Likewise.
878 (ASM_ADDR): Likewise.
879 (RAX_LP): Likewise.
880 (RBP_LP): Likewise.
881 (RBX_LP): Likewise.
882 (RCX_LP): Likewise.
883 (RDI_LP): Likewise.
884 (RSI_LP): Likewise.
885 (RSP_LP): Likewise.
886 (R8_LP): Likewise.
887 (R9_LP): Likewise.
888 (R10_LP): Likewise.
889 (R10_LP): Likewise.
890 (R11_LP): Likewise.
891 (R12_LP): Likewise.
892 (R13_LP): Likewise.
893 (R14_LP): Likewise.
894 (R15_LP): Likewise.
895
896 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
897
898 * sysdeps/x86_64/x32/dl-machine.h: New file.
899
900 2012-05-14 Andreas Jaeger <aj@suse.de>
901
902 * manual/Makefile (subdir): Remove export of subdir.
903 (all): Remove target.
904 (.PHONY): Remove all from list.
905 (mkinstalldirs): Remove.
906 (.PHONY): Remove installdirs from list.
907 ($(inst_infodir)/libc.info): Use make-target-directory.
908 (installdirs): Remove.
909 (subdir_%): Remove.
910 (glibc-targets): Remove.
911 (lib): Remove.
912 (stubs): Remove.
913 ($(objpfx)stubs ../po/manual.pot): Remove.
914 ($(objpfx)stamp%): Remove.
915 (make-target-directory): Remove.
916 (subdir_install): Remove.
917 (routines): Remove.
918 (aux): Remove.
919 (sources): Remove.
920 (objects): Remove.
921 (headers): Remove.
922
923 [BZ #13750]
924 * manual/.gitignore: Remove, it's not needed anymore.
925 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
926 all files in it.
927 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
928 directory.
929 (texis): Renamed to $(objpfx)texis.
930 (texis-path): New, contains path to generated files.
931 (chapters.%): Use texis-path for complete path, add extra argument
932 libc-texinfo.sh.
933 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
934 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
935 (summary,texi, stamp-summary): Use complete path of
936 files. Generate files in build dir.
937 (dir-add.texi): Build in build dir.
938 (libm-err.texi,stamp-libm-err): Likewise.
939 (version.texi, stamp-version): Likewise.
940 (.%c.texi): Likewise.
941 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
942 (mostlyclean): Remove target.
943 (realclean): Remove target.
944 (generated): Add new variable with contents from mostlyclean and
945 realclean, remove entries duplicated in common-mostlyclean, add
946 stamp-libm-err and stamp-version.
947 (generated-dirs): Add libc directory.
948 ($(inst_infodir)/libc.info): Install files from build dir.
949
950 * manual/install.texi (Configuring and compiling): Adjust since
951 the info files are not part of the tar ball anymore.
952
953 2012-05-14 Andreas Jaeger <aj@suse.de>
954
955 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
956 variable.
957
958 2012-05-14 Joseph Myers <joseph@codesourcery.com>
959
960 [BZ #13717]
961 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
962 to 2.2.0 where earlier.
963 * sysdeps/unix/sysv/linux/configure: Regenerated.
964 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
965 Remove conditional code.
966 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
967 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
968 Remove conditional code.
969 [!__NR_lchown]: Likewise.
970 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
971 [__NR_lchown]: Likewise.
972 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
973 comment referencing __ASSUME_LCHOWN_SYSCALL.
974 * sysdeps/unix/sysv/linux/i386/sigaction.c
975 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
976 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
977 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
978 Remove conditional code.
979 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
980 (__protocol_available): Remove #if 0 code.
981 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
982 conditional code.
983 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
984 * sysdeps/unix/sysv/linux/kernel-features.h
985 (__ASSUME_GETCWD_SYSCALL): Don't define.
986 (__ASSUME_REALTIME_SIGNALS): Likewise.
987 (__ASSUME_PREAD_SYSCALL): Likewise.
988 (__ASSUME_PWRITE_SYSCALL): Likewise.
989 (__ASSUME_POLL_SYSCALL): Likewise.
990 (__ASSUME_LCHOWN_SYSCALL): Likewise.
991 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
992 non-SPARC.
993 (__ASSUME_SIOCGIFNAME): Don't define.
994 (__ASSUME_MSG_NOSIGNAL): Likewise.
995 (__ASSUME_SENDFILE): Define unconditionally.
996 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
997 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
998 conditional code.
999 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1000 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1001 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1002 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1003 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1004 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1005 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1007 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1008 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1010 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1011 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1013 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1014 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1016 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1017 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1019 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1020 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1022 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1025 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1026 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1028 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1030 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1031 Remove conditional code.
1032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1033 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1034 Remove conditional code.
1035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1036 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1037 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1038 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1039 Remove conditional code.
1040 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1041 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1042 Remove conditional code.
1043 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1044 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1045 Remove conditional code.
1046 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1047 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1048 Remove conditional code.
1049 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1050 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1051 Remove conditional code.
1052 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1053 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1054 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1055 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1056 * sysdeps/unix/sysv/linux/sigaction.c
1057 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1058 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1059 * sysdeps/unix/sysv/linux/sigpending.c
1060 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1061 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1062 * sysdeps/unix/sysv/linux/sigprocmask.c
1063 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1064 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1065 * sysdeps/unix/sysv/linux/sigsuspend.c
1066 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1067 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1068 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1069 (__libc_missing_rt_sigs): Remove.
1070 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1071 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1072 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1073 Remove conditional code.
1074 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1075 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1076 return 1.
1077 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1078 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1079 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1080 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1081
1082 2012-05-14 Andreas Jaeger <aj@suse.de>
1083
1084 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1085 it's not used in glibc.
1086 (__coshm1): Likewise.
1087 (__acosh1p): Likewise.
1088 (__sgn): Likewise.
1089
1090 * manual/string.texi (Copying and Concatenation): Add missing
1091 variable in concat example.
1092 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1093
1094 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1095
1096 [BZ #14103]
1097 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1098 __builtin_clzl with __builtin_clzll.
1099
1100 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1101
1102 [BZ #14104]
1103 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1104 libc_freeres_ptr.
1105
1106 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1107
1108 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1109 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1110 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1111 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1112
1113 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1114
1115 * NEWS: Update ia64 info.
1116
1117 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1118
1119 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1120 used as bcopy.
1121
1122 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1123
1124 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1125 * sysdeps/unix/syscalls.list (dup3): Likewise.
1126 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1127 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1128
1129 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1130
1131 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1132 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1133
1134 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1135
1136 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1137 thread pointer.
1138 (TLS_IE): Use mov/add instead of movq/addq to load thread
1139 pointer.
1140 (TLS_GD_PREFIX): New.
1141 (TLS_GD): Use it.
1142
1143 2012-05-11 David S. Miller <davem@davemloft.net>
1144
1145 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1146 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1147 (_FPU_SETCW): Likewise.
1148
1149 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1152 is 32-byte aligned.
1153
1154 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1155
1156 [BZ #11837]
1157 * iconvdata/gb18030.c: Update tables.
1158 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1159 characters specially.
1160 (BODY for TO_LOOP): Add encoding of missing ranges.
1161
1162 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1163
1164 [BZ #13673]
1165 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1166 * sysdeps/mach/hurd/dup3.c: Likewise.
1167 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1168 * sysdeps/powerpc/memmove.c:: Likewise.
1169
1170 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1171
1172 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1173 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1174
1175 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1176
1177 * elf/elf.h (R_X86_64_RELATIVE64): New.
1178 (R_X86_64_NUM): Updated.
1179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1180 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1181 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1182 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1183 tst-quad1pie tst-quad2pie
1184 (modules-names): Add tst-quadmod1 tst-quadmod2.
1185 ($(objpfx)tst-quad1): New dependency.
1186 ($(objpfx)tst-quad2): Likewise.
1187 ($(objpfx)tst-quad1pie): Likewise.
1188 ($(objpfx)tst-quad2pie): Likewise.
1189 * sysdeps/x86_64/tst-quad1.c: New file.
1190 * sysdeps/x86_64/tst-quad1pie.c: New file.
1191 * sysdeps/x86_64/tst-quad2.c: Likewise.
1192 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1193 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1194 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1195 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1196 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1197
1198 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1199
1200 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1201 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1202 * streams/stropts.h (t_scalar_t): Define type.
1203
1204 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1205 (_PATH_PRESERVE): Set to "/var/lib".
1206 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1207
1208 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1209 instead of int.
1210
1211 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1212 if __dir_mkfile succeeded.
1213
1214 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1215 checking for _hurd_dtablesize. Unlock it right after having
1216 finished _hurd_dtable allocation.
1217
1218 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1219
1220 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
1221 * sysdeps/mach/hurd/configure: Regenerated.
1222 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
1223 special-casing to...
1224 * sysdeps/gnu/configure.in: ... this new file.
1225 * sysdeps/unix/sysv/linux/configure: Regenerated.
1226 * sysdeps/gnu/configure: New generated file.
1227
1228 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
1229 for Linux: use nsec instead of usec, as well as:
1230 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
1231 members of type struct timespec.
1232 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
1233 New macros.
1234 (struct stat64): Likewise.
1235 (_STATBUF_ST_NSEC): New macro.
1236 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
1237
1238 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1239 __strtoul_internal rather than strtoul.
1240
1241 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1242
1243 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
1244 and reject them.
1245
1246 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1247
1248 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
1249 which preserves existing values.
1250 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
1251
1252 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1253
1254 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
1255 TIMEOUT values. Return EINVAL for NFDS values either negative or
1256 greater than FD_SETSIZE.
1257
1258 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1259
1260 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
1261 allocated, call __vm_protect to finish enabling the existing space, and
1262 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
1263 allocate the remainder.
1264
1265 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1266
1267 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
1268 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
1269
1270 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1271
1272 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
1273 sysdeps/mach/hurd/readlink.c.
1274
1275 * posix/tst-sysconf.c (posix_options): Only use
1276 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
1277 _POSIX_SYNCHRONIZED_IO when they are defined
1278 * sysdeps/mach/hurd/bits/posix_opt.h:
1279 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
1280 (_XOPEN_REALTIME): Undefine macro.
1281 (_XOPEN_REALTIME_THREADS): Undefine macro.
1282 (_XOPEN_SHM): Undefine macro.
1283 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
1284 macro to -1.
1285 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
1286 macro to -1.
1287 (_POSIX_ASYNC_IO): Undefine macro.
1288 (_POSIX_PRIORITIZED_IO): Undefine macro.
1289 (_POSIX_SPIN_LOCKS): Define macro to -1.
1290
1291 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
1292 SA_NODEFER, SA_RESETHAND.
1293 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
1294 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
1295 F_DUPFD_CLOEXEC.
1296
1297 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1298
1299 * elf/Makefile (pldd-modules): Define unconditionally.
1300
1301 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1302
1303 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
1304
1305 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1306
1307 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
1308 Return ENOENT when name is empty.
1309 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
1310
1311 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1312
1313 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
1314
1315 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
1316
1317 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1318
1319 Fix mlock in all cases except non-readable pages.
1320 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
1321 instead of VM_PROT_ALL as parameter to __vm_wire function.
1322
1323 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
1324 (__mkdir): When path is `/', just fail with EEXIST.
1325 * sysdeps/mach/hurd/mkdirat.c: Likewise.
1326
1327 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1328
1329 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
1330 <sys/uio.h> (for writev).
1331 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
1332 and <sys/param.h> (for MIN).
1333
1334 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
1335
1336 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
1337 REQUESTED_TIME. Properly set the remaining time and return EINTR
1338 if interrupted.
1339
1340 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1341
1342 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
1343 Depend on against $(link-rpcuserlibs).
1344
1345 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1346
1347 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
1348 (__libc_stack_end): Do not use attribute_relro.
1349 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
1350 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
1351 to libthread-provided value.
1352 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
1353 attribute_relro.
1354
1355 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1356
1357 [BZ #3748]
1358 * bits/libc-lock.h (__libc_once_get): New macro.
1359 * sysdeps/mach/bits/libc-lock.h: Likewise.
1360 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
1361 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
1362 instead of using implementation details.
1363
1364 * libio/fileops.c: Unconditionally include <kernel-features.h>.
1365 * libio/freopen.c: Likewise.
1366 * libio/freopen64.c: Likewise.
1367 * misc/syslog.c: Likewise.
1368 * nscd/connections.c: Likewise.
1369 * nscd/netgroupcache.c: Likewise.
1370 * sysdeps/posix/getcwd.c: Likewise.
1371
1372 2012-05-10 Roland McGrath <roland@hack.frob.com>
1373
1374 * math/w_ilogbf.c: Add #include <limits.h>.
1375
1376 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1377
1378 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
1379 path instead of returning without unlocking.
1380
1381 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
1382 immediate-write ioctls.
1383 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
1384
1385 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1386
1387 * sysdeps/mach/hurd/i386/init-first.c (init): Use
1388 __builtin_frame_address instead of making assumptions about the
1389 location of the return address relative to DATA. Force early load of
1390 the return address.
1391 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
1392 __builtin_frame_address.
1393
1394 dup3 for GNU Hurd.
1395 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
1396 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
1397 implement dup3 and do some further code clean-ups.
1398 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
1399 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
1400
1401 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1402
1403 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
1404
1405 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
1406 HURD_CRITICAL_END around holding _hurd_dtable_lock.
1407 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
1408 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
1409 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
1410 d->port.lock.
1411
1412 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
1413 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
1414 when handler == SIG_ERR, not when handler != SIG_ERR.
1415
1416 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1417
1418 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
1419 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
1420 definitions.
1421
1422 accept4 for GNU Hurd.
1423 * include/sys/socket.h (__libc_accept4): New prototype.
1424 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
1425 to implement __libc_accept4.
1426 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
1427 __libc_accept4.
1428 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
1429
1430 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
1431 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
1432 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
1433 signal-defines.sym.
1434
1435 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1436
1437 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
1438
1439 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
1440
1441 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
1442 assertion on O_CLOEXEC flag.
1443 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
1444 * hurd/intern-fd.c: Likewise.
1445 * hurd/port2fd.c: Likewise.
1446
1447 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1448
1449 [BZ #3906]
1450 * bits/in.h (IPV6_PKTINFO): Define new macro.
1451 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
1452
1453 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1454
1455 [BZ #13954]
1456 [BZ #13955]
1457 [BZ #13956]
1458 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
1459 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1460 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
1461 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1462 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1463 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1464 * math/libm-test.inc (logb_test) : Additional logb tests.
1465
1466 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
1467 Andreas Jaeger <aj@suse.de>
1468
1469 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
1470 * configure: Regenerated.
1471 * config.h.in (LINK_OBSOLETE_RPC): New macro.
1472 * config.make.in (link-obsolete-rpc): New substituted variable.
1473 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
1474 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
1475 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1476 (shared-only-routines): Don't set it under [link-obsolete-rpc],
1477 so that libc.a contains the symbols.
1478 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
1479 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
1480 * sunrpc/auth_none.c: Likewise.
1481 * sunrpc/auth_unix.c: Likewise.
1482 * sunrpc/authdes_prot.c: Likewise.
1483 * sunrpc/authuxprot.c: Likewise.
1484 * sunrpc/clnt_gen.c: Likewise.
1485 * sunrpc/clnt_perr.c: Likewise.
1486 * sunrpc/clnt_raw.c: Likewise.
1487 * sunrpc/clnt_simp.c: Likewise.
1488 * sunrpc/clnt_tcp.c: Likewise.
1489 * sunrpc/clnt_udp.c: Likewise.
1490 * sunrpc/clnt_unix.c: Likewise.
1491 * sunrpc/des_crypt.c: Likewise.
1492 * sunrpc/des_soft.c: Likewise.
1493 * sunrpc/get_myaddr.c: Likewise.
1494 * sunrpc/key_call.c: Likewise.
1495 * sunrpc/key_prot.c: Likewise.
1496 * sunrpc/netname.c: Likewise.
1497 * sunrpc/pm_getmaps.c: Likewise.
1498 * sunrpc/pm_getport.c: Likewise.
1499 * sunrpc/pmap_clnt.c: Likewise.
1500 * sunrpc/pmap_prot.c: Likewise.
1501 * sunrpc/pmap_prot2.c: Likewise.
1502 * sunrpc/pmap_rmt.c: Likewise.
1503 * sunrpc/publickey.c: Likewise.
1504 * sunrpc/rpc_cmsg.c: Likewise.
1505 * sunrpc/rpc_common.c: Likewise.
1506 * sunrpc/rpc_dtable.c: Likewise.
1507 * sunrpc/rpc_prot.c: Likewise.
1508 * sunrpc/rpc_thread.c: Likewise.
1509 * sunrpc/rtime.c: Likewise.
1510 * sunrpc/svc.c: Likewise.
1511 * sunrpc/svc_auth.c: Likewise.
1512 * sunrpc/svc_raw.c: Likewise.
1513 * sunrpc/svc_run.c: Likewise.
1514 * sunrpc/svc_tcp.c: Likewise.
1515 * sunrpc/svc_udp.c: Likewise.
1516 * sunrpc/svc_unix.c: Likewise.
1517 * sunrpc/svcauth_des.c: Likewise.
1518 * sunrpc/xcrypt.c: Likewise.
1519 * sunrpc/xdr.c: Likewise.
1520 * sunrpc/xdr_array.c: Likewise.
1521 * sunrpc/xdr_float.c: Likewise.
1522 * sunrpc/xdr_intXX_t.c: Likewise.
1523 * sunrpc/xdr_mem.c: Likewise.
1524 * sunrpc/xdr_rec.c: Likewise.
1525 * sunrpc/xdr_ref.c: Likewise.
1526 * sunrpc/xdr_sizeof.c: Likewise.
1527 * sunrpc/xdr_stdio.c: Likewise.
1528
1529 2012-05-10 Roland McGrath <roland@hack.frob.com>
1530
1531 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
1532 change. Update copyright years.
1533
1534 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1535
1536 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
1537
1538 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
1539 Joseph Myers <joseph@codesourcery.com>
1540 Paul Pluzhnikov <ppluzhnikov@google.com>
1541
1542 [BZ #14012]
1543 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
1544 requiring rpcgen.
1545 [cross-compiling] (extra-libs): Likewise.
1546 [cross-compiling] (extra-libs-others): Likewise.
1547 [cross-compiling] (librpcsvc-routines): Likewise.
1548 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
1549 [cross-compiling] (omit-deps): Likewise.
1550 (sunrpc-CPPFLAGS): New variable.
1551 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
1552 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
1553 (cross-rpcgen-objs): New variable.
1554 (extra-objs): Append $(cross-rpcgen-objs).
1555 ($(cross-rpcgen-objs)): New rule.
1556 ($(objpfx)cross-rpcgen): Likewise.
1557 (rpcgen-cmd): Define to use $(built-program-file). Expand
1558 comment.
1559 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
1560 ($(objpfx)x%.stmp): Likewise.
1561 * sunrpc/proto.h [IS_IN_build] (_): Define.
1562 [IS_IN_build] (_libc_intl_domainname): Likewise.
1563
1564 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1565
1566 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
1567 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
1568 and R_X86_64_TPOFF64.
1569
1570 2012-05-10 Joseph Myers <joseph@codesourcery.com>
1571
1572 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
1573 sysdeps/unix/sysv/syscalls.list.
1574 (stime): Likewise.
1575 (utime): Likewise.
1576 * sysdeps/unix/sysv/syscalls.list: Remove file.
1577
1578 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
1579
1580 [BZ #3440]
1581 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
1582 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
1583 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
1584 (__LC_IDENTIFICATION): Make these macros useful in #if
1585 expressions, as required by C99.
1586
1587 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
1588
1589 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
1590 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
1591 after this.
1592
1593 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1594
1595 * stdlib/longlong.h: Updated from GCC.
1596
1597 2012-05-09 Andreas Jaeger <aj@suse.de>
1598
1599 * nscd/nscd.c (run_modes): Make named enum, reorder so that
1600 default is first entry.
1601 (run_mode): Set type.
1602 (main): Remove informal message about syslog.
1603 (options): Fix typo.
1604
1605 [BZ #14053]
1606 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
1607 to asm.
1608 (lrint): Likewise.
1609 (llrintf): Likewise.
1610 (llrint): Likewise.
1611 (rint): Likewise.
1612 (rintf): Likewise.
1613 (nearbyint): Likewise.
1614 (nearbyintf): Likewise.
1615
1616 2012-05-09 Andreas Jaeger <aj@suse.de>
1617 Pedro Alves <palves@redhat.com>
1618
1619 * nscd/nscd.c (run_mode): Use enum.
1620 (main): Cleanup coding style issue.
1621
1622 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
1623 Andreas Jaeger <aj@suse.de>
1624
1625 * nscd/nscd.c (go_background): Replaced with...
1626 (run_mode): ... this.
1627 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
1628 (options): Add -F --foreground.
1629 (main): Implement it.
1630 (parse_opt): Parse it.
1631
1632 2012-05-09 Andreas Jaeger <aj@suse.de>
1633
1634 [BZ #14083]
1635 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
1636 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
1637 -Wconversion warning.
1638 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
1639 Likewise.
1640
1641 2012-05-09 Joseph Myers <joseph@codesourcery.com>
1642
1643 * conform/data/locale.h-data (NULL): Use macro-constant. Require
1644 == 0.
1645 (LC_ALL): Use macro-int-constant.
1646 (LC_COLLATE): Likewise.
1647 (LC_CTYPE): Likewise.
1648 (LC_MESSAGES): Likewise.
1649 (LC_MONETARY): Likewise.
1650 (LC_NUMERIC): Likewise.
1651 (LC_TIME): Likewise.
1652 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
1653 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1655 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
1656 Specify type.
1657 [C99-based standards] (float_t): Expect type.
1658 [C99-based standards] (double_t): Expect type.
1659 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
1660 type.
1661 [C99-based standards] (HUGE_VALL): Likewise.
1662 [C99-based standards] (INFINITY): Likewise.
1663 [C99-based standards] (NAN): Likewise.
1664 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
1665 [C99-based standards] (FP_NAN): Likewise.
1666 [C99-based standards] (FP_NORMAL): Likewise.
1667 [C99-based standards] (FP_SUBNORMAL): Likewise.
1668 [C99-based standards] (FP_ZERO): Likewise.
1669 [C99-based standards] (FP_FAST_FMA): Use
1670 optional-macro-int-constant. Specify type. Require == 1.
1671 [C99-based standards] (FP_FAST_FMAF): Likewise.
1672 [C99-based standards] (FP_FAST_FMAL): Likewise.
1673 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
1674 [C99-based standards] (FP_ILOGBNAN): Likewise.
1675 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
1676 Specify type.
1677 [C99-based standards] (MATH_ERREXCEPT): Likewise.
1678 [C99-based standards] (math_errhandling): Specify type.
1679 [ISO99 || ISO11] (signgam): Do not allow.
1680 [non-C99-based standards] (copysignf): Do not allow.
1681 [non-C99-based standards] (exp2f): Likewise.
1682 [non-C99-based standards] (log2f): Likewise.
1683 [non-C99-based standards] (modff): Allow.
1684 [non-C99-based standards] (erff): Do not allow.
1685 [non-C99-based standards] (erfcf): Likewise.
1686 [non-C99-based standards] (gammaf): Likewise.
1687 [non-C99-based standards] (hypotf): Likewise.
1688 [non-C99-based standards] (j0f): Likewise.
1689 [non-C99-based standards] (j1f): Likewise.
1690 [non-C99-based standards] (jnf): Likewise.
1691 [non-C99-based standards] (lgammaf): Likewise.
1692 [non-C99-based standards] (tgammaf): Likewise.
1693 [non-C99-based standards] (y0f): Likewise.
1694 [non-C99-based standards] (y1f): Likewise.
1695 [non-C99-based standards] (ynf): Likewise.
1696 [non-C99-based standards] (isnanf): Likewise.
1697 [non-C99-based standards] (acoshf): Likewise.
1698 [non-C99-based standards] (asinhf): Likewise.
1699 [non-C99-based standards] (atanhf): Likewise.
1700 [non-C99-based standards] (cbrtf): Likewise.
1701 [non-C99-based standards] (expm1f): Likewise.
1702 [non-C99-based standards] (ilogbf): Likewise.
1703 [non-C99-based standards] (log1pf): Likewise.
1704 [non-C99-based standards] (logbf): Likewise.
1705 [non-C99-based standards] (nextafterf): Likewise.
1706 [non-C99-based standards] (remainderf): Likewise.
1707 [non-C99-based standards] (rintf): Likewise.
1708 [non-C99-based standards] (scalbf): Likewise.
1709 [non-C99-based standards] (copysignl): Likewise.
1710 [non-C99-based standards] (exp2l): Likewise.
1711 [non-C99-based standards] (log2l): Likewise.
1712 [non-C99-based standards] (modfl): Allow.
1713 [non-C99-based standards] (erfl): Do not allow.
1714 [non-C99-based standards] (erfcl): Likewise.
1715 [non-C99-based standards] (gammal): Likewise.
1716 [non-C99-based standards] (hypotl): Likewise.
1717 [non-C99-based standards] (j0l): Likewise.
1718 [non-C99-based standards] (j1l): Likewise.
1719 [non-C99-based standards] (jnl): Likewise.
1720 [non-C99-based standards] (lgammal): Likewise.
1721 [non-C99-based standards] (tgammal): Likewise.
1722 [non-C99-based standards] (y0l): Likewise.
1723 [non-C99-based standards] (y1l): Likewise.
1724 [non-C99-based standards] (ynl): Likewise.
1725 [non-C99-based standards] (isnanl): Likewise.
1726 [non-C99-based standards] (acoshl): Likewise.
1727 [non-C99-based standards] (asinhl): Likewise.
1728 [non-C99-based standards] (atanhl): Likewise.
1729 [non-C99-based standards] (cbrtl): Likewise.
1730 [non-C99-based standards] (expm1l): Likewise.
1731 [non-C99-based standards] (ilogbl): Likewise.
1732 [non-C99-based standards] (log1pl): Likewise.
1733 [non-C99-based standards] (logbl): Likewise.
1734 [non-C99-based standards] (nextafterl): Likewise.
1735 [non-C99-based standards] (remainderl): Likewise.
1736 [non-C99-based standards] (rintl): Likewise.
1737 [non-C99-based standards] (scalbl): Likewise.
1738 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1739 [non-C99-based standards] (FP_*): Do not allow.
1740 [C99-based standards] (FP_*): Change to
1741 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1742 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1743 allow.
1744 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1745 (SIG_ERR): Likewise.
1746 [X/Open-based standards] (SIG_HOLD): Likewise.
1747 (SIG_IGN): Likewise.
1748 (SIGABRT): Use macro-int-constant. Specify type. Require
1749 positive value.
1750 (SIGFPE): Likewise.
1751 (SIGILL): Likewise.
1752 (SIGINT): Likewise.
1753 (SIGSEGV): Likewise.
1754 (SIGTER): Likewise.
1755 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1756 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1757 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1758 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1759 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1760 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1761 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1762 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1763 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1764 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1765 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1766 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1767 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1768 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1769 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1770 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1771 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1772 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1773 [X/Open-based standards] (SIGTRAP): Likewise.
1774 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1775 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1776 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1777 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1778 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1779 allow.
1780
1781 2012-05-08 Ian Wienand <ianw@vmware.com>
1782
1783 [BZ #14080]
1784 * time/tzset.c (__tzset_parse_tz): Update default rules for
1785 daylight time changes in the Energy Policy Act of 2005.
1786
1787 2012-05-09 Andreas Jaeger <aj@suse.de>
1788
1789 [BZ #13983]
1790 * elf/ldconfig.c (parse_conf): Change string to make clear that
1791 ldconfig only issued a warning if ld.so.conf does not exist.
1792
1793 2012-05-08 David S. Miller <davem@davemloft.net>
1794
1795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1796 movxtod instead of popping the value on the stack.
1797
1798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1799
1800 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1801
1802 * config.h.in: Add HAVE_ARM_PCS_VFP.
1803
1804 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1805
1806 [BZ #13979]
1807 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1808 checking but the checks are disabled for any reason.
1809
1810 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1811
1812 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1813 and ELF64_R_TYPE with ELFW(R_TYPE).
1814
1815 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1816
1817 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1818 (ulimit): Likewise.
1819
1820 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1821 (settimeofday): Likewise.
1822
1823 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1824
1825 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1826 a struct th_u2 inside the union, and move tu_block/tu_code into
1827 a new th_u3 union of tu_block/tu_code inside of that. Move
1828 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1829 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1830 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1831 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1832 (th_stuff): Change to th_u1.tu_stuff.
1833 (th_data): Define.
1834 (th_msg): Change to th_u1.th_u2.tu_data.
1835
1836 2012-05-07 David S. Miller <davem@davemloft.net>
1837
1838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1839
1840 [BZ #14074]
1841 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1842 (SETUP_PIC_REG): Use it.
1843 (SETUP_PIC_REG_LEAF): Use it.
1844
1845 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1846
1847 [BZ #13885]
1848 [BZ #13923]
1849 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1850 USE_AS_EXPM1L.
1851 (EXPL_FINITE): Likewise.
1852 (FLDLOG): Likewise.
1853 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1854 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1855 e_expl.S.
1856 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1857 USE_AS_EXPM1L.
1858 (EXPL_FINITE): Likewise.
1859 (FLDLOG): Likewise.
1860 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1861 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1862 e_expl.S.
1863 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1864 test of -max_value argument for long double.
1865 * sysdeps/i386/fpu/libm-test-ulps: Update.
1866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1867
1868 2012-05-06 David S. Miller <davem@davemloft.net>
1869
1870 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1871 quad soft-float symbols whose references which are compiler
1872 generated.
1873 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1874
1875 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1876
1877 [BZ #13884]
1878 [BZ #13914]
1879 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1880 USE_AS_EXP10L.
1881 (EXPL_FINITE): Likewise.
1882 (FLDLOG): Likewise.
1883 (c0): Likewise.
1884 (c1): Likewise.
1885 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1886 Adjust comments for base varying.
1887 (__expl_finite): Change alias to EXPL_FINITE.
1888 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1889 e_expl.S.
1890 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1891 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1892 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1893 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1894 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1895 USE_AS_EXP10L.
1896 (EXPL_FINITE): Likewise.
1897 (FLDLOG): Likewise.
1898 (c0): Likewise.
1899 (c1): Likewise.
1900 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1901 Adjust comments for base varying.
1902 (__expl_finite): Change alias to EXPL_FINITE.
1903 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1904 tests for bugs.
1905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1906
1907 [BZ #14064]
1908 * math/libm-test.inc (check_float_internal): Correct ulp
1909 calculation for subnormal expected results.
1910
1911 2012-05-06 Andreas Jaeger <aj@suse.de>
1912
1913 * Makeconfig (+math-flags): New, set to -frounding-math.
1914 (+cflags): Add +math-flags so that all of glibc gets compiled with
1915 it.
1916
1917 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1918
1919 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1920
1921 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1922 Disable one test.
1923
1924 [BZ #13787]
1925 [BZ #13922]
1926 [BZ #14036]
1927 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1928 (__ieee754_expl): Allow for and saturate large arguments.
1929 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1930 (u_threshold): Likewise.
1931 (__exp): Call __ieee754_exp before checking for overflow and
1932 underflow.
1933 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1934 (u_threshold): Likewise.
1935 (__expf): Call __ieee754_expf before checking for overflow and
1936 underflow.
1937 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1938 (u_threshold): Likewise.
1939 (__expl): Call __ieee754_expl before checking for overflow and
1940 underflow.
1941 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1942 (__ieee754_expl): Allow for and saturate large arguments.
1943 * math/libm-test.inc (exp_test): Add another test. Do not allow
1944 missing overflow exception on overflow.
1945 (expm1_test): Do not allow missing overflow exception on overflow.
1946
1947 * sysdeps/i386/fpu/e_expl.c: Move to ...
1948 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1949 rather than using inline asm.
1950 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1951 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1952 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1953
1954 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1955 (nice): Likewise.
1956 (poll): Likewise.
1957 (signal): Likewise.
1958 (time): Likewise.
1959 (times): Likewise.
1960
1961 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1962
1963 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1964 sysdeps/unix/common/syscalls.list.
1965 (fchmod): Likewise.
1966 (fchown): Likewise.
1967 (ftruncate): Likewise.
1968 (getrusage): Likewise.
1969 (gettimeofday): Likewise.
1970 (setpgid): Likewise.
1971 (setregid): Likewise.
1972 (setreuid): Likewise.
1973 (sigaction): Likewise.
1974 (truncate): Likewise.
1975 (vhangup): Likewise.
1976 * sysdeps/unix/common/syscalls.list: Remove file.
1977 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1978 * sysdeps/unix/sysv/linux/Implies: Likewise.
1979
1980 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1981
1982 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1984 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1985 Moved to ...
1986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1987 Here.
1988 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1989 to ...
1990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1991 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1992 to ...
1993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1994 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1995 to ...
1996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1997 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1998 to ...
1999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2000 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2001 to ...
2002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2003 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2004 to ...
2005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2006 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2007 to ...
2008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2009 Here.
2010 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2011 to ...
2012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2013 Here.
2014 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2015 to ...
2016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2017 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2018 Moved to ...
2019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2020 Here.
2021 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2022 to ...
2023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2024
2025 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2026
2027 * sysdeps/unix/common/bits/dirent.h: Remove file.
2028 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2029
2030 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2031 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2032 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2033 * sysdeps/unix/bsd/isatty.c: Likewise.
2034 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2035 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2036 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2037
2038 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2039
2040 [BZ #13563]
2041 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2042 long double comparison inaccuracies.
2043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2045
2046 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2047
2048 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2049 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2050
2051 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2052
2053 [BZ #14049]
2054 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2055 nonzero digits before rounding a hex value.
2056 * stdlib/tst-strtod.c (tests): Add another test.
2057
2058 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2059
2060 * sysdeps/s390/fpu/libm-test-ulps: Update.
2061
2062 2012-05-03 Andreas Jaeger <aj@suse.de>
2063
2064 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2065 does not get optimized out.
2066 (malloc_opt_barrier): New.
2067
2068 2012-05-03 Andreas Jaeger <aj@suse.de>
2069 Roland McGrath <roland@hack.frob.com>
2070
2071 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2072 intermediate file deletion.
2073 (generated): Add .symlist files.
2074
2075 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2076
2077 [BZ #13775]
2078 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2079 Redirect under this condition.
2080 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2081 [__USE_GNU] (__dprintf_chk): Not under this condition.
2082 [__USE_GNU] (__vdprintf_chk): Likewise.
2083 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2084 under this condition.
2085 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2086 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2087 [__USE_XOPEN2K8] (vdprintf): Likewise.
2088 [__USE_GNU] (__dprintf_chk): Not under this condition.
2089 [__USE_GNU] (__vdprintf_chk): Likewise.
2090 [__USE_GNU] (dprintf): Likewise.
2091 [__USE_GNU] (vdprintf): Likewise.
2092
2093 2012-05-03 Roland McGrath <roland@hack.frob.com>
2094
2095 * elf/Makefile (common-generated): Set this instead of generated for
2096 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2097 $(all-built-dso)-derived lists.
2098
2099 2012-05-03 Andreas Jaeger <aj@suse.de>
2100
2101 * sysdeps/i386/fpu/libm-test-ulps: Update.
2102
2103 * FAQ: Removed.
2104 * FAQ.in: Likewise.
2105 * scripts/gen-FAQ.pl: Likewise.
2106 * manual/install.texi (Installation): Point to online location of
2107 FAQ.
2108 * Makefile (files-for-dist): Remove FAQ.
2109 (FAQ): Remove.
2110
2111 2012-05-02 Allan McRae <allan@archlinux.org>
2112
2113 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2114 (LDFLAGS-reldepmod5.so): Likewise.
2115 (LDFLAGS-reldep6mod1.so): Likewise.
2116 (LDFLAGS-reldep6mod4.so): Likewise.
2117 (LDFLAGS-reldep8mod3.so): Likewise.
2118 (LDFLAGS-unload4mod1.so): Likewise.
2119 (LDFLAGS-unload4mod2.so): Likewise.
2120 (LDFLAGS-tst-initorder): Likewise.
2121 (LDFLAGS-tst-initordera2.so): Likewise.
2122 (LDFLAGS-tst-initordera3.so): Likewise.
2123 (LDFLAGS-tst-initordera4.so): Likewise.
2124 (LDFLAGS-tst-initorderb2.so): Likewise.
2125 (LDFLAGS-noload): Likewise.
2126 (LDFLAGS-next): Likewise.
2127 (LDFLAGS-order2mod1.so): Likewise.
2128 (LDFLAGS-order2mod2.so): Likewise.
2129 (LDFLAGS-tst-initorder2): Likewise.
2130 (LDFLAGS-tst-initorder2a.so): Likewise.
2131 (LDFLAGS-tst-initorder2b.so): Likewise.
2132 (LDFLAGS-tst-initorder2c.so): Likewise.
2133 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2134
2135 2012-05-02 David S. Miller <davem@davemloft.net>
2136
2137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2138
2139 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2140
2141 [BZ #14055]
2142 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2143
2144 2012-05-02 Andreas Jaeger <aj@suse.de>
2145
2146 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2147 since we manipulate rounding mode.
2148 (CPPFLAGS-test-idouble.c): Likewise.
2149 (CPPFLAGS-test-ifloat.c): Likewise.
2150 (CFLAGS-test-ldouble.c): Likewise.
2151 (CFLAGS-test-double.c): Likewise.
2152 (CFLAGS-test-float.c): Likewise.
2153 (CFLAGS-test-misc.c): Likewise.
2154 (CFLAGS-test-test-fenv.c): Likewise.
2155
2156 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2157
2158 [BZ #2550]
2159 [BZ #2570]
2160 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2161 comparisons to determine direction to adjust input.
2162
2163 2012-05-01 Roland McGrath <roland@hack.frob.com>
2164
2165 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2166 output to the target.
2167
2168 * scripts/localplt.awk: New file.
2169 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2170 (check-localplt-CFLAGS): Variable removed.
2171 ($(all-built-dso:=.jmprel)): New static pattern rule.
2172 (generated): Add those targets.
2173 (localplt-built-dso): New variable.
2174 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2175
2176 * elf/check-localplt.c: File removed.
2177
2178 * scripts/check-execstack.awk: New file.
2179 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2180 (check-execstack-CFLAGS): Variable removed.
2181 ($(objpfx)check-execstack.h): Target removed.
2182 ($(objpfx)execstack-default): New target.
2183 (generated): Add that instead of check-execstack.h.
2184 ($(all-built-dso:=.phdr)): New static pattern rule.
2185 (generated): Add those targets.
2186 * elf/check-execstack.c: File removed.
2187
2188 * scripts/check-textrel.awk: New file.
2189 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2190 (check-textrel-CFLAGS): Variable removed.
2191 (all-built-dso): Use := to define.o
2192 ($(all-built-dso:=.dyn)): New static pattern rule.
2193 (generated): Add those targets.
2194 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2195 * config.make.in (READELF): New substituted variable.
2196 * elf/check-textrel.c: File removed.
2197
2198 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2199
2200 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2201 allow.
2202 * conform/data/ctype.h-data [C99-based standards] (isblank):
2203 Expect function.
2204 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2205 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2206 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2207 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2208 Specify type. Require positive value.
2209 (EILSEQ): Likewise.
2210 (ERANGE): Likewise.
2211 [ISO || POSIX] (EILSEQ): Do not expect.
2212 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2213 Specify type. Require positive value.
2214 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2215 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2216 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2217 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
2218 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
2219 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
2220 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
2221 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
2222 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
2223 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
2224 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
2225 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
2226 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
2227 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
2228 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
2229 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
2230 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
2231 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
2232 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
2233 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
2234 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
2235 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
2236 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
2237 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
2238 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
2239 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
2240 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
2241 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
2242 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
2243 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
2244 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
2245 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
2246 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
2247 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
2248 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
2249 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
2250 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
2251 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
2252 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
2253 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
2254 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
2255 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
2256 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
2257 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
2258 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
2259 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
2260 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
2261 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
2262 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
2263 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
2264 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
2265 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
2266 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
2267 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
2268 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
2269 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
2270 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
2271 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
2272 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
2273 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
2274 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
2275 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
2276 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
2277 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
2278 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
2279 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
2280 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
2281 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
2282 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
2283 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
2284 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
2285 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
2286 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
2287 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
2288 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
2289 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
2290 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
2291 Require >= 2.
2292 (FLT_ROUNDS): Expect as macro, not constant.
2293 (FLT_MANT_DIG): Use macro-int-constant.
2294 (DBL_MANT_DIG): Likewise.
2295 (LDBL_MANT_DIG): Likewise.
2296 (FLT_DIG): Likewise.
2297 (DBL_DIG): Likewise.
2298 (LDBL_DIG): Likewise.
2299 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
2300 (DBL_MIN_EXP): Likewise.
2301 (LDBL_MIN_EXP): Likewise.
2302 (FLT_MAX_EXP): Use macro-int-constant.
2303 (DBL_MAX_EXP): Likewise.
2304 (LDBL_MAX_EXP): Likewise.
2305 (FLT_MAX_10_EXP): Likewise.
2306 (DBL_MAX_10_EXP): Likewise.
2307 (LDBL_MAX_10_EXP): Likewise.
2308 (FLT_MAX): Use macro-constant.
2309 (DBL_MAX): Likewise.
2310 (LDBL_MAX): Likewise.
2311 (FLT_EPSILON): Use macro-constant. Give upper bound.
2312 (DBL_EPSILON): Likewise.
2313 (LDBL_EPSILON): Likewise.
2314 (FLT_MIN): Likewise.
2315 (DBL_MIN): Likewise.
2316 (LDBL_MIN): Likewise.
2317 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
2318 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
2319 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
2320 [ISO11] (FLT_HAS_SUBNORM): Likewise.
2321 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
2322 [ISO11] (DBL_DECIMAL_DIG): Likewise.
2323 [ISO11] (FLT_DECIMAL_DIG): Likewise.
2324 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
2325 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
2326 [ISO11] (FLT_TRUE_MIN): Likewise.
2327 [ISO11] (LDBL_TRUE_MIN): Likewise.
2328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2329 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
2330 (SCHAR_MIN): Use macro-int-constant. Specify type.
2331 (SCHAR_MAX): Likewise.
2332 (UCHAR_MAX): Likewise.
2333 (CHAR_MIN): Likewise.
2334 (CHAR_MAX): Likewise.
2335 (MB_LEN_MAX): Use macro-int-constant.
2336 (SHRT_MIN): Use macro-int-constant. Specify type.
2337 (SHRT_MAX): Likewise.
2338 (USHRT_MAX): Likewise.
2339 (INT_MAX): Likewise.
2340 (INT_MIN): Use macro-int-constant. Specify type. Make upper
2341 bound negative.
2342 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
2343 bound with "U".
2344 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2345 bound with "L".
2346 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
2347 bound negative. Suffix upper bound with "L".
2348 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
2349 bound with "UL".
2350 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
2351 Specify type.
2352 [C99-based standards] (LLONG_MAX): Likewise.
2353 [C99-based standards] (ULLONG_MAX): Likewise.
2354 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
2355 == 0.
2356 [ISO11] (max_align_t): Require type.
2357 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2358
2359 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
2360 from $CFLAGS, without defining away __attribute__ calls.
2361 (checknamespace): Use $CFLAGS_namespace.
2362
2363 * conform/conformtest.pl (@keywords): Only include C99 keywords
2364 for standards based on C99 or C11.
2365
2366 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
2367 Disable tests.
2368 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
2369 UNIX98]: Likewise.
2370
2371 * conform/conformtest.pl: Handle "macro-int-constant" and test for
2372 usability of symbols in #if.
2373
2374 * conform/conformtest.pl: If macro or constant types start
2375 "promoted:", expect the symbol to be of the following type
2376 promoted by the integer promotions.
2377
2378 * conform/conformtest.pl: Parse all "constant" and "macro" lines
2379 in one place. Also handle "macro-constant".
2380
2381 * conform/conformtest.pl: Only accept expected macro values with
2382 "==". Parse all "macro" lines in one place.
2383 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
2384
2385 * conform/conformtest.pl: Handle braced types on "constant" lines
2386 instead of handling "typed-constant".
2387 * conform/data/signal.h-data: Use "constant" instead of
2388 "typed-constant".
2389
2390 * conform/conformtest.pl: Handle "optional-" at start of lines in
2391 one place rather than duplicating several cases. Handle each
2392 format of "macro" line with initial "optional-".
2393
2394 * conform/conformtest.pl: Only accept expected constant or
2395 optional-constant values with "==". Parse all "constant" lines in
2396 one place. Parse all "optional-constant" lines in one place.
2397 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
2398 * conform/data/fmtmsg.h-data: Likewise.
2399 * conform/data/netinet/in.h-data: Likewise.
2400 * conform/data/tar.h-data: Likewise.
2401 * conform/data/limits.h-data: Use "==" form on "constant" and
2402 "optional-constant" lines.
2403
2404 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
2405 Use -std=c99 for XOPEN2K.
2406 (@knownproblems): Remove.
2407 (newtoken): Don't check %isknown.
2408
2409 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
2410 Do not expect macro.
2411 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
2412 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
2413 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
2414 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
2415 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
2416 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
2417 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
2418 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
2419 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
2420 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
2421 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
2422 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
2423 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
2424 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
2425 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
2426 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
2427 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
2428 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
2429 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
2430 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
2431 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
2432 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
2433 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
2434 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
2435 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
2436 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
2437 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
2438 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
2439 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
2440 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
2441 [XPG3] (acosh): Likewise.
2442 [XPG3] (asinh): Likewise.
2443 [XPG3] (atanh): Likewise.
2444 [XPG3] (cbrt): Likewise.
2445 [XPG3] (expm1): Likewise.
2446 [XPG3] (ilogb): Likewise.
2447 [XPG3] (log1p): Likewise.
2448 [XPG3] (logb): Likewise.
2449 [XPG3] (nextafter): Likewise.
2450 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
2451 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
2452 [XPG3] (remainder): Likewise.
2453 [XPG3] (rint): Likewise.
2454 [XPG3 || XPG4 || UNIX98] (round): Likewise.
2455 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
2456 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
2457 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
2458 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
2459 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
2460 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
2461 [UNIX98 || XOPEN2K] (scalb): Expect.
2462 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
2463 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
2464 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
2465 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
2466 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
2467 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
2468 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
2469 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
2470 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
2471 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
2472 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
2473 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
2474 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
2475 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
2476 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
2477 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
2478 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
2479 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
2480 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
2481 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
2482 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
2483 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
2484 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
2485 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
2486 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
2487 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
2488 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
2489 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
2490 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
2491 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
2492 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
2493 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
2494 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
2495 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
2496 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
2497 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
2498 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
2499 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
2500 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
2501 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
2502 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
2503 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
2504 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
2505 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
2506 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
2507 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
2508 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
2509 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
2510 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
2511 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
2512 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
2513 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
2514 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
2515 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
2516 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
2517 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
2518 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
2519 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
2520 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
2521 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
2522 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
2523 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
2524 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
2525 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
2526 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
2527 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
2528 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
2529 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
2530 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
2531 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
2532 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
2533 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
2534 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
2535 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
2536 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
2537 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
2538 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
2539 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
2540 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
2541 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
2542 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
2543 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
2544 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
2545 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
2546 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
2547 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
2548 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
2549 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
2550 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
2551 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
2552 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
2553 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
2554 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
2555 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
2556 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
2557 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
2558 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
2559 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
2560 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
2561 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
2562 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
2563 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
2564 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
2565 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
2566 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
2567 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
2568 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
2569 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
2570 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
2571 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
2572 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
2573 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
2574 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
2575 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
2576 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
2577 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
2578 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
2579 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
2580 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
2581 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
2582 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
2583 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
2584 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
2585 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
2586 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
2587 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
2588 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
2589 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
2590 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
2591 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
2592 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
2593 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
2594 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
2595 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
2596 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
2597 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
2598 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
2599
2600 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
2601 _XOPEN_SOURCE_EXTENDED for XPG4.
2602
2603 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
2604
2605 * Makeconfig (localtime): Remove variable.
2606 (inst_localtime-file): Likewise.
2607
2608 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2609
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2611 Update.
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2613 Update.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2615 Update.
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2617 Update.
2618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2619 Update.
2620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
2621 Update.
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2623 Update.
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
2625 Update.
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2627 Update.
2628
2629 2012-05-01 Joseph Myers <joseph@codesourcery.com>
2630
2631 [BZ #2550]
2632 [BZ #2570]
2633 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
2634 comparisons to determine direction to adjust input.
2635 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
2636 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
2637 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
2638 Likewise.
2639 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
2640 Likewise.
2641 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2642 Likewise.
2643 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
2644 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
2645 Likewise.
2646 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
2647 Likewise.
2648 * math/libm-test.inc (nexttoward_test): Add more tests.
2649
2650 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
2651
2652 [BZ #14040]
2653 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
2654 in version GLIBC_2.1, not GLIBC_2.0.
2655 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
2656 Likewise.
2657
2658 2012-04-30 Joseph Myers <joseph@codesourcery.com>
2659
2660 [BZ #13942]
2661 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
2662 (1 - x) * (1 + x).
2663 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2664 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
2665 * math/libm-test.inc (acos_test): Add more tests.
2666 (asin_test): Likewise.
2667 * sysdeps/i386/fpu/libm-test-ulps: Update.
2668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2669
2670 [BZ #14034]
2671 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
2672 of square root.
2673 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
2674 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
2675 * math/libm-test.inc (acos_test_tonearest): New function.
2676 (acos_test_towardzero): Likewise.
2677 (acos_test_downward): Likewise.
2678 (acos_test_upward): Likewise.
2679 (asin_test_tonearest): Likewise.
2680 (asin_test_towardzero): Likewise.
2681 (asin_test_downward): Likewise.
2682 (asin_test_upward): Likewise.
2683 (main): Call the new functions.
2684 * sysdeps/i386/fpu/libm-test-ulps: Update.
2685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2686
2687 [BZ #13884]
2688 [BZ #13924]
2689 * math/e_exp10.c: Include <float.h>.
2690 (__ieee754_exp10): Handle underflow here rather than multiplying
2691 large negative argument by M_LN10.
2692 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
2693 of __ieee754_expf.
2694 * math/e_exp10l.c: Include <float.h>.
2695 (__ieee754_exp10l): Handle underflow here rather than multiplying
2696 large negative argument by M_LN10l.
2697 * math/libm-test.inc (exp10_test): Add another test. Do not allow
2698 spurious overflow exception on underflow.
2699
2700 2012-04-29 Marek Polacek <polacek@redhat.com>
2701
2702 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2703 (__fortify_function): New macro.
2704 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2705 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2706 __extern_always_inline.
2707 * libio/bits/stdio2.h: Likewise.
2708 * libio/bits/stdio.h: Likewise.
2709 * string/string.h: Likewise.
2710 * string/bits/string3.h: Likewise.
2711 * include/stdio.h: Likewise.
2712 * stdlib/bits/stdlib.h: Likewise.
2713 * stdlib/stdlib.h: Likewise.
2714 * rt/bits/mqueue2.h: Likewise.
2715 * rt/mqueue.h: Likewise.
2716 * posix/bits/unistd.h: Likewise.
2717 * posix/unistd.h: Likewise.
2718 * io/bits/poll2.h: Likewise.
2719 * io/bits/fcntl2.h: Likewise.
2720 * io/fcntl.h: Likewise.
2721 * io/sys/poll.h: Likewise.
2722 * misc/bits/syslog.h: Likewise.
2723 * misc/bits/syslog-ldbl.h: Likewise.
2724 * misc/sys/syslog.h: Likewise.
2725 * socket/bits/socket2.h: Likewise.
2726 * socket/sys/socket.h: Likewise.
2727 * debug/tst-chk1.c: Likewise.
2728 * wcsmbs/bits/wchar2.h: Likewise.
2729 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2730 * wcsmbs/wchar.h: Likewise.
2731
2732 2012-04-29 Andreas Jaeger <aj@suse.de>
2733
2734 * Makerules (tests): Remove enable-check-abi protection.
2735 (check-abi-warn): Remove.
2736 (check-abi-%): Remove check-abi-warn usage.
2737
2738 * configure.in: Remove check-abi configure option.
2739 * configure: Regenerated.
2740 * config.make.in (enable-check-abi): Remove.
2741
2742 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2743
2744 [BZ #14033]
2745 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2746 double functions to double *_finite functions.
2747
2748 [BZ #13941]
2749 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2750 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2751 LDBL_MIN_EXP.
2752 * stdio-common/Makefile (tests): Add tst-sprintf3.
2753 * stdio-common/tst-sprintf3.c: New file.
2754
2755 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2756 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2757
2758 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2759
2760 * conform/conformtest.pl: Remove duplicate typed-constant
2761 handling.
2762
2763 2012-04-28 David S. Miller <davem@davemloft.net>
2764
2765 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2766 (check-abi-%): Remove AWK script prerequisite and explicit
2767 abilist directory.
2768 (check-abi): Rewrite to just diff the symlist with the abilist.
2769 (config-tls, config-abi-config): Delete, no longer used.
2770 (update-abi-%): Remove AWK script and explicit abilist directory.
2771 (update-abi): Rewrite to simply compare and conditionally copy the
2772 symlist and the sysdep abilist file. Remove update-abi-config
2773 checks.
2774 * abilist/ld.abilist: Remove.
2775 * abilist/libBrokenLocale.abilist: Remove.
2776 * abilist/libanl.abilist: Remove.
2777 * abilist/libcrypt.abilist: Remove.
2778 * abilist/libdl.abilist: Remove.
2779 * abilist/librt.abilist: Remove.
2780 * abilist/libthread_db.abilist: Remove.
2781 * abilist/libutil.abilist: Remove.
2782 * scripts/extract-abilist.awk: Remove.
2783 * scripts/merge-abilist.awk: Remove.
2784 * sysdeps/generic/libcidn.abilist: New file.
2785 * sysdeps/generic/libnss_compat.abilist: New file.
2786 * sysdeps/generic/libnss_db.abilist: New file.
2787 * sysdeps/generic/libnss_dns.abilist: New file.
2788 * sysdeps/generic/libnss_files.abilist: New file.
2789 * sysdeps/generic/libnss_hesiod.abilist: New file.
2790 * sysdeps/generic/libnss_nis.abilist: New file.
2791 * sysdeps/generic/libnss_nisplus.abilist: New file.
2792 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2793 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2794 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2795 file.
2796 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2797 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2798 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2799 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2800 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2801 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2802 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2803 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2804 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2805 file.
2806 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2807 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2808 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2809 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2810 file.
2811 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2812 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2813 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2814 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2815 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2816 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2817 file.
2818 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2819 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2820 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2821 file.
2822 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2824 New file.
2825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2826 New file.
2827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2828 New file.
2829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2830 New file.
2831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2832 New file.
2833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2834 New file.
2835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2836 New file.
2837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2838 New file.
2839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2840 New file.
2841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2842 New file.
2843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2844 New file.
2845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2846 New file.
2847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2848 New file.
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2850 file.
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2852 New file.
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2854 New file.
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2856 file.
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2858 New file.
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2860 New file.
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2862 file.
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2864 New file.
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2866 New file.
2867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2868 New file.
2869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2870 New file.
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2872 New file.
2873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2874 New file.
2875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2877 file.
2878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2879 New file.
2880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2881 file.
2882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2883 file.
2884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2885 file.
2886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2887 file.
2888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2889 file.
2890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2891 New file.
2892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2893 file.
2894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2895 file.
2896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2897 New file.
2898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2899 file.
2900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2902 file.
2903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2904 New file.
2905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2906 file.
2907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2908 file.
2909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2910 file.
2911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2912 file.
2913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2914 file.
2915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2916 New file.
2917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2918 file.
2919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2920 file.
2921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2922 New file.
2923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2924 file.
2925 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2926 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2927 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2928 file.
2929 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2930 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2931 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2932 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2933 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2934 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2935 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2936 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2937 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2938 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2941 file.
2942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2943 New file.
2944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2945 file.
2946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2947 file.
2948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2949 file.
2950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2951 file.
2952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2953 file.
2954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2955 New file.
2956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2957 New file.
2958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2959 file.
2960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2961 New file.
2962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2963 file.
2964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2966 file.
2967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2968 New file.
2969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2970 file.
2971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2972 file.
2973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2974 file.
2975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2976 file.
2977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2978 file.
2979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2980 New file.
2981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2982 New file.
2983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2984 file.
2985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2986 New file.
2987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2988 file.
2989
2990 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2991
2992 * conform/conformtest.pl: Fix typo in handling typed-constant from
2993 allow-header.
2994
2995 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2996
2997 * README: Cut down references to pre-2.6 Linux kernels and
2998 Linuxthreads. Update lists of configurations in libc and ports
2999 and sort alphabetically. Say "or newer" with Linux kernel version
3000 requirements.
3001
3002 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3003
3004 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3005
3006 [BZ #887]
3007 * math/libm-test.inc (logb_test_downward): New test to expose
3008 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3009 rounding mode.
3010
3011 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3012
3013 [BZ #14027]
3014 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3015 to be done.
3016 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3017 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3018
3019 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3020
3021 * sysdeps/unix/i386/brk.S: Remove file.
3022 * sysdeps/unix/i386/dl-brk.S: Likewise.
3023 * sysdeps/unix/i386/pipe.S: Likewise.
3024 * sysdeps/unix/i386/sigreturn.S: Likewise.
3025 * sysdeps/unix/i386/syscall.S: Likewise.
3026 * sysdeps/unix/i386/vfork.S: Likewise.
3027 * sysdeps/unix/i386/wait.S: Likewise.
3028
3029 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3030 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3031
3032 * configure.in (arm*-none*): Do not allow without
3033 --enable-hacker-mode.
3034 (netbsd*): Remove case setting base_os.
3035 (386bsd*): Likewise.
3036 (freebsd*): Likewise.
3037 (bsdi*): Likewise.
3038 (osf*): Likewise.
3039 (sunos*): Likewise.
3040 (ultrix*): Likewise.
3041 (newsos*): Likewise.
3042 (dynix*): Likewise.
3043 (*bsd*): Likewise.
3044 (sysv*): Likewise.
3045 (isc*): Likewise.
3046 (esix*): Likewise.
3047 (sco*): Likewise.
3048 (minix*): Likewise.
3049 (irix4*): Likewise.
3050 (irix6*): Likewise.
3051 (solaris[2-9]*): Likewise.
3052 (none): Likewise.
3053 * configure: Regenerated.
3054
3055 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3056
3057 [BZ #11521]
3058 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3059 overflow or cancellation in calculating denominator.
3060 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3062 down expression to avoid unexpected rounding in newer GCCs.
3063 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3064
3065 2012-04-26 David S. Miller <davem@davemloft.net>
3066
3067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3068 long-double compat symbols.
3069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3082
3083 2012-04-25 David S. Miller <davem@davemloft.net>
3084
3085 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3086 HWCAP_* values only after the memory barriers have been defined.
3087 (atomic_full_barrier): Define.
3088 (atomic_read_barrier): Define.
3089 (atomic_write_barrier): Define.
3090
3091 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3092
3093 * shlib-versions: Add libgcc_s version information.
3094 * sysdeps/generic/libgcc_s.h: Remove.
3095 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3096 libgcc_s.h.
3097 * sysdeps/gnu/unwind-resume.c: Likewise.
3098 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3099
3100 2012-04-25 David S. Miller <davem@davemloft.net>
3101
3102 * sysdeps/unix/sparc/brk.S: Delete.
3103 * sysdeps/unix/sparc/dl-brk.S: Delete.
3104 * sysdeps/unix/sparc/pipe.S: Delete.
3105 * sysdeps/unix/sparc/sysdep.S: Delete.
3106 * sysdeps/unix/sparc/sysdep.h: Delete.
3107 * sysdeps/unix/sparc/vfork.S: Delete.
3108 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3109 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3110 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3111 ret_ERRVAL, r0, r1, MOVE): Define.
3112 (JUMPTARGET): Remove.
3113 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3114 sysdeps/unix/sparc/sysdep.h
3115 (ENTRY, END): Remove.
3116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3117
3118 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3119
3120 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3121 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3122 -DIS_IN_build.
3123
3124 * timezone/README: Update upstream location and email address for
3125 tzcode and tzdata.
3126 * timezone/zdump.c: Update from tzcode 2012b.
3127 * timezone/zic.c: Likewise.
3128
3129 * configure.in (libc_cv_as_needed): Remove test.
3130 * configure: Regenerated.
3131 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3132 conditional definition.
3133 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3134 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3135 * config.make.in (have-as-needed): Remove variable.
3136
3137 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3138 Paul Pluzhnikov <ppluzhnikov@google.com>
3139
3140 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3141 strings correctly.
3142
3143 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3144
3145 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3146 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3147 * sysdeps/sh/strlen.S: Likewise.
3148
3149 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3150
3151 * sysdeps/unix/fork.S: Remove file.
3152 * sysdeps/unix/i386/fork.S: Likewise.
3153 * sysdeps/unix/sparc/fork.S: Likewise.
3154
3155 * sysdeps/unix/system.c: Remove file.
3156 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3157
3158 * sysdeps/unix/getegid.S: Remove file.
3159 * sysdeps/unix/geteuid.S: Likewise.
3160
3161 2012-04-24 Roland McGrath <roland@hack.frob.com>
3162
3163 * scripts/check-localplt.awk: New file.
3164 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3165 of diff.
3166 * scripts/data/localplt-generic.data: Add a comment.
3167
3168 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3169 NODE when __dir_mkfile failed.
3170 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3171 Reported by Ludovic Courtès <ludo@gnu.org>.
3172
3173 2012-04-24 Andreas Jaeger <aj@suse.de>
3174
3175 * Makerules (common-clean): Also remove gen-as-const-headers
3176 files.
3177
3178 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3179
3180 * Makerules (native-compile): Do not change working directory for
3181 build. Use $(OUTPUT_OPTION) in command.
3182 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3183
3184 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3185
3186 [BZ #13886]
3187 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3188 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3189 * math/libm-test.inc (floor_test): Add more tests.
3190 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3191
3192 2012-04-24 Joseph Myers <joseph@codesourcery.com>
3193
3194 * sysdeps/unix/getdents.c: Remove file.
3195 * sysdeps/unix/sysv/getdents.c: Likewise.
3196 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3197
3198 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3199 sysdeps/unix/mman/syscalls.list.
3200 (mmap): Likewise.
3201 (mprotect): Likewise.
3202 (msync): Likewise.
3203 (munmap): Likewise.
3204 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3205 * sysdeps/unix/mman/syscalls.list: Remove.
3206 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3207
3208 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3209 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3210 * configure: Regenerated.
3211 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3212 $(libgcc_s_suffix).
3213 * config.make.in (libgcc_s_suffix): Remove variable.
3214
3215 2012-04-23 Joseph Myers <joseph@codesourcery.com>
3216
3217 * sysdeps/unix/sysv/gethostname.c: Move to ...
3218 * sysdeps/posix/gethostname.c: ... here.
3219
3220 * sysdeps/unix/execve.S: Remove file.
3221
3222 * sysdeps/unix/_exit.S: Remove file.
3223
3224 2012-04-23 Andreas Jaeger <aj@suse.de>
3225
3226 [BZ #13739]
3227 * manual/Makefile: Remove make dist support, there's no
3228 need for a stand-alone documentation tar ball.
3229 (TEXI2DVI): Define always, it's not in Makeconfig.
3230 (dist): Removed.
3231 (tar-it): Removed.
3232 (edition): Removed.
3233 (glibc-doc-$(edition).tar): Removed
3234 (%.Z): Removed.
3235 (%.gz): Removed.
3236 (%.uu): Removed.
3237 (ETAGS): Remove, it's in Makeconfig.
3238 (move-if-change): Remove, it's in Makeconfig.
3239
3240 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
3241
3242 [BZ #13970]
3243 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
3244 (strtod, strtof, strtold, strtol, strtoul, strtoq)
3245 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
3246 (strtod_l, strtof_l, strtold_l): Remove __wur.
3247 It is not necessarily an error to ignore strtol's return value.
3248 One can reliably look at the stored endptr to decide whether
3249 the number had valid syntax.
3250
3251 2012-04-21 Andreas Jaeger <aj@suse.de>
3252
3253 [BZ #13739]
3254 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
3255
3256 2012-04-21 Joseph Myers <joseph@codesourcery.com>
3257
3258 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
3259 * sysdeps/unix/sysv/Versions: Remove file.
3260
3261 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
3262
3263 [BZ #13927]
3264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3265
3266 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
3267
3268 [BZ #7064]
3269 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
3270 version from __vm86.
3271
3272 2012-04-20 Joseph Myers <joseph@codesourcery.com>
3273
3274 * sysdeps/unix/common/lxstat.c: Remove file.
3275 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
3276
3277 * sysdeps/unix/sysv/Makefile: Remove file.
3278
3279 * sysdeps/unix/sysv/direct.h: Remove file.
3280
3281 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
3282 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
3283 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
3284 * sysdeps/unix/sysv/bits/signum.h: Likewise.
3285 * sysdeps/unix/sysv/bits/stat.h: Likewise.
3286 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
3287 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
3288
3289 * sysdeps/unix/sysv/setrlimit.c: Remove file.
3290
3291 * sysdeps/unix/xmknod.c: Remove file.
3292 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
3293
3294 * sysdeps/unix/sysv/settimeofday.c: Remove file.
3295
3296 * sysdeps/unix/sysv/i386/time.S: Remove file.
3297
3298 * sysdeps/unix/fxstat.c: Remove file.
3299 * sysdeps/unix/xstat.c: Likewise.
3300 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
3301
3302 * sysdeps/unix/sysv/sigaction.c: Remove file.
3303
3304 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
3305 (sysdep_headers): Remove variable.
3306 [termio.h not in sysdep_headers] (generated): Likewise.
3307 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
3308 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
3309 * sysdeps/unix/sysv/tcdrain.c: Likewise.
3310 * sysdeps/unix/sysv/tcflow.c: Likewise.
3311 * sysdeps/unix/sysv/tcflush.c: Likewise.
3312 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
3313 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
3314 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
3315 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
3316 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
3317
3318 * sysdeps/unix/siglist.c: Remove file.
3319
3320 * sysdeps/unix/getppid.S: Remove file.
3321
3322 * sysdeps/unix/mkdir.c: Remove file.
3323 * sysdeps/unix/rmdir.c: Likewise.
3324
3325 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
3326
3327 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
3328 ERR_MAX value.
3329 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
3330 errlist-compat value.
3331
3332 2012-04-18 David S. Miller <davem@davemloft.net>
3333
3334 * sysdeps/generic/memcopy.h (reg_char): Delete.
3335 * debug/strcat_chk.c: Use char, not reg_char.
3336 * debug/strcpy_chk.c: Likewise.
3337 * debug/strncat_chk.c: Likewise.
3338 * debug/strncpy_chk.c: Likewise.
3339 * string/memchr.c: Likewise.
3340 * string/memrchr.c: Likewise.
3341 * string/rawmemchr.c: Likewise.
3342 * string/strcat.c: Likewise.
3343 * string/strchr.c: Likewise.
3344 * string/strchrnul.c: Likewise.
3345 * string/strcmp.c: Likewise.
3346 * string/strcpy.c: Likewise.
3347 * string/strncat.c: Likewise.
3348 * string/strncmp.c: Likewise.
3349 * string/strncpy.c: Likewise.
3350
3351 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3352
3353 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
3354 __builtin_memcopy is called when src and dest ranges are known to not
3355 overlap.
3356
3357 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3358
3359 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
3360 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
3361 fwd_align_merge macro call.
3362 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
3363 bwd_align_merge macro call.
3364 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3365
3366 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
3367
3368 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
3369 bwd_align_merge macros.
3370 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
3371 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
3372 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3373
3374 2012-04-18 David S. Miller <davem@davemloft.net>
3375
3376 * sysdeps/sparc/sparc64/memcopy.h: Delete.
3377
3378 2012-04-18 Andreas Jaeger <aj@suse.de>
3379
3380 [BZ# 6794]
3381 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
3382 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
3383 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3384
3385 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
3386 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
3387 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3388
3389 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
3390 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
3391 Adjust for changed ldbl-128 files.
3392
3393 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
3394 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
3395 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
3396
3397 2012-04-17 David S. Miller <davem@davemloft.net>
3398
3399 * sysdeps/sparc/sparc32/memcopy.h: Delete.
3400
3401 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
3402
3403 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
3404 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
3405 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
3406 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
3407 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3408 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
3409
3410 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3411
3412 [BZ #6794]
3413 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
3414 * math/libm-test.inc: Add ilogb errno and exception tests.
3415 * math/w_ilogb.c: New file: ilogb wrapper.
3416 * math/w_ilogbf.c: New file: ilogbf wrapper.
3417 * math/w_ilogbl.c: New file: ilogbl wrapper.
3418 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
3419 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
3420 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
3421 exception being thrown with 0.0 as argument.
3422 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
3423 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
3424 exception being thrown with 0.0 as argument.
3425 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
3426 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3427 exception being thrown with 0.0 as argument.
3428 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
3429 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
3430 exception being thrown with 0.0 as argument.
3431 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
3432 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
3433 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
3434 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
3435 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
3436 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
3437 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
3438 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
3439 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
3440
3441 2012-04-17 Petr Baudis <pasky@ucw.cz>
3442
3443 * include/sys/uio.h: Change __vector to __iovec to avoid clash
3444 with altivec.
3445
3446 2012-04-16 Marek Polacek <polacek@redhat.com>
3447
3448 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
3449
3450 2012-04-16 Marek Polacek <polacek@redhat.com>
3451
3452 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
3453 operands of fdivp instruction.
3454
3455 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3456
3457 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
3458 * elf/tst-auditmod3b.c: Likewise.
3459 * elf/tst-auditmod4b.c: Likewise.
3460 * elf/tst-auditmod5b.c: Likewise.
3461 * elf/tst-auditmod6b.c: Likewise.
3462 * elf/tst-auditmod6c.c: Likewise.
3463 * elf/tst-auditmod7b.c: Likewise.
3464 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
3465 * sysdeps/x86_64/preconfigure.in: Likewise.
3466 * sysdeps/x86_64/preconfigure: Regenerated.
3467
3468 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
3469
3470 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
3471 __ILP32__.
3472
3473 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
3474
3475 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3476 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
3477
3478 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
3479
3480 [BZ #13973]
3481 * locale/iso-639.def: Fix gl language name. Spotted by
3482 Yaron Shahrabani.
3483
3484 2012-04-12 Roland McGrath <roland@hack.frob.com>
3485
3486 [BZ #2074]
3487 * libio/libio.h (__io_write_fn): Update comment.
3488
3489 2012-04-12 Petr Baudis <pasky@ucw.cz>
3490
3491 [BZ #2074]
3492 * stdio.texi (Hook Functions): The user provided writer function
3493 is not allowed to return -1.
3494
3495 2012-04-11 David S. Miller <davem@davemloft.net>
3496
3497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3498
3499 2012-04-11 Mike Frysinger <vapier@gentoo.org>
3500
3501 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
3502 Add a leading slash to rtkaio.
3503
3504 2012-04-11 Jim Meyering <meyering@redhat.com>
3505
3506 [BZ #11959]
3507 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
3508 It is not necessarily an error to ignore fwrite's return
3509 value. One can reliably use ferror to test for errors after
3510 the fact.
3511
3512 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3513
3514 * bits/types.h (__snseconds_t): New type.
3515 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
3516
3517 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
3518 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3519 (__SNSECONDS_T_TYPE): Likewise.
3520 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3521 (__SNSECONDS_T_TYPE): Likewise.
3522 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3523 (__SNSECONDS_T_TYPE): Likewise.
3524
3525 2012-04-10 Andreas Jaeger <aj@suse.de>
3526
3527 [BZ #2636]
3528 * manual/time.texi (Processor Time): Return type of times is
3529 elapsed real time since an arbitrary point in the past.
3530 (CPU Time): Move CLK_TCK from here...
3531 (Processor Time): ...to here. Correct description.
3532 * manual/conf.texi (Constants for Sysconf): Correct description of
3533 _SC_CLK_TCK.
3534
3535 2012-04-10 David S. Miller <davem@davemloft.net>
3536
3537 [BZ #13967]
3538 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
3539 where the is a gap between DT_REL(A) and DT_JMPREL.
3540
3541 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
3542
3543 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
3544 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3545 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3546
3547 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3548
3549 * elf/dl-support.c (_dl_inhibit_cache): New variable.
3550 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
3551 (dl_main): Handle --inhibit-cache.
3552 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
3553 _dl_inhibit_cache.
3554 * elf/dl-load.c (_dl_map_object): Use it.
3555 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
3556
3557 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3558
3559 [BZ #13872]
3560 * sysdeps/i386/fpu/e_powl.S (p78): New object.
3561 (__ieee754_powl): Saturate large exponents rather than testing for
3562 overflow of y*log2(x).
3563 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3564 * math/libm-test.inc (pow_test): Do not permit spurious overflow
3565 exceptions.
3566
3567 [BZ #11521]
3568 * math/s_ctan.c: Include <float.h>.
3569 (__ctan): Avoid internal overflow or cancellation in calculating
3570 denominator.
3571 * math/s_ctanf.c: Likewise.
3572 * math/s_ctanl.c: Likewise.
3573 * math/s_ctanh.c: Likewise.
3574 * math/s_ctanhf.c: Likewise.
3575 * math/s_ctanhl.c: Likewise.
3576 * math/libm-test.inc (ctan_test): Add more tests.
3577 (ctanh_test): Likewise.
3578 * sysdeps/i386/fpu/libm-test-ulps: Update.
3579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3580
3581 2012-04-09 Andreas Jaeger <aj@suse.de>
3582
3583 [BZ #6894]
3584 * manual/filesys.texi (Directory Entries): Mention that d_namlen
3585 is an optional BSD extension.
3586
3587 [BZ #10254]
3588 * manual/stdio.texi (Opening Streams): Document additional fopen
3589 parameters.
3590
3591 2012-04-09 Roland McGrath <roland@hack.frob.com>
3592
3593 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
3594 %eax without telling the compiler.
3595
3596 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
3597
3598 [BZ # 13963]
3599 * manual/install.texi: Use sourceware.org.
3600
3601 2012-04-09 Joseph Myers <joseph@codesourcery.com>
3602
3603 [BZ #13873]
3604 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
3605 (__ieee754_pow): Generate overflow and underflow using huge*huge
3606 and tiny*tiny rather than just returning constant infinity or zero
3607 for large exponents.
3608 * math/libm-test.inc (pow_test): Require overflow exceptions for
3609 applicable cases of large exponents.
3610
3611 [BZ #706]
3612 * sysdeps/i386/fpu/e_pow.S (p10): New object.
3613 (__ieee754_pow): Use iterative multiplication algorithm only for
3614 integer exponents with absolute value below 1024. Check for odd
3615 integer exponents when using algorithm for real exponents.
3616 * math/libm-test.inc (pow_test): Add more tests.
3617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3618
3619 2012-04-08 Joseph Myers <joseph@codesourcery.com>
3620
3621 [BZ #13705]
3622 * math/libm-test.inc (exp_test): Do not allow overflow exception
3623 on underflow test.
3624
3625 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
3626
3627 [BZ #13705]
3628 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
3629 instead of __kernel_standard_f.
3630
3631 2012-04-08 Mike Frysinger <vapier@gentoo.org>
3632
3633 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
3634 * sysdeps/x86_64/memset_chk.S: Likewise.
3635
3636 2012-04-08 Andreas Jaeger <aj@suse.de>
3637
3638 [BZ #10153]
3639 * manual/startup.texi (Environment Access): Describe return value
3640 for putenv and setenv.
3641
3642 [BZ #6895]
3643 * manual/filesys.texi (Directory Entries): Add description for
3644 DT_LNK.
3645
3646 [BZ #6890]
3647 * manual/filesys.texi (Directory Entries): Clarify that it's file
3648 system not operating system in the description of DT_UNKNOWN.
3649
3650 [BZ #6578]
3651 * manual/syslog.texi (closelog): Fix reference, it's openlog.
3652
3653 2012-04-08 Stephen Compall <s11@member.fsf.org>
3654
3655 [BZ #6649]
3656 * manual/llio.texi (Opening and Closing Files): Add cross
3657 reference to explain mode argument.
3658
3659 2012-04-07 Mike Frysinger <vapier@gentoo.org>
3660
3661 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
3662 * sysdeps/x86_64/memset_chk.S: Likewise.
3663
3664 2012-04-07 David S. Miller <davem@davemloft.net>
3665
3666 * elf/elf.h (R_SPARC_WDISP10): Define.
3667 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
3668 R_SPARC_SIZE32.
3669 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
3670 R_SPARC_SIZE64 and R_SPARC_H34.
3671
3672 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
3673
3674 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
3675 conditions and remove no longer applicable assertion.
3676
3677 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3678
3679 * bits/byteswap.h: Include <features.h>.
3680 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
3681 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
3682
3683 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
3684
3685 * bits/byteswap.h (__bswap_16): Removed.
3686 Include <bits/byteswap-16.h> to get __bswap_16.
3687 * sysdeps/i386/bits/byteswap.h: Likewise.
3688 * sysdeps/s390/bits/byteswap.h: Likewise.
3689 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3690 * bits/byteswap-16.h: New file.
3691 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3692 * sysdeps/s390/bits/byteswap-16.h: Likewise.
3693 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
3694 * string/Makefile (headers): Add bits/byteswap-16.h.
3695
3696 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3697
3698 [BZ #13895]
3699 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3700 extra indirection.
3701 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3702 * nss/tst-nss-static.c: New.
3703
3704 2012-04-06 Robert Millan <rmh@gnu.org>
3705
3706 [BZ #6486]
3707 * manual/llio.texi (File Position Primitive): lseek
3708 refers to WHENCE when it really means OFFSET.
3709
3710 2012-04-06 Andreas Jaeger <aj@suse.de>
3711
3712 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3713 strncmp declarations.
3714
3715 * abilist/libc.abilist: Add __poll and __ppoll.
3716
3717 2012-04-05 David S. Miller <davem@davemloft.net>
3718
3719 * scripts/check-local-headers.sh: Accept a host triplet in the
3720 path matched by the exclude regexp.
3721
3722 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3723 definition.
3724 * sysdeps/powerpc/powerpc32/dl-machine.h
3725 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3726 * sysdeps/s390/s390-32/dl-machine.h
3727 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3728 * sysdeps/sparc/sparc32/dl-machine.h
3729 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3730 * sysdeps/sparc/sparc64/dl-machine.h
3731 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3732
3733 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3734 lazy binding.
3735 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3736 undefined symbol errors.
3737
3738 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3739 DT_NEEDED entries.
3740
3741 2012-04-05 Michael Matz <matz@suse.de>
3742
3743 [BZ #13592]
3744 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3745
3746 2012-04-05 Andreas Jaeger <aj@suse.de>
3747
3748 [BZ #13908]
3749 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3750 comment.
3751
3752 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3753
3754 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3755 which ROUND is no valid rounding mode.
3756
3757 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3758
3759 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3760 read again.
3761 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3762
3763 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3764
3765 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3766 an exception using FPU order intentionally.
3767
3768 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3769
3770 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3771 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3772 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3773 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3774
3775 2012-04-05 Simon Josefsson <simon@josefsson.org>
3776
3777 [BZ #12340]
3778 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3779 EINVAL when BUFLEN is too smal.
3780
3781 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3782
3783 [BZ #13553]
3784 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3785 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3786
3787 2012-04-03 Andreas Jaeger <aj@suse.de>
3788
3789 [BZ #13938]
3790 * manual/setjmp.texi (System V contexts): Fix sentence.
3791
3792 [BZ #13926]
3793 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3794 New macro for this case.
3795 [!__GNUC__] (__bswap_64): New inline function for this case.
3796 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3797 * bits/byteswap.h: Likewise.
3798 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3799 ull, guard with __GLIBC_HAVE_LONG_LONG.
3800
3801 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3802 __GLIBC_HAVE_LONG_LONG.
3803
3804 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3805 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3806
3807 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3808
3809 [BZ #13691]
3810 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3811 inptr and inend, rather than using last_ch.
3812
3813 2012-04-02 David S. Miller <davem@davemloft.net>
3814
3815 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3816 * stdio-common/printf-parse.h (read_int): Change return type to
3817 'int', return -1 on INT_MAX overflow.
3818 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3819 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3820 overflows INT_MAX. Check for overflow of in-format-string precision
3821 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3822 SIZE_MAX not INT_MAX for integer overflow test.
3823 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3824 skip the construct in the format string but do not record anything.
3825 * stdio-common/bug22.c: Adjust to test both width/prevision
3826 INT_MAX overflow as well as total length INT_MAX overflow. Check
3827 explicitly for proper errno values.
3828
3829 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3830
3831 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3832 CHAR_MAX.
3833 * string/test-strcmp.c [! WIDE]: Likewise.
3834 * time/tst-mktime2.c: Likewise for INT_MAX.
3835 * string/test-string.h: #include <sys/param.h> for MIN.
3836
3837 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3838 * sysdeps/i386/init-first.c (init): Likewise.
3839 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3840 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3841 * sysdeps/sh/init-first.c (init): Likewise.
3842
3843 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3844
3845 * po/ru.po: Update from translation team.
3846 * po/vi.po: Likewise.
3847
3848 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3849
3850 * resolv/nss_dns/dns-host.c: Merge copyright years.
3851
3852 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3853
3854 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3855 Optimize memcpy with prefetch if
3856 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3857 src, dst pointers have unequal 16 byte alignments.
3858
3859 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3860
3861 [BZ #13928]
3862 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3863 from a CNAME entry and return the minimum ttl for the query.
3864 (gaih_getanswer_slice): Likewise.
3865
3866 2012-03-30 Jeff Law <law@redhat.com>
3867
3868 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3869 due to long keys.
3870 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3871 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3872
3873 * resolv/nss_dns/dns-host.c: Update copyright year.
3874
3875 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3876
3877 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3878 requests to save a system call. Fix check that all bytes are sent.
3879
3880 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3881 comments for sendmmsg.
3882
3883 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3884
3885 [BZ #13691]
3886 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3887 with only 1 character between 0x0041 and 0x01b0.
3888 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3889 * wcsmbs/tst-mbsnrtowcs.c: New file.
3890
3891 2012-03-29 David S. Miller <davem@davemloft.net>
3892
3893 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3894 small copies by hand.
3895
3896 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3897
3898 [BZ #13761]
3899 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3900 _nss_compat_initgroups_dyn): Fall back to malloc/free
3901 for large group memberships.
3902
3903 2012-03-28 David S. Miller <davem@davemloft.net>
3904
3905 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3906 that branches into memcpy.
3907 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3908 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3909 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3910 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3912 bits.
3913 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3914 implementation too.
3915 * sysdeps/sparc/mempcpy.S: New file.
3916
3917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3918 the IFUNC routine in the libc case.
3919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3920
3921 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3922 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3923 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3924 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3925 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3926 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3927 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3928 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3929
3930 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3931 loop to 256 bytes instead of 64 bytes and fix test signedness.
3932
3933 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3934 * sysdeps/sparc/sparc32/Makefile: rather than here...
3935 * sysdeps/sparc/sparc64/Makefile: and here.
3936
3937 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3938
3939 * malloc/mallocbug.c: Avoid warnings about unused variables.
3940
3941 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3942
3943 [BZ #13760]
3944 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3945 in the right place. Discard and retry query if response is
3946 larger than input buffer size.
3947
3948 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3949
3950 [BZ #369]
3951 [BZ #2678]
3952 [BZ #3866]
3953 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3954 x for large integer exponent.
3955 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3956 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3957 sign of result as needed afterwards.
3958 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3959 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3960 result for underflowing pow the same as for overflow.
3961 (__kernel_standard_l): Handle powl overflow and underflow here
3962 rather than calling __kernel_standard.
3963 * math/libm-test.inc (pow_test): Add more tests.
3964
3965 [BZ #3868]
3966 [BZ #13879]
3967 [BZ #13910]
3968 [BZ #13911]
3969 [BZ #13912]
3970 [BZ #13913]
3971 [BZ #13915]
3972 [BZ #13916]
3973 [BZ #13917]
3974 [BZ #13918]
3975 [BZ #13919]
3976 [BZ #13920]
3977 [BZ #13921]
3978 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3979 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3980 (__kernel_standard_l): New function.
3981 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3982 __kernel_standard.
3983 * math/w_acosl.c (__acosl): Likewise.
3984 * math/w_asinl.c (__asinl): Likewise.
3985 * math/w_atan2l.c (__atan2l): Likewise.
3986 * math/w_atanhl.c (__atanhl): Likewise.
3987 * math/w_coshl.c (__coshl): Likewise.
3988 * math/w_exp10l.c (__exp10l): Likewise.
3989 * math/w_exp2l.c (__exp2l): Likewise.
3990 * math/w_fmodl.c (__fmodl): Likewise.
3991 * math/w_hypotl.c (__hypotl): Likewise.
3992 * math/w_j0l.c (__j0l, __y0l): Likewise.
3993 * math/w_j1l.c (__j1l, __y1l): Likewise.
3994 * math/w_jnl.c (__jnl, __ynl): Likewise.
3995 * math/w_lgammal.c (__lgammal): Likewise.
3996 * math/w_log10l.c (__log10l): Likewise.
3997 * math/w_log2l.c (__log2l): Likewise.
3998 * math/w_logl.c (__logl): Likewise.
3999 * math/w_powl.c (__powl): Likewise.
4000 * math/w_remainderl.c (__remainderl): Likewise.
4001 * math/w_scalbl.c (sysv_scalbl): Likewise.
4002 * math/w_sinhl.c (__sinhl): Likewise.
4003 * math/w_sqrtl.c (__sqrtl): Likewise.
4004 * math/w_tgammal.c (__tgammal): Likewise.
4005 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4006 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4007 * math/libm-test.inc (acos_test): Add more tests.
4008 (acosh_test): Likewise.
4009 (asin_test): Likewise.
4010 (atanh_test): Likewise.
4011 (exp_test): Likewise.
4012 (exp10_test): Likewise.
4013 (exp2_test): Likewise.
4014 (expm1_test): Likewise.
4015 (lgamma_test): Likewise.
4016 (log_test): Likewise.
4017 (log10_test): Likewise.
4018 (log1p_test): Likewise.
4019 (log2_test): Likewise.
4020 (pow_test): Do not allow some spurious overflow exceptions.
4021 (sqrt_test): Add more tests.
4022 (tgamma_test): Likewise.
4023 (y0_test): Likewise.
4024 (y1_test): Likewise.
4025 (yn_test): Likewise.
4026
4027 2012-03-27 Anton Blanchard <anton@samba.org>
4028
4029 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4030 MAP_HUGETLB.
4031 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4032 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4034
4035 2012-03-27 David S. Miller <davem@davemloft.net>
4036
4037 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4038
4039 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4040 have-as-vis3 check.
4041
4042 2012-03-27 Andreas Jaeger <aj@suse.de>
4043
4044 * sysdeps/x86_64/elf/configure.in: Moved to ...
4045 * sysdeps/x86_64/configure.in: ... here.
4046 * sysdeps/x86_64/elf/start.S: Moved to ...
4047 * sysdeps/x86_64/start.S: ... here.
4048 * sysdeps/x86_64/elf/configure: Delete.
4049
4050 * sysdeps/x86_64/configure.in: Merge contents from
4051 sysdeps/i386/configure.in (without i686 check).
4052
4053 * sysdeps/i386/elf/Versions: Merge into ...
4054 * sysdeps/i386/Versions: ... this.
4055 * sysdeps/i386/elf/Versions: Delete file.
4056 * sysdeps/i386/elf/start.S: Moved to ...
4057 * sysdeps/i386/start.S: ...here.
4058 * sysdeps/i386/elf/configure.in: Merge into...
4059 * sysdeps/i386/configure.in: ...here.
4060 * sysdeps/i386/elf/configure.in: Delete file.
4061 * sysdeps/i386/elf/configure: Delete file.
4062
4063 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4064 * debug/backtracesyms.c: ... here.
4065 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4066 * debug/backtracesymsfd.c: ... here.
4067 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4068 * sysdeps/generic/ifunc-sel.h: ... here.
4069
4070 * sysdeps/unix/i386/start.c: Delete file.
4071 * sysdeps/unix/sparc/start.c: Delete file.
4072 * sysdeps/unix/start.c: Delete file.
4073
4074 * sysdeps/sh/elf/configure.in: Moved to ...
4075 * sysdeps/sh/configure.in: ... here.
4076 * sysdeps/sh/elf/start.S: Moved to ...
4077 * sysdeps/sh/start.S: ... here.
4078 * sysdeps/sh/elf/configure: Delete file.
4079
4080 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4081 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4082 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4083 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4084 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4085 * sysdeps/powerpc/powerpc64/start.S: here.
4086 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4087 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4088 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4089 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4090 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4091
4092 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4093 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4094 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4095 * sysdeps/powerpc/powerpc32/start.S: ... here.
4096 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4097 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4098 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4099
4100 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4101 * sysdeps/powerpc/ifunc-sel.h: ... here.
4102 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4103 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4104
4105 * sysdeps/sparc/elf/configure.in: Moved to ...
4106 * sysdeps/sparc/configure.in: ... here.
4107 * sysdeps/sparc/elf/configure: Delete file.
4108 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4109 * sysdeps/sparc/sparc32/start.S: ... here.
4110 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4111 * sysdeps/sparc/sparc64/start.S: ... here.
4112 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4113 * sysdeps/sparc/sparc32/Makefile: ... this.
4114 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4115 * sysdeps/sparc/sparc64/Makefile: ... this.
4116
4117 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4118 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4119 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4120 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4121 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4122 * sysdeps/s390/s390-32/setjmp.S: ... here.
4123 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4124 * sysdeps/s390/s390-32/configure.in: ... here.
4125 * sysdeps/s390/s390-32/elf/configure: Delete file.
4126 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4127 * sysdeps/s390/s390-32/start.S: ... here.
4128
4129 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4130 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4131 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4132 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4133 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4134 * sysdeps/s390/s390-64/setjmp.S: ... here.
4135 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4136 * sysdeps/s390/s390-64/configure.in: ... here
4137 * sysdeps/s390/s390-64/elf/configure: Delete file.
4138 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4139 * sysdeps/s390/s390-64/start.S: ... here.
4140 * sysdeps/s390/s390-64/elf/configure: Delete.
4141
4142 * configure.in: Remove support for elf directories in sysdeps.
4143
4144 * configure: Regenerated.
4145 * sysdeps/i386/configure: Regenerated.
4146 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4147 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4148 * sysdeps/s390/s390-32/configure: Regenerated.
4149 * sysdeps/s390/s390-64/configure: Regenerated.
4150 * sysdeps/sh/configure: Regenerated.
4151 * sysdeps/sparc/configure: Regenerated.
4152 * sysdeps/x86_64/configure: Regenerated.
4153
4154 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4155
4156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4157
4158 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4159 denormal result into account.
4160
4161 2012-03-25 Roland McGrath <roland@hack.frob.com>
4162
4163 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4164 Reported by Allan McRae <allan@archlinux.org>.
4165
4166 2012-03-23 Jeff Law <law@redhat.com>
4167
4168 * nss/getnssent.c (__nss_getent): Fix typo.
4169
4170 2012-03-23 David S. Miller <davem@davemloft.net>
4171
4172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4173
4174 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4175
4176 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4177 to pad to uint64_t for each field.
4178 (dl_tls_index): Replace unsigned long with uint64_t.
4179
4180 2012-03-23 Daniel Jacobowitz <dmj@google.com>
4181 Paul Pluzhnikov <ppluzhnikov@google.com>
4182
4183 [BZ #6528]
4184 * grp/Makefile (otherlibs): Don't set it.
4185 * inet/Makefile (otherlibs): Likewise.
4186 * login/Makefile (otherlibs): Likewise.
4187 * nscd/Makefile (otherlibs): Likewise.
4188 * posix/Makefile (otherlibs): Likewise.
4189 * pwd/Makefile (otherlibs): Likewise.
4190 * rt/Makefile (otherlibs): Likewise.
4191 * sunrpc/Makefile (otherlibs): Likewise.
4192 * nss/Makefile (otherlibs): Likewise.
4193 Add libnss_files to routines and static-only-routines.
4194 ($(objpfx)getent): Remove rule.
4195 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4196 static-only-routines.
4197
4198 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4199
4200 [BZ #13892]
4201 * math/s_cexp.c: Include <float.h>.
4202 (__cexp): Handle exp result overflowing not necessarily
4203 overflowing both real and imaginary parts of result.
4204 * math/s_cexpf.c: Likewise.
4205 * math/s_cexpl.c: Likewise.
4206 * math/libm-test.inc (cexp_test): Add more tests.
4207 * sysdeps/i386/fpu/libm-test-ulps: Update.
4208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4209
4210 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4211
4212 * include/link.h (ELFW): New macro.
4213 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4214 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4215
4216 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4217
4218 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
4219 with uint64_t.
4220
4221 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4222
4223 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
4224 declaration.
4225 (struct La_x32_retval): Likewise.
4226
4227 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4228
4229 * sysdeps/x86_64/preconfigure.in: New file.
4230 * sysdeps/x86_64/preconfigure: New generated file.
4231
4232 2012-03-22 Joseph Myers <joseph@codesourcery.com>
4233
4234 [BZ #13824]
4235 * math/e_exp2l.c: Include <float.h>.
4236 (__ieee754_exp2l): Handle overflow and underflow cases
4237 separately. Only pass fractional part of argument to
4238 __ieee754_expl.
4239 * math/libm-test.inc (exp2_test): Add more tests.
4240
4241 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
4242 negating x to take absolute value.
4243 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4244 Likewise.
4245 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4246 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4247 Likewise.
4248 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
4249 computing low part if x was negated.
4250 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4251
4252 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4253
4254 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
4255 la_x32_gnu_pltexit.
4256 (pltexit): Cast int_retval to ptrdiff_t.
4257 * elf/tst-auditmod3b.c: Likewise.
4258 * elf/tst-auditmod4b.c: Likewise.
4259 * elf/tst-auditmod5b.c: Likewise.
4260 * elf/tst-auditmod6b.c: Likewise.
4261 * elf/tst-auditmod6c.c: Likewise.
4262 * elf/tst-auditmod7b.c: Likewise.
4263
4264 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
4265 and x32_gnu_pltexit.
4266
4267 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
4268 __ELF_NATIVE_CLASS.
4269 (La_x32_regs): New macro.
4270 (La_x32_retval): Likewise.
4271 (la_x32_gnu_pltenter): New function prototype.
4272 (la_x32_gnu_pltexit): Likewise.
4273
4274 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
4275
4276 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
4277 exponent.
4278
4279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4280
4281 * configure.in (libc_cv_cc_nofma): Check for option to disable
4282 generation of FMA instructions.
4283 * configure: Regenerate.
4284 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
4285 * sysdeps/ieee754/dbl-64/Makefile: New file.
4286 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
4287 Remove brandred-fma4.
4288 (CFLAGS-brandred-fma4.c): Remove.
4289 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
4290 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
4291 define.
4292 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
4293 define.
4294
4295 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4296
4297 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4298 LLONG_MAX != LONG_MAX.
4299 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4300 (_fitoa_word): Likewise.
4301 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
4302 LLONG_MAX != LONG_MAX.
4303 * stdio-common/_itowa.h: Include <_itoa.h>.
4304 (_itowa_word): Use _ITOA_WORD_TYPE on value.
4305 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
4306 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
4307 only if not defined.
4308 (_ITOA_WORD_TYPE): Likewise.
4309 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4310 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
4311
4312 2012-03-21 David S. Miller <davem@davemloft.net>
4313
4314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4315
4316 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
4317
4318 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
4319 of x86_64 when setting libc_cv_slibdir, libdir and
4320 libc_cv_localedir.
4321 * sysdeps/unix/sysv/linux/configure: Regenerated.
4322
4323 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4324
4325 * manual/lang.texi (Old Varargs): Remove section.
4326 (How Variadic): Update menu.
4327 (va_start): Do not mention varargs.h.
4328
4329 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4330 Joseph Myers <joseph@codesourcery.com>
4331
4332 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
4333 link test.
4334 * configure: Regenerated.
4335
4336 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
4337
4338 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
4339 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
4340 conformtest.pl
4341
4342 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4343
4344 * NOTES: Remove.
4345 * Makefile (files-for-dist): Remove NOTES.
4346 (NOTES): Remove rule.
4347 * README: Don't refer to NOTES.
4348 * manual/creature.texi: Don't include macros.texi.
4349 * manual/intro.texi (creature.texi): Remove comment referring to
4350 NOTES.
4351
4352 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
4353 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
4354 * configure: Regenerated.
4355 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
4356 LIBC_TRY_CC_OPTION.
4357 (libc_cv_as_i686): Likewise.
4358 (libc_cv_cc_avx): Likewise.
4359 (libc_cv_cc_sse2avx): Likewise.
4360 (libc_cv_cc_fma4): Likewise.
4361 (libc_cv_cc_novzeroupper): Likewise.
4362 * sysdeps/i386/configure: Regenerated.
4363
4364 [BZ #13883]
4365 * sysdeps/i386/fpu/s_cexp.S: Remove.
4366 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4367 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4368 * math/libm-test.inc (cexp_test): Add more tests.
4369 * sysdeps/i386/fpu/libm-test-ulps: Update.
4370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4371
4372 2012-03-21 Allan McRae <allan@archlinux.org>
4373
4374 * timezone/Makefile: Do not install iso3166.tab and zone.tab
4375
4376 2012-03-21 Joseph Myers <joseph@codesourcery.com>
4377
4378 [BZ #13871]
4379 * math/w_exp2.c: Do not include <float.h>.
4380 (o_threshold, u_threshold): Remove.
4381 (__exp2): Calculate result before checking finiteness and calling
4382 __kernel_standard.
4383 * math/w_exp2f.c: Likewise.
4384 * math/w_exp2l.c: Likewise.
4385 * math/libm-test.inc (exp2_test): Require overflow exception for
4386 1e6 input.
4387
4388 [BZ #3866]
4389 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
4390 range of signed 64-bit integers before using fistpll. Remove
4391 checks for whether integers fit in mantissa bits.
4392 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
4393 the range of signed 32-bit integers before using fistpl. Remove
4394 checks for whether integers fit in mantissa bits.
4395 * sysdeps/i386/fpu/e_powl.S (p64): New object.
4396 (__ieee754_powl): Test for y outside the range of signed 64-bit
4397 integers before using fistpll. Reduce 64-bit values to 63-bit
4398 ones as needed.
4399 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
4400 divide-by-zero is raised for zero to large negative powers.
4401 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
4402 (__ieee754_powl): Test for y outside the range of signed 64-bit
4403 integers before using fistpll. Reduce 64-bit values to 63-bit
4404 ones as needed.
4405 * math/libm-test.inc (pow_test): Add more tests.
4406
4407 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4408
4409 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
4410 <stdio-common/_itoa.h>.
4411 * debug/segfault.c: Likewise.
4412 * elf/dl-cache.c: Likewise.
4413 * elf/dl-minimal.c: Likewise.
4414 * elf/dl-misc.c: Likewise.
4415 * elf/dl-sysdep.c: Likewise.
4416 * elf/dl-version.c: Likewise.
4417 * elf/rtld.c: Likewise.
4418 * hurd/hurdsock.c: Likewise.
4419 * hurd/lookup-retry.c: Likewise.
4420 * malloc/malloc.c: Likewise.
4421 * malloc/mtrace.c: Likewise.
4422 * nscd/nscd_getgr_r.c: Likewise.
4423 * nscd/nscd_getpw_r.c: Likewise.
4424 * nscd/nscd_getserv_r.c: Likewise.
4425 * posix/getopt_init.c: Likewise.
4426 * posix/wordexp.c: Likewise.
4427 * stdio-common/_itoa.c: Likewise.
4428 * stdio-common/printf_fphex.c: Likewise.
4429 * stdio-common/vfprintf.c: Likewise.
4430 * string/_strerror.c: Likewise.
4431 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
4432 * sysdeps/i386/i686/hp-timing.h: Likewise.
4433 * sysdeps/mach/_strerror.c: Likewise.
4434 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
4435 * sysdeps/mach/hurd/sethostid.c: Likewise.
4436 * sysdeps/mach/hurd/xmknodat.c: Likewise.
4437 * sysdeps/mach/xpg-strerror.c: Likewise.
4438 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4439 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4440 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
4441 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
4442 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4443 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
4444 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4445 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4446 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
4447 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
4448 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
4449 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4450 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
4451 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4452 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4453 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
4454 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
4455 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
4456 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4457 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4458 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
4459
4460 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
4461
4462 * stdio-common/_itoa.h: Moved to ...
4463 * sysdeps/generic/_itoa.h: Here.
4464
4465 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
4466
4467 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
4468 instead of "_itoa.h" and "_itowa.h".
4469 * stdio-common/vfprintf.: Likewise.
4470
4471 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4472
4473 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
4474 <bits/wordsize.h>.
4475 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
4476 (__signbit): Likwise.
4477 (llrintf): Likwise.
4478 (llrint): Likwise.
4479
4480 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
4481
4482 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
4483 __WORDSIZE != 64.
4484
4485 2012-03-20 Joseph Myers <joseph@codesourcery.com>
4486
4487 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
4488 OVERFLOW_EXCEPTION_OK.
4489 * math/libm-test.inc ("Philosophy"): Update comment about
4490 exception testing.
4491 (OVERFLOW_EXCEPTION): Define.
4492 (OVERFLOW_EXCEPTION_OK): Likewise.
4493 (INVALID_EXCEPTION_OK): Renumber.
4494 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4495 (IGNORE_ZERO_INF_SIGN): Likewise.
4496 (test_exceptions): Handle FE_OVERFLOW.
4497 (exp10_test): Expect overflow exceptions.
4498 (exp2_test): Likewise.
4499 (expm1_test): Likewise.
4500 (nextafter_test): Likewise.
4501 (pow_test): Likewise.
4502 (scalbn_test): Likewise.
4503 (scalbln_test): Likewise.
4504
4505 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4506
4507 * sysdeps/x86_64/bits/atomic.h
4508 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
4509 64bit integer.
4510 (atomic_exchange_acq): Likewise.
4511 (__arch_exchange_and_add_body): Likewise.
4512 (__arch_add_body): Likewise.
4513 (atomic_add_negative): Likewise.
4514 (atomic_add_zero): Likewise.
4515
4516 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4517
4518 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
4519 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
4520
4521 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4522
4523 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
4524 Check __x86_64__ instead of __WORDSIZE.
4525
4526 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4527
4528 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
4529
4530 2012-03-19 David S. Miller <davem@davemloft.net>
4531
4532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4533
4534 * sysdeps/sparc/fpu/fenv_private.h: New file.
4535 * sysdeps/sparc/fpu/math_private.h: Use it.
4536 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
4537 Remove.
4538 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
4539 (libc_feholdexcept_setroundl): Remove.
4540 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
4541 Remove.
4542 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
4543 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
4544
4545 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4546
4547 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
4548 int64_t instead of long int.
4549 (INSERT_WORDS64): Likwise.
4550
4551 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
4552
4553 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
4554 _Unwind_GetCFA return to _Unwind_Ptr first.
4555
4556 2012-03-19 Joseph Myers <joseph@codesourcery.com>
4557
4558 [BZ #13629]
4559 * math/s_clog.c: Include <float.h>.
4560 (__clog): Scale large or subnormal inputs.
4561 * math/s_clogf.c: Likewise.
4562 * math/s_clogl.c: Likewise.
4563 * math/s_clog10.c: Include <float.h>.
4564 (M_LOG10_2): Define.
4565 (__clog10): Scale large or subnormal inputs.
4566 * math/s_clog10f.c: Likewise.
4567 * math/s_clog10l.c: Likewise.
4568 * math/libm-test.inc (clog_test): Add more tests.
4569 (clog10_test): Likewise.
4570 * sysdeps/i386/fpu/libm-test-ulps: Update.
4571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4572
4573 [BZ #11451]
4574 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
4575 x and y.
4576 * math/libm-test.inc (atan2_test): Add another test.
4577
4578 * Makerules (common-objdir-compile): Remove.
4579 * sysdeps/unix/Makefile (config-generated): Do not add
4580 $(unix-generated) to variable.
4581 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
4582 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
4583 Remove rule.
4584 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
4585 Likewise.
4586 [generic bits/local_lim.h] (before-compile): Do not append to
4587 variable.
4588 [generic bits/local_lim.h] (common-generated): Likewise.
4589 [generic sys/param.h] (before-compile): Do not append to variable.
4590 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
4591 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
4592 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
4593 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
4594 include.
4595 [generic sys/param.h] (sys/param.h-includes): Remove variable.
4596 [generic sys/param.h] (sys/param.h-includes): Remove rule.
4597 [generic sys/param.h] ($(addprefix
4598 $(common-objpfx),$(sys/param.h-includes))): Likewise.
4599 [generic sys/param.h] (common-generated): Do not append to
4600 variable.
4601 [generic sys/param.h] (sysdep_headers): Likewise.
4602 [generic bits/errno.h] (before-compile): Do not append to
4603 variable.
4604 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
4605 rule.
4606 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
4607 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
4608 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
4609 [generic bits/errno.h] (common-generated): Do not append to
4610 variable.
4611 [generic bits/ioctls.h] (before-compile): Do not append to
4612 variable.
4613 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
4614 rule.
4615 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
4616 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
4617 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
4618 rule.
4619 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
4620 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
4621 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
4622 [generic bits/ioctls.h] (common-generated): Do not append to
4623 variable.
4624 [generic sys/syscall.h] (syscall.h): Remove variable.
4625 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
4626 rule.
4627 [generic sys/syscall.h] (before-compile): Do not append to
4628 variable.
4629 [generic sys/syscall.h] (common-generated): Likewise.
4630 * sysdeps/unix/errnos-tmpl.c: Remove file.
4631 * sysdeps/unix/errnos.awk: Likewise.
4632 * sysdeps/unix/ioctls-tmpl.c: Likewise.
4633 * sysdeps/unix/ioctls.awk: Likewise.
4634 * sysdeps/unix/mk-local_lim.c: Likewise.
4635 * sysdeps/unix/snarf-ioctls: Likewise.
4636
4637 2012-03-19 Richard Henderson <rth@twiddle.net>
4638
4639 * sysdeps/i386/fpu/fenv_private.h: New file.
4640 * sysdeps/i386/fpu/math_private.h: Use it.
4641 (math_opt_barrier, math_force_eval): Remove.
4642 (libc_feholdexcept_setround_53bit): Remove.
4643 (libc_feupdateenv_53bit): Remove.
4644 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4645 (math_opt_barrier, math_force_eval): Remove.
4646 (libc_feholdexcept): Remove.
4647 (libc_feholdexcept_setround): Remove.
4648 (libc_fetestexcept, libc_fesetenv): Remove.
4649 (libc_feupdateenv_test): Remove.
4650 (libc_feupdateenv, libc_feholdsetround): Remove.
4651 (libc_feresetround): Remove.
4652
4653 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
4654 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4655
4656 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4657 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
4658 (libc_feupdateenv_testl): New.
4659 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
4660 (libc_feupdateenv_testf): New.
4661 (libc_feupdateenv): Use libc_feupdateenv_test.
4662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
4663 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
4664
4665 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4666 (libc_feholdsetroundf, libc_feholdsetroundl): New.
4667 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
4668 (libc_feresetround_noex): New.
4669 (libc_feresetround_noexf): New.
4670 (libc_feresetround_noexl): New.
4671 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
4672 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
4673 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
4674 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
4675 SET_RESTORE_ROUND.
4676 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4677 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
4678 (__cos): Likewise.
4679 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
4680 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4681 SET_RESTORE_ROUND_NOEX.
4682 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
4683 SET_RESTORE_ROUND_NOEXF.
4684 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
4685 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
4686 (libc_feholdsetroundf): New.
4687 (libc_feresetround, libc_feresetroundf): New.
4688
4689 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4690 (libc_feholdexcept_setround_53bit): Convert from macro to function.
4691 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
4692
4693 * sysdeps/generic/math_private.h: Include <fenv.h>.
4694 (default_libc_feholdexcept): New.
4695 (default_libc_feholdexcept_setround): New.
4696 (default_libc_fesetenv, default_libc_feupdateenv): New.
4697 (libc_feholdexcept): Only define if undefined.
4698 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
4699 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4700 (libc_feholdexcept_setroundl): Likewise.
4701 (libc_feholdexcept_setround_53bit): Likewise.
4702 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4703 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4704 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4705 (libc_feupdateenv_53bit): Likewise.
4706 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4707 (libc_feholdexcept): Convert from macro to inline function.
4708 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4709 (libc_fesetenv, libc_feupdateenv): Likewise.
4710
4711 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4712 not previously defined.
4713 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4714 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4715 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4716 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4717 * sysdeps/ieee754/flt-32/math_private.h: New file.
4718 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4719 math_private.h below SET_FLOAT_WORD.
4720 (__isnan, __isinf_ns, __finite): Remove.
4721 (__isnanf, __isinf_nsf, __finitef): Remove.
4722
4723 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4724
4725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4726
4727 2012-03-17 David S. Miller <davem@davemloft.net>
4728
4729 [BZ #6471]
4730 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4731 for 2.16.
4732
4733 2012-03-16 David S. Miller <davem@davemloft.net>
4734
4735 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4736 warnings.
4737
4738 [BZ #6471]
4739 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4740 properly.
4741 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4742 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4743 sysdep_routines when subdir is sysvipc.
4744 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4745 __getshmlba helper.
4746
4747 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4748
4749 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4750
4751 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4752 [__LP64__].
4753
4754 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4755
4756 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4757 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4758 (__lround): Renamed to ...
4759 (__llround): This. Replace long int with long long int.
4760 Define lround functions as aliases of llround functions.
4761 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4762
4763 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4764
4765 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4766 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4767 adresses to uintptr_t. Replace "long int" and "unsigned long
4768 int" with "greg_t" on va_arg.
4769
4770 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4771
4772 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4773 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4774
4775 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4776 Move e_machine check before EI_CLASS check. Handle x32
4777 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4778 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4779 SKIP_EM_IA_64 and include
4780 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4781
4782 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4783 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4784 (add_system_dir): New macro.
4785
4786 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4787 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4788
4789 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4790
4791 [BZ #2551]
4792 [BZ #2552]
4793 [BZ #2553]
4794 [BZ #2554]
4795 [BZ #2562]
4796 [BZ #2563]
4797 [BZ #2565]
4798 [BZ #2566]
4799 [BZ #2576]
4800 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4801 (y0): Likewise.
4802 * math/w_j0f.c (j0f): Likewise.
4803 (y0f): Likewise.
4804 * math/w_j0l.c (__j0l): Likewise.
4805 (__y0l): Likewise.
4806 * math/w_j1.c (j1): Likewise.
4807 (y1): Likewise.
4808 * math/w_j1f.c (j1f): Likewise.
4809 (y1f): Likewise.
4810 * math/w_j1l.c (__j1l): Likewise.
4811 (__y1l): Likewise.
4812 * math/w_jn.c (jn): Likewise.
4813 (yn): Likewise.
4814 * math/w_jnf.c (jnf): Likewise.
4815 (ynf): Likewise.
4816 * math/w_jnl.c (__jnl): Likewise.
4817 (__ynl): Likewise.
4818 * math/libm-test.inc (j0_test): Add more tests.
4819 (j1_test): Likewise.
4820 (jn_test): Likewise. Add trailing semicolon to existing test.
4821 (y0_test): Likewise.
4822 (y1_test): Likewise.
4823 * sysdeps/i386/fpu/libm-test-ulps: Update.
4824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4825
4826 [BZ #13851]
4827 [BZ #13854]
4828 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4829 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4830 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4831 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4832 (__tanl): Set errno for infinite argument.
4833 * sysdeps/i386/fpu/mptan.c: Remove.
4834 * sysdeps/i386/fpu/s_tan.S: Likewise.
4835 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4836 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4837 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4838 * math/libm-test.inc (tan_test): Add more tests and enable more
4839 tests for double and long double.
4840 * sysdeps/i386/fpu/libm-test-ulps: Update.
4841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4842
4843 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4844
4845 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4846 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4847
4848 2012-03-16 Roland McGrath <roland@hack.frob.com>
4849
4850 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4851 * configure.in: Use it for both main tree and add-ons.
4852 * configure: Regenerated.
4853
4854 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4855
4856 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4857
4858 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4859
4860 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4861 in comment.
4862
4863 [BZ #13851]
4864 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4865 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4869 infinite argument.
4870 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4872 != 0 for prec == 2.
4873 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4874 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4875 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4876 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4877 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4878 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4879 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4880 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4881 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4882 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4883 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4884 * math/libm-test.inc (cos_test): Add more tests and enable more
4885 tests for long double.
4886 (sin_test): Likewise.
4887 (sincos_test): Likewise.
4888 * sysdeps/i386/fpu/libm-test-ulps: Update.
4889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4890
4891 2012-03-16 David S. Miller <davem@davemloft.net>
4892
4893 * sysdeps/sparc/fpu/math_private.h: New file.
4894
4895 2012-03-15 David S. Miller <davem@davemloft.net>
4896
4897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4898 file.
4899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4901 file.
4902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4907 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4908 sysdep routines.
4909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4910
4911 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4912 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4913
4914 * sysdeps/sparc/sparc-ifunc.h: New file.
4915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4916 sparc-ifunc.h
4917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4919 Likewise.
4920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4921 Likewise.
4922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4926 Likewise.
4927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4932 Likewise.
4933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4934 Likewise.
4935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4953 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4955 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4956 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4957 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4959
4960 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4961
4962 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4963 scaling.
4964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4965
4966 2012-03-15 Andreas Jaeger <aj@suse.de>
4967
4968 [BZ #13852]
4969 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4970 ieee754/flt-32 implementation for sin, cos and sincos.
4971 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4972 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4973 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4974 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4975 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4976 ieee754/flt-32 implementation for tan.
4977
4978 * math/libm-test.inc (cos_test): Enable some large input tests for
4979 float as well
4980 (sin_test): Likewise.
4981 (sincos_test): Likewise.
4982 (tan_test): Add tests for large input.
4983
4984 * sysdeps/i386/fpu/libm-test-ulps: Update.
4985
4986 2012-03-15 Andreas Jaeger <aj@suse.de>
4987
4988 [BZ #13658]
4989 * math/libm-test.inc (cos_test): Add more test cases.
4990 (sin_test): Likewise.
4991 (sincos_test): Likewise.
4992
4993 2012-03-15 Andreas Jaeger <aj@suse.de>
4994
4995 [BZ #13837]
4996 * math/libm-test.inc (cos_test): Add a test case for large input
4997 value.
4998 (sin_test): Likewise.
4999 (sincos_test): Likewise.
5000
5001 2012-03-15 Andreas Jaeger <aj@suse.de>,
5002 Joseph Myers <joseph@codesourcery.com>
5003
5004 [BZ #13658]
5005 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5006 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5007 * sysdeps/i386/fpu/branred.c: Likewise.
5008 * sysdeps/i386/fpu/dosincos.c: Likewise.
5009 * sysdeps/i386/fpu/mpa.c: Likewise.
5010 * sysdeps/i386/fpu/s_cos.S: Likewise.
5011 * sysdeps/i386/fpu/s_sin.S: Likewise.
5012 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5013 * sysdeps/i386/fpu/sincos32.c: Likewise.
5014
5015 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5016 Define.
5017 (libc_feupdateenv_53bit): Define.
5018 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5019 Define.
5020 (libc_feupdateenv_53bit): Define.
5021
5022 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5023 53 bit (without extend i386 double precision).
5024
5025 * math/libm-test.inc (sincos_test): Add tests for large input.
5026 (sin): Likewise.
5027 (cos): Likewise.
5028
5029 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5030
5031 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5032
5033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5034
5035 2012-03-15 David S. Miller <davem@davemloft.net>
5036
5037 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5038 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5039 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5040 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5053 file.
5054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5056 file.
5057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5059 file.
5060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5062 file.
5063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5064 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5065 fmin/fmax sysdep routines.
5066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5067
5068 2012-03-14 David S. Miller <davem@davemloft.net>
5069
5070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5074 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5075 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5090 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5091 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5094 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5096 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5097 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5099 routines.
5100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5101 file.
5102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5104 file.
5105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5107 file.
5108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5110 file.
5111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5113 file.
5114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5116 file.
5117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5118 file.
5119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5120 file.
5121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5122 file.
5123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5124 New file.
5125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5126 file.
5127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5128 file.
5129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5131 file.
5132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5134 file.
5135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5137 file.
5138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5140 VIS3 routines.
5141
5142 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5143 New file.
5144
5145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5146
5147 * sysdeps/sparc/configure.in: New file.
5148 * sysdeps/sparc/configure: Generate.
5149 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5150 * configure: Regenerate.
5151 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5152 * config.make.in (have-as-vis3): New.
5153 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5154 available use -Av9d instead of -Av9a.
5155 * sysdeps/sparc/sparc64/Makefile: Likewise.
5156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
5157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5158 New file.
5159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5160 file.
5161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5162 New file.
5163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5164 file.
5165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5166 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5170
5171 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5172 fzeros/fnegs to load 0x80000000 into a float register instead of
5173 using the stack.
5174 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5175
5176 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5177
5178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5179 bits/syscall.h.
5180 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5181 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5182 ($(inst_includedir)/bits/syscall.h): Remove rule.
5183 ($(objpfx)bits/syscall.d): Include instead of
5184 $(objpfx)syscall-list.d.
5185 (generated): Change syscall-list.h and syscall-list.d to
5186 bits/syscall.h and bits/syscall.d.
5187
5188 2012-03-14 Roland McGrath <roland@hack.frob.com>
5189
5190 [BZ #13846]
5191 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5192
5193 2012-03-14 Joseph Myers <joseph@codesourcery.com>
5194
5195 [BZ #13841]
5196 * math/s_csqrt.c: Include <float.h>.
5197 (__csqrt): Scale large or subnormal inputs.
5198 * math/s_csqrtf.c: Likewise.
5199 * math/s_csqrtl.c: Likewise.
5200 * math/libm-test.inc (csqrt_test): Add more tests.
5201 * sysdeps/i386/fpu/libm-test-ulps: Update.
5202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5203
5204 [BZ #13840]
5205 * math/libm-test.inc (hypot_test): Add more tests.
5206
5207 2012-03-13 David S. Miller <davem@davemloft.net>
5208
5209 [BZ #13840]
5210 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5211 double-precision for the calculation instead of scaling.
5212
5213 2012-03-13 Joseph Myers <joseph@codesourcery.com>
5214
5215 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5216 manipulate bits before adding and subtracting TWO52[sx].
5217 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
5218 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
5219 Likewise.
5220 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
5221
5222 2012-03-13 David S. Miller <davem@davemloft.net>
5223
5224 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
5225 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
5226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
5227 rtld-global-offsets.h
5228 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5229
5230 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
5231 large parameters.
5232
5233 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
5234
5235 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
5236 'err' in the ifdef scope in which it is actually used.
5237
5238 * nss/nss_db/db-init.c: Include string.h
5239
5240 2012-03-12 David S. Miller <davem@davemloft.net>
5241
5242 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5243 masking out of the most significant byte of random value used.
5244 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5245 Fix coding style in previous change.
5246
5247 * sysdeps/unix/sysv/linux/kernel-features.h
5248 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
5249 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
5250 expression.
5251 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
5252 later.
5253
5254 2012-03-11 David S. Miller <davem@davemloft.net>
5255
5256 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5257 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
5258 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
5259 for 'resultvar' otherwise things get truncated on 64-bit.
5260
5261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5262 Fix masking out of the most significant byte of random value used.
5263
5264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5265
5266 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
5267
5268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5269
5270 2012-03-09 David S. Miller <davem@davemloft.net>
5271
5272 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
5273 variables with appropriate CPP guards.
5274 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
5275 frame pointer, not the stack pointer. Correct layout comments. Fix test
5276 on resulting framesize and the management of the outregs buffer for pltexit.
5277 Preserve floating point return values across _dl_call_pltexit call.
5278 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
5279 framesize and the management of the outregs buffer for pltexit.
5280 Preserve floating point return values across _dl_call_pltexit
5281 call.
5282 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
5283 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
5284 (print_exit): Fix format string for return register value.
5285
5286 2012-03-10 Joseph Myers <joseph@codesourcery.com>
5287
5288 * sunrpc/Makefile (others): Add rpcgen.
5289 ($(objpfx)rpcgen): Remove special build rule and dependency on
5290 libc.
5291 * sunrpc/rpcgen.c: New file.
5292
5293 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
5294
5295 [BZ #13673]
5296 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
5297 * stdio-common/bug-vfprintf-nargs.c: Likewise.
5298 * sysdeps/i386/crti.S: Likewise.
5299 * sysdeps/i386/crtn.S: Likewise.
5300 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
5301 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
5302 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
5303 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
5304 * sysdeps/sh/crti.S: Likewise.
5305 * sysdeps/sh/crtn.S: Likewise.
5306 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5307
5308 [BZ #13673]
5309 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
5310 with URL.
5311 * locale/programs/locfile-kw.gperf: Likewise.
5312 * locale/programs/charmap-kw.h: Regenerated.
5313 * locale/programs/locfile-kw.h: Likewise.
5314
5315 [BZ #13673]
5316 * intl/plural.y: Replace FSF snail mail address with URL.
5317 * intl/plural.c: Regenerated.
5318
5319 2012-03-09 Richard Henderson <rth@twiddle.net>
5320
5321 * include/math_private.h: Remove file.
5322 * math/math_private.h: Move file ...
5323 * sysdeps/generic/math_private.h: ... here.
5324
5325 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
5326 * sysdeps/powerpc/fpu/math_private.h: Likewise.
5327 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5328
5329 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
5330 and <math_private.h>.
5331 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5332 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5333 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5334 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5335 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5336 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
5337 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5338 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5339 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5340 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5342 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5343 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5345 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5346 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5347 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5348 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5350 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5352 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5353 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5355 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5356 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5357 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5358 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5399 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
5400 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
5401 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5402 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5403 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
5406 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5407 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
5408 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5409 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
5413 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5414 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5415 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
5418 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5419 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5420 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5421 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5422 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5424 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5425 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5426 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5427 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5428 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5429 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5430 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5431 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5432 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5433 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5434 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5435 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5436 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5437 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5438 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5439 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5440 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5441 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5442 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5443 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5444 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5445 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
5446 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5447 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5448 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5449 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5450 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5451 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5452 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5453 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5454 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
5455 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5456 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5457 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5458 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
5459 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5460 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
5461 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
5462 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5463 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5464 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
5465 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
5466 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5467 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5468 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5469 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
5470 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5471 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5472 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5473 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5474 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
5475 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
5476 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5477 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5478 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5479 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5480 * sysdeps/ieee754/k_standard.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5488 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5489 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5490 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5491 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5492 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5493 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5494 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5495 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5496 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5499 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5501 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5503 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5508 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5510 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5511 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5512 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5513 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5514 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5515 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5516 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5517 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5518 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
5519 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5520 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5521 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5522 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5523 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5524 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5525 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5527 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5528 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5532 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5533 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
5535 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5536 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5537 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
5538 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5539 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5540 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5542 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5546 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5549 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5550 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5551 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5552 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5553 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5554 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5555 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5556 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5557 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
5558 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5560 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5561 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5562 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5563 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5565 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5567 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5568 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5570 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5571 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
5572 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5573 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5574 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5575 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5576 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5577 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
5578 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5579 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5580 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
5581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5582 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5583 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5584 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5585 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
5586 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5588 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5589 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
5590 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5591 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5592 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5593 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5594 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5595 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5596 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5597 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5598 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5599 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5600 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5601 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5603 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5604 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5606 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5608 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5609 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5610 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5611 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5612 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5613 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5617 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
5618 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5619 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
5622 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5623 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
5624 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
5625 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5626 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5627 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5628 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5629 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5630 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
5631 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5632 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5633 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5634 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5635 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
5636 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
5637 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5638 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5639 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5640 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5641 * sysdeps/ieee754/s_lib_version.c: Likewise.
5642 * sysdeps/ieee754/s_matherr.c: Likewise.
5643 * sysdeps/ieee754/s_signgam.c: Likewise.
5644 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5645 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5646 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
5647 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
5648 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
5649 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
5650 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
5651 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
5652 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
5653 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
5654 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5655 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
5656 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5657 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5658 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
5659 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5660 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5661 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5662 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5663 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5664 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5665
5666 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5667
5668 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
5669 * sunrpc/rpc_main.c: Likewise.
5670 * sunrpc/rpc_svcout.c: Likewise.
5671
5672 2012-03-09 David S. Miller <davem@davemloft.net>
5673
5674 * include/math_private.h: New file.
5675
5676 2012-03-09 Joseph Myers <joseph@codesourcery.com>
5677
5678 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
5679 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
5680 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
5681 from <bits/socket_type.h>.
5682 (enum __socket_type): Don't define here.
5683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
5684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5685 bits/socket_type.h.
5686
5687 [BZ #13566]
5688 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
5689 checking __USE_GNU.
5690
5691 * Makerules ($(inst_includedir)/%.h): New rule.
5692 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
5693 (install-others): Remove variable setting.
5694 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
5695
5696 2012-03-08 Richard Henderson <rth@twiddle.net>
5697
5698 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
5699 from macro to inline function; merge with the
5700 !__LIBC_INTERNAL_MATH_INLINES version.
5701 (__ieee754_sqrtf): Likewise.
5702
5703 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5704 to inline function.
5705 (__rintf, __floor, __floorf): Likewise.
5706
5707 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5708 macro to inline function.
5709 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5710
5711 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5712 not <math/math_private.h>.
5713
5714 2012-03-08 David S. Miller <davem@davemloft.net>
5715
5716 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5717 copyright year.
5718 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5719
5720 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5721
5722 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5723 normalization.
5724 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5725 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5726
5727 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5728
5729 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5730 be defined individually, they must be defined as a block. Define
5731 S for printing a string instead of hidint the different by using a
5732 macro for adding the 'l'.
5733 * stdio-common/tst-fphex-wide.c: Adjust.
5734
5735 2012-03-07 Marek Polacek <polacek@redhat.com>
5736
5737 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5738
5739 2012-03-08 Marek Polacek <polacek@redhat.com>
5740
5741 [BZ #13806]
5742 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5743 * stdio-common/tst-fphex.c: Define a few macros to make the
5744 test reusable. Use them.
5745 * stdio-common/tst-fphex-wide.c: New file.
5746
5747 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5748
5749 [BZ #6911]
5750 * manual/macros.texi (gnusystems): New macro.
5751 (nongnusystems): Likewise.
5752 (gnulinuxhurdsystems): Likewise.
5753 (gnuhurdsystems): Likewise..
5754 (gnulinuxsystems): Likewise.
5755 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5756 variants of the GNU system, not "GNU system".
5757 * manual/conf.texi: Likewise.
5758 * manual/errno.texi: Likewise. Update example of errno macro
5759 expansion.
5760 * manual/filesys.texi: Likewise.
5761 (getumask): Document as specific to GNU/Hurd.
5762 * manual/install.texi: Likewise. Reword some references to
5763 GNU/Linux.
5764 * manual/intro.texi: Likewise.
5765 * manual/io.texi: Likewise.
5766 (File Name Portability): Detail which constraints are inapplicable
5767 to all GNU systems and which are only inapplicable to GNU/Hurd.
5768 * manual/job.texi: Likewise.
5769 * manual/llio.texi: Likewise.
5770 (O_NOCTTY): Document as present on GNU/Linux.
5771 * manual/maint.texi: Likewise.
5772 * manual/memory.texi: Likewise.
5773 * manual/pattern.texi: Likewise.
5774 * manual/pipe.texi: Likewise.
5775 * manual/process.texi: Likewise.
5776 * manual/resource.texi: Likewise.
5777 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5778 child on GNU/Hurd.
5779 * manual/setjmp.texi: Likewise.
5780 * manual/signal.texi: Likewise.
5781 * manual/startup.texi: Likewise.
5782 * manual/stdio.texi: Likewise.
5783 * manual/terminal.texi: Likewise.
5784 (ONLCR): Document as POSIX.
5785 (OXTABS): Document availability on GNU/Linux as XTABS.
5786 (ONOEOT): Document availability separately from other bits.
5787 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5788 * manual/time.texi: Likewise.
5789 * manual/users.texi: Likewise.
5790 * INSTALL: Regenerated.
5791 * sysdeps/gnu/errlist.c: Regenerated.
5792
5793 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5794 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5795 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5796 puts.
5797 * configure: Regenerated.
5798
5799 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5800
5801 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5802 default includes instead of AC_HEADER_CHECK.
5803 * sysdeps/i386/configure: Regenerated.
5804
5805 [BZ #10716]
5806 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5807 * math/s_cacoshf.c (__cacoshf): Likewise.
5808 * math/s_cacoshl.c (__cacoshl): Likewise.
5809 * math/s_casinh.c (__casinh): Set signs of result from argument.
5810 * math/s_casinhf.c (__casinhf): Likewise.
5811 * math/s_casinhl.c (__casinhl): Likewise.
5812 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5813 (casinh_test): Add more tests.
5814 * sysdeps/i386/fpu/libm-test-ulps: Update.
5815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5816
5817 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5818
5819 * po/zh_TW.po: Update from translation team.
5820
5821 * login/Makefile (distribute): Remove variable.
5822 * catgets/Makefile: Likewise.
5823 * mach/Makefile: Likewise.
5824 * malloc/Makefile: Likewise.
5825 * misc/Makefile: Likewise.
5826 * iconv/Makefile: Likewise.
5827 * nscd/Makefile: Likewise.
5828 * hurd/Makefile: Likewise.
5829 * manual/Makefile: Likewise.
5830 * locale/Makefile: Likewise.
5831 * intl/Makefile: Likewise.
5832 * conform/Makefile: Likewise.
5833 * nss/Makefile: Likewise.
5834 * time/Makefile: Likewise.
5835 * soft-fp/Makefile: Likewise.
5836 * dirent/Makefile: Likewise.
5837 * gmon/Makefile: Likewise.
5838 * po/Makefile: Likewise.
5839 * rt/Makefile: Likewise.
5840 * socket/Makefile: Likewise.
5841 * math/Makefile: Likewise.
5842 * signal/Makefile: Likewise.
5843 * debug/Makefile: Likewise.
5844 * elf/Makefile: Likewise.
5845 * timezone/Makefile: Likewise.
5846 * stdlib/Makefile: Likewise.
5847 * iconvdata/Makefile: Likewise.
5848 * sunrpc/Makefile: Likewise.
5849 * io/Makefile: Likewise.
5850 * argp/Makefile: Likewise.
5851 * inet/Makefile: Likewise.
5852 * hesiod/Makefile: Likewise.
5853 * grp/Makefile: Likewise.
5854 * csu/Makefile: Likewise.
5855 * wctype/Makefile: Likewise.
5856 * crypt/Makefile: Likewise.
5857 * libio/Makefile: Likewise.
5858 * string/Makefile: Likewise.
5859 * nis/Makefile: Likewise.
5860 * resolv/Makefile: Likewise.
5861 * stdio-common/Makefile: Likewise.
5862 * wcsmbs/Makefile: Likewise.
5863 * dlfcn/Makefile: Likewise.
5864 * posix/Makefile: Likewise.
5865
5866 [BZ #6959]
5867 * timezone/Makefile: Don't install timezone files, just the programs
5868 and scripts.
5869
5870 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5871
5872 * nss/databases.def: Add missing gshadow entry.
5873
5874 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5875
5876 2012-03-06 Marek Polacek <polacek@redhat.com>
5877
5878 [BZ #13726]
5879 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5880 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5881 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5882 * stdio-common/tst-long-dbl-fphex.c: New file.
5883
5884 2012-03-06 David S. Miller <davem@davemloft.net>
5885
5886 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5887 (set_obp_int): New function.
5888 (get_obp_int): New function.
5889 (__get_clockfreq_via_dev_openprom): Likewise.
5890 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5891 Avoid unused variable warnings on 'val' and use builtin_expect.
5892 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5893 __builtin_expect.
5894 (INLINE_CLONE_SYSCALL): Likewise.
5895
5896 2012-03-05 David S. Miller <davem@davemloft.net>
5897
5898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5899
5900 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5901
5902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5903
5904 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5905 only for |x| >= 40.
5906 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5907
5908 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5909
5910 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5911 Replace gettimeofday with __vdso_gettimeofday.
5912
5913 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5914 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5915 __vdso_clock_gettime and __vdso_getcpu.
5916
5917 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5918 time with __vdso_time.
5919
5920 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5921
5922 * manual/lang.texi (size_t): Note types to which size_t may be
5923 equivalent with the GNU C Library, but do not describe when
5924 differences between them are significant.
5925
5926 2012-03-05 Andreas Jaeger <aj@suse.de>
5927
5928 * sysdeps/i386/fpu/libm-test-ulps: Update.
5929
5930 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5931
5932 [BZ #3976]
5933 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5934 (__ieee754_pow): Save and restore rounding mode and use
5935 round-to-nearest for main computations.
5936 * math/libm-test.inc (pow_test_tonearest): New function.
5937 (pow_test_towardzero): Likewise.
5938 (pow_test_downward): Likewise.
5939 (pow_test_upward): Likewise.
5940 (main): Call the new functions.
5941 * sysdeps/i386/fpu/libm-test-ulps: Update.
5942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5943
5944 [BZ #3976]
5945 * math/libm-test.inc (cosh_test_tonearest): New function.
5946 (cosh_test_towardzero): Likewise.
5947 (cosh_test_downward): Likewise.
5948 (cosh_test_upward): Likewise.
5949 (sinh_test_tonearest): Likewise.
5950 (sinh_test_towardzero): Likewise.
5951 (sinh_test_downward): Likewise.
5952 (sinh_test_upward): Likewise.
5953 (main): Call the new functions.
5954 * sysdeps/i386/fpu/libm-test-ulps: Update.
5955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5956
5957 2012-03-05 Tom de Vries <tom@codesourcery.com>
5958
5959 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5960 default stack guard is set in last bytes.
5961 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5962
5963 2012-03-05 Kees Cook <keescook@chromium.org>
5964
5965 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5966
5967 [BZ #13656]
5968 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5969 possibly allocate from heap instead of stack.
5970 * stdio-common/bug-vfprintf-nargs.c: New file.
5971 * stdio-common/Makefile (tests): Add nargs overflow test.
5972
5973 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5974
5975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5976
5977 2012-03-03 Marek Polacek <polacek@redhat.com>
5978
5979 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5980 * math/math_private.h: Likewise.
5981 * stdlib/tst-strtod.c: Likewise.
5982 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5983 * sysdeps/x86_64/bits/atomic.h: Likewise.
5984
5985 2012-03-02 David S. Miller <davem@davemloft.net>
5986
5987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5991 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5992 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5993 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5994 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5995
5996 2012-03-02 Roland McGrath <roland@hack.frob.com>
5997
5998 [BZ #13792]
5999 * manual/examples/README: New file, says the example source files
6000 can be used under GPL>=2.
6001 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6002 line containing just "*/".
6003 * manual/examples/add.c: Add copyright header (GPL>=2).
6004 * manual/examples/argp-ex1.c: Likewise.
6005 * manual/examples/argp-ex2.c: Likewise.
6006 * manual/examples/argp-ex3.c: Likewise.
6007 * manual/examples/argp-ex4.c: Likewise.
6008 * manual/examples/atexit.c: Likewise.
6009 * manual/examples/db.c: Likewise.
6010 * manual/examples/dir.c: Likewise.
6011 * manual/examples/dir2.c: Likewise.
6012 * manual/examples/execinfo.c: Likewise.
6013 * manual/examples/filecli.c: Likewise.
6014 * manual/examples/filesrv.c: Likewise.
6015 * manual/examples/fmtmsgexpl.c: Likewise.
6016 * manual/examples/genpass.c: Likewise.
6017 * manual/examples/inetcli.c: Likewise.
6018 * manual/examples/inetsrv.c: Likewise.
6019 * manual/examples/isockad.c: Likewise.
6020 * manual/examples/longopt.c: Likewise.
6021 * manual/examples/memopen.c: Likewise.
6022 * manual/examples/memstrm.c: Likewise.
6023 * manual/examples/mkfsock.c: Likewise.
6024 * manual/examples/mkisock.c: Likewise.
6025 * manual/examples/mygetpass.c: Likewise.
6026 * manual/examples/pipe.c: Likewise.
6027 * manual/examples/popen.c: Likewise.
6028 * manual/examples/rprintf.c: Likewise.
6029 * manual/examples/search.c: Likewise.
6030 * manual/examples/select.c: Likewise.
6031 * manual/examples/setjmp.c: Likewise.
6032 * manual/examples/sigh1.c: Likewise.
6033 * manual/examples/sigusr.c: Likewise.
6034 * manual/examples/stpcpy.c: Likewise.
6035 * manual/examples/strdupa.c: Likewise.
6036 * manual/examples/strftim.c: Likewise.
6037 * manual/examples/strncat.c: Likewise.
6038 * manual/examples/subopt.c: Likewise.
6039 * manual/examples/swapcontext.c: Likewise.
6040 * manual/examples/termios.c: Likewise.
6041 * manual/examples/testopt.c: Likewise.
6042 * manual/examples/testpass.c: Likewise.
6043 * manual/examples/timeval_subtract.c: Likewise.
6044
6045 [BZ #13792]
6046 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6047 function to ...
6048 * manual/timeval_subtract.c.texi: ... here, new file.
6049
6050 2012-03-02 David S. Miller <davem@davemloft.net>
6051
6052 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6053
6054 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6055
6056 [BZ #3976]
6057 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6058 (__sin): Save and restore rounding mode and use round-to-nearest
6059 for all computations.
6060 (__cos): Save and restore rounding mode and use round-to-nearest
6061 for all computations.
6062 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6063 <fenv.h>.
6064 (tan): Save and restore rounding mode and use round-to-nearest for
6065 all computations.
6066 * math/libm-test.inc (cos_test_tonearest): New function.
6067 (cos_test_towardzero): Likewise.
6068 (cos_test_downward): Likewise.
6069 (cos_test_upward): Likewise.
6070 (sin_test_tonearest): Likewise.
6071 (sin_test_towardzero): Likewise.
6072 (sin_test_downward): Likewise.
6073 (sin_test_upward): Likewise.
6074 (tan_test_tonearest): Likewise.
6075 (tan_test_towardzero): Likewise.
6076 (tan_test_downward): Likewise.
6077 (tan_test_upward): Likewise.
6078 (main): Call the new functions.
6079 * sysdeps/i386/fpu/libm-test-ulps: Update.
6080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6081
6082 [BZ #10135]
6083 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6084 small n, then large n, before computing and testing k+n.
6085 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6086 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6087 Likewise.
6088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6089 Likewise.
6090 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6091 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6092 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6093 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6096 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6097 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6098 * math/libm-test.inc (scalbn_test): Add more tests.
6099 (scalbln_test): Likewise.
6100
6101 * manual/filesys.texi (mode_t): Describe constraints on size and
6102 signedness, not exact equivalence to a particular type.
6103 (ino_t): Likewise.
6104 (ino64_t): Likewise.
6105 (dev_t): Likewise.
6106 (nlink_t): Likewise.
6107 (blkcnt_t): Likewise.
6108 (blkcnt64_t): Likewise.
6109 * manual/llio.texi (off_t): Likewise.
6110
6111 [BZ #3976]
6112 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6113 (__ieee754_exp): Save and restore rounding mode and use
6114 round-to-nearest for all computations.
6115 * math/libm-test.inc (exp_test_tonearest): New function.
6116 (exp_test_towardzero): Likewise.
6117 (exp_test_downward): Likewise.
6118 (exp_test_upward): Likewise.
6119 (main): Call the new functions.
6120 * sysdeps/i386/fpu/libm-test-ulps: Update.
6121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6122
6123 2012-03-01 Chris Demetriou <cgd@google.com>
6124
6125 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6126 have predictable order.
6127
6128 2012-03-01 David S. Miller <davem@davemloft.net>
6129
6130 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6131
6132 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6133 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6134 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6135 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6136
6137 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6138 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6139 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6141 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6142 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6143 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6144 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6145 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6146
6147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6148
6149 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6150 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6151 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6152
6153 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6154 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6155 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6156 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6157 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6158 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6159 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6160 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6161 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6162 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6163 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6166 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6167 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6169 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6170 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6171 * sysdeps/sparc/elf/configure: Regenerated.
6172
6173 2012-03-01 Joseph Myers <joseph@codesourcery.com>
6174
6175 * configure.in (AS, LD): Require binutils 2.20 or later.
6176 * configure: Regenerated.
6177 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6178 as required minimum version.
6179 * INSTALL: Regenerated.
6180
6181 [BZ #2541]
6182 [BZ #4108]
6183 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6184 before squaring exponent.
6185 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6186 bottom long double and 27 bits of top long double before squaring
6187 exponent.
6188 * math/libm-test.inc (erfc_test): Add more tests.
6189 * sysdeps/i386/fpu/libm-test-ulps: Update.
6190 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6192
6193 2012-03-01 Kai Tietz <ktietz@redhat.com>
6194
6195 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6196 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6197 containing bit-fields.
6198 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6199 * soft-fp/single.h (_FP_UNION_S): Likewise.
6200 * soft-fp/double.h (_FP_UNION_D): Likewise.
6201
6202 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6203
6204 [BZ #13786]
6205 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6206 not include ../strcmp.S.
6207 [USE_AS_STRNCASECMP_L]: Likewise.
6208 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6209 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6210 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6211 (__strncasecmp_l_ia32): Define as alias to
6212 __strncasecmp_l_nonascii.
6213
6214 [BZ #5794]
6215 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6216 * sysdeps/i386/fpu/libm-test-ulps: Update.
6217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6218
6219 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
6220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6221
6222 2012-02-29 Jeff Law <law@redhat.com>
6223
6224 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
6225 out of bounds read.
6226
6227 2012-02-29 Marek Polacek <polacek@redhat.com>
6228
6229 [BZ #13706]
6230 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
6231 * elf/Makefile: Add rules to run tst-unused-dep.out.
6232
6233 2012-02-28 David S. Miller <davem@davemloft.net>
6234
6235 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
6236 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
6237 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
6238 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
6239 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
6240 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
6241
6242 2012-02-29 Joseph Myers <joseph@codesourcery.com>
6243
6244 * math/libm-test.inc (llround_test): Move one test from
6245 lround_test. Use TEST_f_L in moved test.
6246 (lround_test): Move misplaced test to llround_test. Add testcase
6247 from bug 2561.
6248
6249 2012-02-28 Ulrich Drepper <drepper@gmail.com>
6250
6251 * sysdeps/x86_64/fpu/e_expf.S: New file.
6252 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
6253
6254 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
6255
6256 [BZ #13637]
6257 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
6258 of remain_len that may cause incomplete multi-byte character and
6259 false match.
6260 * posix/bug-regex33.c: New file.
6261 * posix/Makefile (tests): Add bug-regex33.
6262
6263 2012-02-28 Joseph Myers <joseph@codesourcery.com>
6264
6265 * manual/macros.texi: New file.
6266 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
6267 * manual/libc.texinfo: Include macros.texi.
6268 * manual/creatute.texi: Likewise.
6269 * manual/install.texi: Likewise.
6270 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
6271 @glibcadj{} in references to the GNU C Library.
6272 * manual/charset.texi: Likewise.
6273 * manual/conf.texi: Likewise.
6274 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
6275 when not using those macros.
6276 * manual/creature.texi: Likewise.
6277 * manual/crypt.texi: Likewise.
6278 * manual/errno.texi: Likewise.
6279 * manual/filesys.texi: Likewise.
6280 * manual/header.texi: Likewise.
6281 * manual/install.texi: Likewise.
6282 * manual/intro.texi: Likewise.
6283 * manual/io.texi: Likewise.
6284 * manual/job.texi: Likewise.
6285 * manual/lang.texi: Likewise.
6286 * manual/libc.texiinfo: Likewise.
6287 * manual/llio.texi: Likewise.
6288 * manual/locale.texi: Likewise.
6289 * manual/maint.texi: Likewise.
6290 * manual/math.texi: Likewise.
6291 * manual/memory.texi: Likewise.
6292 * manual/message.texi: Likewise.
6293 * manual/nss.texi: Likewise.
6294 * manual/pattern.texi: Likewise.
6295 * manual/process.texi: Likewise.
6296 * manual/resource.texi: Likewise.
6297 * manual/search.texi: Likewise.
6298 * manual/setjmp.texi: Likewise.
6299 * manual/signal.texi: Likewise.
6300 * manual/socket.texi: Likewise.
6301 * manual/startup.texi: Likewise.
6302 * manual/stdio.texi: Likewise.
6303 * manual/string.texi: Likewise.
6304 * manual/sysinfo.texi: Likewise.
6305 * manual/syslog.texi: Likewise.
6306 * manual/terminal.texi: Likewise.
6307 * manual/time.texi: Likewise.
6308 * manual/users.texi: Likewise.
6309 * INSTALL: Regenerated.
6310 * NOTES: Regenerated.
6311 * sysdeps/gnu/errlist.c: Regenerated.
6312
6313 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
6314
6315 * include/dirent.h: Include <dirstream.h> before
6316 <dirent/dirent.h>.
6317
6318 2012-02-28 David S. Miller <davem@davemloft.net>
6319
6320 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
6321 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
6322 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
6323 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
6324
6325 2012-02-27 David S. Miller <davem@davemloft.net>
6326
6327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
6328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
6329 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
6330 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
6331
6332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
6333 frame pointer instead of stack pointer relative arg slot.
6334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6335 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6336 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6337
6338 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
6339
6340 [BZ #3992]
6341 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
6342
6343 2012-02-27 David S. Miller <davem@davemloft.net>
6344
6345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
6346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
6347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
6348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
6349 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
6350 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
6351 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
6352 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
6353
6354 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6355
6356 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
6357 later. Allow versions 5-9.
6358 * configure: Regenerated.
6359 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
6360 required minimum version and 4.6 as recommended version. Do not
6361 mention bugs in GCC 2.7 and 2.8.
6362 * INSTALL: Regenerated.
6363
6364 2012-02-27 David S. Miller <davem@davemloft.net>
6365
6366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
6367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
6368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
6369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
6370 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
6371 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
6372 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
6373 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
6374
6375 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
6376 manipulate bits before adding and subtracting TWO112[sx].
6377 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6378
6379 2012-02-27 Roland McGrath <roland@hack.frob.com>
6380
6381 [BZ #13775]
6382 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
6383 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
6384 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
6385 being in POSIX, because they are in 1003.1-2008.
6386
6387 * rt/tst-aio.c: Include <fcntl.h>.
6388 * rt/tst-aio7.c: Likewise.
6389 * rt/tst-aio64.c: Likewise.
6390
6391 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
6392
6393 2012-02-27 Joseph Myers <joseph@codesourcery.com>
6394
6395 * manual/install.texi (--with-headers): Describe headers as
6396 interface headers, not private headers.
6397 (Specific advice for GNU/Linux systems): Describe use of headers
6398 from "make headers_install", not private headers from older
6399 kernels.
6400 * INSTALL: Regenerated.
6401 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
6402 Change to 2.6.19.
6403 * sysdeps/unix/sysv/linux/configure: Regenerated.
6404
6405 * manual/llio.texi (fclean): Remove documentation.
6406
6407 * manual/Makefile (libc-texi-generated): New variable. Include
6408 version.texi.
6409 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
6410 $(libc-texi-generated), not duplicated list of files.
6411 (version.texi, stamp-version): New rules.
6412 (realclean): Remove $(libc-texi-generated), not individual files
6413 from that list. Do not remove dir-add.texinfo.
6414 * manual/libc.texinfo: Comment out uses of edition numbers and
6415 references to printed manual. Remove last-updated dates.
6416 (EDITION): Comment out.
6417 (ISBN): Likewise.
6418 (VERSION, UPDATED): Remove.
6419 (version.texi): Include.
6420
6421 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
6422
6423 * sysdeps/posix/spawni.c: Include <signal.h>.
6424 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
6425 * sysdeps/pthread/aio_fsync.c: Likewise.
6426
6427 2012-02-26 Ulrich Drepper <drepper@gmail.com>
6428
6429 * conform/Makefile (tests): Run only when not cross-compiling and
6430 when fast-check is not defined.
6431
6432 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
6433 * conform/data/limits.h-data: Fixes for POSIX2008.
6434 * conform/run-conformtest.sh: Run all tests.
6435 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
6436 headers.
6437 * include/bits/dlfcn.h: Likewise.
6438 * include/langinfo.h: Likewise.
6439 * include/monetary.h: Likewise.
6440 * include/sys/poll.h: Likewise.
6441
6442 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
6443 for __USE_GNU.
6444 * posix/spawn.h: Define __need_sigset_t.
6445 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
6446 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
6447 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
6448 to get sigevent_t only.
6449 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
6450 only for __USE_GNU.
6451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6452 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6453 process_vm_writev only for __USE_GNU.
6454 * termios/termios.h: Declare tcgetsid also for POSIX2008.
6455
6456 * conform/Makefile: For now ignore errors from run-conformtest.
6457 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
6458 POSIX to avoid namespace pollution. Don't prepend headers.
6459 * conform/data/aio.h-data: Fixes for POSIX testing.
6460 * conform/data/fcntl.h-data: Likewise.
6461 * conform/data/glob.h-data: Likewise.
6462 * conform/data/grp.h-data: Likewise.
6463 * conform/data/pthread.h-data: Likewise.
6464 * conform/data/pwd.h-data: Likewise.
6465 * conform/data/signal.h-data: Likewise.
6466 * conform/data/spawn.h-data: Likewise.
6467 * conform/data/stdio.h-data: Likewise.
6468 * conform/data/stdlib.h-data: Likewise.
6469 * conform/data/stropts.h-data: Likewise.
6470 * conform/data/sys/mman.h-data: Likewise.
6471 * conform/data/sys/stat.h-data: Likewise.
6472 * conform/data/sys/types.h-data: Likewise.
6473 * conform/data/sys/wait.h-data: Likewise.
6474 * conform/data/time.h-data: Likewise.
6475 * conform/data/unistd.h-data: Likewise.
6476 * conform/data/utime.h-data: Likewise.
6477
6478 * io/sys/stat.h: fchmod was always in POSIX.
6479 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
6480 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
6481 * rt/aio.h: Define __need_timespec before including <time.h>.
6482 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
6483 struct. Add forward declaration of pthread_attr_t and use it in
6484 sigevent.
6485 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6486 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6487 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
6488 always remove CLK_TCK definition.
6489
6490 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
6491
6492 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
6493
6494 2012-02-25 Ulrich Drepper <drepper@gmail.com>
6495
6496 * conform/run-conformtest.sh: New file.
6497 * conform/Makefile: Run run-conformtest for tests.
6498 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
6499 support.
6500
6501 * conform/data/uchar.h-data: New file.
6502 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
6503 * conform/data/arpa/inet.h-data: Likewise.
6504 * conform/data/assert.h-data: Likewise.
6505 * conform/data/complex.h-data: Likewise.
6506 * conform/data/cpio.h-data: Likewise.
6507 * conform/data/ctype.h-data: Likewise.
6508 * conform/data/dirent.h-data: Likewise.
6509 * conform/data/dlfcn.h-data: Likewise.
6510 * conform/data/errno.h-data: Likewise.
6511 * conform/data/fcntl.h-data: Likewise.
6512 * conform/data/float.h-data: Likewise.
6513 * conform/data/fmtmsg.h-data: Likewise.
6514 * conform/data/fnmatch.h-data: Likewise.
6515 * conform/data/ftw.h-data: Likewise.
6516 * conform/data/glob.h-data: Likewise.
6517 * conform/data/grp.h-data: Likewise.
6518 * conform/data/iconv.h-data: Likewise.
6519 * conform/data/inttypes.h-data: Likewise.
6520 * conform/data/langinfo.h-data: Likewise.
6521 * conform/data/libgen.h-data: Likewise.
6522 * conform/data/limits.h-data: Likewise.
6523 * conform/data/locale.h-data: Likewise.
6524 * conform/data/math.h-data: Likewise.
6525 * conform/data/monetary.h-data: Likewise.
6526 * conform/data/mqueue.h-data: Likewise.
6527 * conform/data/ndbm.h-data: Likewise.
6528 * conform/data/net/if.h-data: Likewise.
6529 * conform/data/netdb.h-data: Likewise.
6530 * conform/data/netinet/in.h-data: Likewise.
6531 * conform/data/nl_types.h-data: Likewise.
6532 * conform/data/poll.h-data: Likewise.
6533 * conform/data/pthread.h-data: Likewise.
6534 * conform/data/pwd.h-data: Likewise.
6535 * conform/data/regex.h-data: Likewise.
6536 * conform/data/sched.h-data: Likewise.
6537 * conform/data/search.h-data: Likewise.
6538 * conform/data/semaphore.h-data: Likewise.
6539 * conform/data/setjmp.h-data: Likewise.
6540 * conform/data/signal.h-data: Likewise.
6541 * conform/data/spawn.h-data: Likewise.
6542 * conform/data/stdarg.h-data: Likewise.
6543 * conform/data/stdio.h-data: Likewise.
6544 * conform/data/stdlib.h-data: Likewise.
6545 * conform/data/string.h-data: Likewise.
6546 * conform/data/strings.h-data: Likewise.
6547 * conform/data/stropts.h-data: Likewise.
6548 * conform/data/sys/ipc.h-data: Likewise.
6549 * conform/data/sys/mman.h-data: Likewise.
6550 * conform/data/sys/msg.h-data: Likewise.
6551 * conform/data/sys/resource.h-data: Likewise.
6552 * conform/data/sys/select.h-data: Likewise.
6553 * conform/data/sys/sem.h-data: Likewise.
6554 * conform/data/sys/shm.h-data: Likewise.
6555 * conform/data/sys/socket.h-data: Likewise.
6556 * conform/data/sys/stat.h-data: Likewise.
6557 * conform/data/sys/statvfs.h-data: Likewise.
6558 * conform/data/sys/time.h-data: Likewise.
6559 * conform/data/sys/timeb.h-data: Likewise.
6560 * conform/data/sys/times.h-data: Likewise.
6561 * conform/data/sys/types.h-data: Likewise.
6562 * conform/data/sys/uio.h-data: Likewise.
6563 * conform/data/sys/un.h-data: Likewise.
6564 * conform/data/sys/utsname.h-data: Likewise.
6565 * conform/data/sys/wait.h-data: Likewise.
6566 * conform/data/syslog.h-data: Likewise.
6567 * conform/data/tar.h-data: Likewise.
6568 * conform/data/termios.h-data: Likewise.
6569 * conform/data/utime.h-data: Likewise.
6570 * conform/data/utmpx.h-data: Likewise.
6571 * conform/data/varargs.h-data: Likewise.
6572 * conform/data/wchar.h-data: Likewise.
6573 * conform/data/wctype.h-data: Likewise.
6574 * conform/data/wordexp.h-data: Likewise.
6575
6576 * include/stropts.h: New file.
6577 * include/uchar.h: New file.
6578 * include/aio.h: Changes to allow conformtest.pl to use the headers.
6579 * include/assert.h: Likewise.
6580 * include/ctype.h: Likewise.
6581 * include/dirent.h: Likewise.
6582 * include/dlfcn.h: Likewise.
6583 * include/fcntl.h: Likewise.
6584 * include/fnmatch.h: Likewise.
6585 * include/glob.h: Likewise.
6586 * include/grp.h: Likewise.
6587 * include/libio.h: Likewise.
6588 * include/locale.h: Likewise.
6589 * include/math.h: Likewise.
6590 * include/net/if.h: Likewise.
6591 * include/netdb.h: Likewise.
6592 * include/netinet/in.h: Likewise.
6593 * include/pthread.h: Likewise.
6594 * include/pwd.h: Likewise.
6595 * include/regex.h: Likewise.
6596 * include/sched.h: Likewise.
6597 * include/search.h: Likewise.
6598 * include/setjmp.h: Likewise.
6599 * include/signal.h: Likewise.
6600 * include/stdio.h: Likewise.
6601 * include/stdlib.h: Likewise.
6602 * include/string.h: Likewise.
6603 * include/sys/cdefs.h: Likewise.
6604 * include/sys/mman.h: Likewise.
6605 * include/sys/msg.h: Likewise.
6606 * include/sys/resource.h: Likewise.
6607 * include/sys/select.h: Likewise.
6608 * include/sys/socket.h: Likewise.
6609 * include/sys/stat.h: Likewise.
6610 * include/sys/statvfs.h: Likewise.
6611 * include/sys/time.h: Likewise.
6612 * include/sys/times.h: Likewise.
6613 * include/sys/uio.h: Likewise.
6614 * include/sys/utsname.h: Likewise.
6615 * include/sys/wait.h: Likewise.
6616 * include/termios.h: Likewise.
6617 * include/time.h: Likewise.
6618 * include/ulimit.h: Likewise.
6619 * include/unistd.h: Likewise.
6620 * include/utime.h: Likewise.
6621 * include/wchar.h: Likewise.
6622 * include/wctype.h: Likewise.
6623 * include/wordexp.h: Likewise.
6624
6625 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
6626
6627 * time/time.h: TIME_UTC must be a macro.
6628 Make timespec_get available for ISO C11 only as well.
6629
6630 2012-02-24 Ulrich Drepper <drepper@gmail.com>
6631
6632 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
6633 Reported by Peng Haitao <penght@cn.fujitsu.com>.
6634
6635 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6636
6637 * configure.in: Use -o not -a in test for unsupported multi-arch.
6638
6639 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6640
6641 * manual/texinfo.tex: Update to version 2012-01-19.16.
6642
6643 2012-02-24 Joseph Myers <joseph@codesourcery.com>
6644
6645 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
6646
6647 2012-02-24 Roland McGrath <roland@hack.frob.com>
6648
6649 [BZ #13738]
6650 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
6651 * manual/fdl-1.3.texi: New file.
6652 * manual/fdl-1.1.texi: File removed.
6653
6654 [BZ #13738]
6655 * manual/libc.texinfo (FDL_VERSION): New @set.
6656 Use it for mention of FDL in cover text.
6657 (Documentation License): Use it in @include file name.
6658
6659 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6660 Roland McGrath <roland@hack.frob.com>
6661
6662 [BZ #5461]
6663 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
6664 not LONG_LONG_MAX and LONG_LONG_MIN.
6665 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
6666 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
6667 name.
6668 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
6669
6670 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6671
6672 [BZ #2547]
6673 [BZ #11365]
6674 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
6675 manipulate bits before adding and subtracting TWO23[sx].
6676 * math/libm-test.inc (nearbyint_test): Add more tests.
6677
6678 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6679
6680 [BZ #2548]
6681 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
6682 bits before adding and subtracting TWO23[sx].
6683 * math/libm-test.inc (rint_test): Add more tests.
6684 (rint_test_tonearest): Likewise.
6685 (rint_test_towardzero): Likewise.
6686 (rint_test_downward): Likewise.
6687 (rint_test_upward: Likewise.
6688
6689 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6690
6691 [BZ #10110]
6692 * include/stdc-predef.h: New file. Extracted from features.h.
6693 * include/features.h: Include stdc-predef.h.
6694 * Makefile (headers): Add stdc-predef.h.
6695 * CONFORMANCE (Compiler limitations): Update.
6696
6697 2012-02-22 Joseph Myers <joseph@codesourcery.com>
6698
6699 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6700
6701 2012-02-21 David S. Miller <davem@davemloft.net>
6702
6703 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6704 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6705
6706 2012-02-20 David S. Miller <davem@davemloft.net>
6707
6708 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6709 using a normal save/restore sequence, rather than allocating a
6710 dummy stack frame just to store a frame pointer and restore.
6711 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6712
6713 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6714
6715 * manual/install.texi: Fix stray word in line-wrapped comment.
6716
6717 2012-02-20 David S. Miller <davem@davemloft.net>
6718
6719 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6720 both binutils and gcc support GOTDATA.
6721
6722 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6723 "rd %pc" in the PIC register setup sequences.
6724
6725 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6726 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6727 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6728 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6729 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6731 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6732 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6733 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6734 (SYSCALL_ERROR_HANDLER): Likewise.
6735 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6736 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6737 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6738 (SYSCALL_ERROR_HANDLER): Likewise.
6739
6740 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6741 (HAVE_GCC_GOTDATA): New.
6742 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6743 relocation support in both binutils and gcc.
6744 * sysdeps/sparc/elf/configure: Regenerate.
6745
6746 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6747 * sysdeps/sparc/sparc32/elf/configure: Delete.
6748 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6749 * sysdeps/sparc/sparc64/elf/configure: Delete.
6750 * sysdeps/sparc/elf/configure.in: New file.
6751 * sysdeps/sparc/elf/configure: Generate.
6752
6753 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6754 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6755 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6756 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6757 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6758
6759 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6760
6761 * manual/install.texi: Do not mention specific glibc version
6762 numbers.
6763 * manual/libc.texinfo (VERSION, UPDATED): Update.
6764 (@copying): Use @copyright{} and range of years.
6765
6766 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6767
6768 [BZ #13695]
6769 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6770 [crti.S not in sysdirs] (generated): Do not append.
6771 [crti.S not in sysdirs] (omit-deps): Likewise.
6772 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6773 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6774 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6775 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6776 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6777 Likewise.
6778 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6779 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6780 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6781 * csu/defs.awk: Remove file.
6782 * sysdeps/generic/initfini.c: Likewise.
6783 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6784 variable.
6785 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6786 Likewise.
6787
6788 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6789
6790 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6791 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6792 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6793 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6794 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6795 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6796 <bits/epoll.h>.
6797 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6798 (__EPOLL_PACKED): Define to empty if not defined by
6799 <bits/epoll.h>.
6800 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6802 bits/epoll.h.
6803
6804 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6805
6806 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6807 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6808 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6809 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6810 <bits/timerfd.h>.
6811 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6813 bits/timerfd.h.
6814
6815 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6816
6817 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6818 in C locale.
6819 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6820 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6821 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6823
6824 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6825
6826 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6827 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6828
6829 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6830
6831 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6832 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6833 defined.
6834 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6835 Likewise.
6836 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6837 entry for 2.16.
6838
6839 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6840
6841 * math/w_acos.c: Use non-signaling floating-point comparisons.
6842 * math/w_acosf.c: Likewise.
6843 * math/w_acosh.c: Likewise.
6844 * math/w_acoshf.c: Likewise.
6845 * math/w_acoshl.c: Likewise.
6846 * math/w_acosl.c: Likewise.
6847 * math/w_asin.c: Likewise.
6848 * math/w_asinf.c: Likewise.
6849 * math/w_asinl.c: Likewise.
6850 * math/w_atanh.c: Likewise.
6851 * math/w_atanhf.c: Likewise.
6852 * math/w_atanhl.c: Likewise.
6853 * math/w_exp2.c: Likewise.
6854 * math/w_exp2f.c: Likewise.
6855 * math/w_exp2l.c: Likewise.
6856 * math/w_j0.c: Likewise.
6857 * math/w_j0f.c: Likewise.
6858 * math/w_j0l.c: Likewise.
6859 * math/w_j1.c: Likewise.
6860 * math/w_j1f.c: Likewise.
6861 * math/w_j1l.c: Likewise.
6862 * math/w_jn.c: Likewise.
6863 * math/w_jnf.c: Likewise.
6864 * math/w_log.c: Likewise.
6865 * math/w_log10.c: Likewise.
6866 * math/w_log10f.c: Likewise.
6867 * math/w_log10l.c: Likewise.
6868 * math/w_log2.c: Likewise.
6869 * math/w_log2f.c: Likewise.
6870 * math/w_log2l.c: Likewise.
6871 * math/w_logf.c: Likewise.
6872 * math/w_logl.c: Likewise.
6873 * math/w_sqrt.c: Likewise.
6874 * math/w_sqrtf.c: Likewise.
6875 * math/w_sqrtl.c: Likewise.
6876 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6877 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6878 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6879 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6880 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6881
6882 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6883
6884 [BZ #9739]
6885 * manual/string.texi (strnlen): Use correct parameter name in
6886 equivalent expression.
6887
6888 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6889
6890 [BZ #11174]
6891 * manual/users.texi (seteuid): Consistently use neweuid for
6892 argument name.
6893
6894 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6895
6896 [BZ #13704]
6897 * manual/nss.texi (Services in the NSS configuration): Correct
6898 list of services in example configuration file.
6899
6900 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6901
6902 [BZ #11322]
6903 * manual/arith.texi: Remove statements about negative zero
6904 behaving identically to zero.
6905
6906 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6907
6908 [BZ #5993]
6909 * manual/install.texi: Do not document upgrading from libc5.
6910
6911 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6912
6913 [BZ #4596]
6914 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6915
6916 2012-02-18 David S. Miller <davem@davemloft.net>
6917
6918 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6919 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6920 %o7 across the call.
6921 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6922 instead.
6923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6924 SETUP_PIC_REG_LEAF.
6925 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6926 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6927 * sysdeps/sparc/crtn.S: Likewise.
6928
6929 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6930
6931 * aout/Makefile: Remove.
6932
6933 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6934
6935 [BZ #13058]
6936 * manual/examples/argp-ex1.c (main): Format definition in GNU
6937 style.
6938 * manual/examples/argp-ex2.c (main): Likewise.
6939 * manual/examples/argp-ex3.c (main): Likewise.
6940 * manual/examples/argp-ex4.c (main): Likewise.
6941 * manual/examples/longopt.c (main): Use new-style prototype
6942 definition.
6943 * manual/examples/strncat.c (main): Specify return type and use
6944 (void) for arguments.
6945 * manual/examples/subopt.c (main): Use char **argv argument.
6946
6947 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6948
6949 [BZ #5077]
6950 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6951 rounding modes.
6952
6953 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6954
6955 [BZ #6907]
6956 * manual/string.texi (strchr): Change when strchrnul is
6957 recommended.
6958
6959 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6960
6961 [BZ #174]
6962 * manual/locale.texi (setlocale): Document LOCPATH.
6963
6964 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6965
6966 [BZ #10210]
6967 * manual/process.texi (execle): Move @dots{} before last argument.
6968
6969 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6970
6971 [BZ #12047]
6972 * manual/charset.texi (Generic Charset Conversion): Fix typo
6973 (LC_TYPE -> LC_CTYPE).
6974
6975 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6976
6977 [BZ #5805]
6978 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6979 (scalbnf): Likewise.
6980 (scalbnl): Likewise.
6981 (scalbln): Likewise.
6982 (scalblnf): Likewise.
6983 (scalblnl): Likewise.
6984 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6985 (vwarnx): Likewise.
6986 (verr): Likewise.
6987 (verrx): Likewise.
6988 * manual/filesys.texi (telldir): Use braces around return type.
6989 * manual/llio.texi (mmap): Add space after comma.
6990 (mmap64): Likewise.
6991 * manual/math.texi (jn): Use @var{} on parameter names.
6992 (jnf): Likewise.
6993 (jnl): Likewise.
6994 (yn): Likewise.
6995 (ynf): Likewise.
6996 (ynl): Likewise.
6997 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6998 line.
6999 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7000 "...".
7001 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7002 (sched_get_priority_max): Likewise.
7003 * manual/signal.texi (sigvec): Add space after comma.
7004 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7005 names.
7006 (if_indextoname): Likewise.
7007 (if_freenameindex): Likewise.
7008 (sendto): Use ',' instead of '.' in prototype.
7009 * manual/startup.texi (syscall): Use @dots{} instead of literal
7010 "...".
7011 * manual/stdio.texi (__fpending): Separate initial words of
7012 paragraph from @deftypefun line.
7013 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7014 "...".
7015 (vsyslog): Use @var{} on parameter names.
7016 * manual/terminal.texi (stty): Use @var{} on parameter names.
7017 * manual/users.texi (getutmp): Use @var{} on parameter names.
7018 (getutmpx): Likewise.
7019
7020 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7021
7022 [BZ #6884]
7023 * manual/stdio.texi (fopen): Fix typos in description of
7024 ",ccs=STRING".
7025
7026 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7027
7028 [BZ #4026]
7029 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7030 get clock_id definition.
7031
7032 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7033
7034 [BZ #4822]
7035 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7036 (madvise): Cast every argument to void on its own.
7037
7038 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7039
7040 [BZ #9902]
7041 * manual/startup.texi (Exit Status): Fix typo.
7042
7043 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7044
7045 [BZ #10140]
7046 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7047 * manual/examples/argp-ex2.c: Likewise.
7048 * manual/examples/argp-ex3.c: Likewise.
7049
7050 2012-02-16 Richard Henderson <rth@redhat.com>
7051
7052 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7053 * sysdeps/s390/s390-32/initfini.c: Remove.
7054 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7055 * sysdeps/s390/s390-64/initfini.c: Remove.
7056
7057 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7058
7059 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7060 compiler output for sysdeps/generic/initfini.c.
7061 * sysdeps/sh/elf/initfini.c: Remove file.
7062
7063 2012-02-16 David S. Miller <davem@davemloft.net>
7064
7065 [BZ #11494]
7066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7067
7068 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7069 * sysdeps/sparc/crti.S: New file.
7070 * sysdeps/sparc/crtn.S: New file.
7071 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7072 * sysdeps/sparc/sparc64/Makefile: Likewise.
7073
7074 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7075
7076 [BZ #3335]
7077 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7078
7079 2012-02-15 Roland McGrath <roland@hack.frob.com>
7080
7081 [BZ #4822]
7082 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7083
7084 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7085 (write, read, close): Likewise.
7086 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7087
7088 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7089
7090 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7091 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7092 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7093 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7094 <bits/signalfd.h>.
7095 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7097 bits/signalfd.h.
7098
7099 2012-02-14 Marek Polacek <polacek@redhat.com>
7100
7101 * sysdeps/x86_64/crti.S: New file.
7102 * sysdeps/x86_64/crtn.S: New file.
7103 * sysdeps/x86_64/elf/initfini.c: Remove file.
7104
7105 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7106
7107 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7108 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7109 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7110 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7111 <bits/inotify.h>.
7112 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7114 bits/inotify.h.
7115
7116 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7117
7118 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7119 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7120 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7121 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7122 <bits/eventfd.h>.
7123 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7125 bits/eventfd.h.
7126
7127 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7128
7129 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7130 __feraiseexcept instead of feraiseexcept.
7131
7132 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7133 nanosleep invocations.
7134 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7135 strings, and add error checking for a nanosleep invocations.
7136
7137 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7138
7139 Replace FSF snail mail address with URLs, as per GNU coding standards.
7140 Most of the snail mail addresses were wrong anyway, and omitting
7141 them makes the source code easier to maintain. Almost all of the
7142 changes are to license notices and to locale LC_IDENTIFICATION
7143 addresses, except for this one:
7144 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7145 not its snail mail address.
7146
7147 2012-02-09 Richard Henderson <rth@twiddle.net>
7148
7149 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7150 of kernel-features.h.
7151
7152 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7153
7154 2012-02-08 Marek Polacek <polacek@redhat.com>
7155
7156 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7157 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7158 * sysdeps/gnu/_G_config.h: Likewise.
7159 * sysdeps/generic/_G_config.h: Likewise.
7160
7161 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7162
7163 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7164 tests.
7165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7166
7167 * sysdeps/powerpc/powerpc32/crti.S: New file.
7168 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7169 * sysdeps/powerpc/powerpc64/crti.S: New file.
7170 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7171
7172 * Makeconfig (have-initfini): Don't set.
7173 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7174 * configure.in (nopic_initfini): Don't substitute.
7175 * config.h.in (HAVE_INITFINI): Don't #undef.
7176 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7177 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7178
7179 2012-02-08 Joseph Myers <joseph@codesourcery.com>
7180
7181 Support crti.S and crtn.S provided directly by architectures.
7182 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7183 [crti.S in sysdirs] (omit-deps): Likewise.
7184 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7185 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7186 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7187 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7188 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7189 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7190 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7191 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7192 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7193 compiler output for sysdeps/generic/initfini.c.
7194 * sysdeps/i386/elf/Makefile: Remove file.
7195 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7196
7197 2012-02-07 Marek Polacek <polacek@redhat.com>
7198
7199 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7200 * sysdeps/gnu/_G_config.h: Likewise.
7201 * sysdeps/mach/hurd/_G_config.h: Likewise.
7202
7203 2012-02-07 Marek Polacek <polacek@redhat.com>
7204
7205 * math/Makefile (tests): Add tst-CMPLX2.
7206 * math/tst-CMPLX2.c: New file.
7207
7208 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7209
7210 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7211
7212 * math/libm-test.inc (jn_test): Add missing L suffix.
7213
7214 2012-02-06 Marek Polacek <polacek@redhat.com>
7215
7216 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7217 * sysdeps/i386/fpu/e_powf.S: Likewise.
7218 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7219 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7220 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7221 * sysdeps/i386/fpu/e_pow.S: Likewise.
7222 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
7223 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7224 * sysdeps/i386/fpu/s_expm1.S: Likewise.
7225 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
7226 * sysdeps/i386/fpu/e_log2.S: Likewise.
7227 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7228 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7229 * sysdeps/i386/fpu/e_powl.S: Likewise.
7230 * sysdeps/i386/fpu/s_log1p.S: Likewise.
7231 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7232 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
7233 * sysdeps/i386/fpu/e_logl.S: Likewise.
7234 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
7235 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
7236 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
7237 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
7238 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7239 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7240 * sysdeps/i386/fpu/e_log.S: Likewise.
7241 * sysdeps/i386/fpu/s_cexp.S: Likewise.
7242 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7243 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
7244 * sysdeps/i386/fpu/e_logf.S: Likewise.
7245 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7246 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7247 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
7248 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
7249 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7250 * sysdeps/i386/fpu/e_log10.S: Likewise.
7251 * sysdeps/i386/fpu/s_frexp.S: Likewise.
7252 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7253 * sysdeps/i386/fpu/s_asinh.S: Likewise.
7254 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
7255 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7256 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
7257 * sysdeps/i386/asm-syntax.h: Likewise.
7258 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7259 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7260 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7261 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
7262 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
7263 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7264 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
7265 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
7266 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7267 * sysdeps/powerpc/sysdep.h: Likewise.
7268 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
7269 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7270
7271 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7272
7273 [BZ #411]
7274 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
7275
7276 2012-02-06 Joseph Myers <joseph@codesourcery.com>
7277
7278 * sysdeps/i386/sysdep.h: Include <features.h>.
7279 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
7280 version.
7281
7282 2012-02-05 Joseph Myers <joseph@codesourcery.com>
7283
7284 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
7285 Define.
7286 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
7287 LOAD_PIC_REG_STR.
7288
7289 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7290
7291 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
7292 (SETUP_PIC_REG): Use GET_PC_THUNK.
7293 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
7294 macro.
7295
7296 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7297
7298 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
7299 for non-PIC compilation.
7300 (SETUP_PIC_REG): Add .p2align directive.
7301 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
7302 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7303 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7304 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7305 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7306 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7307 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7308 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7309 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7310 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7311 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7312 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7313 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7314 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7315 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7316 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7317 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7318 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7319 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7320 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7321 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7322 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7323 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7324 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7325 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7326 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7327 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7328 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7329 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7330 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7331 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7332 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7333 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7334 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7335 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7336 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7337 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7338 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7339 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7340 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7341 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7342
7343 2012-02-03 Joseph Myers <joseph@codesourcery.com>
7344
7345 * math/tst-CMPLX.c: Include <stdio.h>.
7346
7347 2012-01-31 Joseph Myers <joseph@codesourcery.com>
7348
7349 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
7350 float.
7351 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7352 * sysdeps/sparc/bits/mathdef.h: Likewise.
7353
7354 2012-01-31 Marek Polacek <polacek@redhat.com>
7355
7356 * libio/libio.h: Don't define _PARAMS.
7357 * locale/programs/config.h: Don't define PARAMS.
7358 * stdlib/strtol_l.c: Likewise.
7359 (__strtol_l): Remove PARAMS from the prototype.
7360
7361 2012-01-31 Ulrich Drepper <drepper@gmail.com>
7362
7363 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
7364 names. Just use the correct names. Remove unnecessary wrapper
7365 functions.
7366 * malloc/arena.c: Likewise.
7367 * malloc/hooks.c: Likewise.
7368
7369 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
7370 ARENA_TEST says not to. Simplify test for creation of a new arena.
7371 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
7372
7373 2012-01-30 Ulrich Drepper <drepper@gmail.com>
7374
7375 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
7376 into tail calls.
7377 (update_get_addr): New function.
7378 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
7379 GET_ADDR_MODULE parameter.
7380
7381 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7382
7383 * crypt/cert.c: Remove __STDC__ conditionals.
7384 * crypt/crypt-entry.c: Likewise.
7385 * crypt/crypt_util.c: Likewise.
7386 * libio/filedoalloc.c: Likewise.
7387 * libio/fileops.c: Likewise.
7388 * libio/genops.c: Likewise.
7389 * libio/iofclose.c: Likewise.
7390 * libio/iofdopen.c: Likewise.
7391 * libio/iofopen.c: Likewise.
7392 * libio/iofopen64.c: Likewise.
7393 * libio/iogetdelim.c: Likewise.
7394 * libio/iopopen.c: Likewise.
7395 * libio/obprintf.c: Likewise.
7396 * libio/oldfileops.c: Likewise.
7397 * libio/oldiofclose.c: Likewise.
7398 * libio/oldiofdopen.c: Likewise.
7399 * libio/oldiofopen.c: Likewise.
7400 * libio/oldiopopen.c: Likewise.
7401 * libio/wfiledoalloc.c: Likewise.
7402 * libio/wgenops.c: Likewise.
7403 * locale/programs/xmalloc.c: Likewise.
7404 * misc/syslog.c: Likewise.
7405 * stdio-common/xbug.c: Likewise.
7406 * string/memchr.c: Likewise.
7407 * string/memcmp.c: Likewise.
7408 * string/memrchr.c: Likewise.
7409 * string/rawmemchr.c: Likewise.
7410 * sysdeps/posix/getcwd.c: Likewise.
7411 * time/strftime_l.c: Likewise.
7412
7413 2012-01-30 Joseph Myers <joseph@codesourcery.com>
7414
7415 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
7416 * config.make.in (config-cflags-sse2avx): Define.
7417 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
7418 Fix typo.
7419
7420 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
7421
7422 * scripts/config.guess: Update from upstream config git repository.
7423 * scripts/config.sub: Likewise.
7424
7425 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
7426
7427 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
7428 (EM_NUM): Update.
7429 (R_TILEPRO_*, R_TILEGX_*): New macros.
7430
7431 * scripts/firstversions.awk: Fix bug in version range handling.
7432
7433 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
7434
7435 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
7436
7437 * include/sys/epoll.h: New file.
7438 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
7439 libc_hidden_def.
7440
7441 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7442
7443 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
7444 Avoid unnecessary __WORDSIZE == 64 test.
7445 (fmaxf): Use VEX format if possible.
7446 (fmax): Likewise.
7447 (fminf): Likewise.
7448 (fmin): Likewise.
7449
7450 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
7451 * math/math_private.h: Remove libc_fegetround* and
7452 libc_fesetround*.
7453 * sysdeps/i386/configure.in: Check for -msse2avx.
7454 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
7455 also if SSE2AVX is defined.
7456 Remove libc_fegetround* and libc_fesetround*.
7457 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
7458 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
7459 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
7460 of HAS_YMM_USABLE.
7461 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7462 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7466
7467 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
7468
7469 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7470
7471 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
7472 size is not set.
7473 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7474
7475 2012-01-27 Ulrich Drepper <drepper@gmail.com>
7476
7477 [BZ #13618]
7478 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
7479 relocation.
7480 * Makeconfig (libm): Define.
7481 * elf/Makefile: Add rules to build and run tst-relsort1.
7482 * elf/tst-relsort1.c: New file.
7483 * elf/tst-relsort1mod1.c: New file.
7484 * elf/tst-relsort1mod2.c: New file.
7485
7486 2012-01-27 Joseph Myers <joseph@codesourcery.com>
7487
7488 * math/s_ldexp.c: Remove __STDC__ conditionals.
7489 * math/s_ldexpf.c: Likewise.
7490 * math/s_ldexpl.c: Likewise.
7491 * math/s_nextafter.c: Likewise.
7492 * math/s_nexttowardf.c: Likewise.
7493 * math/s_significand.c: Likewise.
7494 * math/s_significandf.c: Likewise.
7495 * math/s_significandl.c: Likewise.
7496 * math/w_jnl.c: Likewise.
7497 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7498 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7499 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7500 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7501 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7502 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
7504 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7505 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7506 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7507 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7508 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7509 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7510 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7511 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7512 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7513 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7514 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7516 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7517 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7518 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7519 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7521 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7522 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7523 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7524 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7525 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7526 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7527 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7528 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7529 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7530 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7531 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7532 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7533 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7534 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7535 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7536 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7537 * sysdeps/ieee754/k_standard.c: Likewise.
7538 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7539 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7540 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7541 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7542 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7543 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7544 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7545 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7546 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7550 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7551 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7552 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7553 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7554 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7555 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7556 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7557 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7558 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7559 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7560 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7561 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7562 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7563 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7564 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7565 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7567 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7568 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
7582 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7586 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7597 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7598 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7599 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7602 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7604 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7617 * sysdeps/ieee754/s_matherr.c: Likewise.
7618 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7619 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7620 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7621 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7622
7623 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7624
7625 * crypt/md5.h: Remove __STDC__ conditionals.
7626 * libio/libioP.h: Likewise.
7627 * locale/programs/config.h: Likewise.
7628 * sysdeps/generic/sysdep.h: Likewise.
7629 * sysdeps/i386/asm-syntax.h: Likewise.
7630 * sysdeps/s390/asm-syntax.h: Likewise.
7631 * sysdeps/unix/sysdep.h: Likewise.
7632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7634
7635 2012-01-26 Joseph Myers <joseph@codesourcery.com>
7636
7637 * libio/libio.h: Remove __STDC__ conditionals.
7638 * malloc/obstack.h: Likewise.
7639 * math/complex.h: Likewise.
7640 * math/math.h: Likewise.
7641 * sysdeps/generic/_G_config.h: Likewise.
7642 * sysdeps/gnu/_G_config.h: Likewise.
7643 * sysdeps/mach/hurd/_G_config.h: Likewise.
7644 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7645 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7646 * sysdeps/sparc/bits/mathdef.h: Likewise.
7647
7648 2012-01-26 Ulrich Drepper <drepper@gmail.com>
7649
7650 [BZ #13583]
7651 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
7652 Clean up HAS_* macros.
7653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
7654 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
7655 possible.
7656 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
7657 HAS_AVX.
7658 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7659 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7660 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7661 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7662 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7663
7664 2012-01-25 Joseph Myers <joseph@codesourcery.com>
7665
7666 * elf/tst-unique3.cc (gets): Remove declaration.
7667 * elf/tst-unique3lib.cc (gets): Likewise.
7668 * elf/tst-unique3lib2.cc (gets): Likewise.
7669 * elf/tst-unique4.cc (gets): Likewise.
7670
7671 2012-01-24 Ulrich Drepper <drepper@gmail.com>
7672
7673 * include/stdio.h: Add C++ protection. Add gets declarations and
7674 definitions.
7675 * debug/tst-chk1.c: Don't declare gets here.
7676 * stdio-common/tst-gets.c: Likewise.
7677
7678 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7679
7680 * posix/glob: Remove directory.
7681
7682 2012-01-24 Joseph Myers <joseph@codesourcery.com>
7683
7684 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
7685
7686 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
7687
7688 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
7689 of the non-standard EPFNOSUPPORT.
7690
7691 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
7692
7693 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
7694 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
7695 ANYWHERE set to 1 only on KERN_NO_SPACE error.
7696
7697 2012-01-21 Ulrich Drepper <drepper@gmail.com>
7698
7699 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7700
7701 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7702
7703 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7704 transient errors.
7705 * nscd/grpcache.c (cache_addgr): Likewise.
7706 * nscd/hstcache.c (cache_addhst): Likewise.
7707 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7708 * nscd/pwdcache.c (cache_addpw): Likewise.
7709 * nscd/servicescache.c (cache_addserv): Likewise.
7710
7711 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7712
7713 * malloc/malloc.c: Various cleanups.
7714 * malloc/hooks.c: Likewise.
7715
7716 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7717 * stdlib/bug-fmtmsg1.c: New file.
7718
7719 * stdlib/fmtmsg.c (init): Add missing unlock.
7720 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7721
7722 2012-01-12 Marek Polacek <polacek@redhat.com>
7723
7724 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7725 and _GNU_SOURCE.
7726
7727 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7728
7729 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7730 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7731 macro to ensure uniqueness of label name.
7732 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7733 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7734
7735 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7736
7737 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7738
7739 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7740 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7741 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7743
7744 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7745
7746 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7747
7748 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7749 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7750 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7751
7752 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7753
7754 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7755 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7756 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7758
7759 * math/bits/math-finite.h: Add ldexp support.
7760
7761 2012-01-10 Marek Polacek <polacek@redhat.com>
7762
7763 * locale/programs/localedef.h (show_archive_content): Add noreturn
7764 attribute.
7765
7766 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7767
7768 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7769
7770 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7771
7772 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7773
7774 * io/Makefile (headers): Add bits/poll2.h.
7775
7776 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7777
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7779 typo #include statement.
7780
7781 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7782
7783 * include/sys/cdefs.h: Define __attribute_alloc_size.
7784 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7785 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7786 * elf/pldd.c: Likewise.
7787 * iconv/iconv_charmap.c: Likewise.
7788 * iconv/iconvconfig.c: Likewise.
7789 * iconv/strtab.c: Likewise.
7790 * locale/programs/locale.c: Likewise.
7791 * locale/programs/localedef.h: Likewise.
7792 * locale/programs/simple-hash.c: Likewise.
7793 * nscd/nscd.h: Likewise.
7794 * nss/makedb.c: Likewise.
7795 * sysdeps/generic/ldconfig.h: Likewise.
7796 * locale/programs/localedef.c: Remove xmalloc prototype.
7797 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7798
7799 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7800
7801 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7802 appropriate.
7803
7804 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7805
7806 * math/Makefile (tests): Add tst-CMPLX.
7807 * math/tst-CMPLX.c: New file.
7808
7809 * math/complex.h (CMPLXL): Fix typo.
7810
7811 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7812 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7813 GLIBC_2.16.
7814 * debug/tst-chk1.c: Add poll and ppoll tests.
7815 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7816 * include/sys/poll.h: Add hidden proto for ppoll.
7817 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7818 * sysdeps/mach/hurd/ppoll.c: Likewise.
7819 * io/ppoll.c: Likewise.
7820 * debug/poll_chk.c: New file.
7821 * debug/ppoll_chk.c: New file.
7822 * include/bits/poll2.h: New file.
7823 * io/bits/poll2.h: New file.
7824
7825 [BZ #1350]
7826 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7827
7828 * configure.in: static is always set to yes. Remove.
7829 * config.make.in: Don't set build-static.
7830 * Makeconfig: Remove use of build-static.
7831 * dlfcn/Makefile: Likewise.
7832 * elf/Makefile: Likewise.
7833 * math/Makefile: Likewise.
7834 * misc/Makefile: Likewise.
7835 * nptl/Makefile: Likewise.
7836 * sysdeps/mach/hurd/Makefile: Likewise.
7837
7838 * configure.in: PWD_P is not used anymore.
7839 * config.make.in: Remove PWD_P entry.
7840
7841 * configure.in: Remove last remnants of RANLIB.
7842 No need to check for signed size_t anymore.
7843 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7844 and IA-64.
7845 Remove __builtin_expect test because we require at least gcc 3.4.
7846 * aclocal.m4: Likewise.
7847
7848 * wcsmbs/mbrtoc16.c: Implement using towc function.
7849 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7850 * wcsmbs/wcsmbsload.c: Likewise.
7851 * iconv/gconv_simple.c: Likewise.
7852 * iconv/gconv_int.h: Likewise.
7853 * iconv/gconv_builtin.h: Likewise.
7854 * iconv/iconv_prog.c: Remove CHAR16 handling.
7855
7856 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7857
7858 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7859
7860 * configure.in: Remove --with-elf and --enable-bounded options.
7861 Dont set base_machine for ia64. More non-ELF conditions removed.
7862 Remove testing and setting of leading underscore information.
7863 * config.make.in (build-bounded): Set to no.
7864 * config.h.in: Remove NO_UNDERSCORES entry.
7865 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7866 them.
7867 * csu/start.c: Remove !NO_UNDERSCORE code.
7868 * locale/localeinfo.h: Likewise.
7869 * sysdeps/generic/machine-gmon.h: Likewise.
7870 * sysdeps/generic/sysdep.h: Likewise.
7871 * sysdeps/i386/sysdep.h: Likewise.
7872 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7873 * sysdeps/mach/sysdep.h: Likewise.
7874 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7876 * sysdeps/sh/sysdep.h: Likewise.
7877 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7878 * sysdeps/unix/i386/sysdep.S: Likewise.
7879 * sysdeps/unix/sparc/start.c: Likewise.
7880 * sysdeps/unix/sparc/sysdep.S: Likewise.
7881 * sysdeps/unix/sparc/sysdep.h: Likewise.
7882 * sysdeps/unix/start.c: Likewise.
7883 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7884 * sysdeps/x86_64/sysdep.h: Likewise.
7885
7886 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7887
7888 [BZ #13553]
7889 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7890 for non-gcc.
7891 * argp/argp-fmtstream.h: Use const instead __const.
7892 * argp/argp.h: Likewise.
7893 * assert/assert.h: Likewise.
7894 * bits/fenv.h: Likewise.
7895 * bits/sched.h: Likewise.
7896 * bits/sigset.h: Likewise.
7897 * bits/sigthread.h: Likewise.
7898 * catgets/nl_types.h: Likewise.
7899 * conform/data/pthread.h-data: Likewise.
7900 * crypt/crypt-private.h: Likewise.
7901 * crypt/crypt.h: Likewise.
7902 * crypt/crypt_util.c: Likewise.
7903 * ctype/ctype.h: Likewise.
7904 * debug/execinfo.h: Likewise.
7905 * debug/mbsnrtowcs_chk.c: Likewise.
7906 * debug/mbsrtowcs_chk.c: Likewise.
7907 * debug/wcsnrtombs_chk.c: Likewise.
7908 * debug/wcsrtombs_chk.c: Likewise.
7909 * debug/wcstombs_chk.c: Likewise.
7910 * dirent/dirent.h: Likewise.
7911 * dlfcn/dlfcn.h: Likewise.
7912 * elf/neededtest4.c: Likewise.
7913 * grp/grp.h: Likewise.
7914 * gshadow/gshadow.h: Likewise.
7915 * iconv/gconv.h: Likewise.
7916 * iconv/gconv_int.h: Likewise.
7917 * iconv/gconv_simple.c: Likewise.
7918 * iconv/iconv.h: Likewise.
7919 * iconv/loop.c: Likewise.
7920 * iconv/skeleton.c: Likewise.
7921 * include/aio.h: Likewise.
7922 * include/aliases.h: Likewise.
7923 * include/argz.h: Likewise.
7924 * include/arpa/inet.h: Likewise.
7925 * include/assert.h: Likewise.
7926 * include/dirent.h: Likewise.
7927 * include/dlfcn.h: Likewise.
7928 * include/execinfo.h: Likewise.
7929 * include/fcntl.h: Likewise.
7930 * include/fenv.h: Likewise.
7931 * include/glob.h: Likewise.
7932 * include/grp.h: Likewise.
7933 * include/libintl.h: Likewise.
7934 * include/mntent.h: Likewise.
7935 * include/netdb.h: Likewise.
7936 * include/pwd.h: Likewise.
7937 * include/rpc/netdb.h: Likewise.
7938 * include/sched.h: Likewise.
7939 * include/search.h: Likewise.
7940 * include/shadow.h: Likewise.
7941 * include/signal.h: Likewise.
7942 * include/stdio.h: Likewise.
7943 * include/stdlib.h: Likewise.
7944 * include/string.h: Likewise.
7945 * include/sys/socket.h: Likewise.
7946 * include/sys/stat.h: Likewise.
7947 * include/sys/statfs.h: Likewise.
7948 * include/sys/statvfs.h: Likewise.
7949 * include/sys/syslog.h: Likewise.
7950 * include/sys/time.h: Likewise.
7951 * include/sys/uio.h: Likewise.
7952 * include/time.h: Likewise.
7953 * include/unistd.h: Likewise.
7954 * include/utmp.h: Likewise.
7955 * include/wchar.h: Likewise.
7956 * include/wctype.h: Likewise.
7957 * inet/aliases.h: Likewise.
7958 * inet/arpa/inet.h: Likewise.
7959 * inet/netinet/ether.h: Likewise.
7960 * inet/netinet/in.h: Likewise.
7961 * intl/libintl.h: Likewise.
7962 * io/bits/fcntl2.h: Likewise.
7963 * io/fcntl.h: Likewise.
7964 * io/ftw.h: Likewise.
7965 * io/sys/poll.h: Likewise.
7966 * io/sys/stat.h: Likewise.
7967 * io/sys/statfs.h: Likewise.
7968 * io/sys/statvfs.h: Likewise.
7969 * io/utime.h: Likewise.
7970 * libio/bits/stdio.h: Likewise.
7971 * libio/bits/stdio2.h: Likewise.
7972 * libio/libio.h: Likewise.
7973 * libio/libioP.h: Likewise.
7974 * libio/stdio.h: Likewise.
7975 * locale/lc-ctype.c: Likewise.
7976 * locale/locale.h: Likewise.
7977 * login/utmp.h: Likewise.
7978 * malloc/arena.c: Likewise.
7979 * malloc/malloc.c: Likewise.
7980 * malloc/malloc.h: Likewise.
7981 * malloc/mcheck.c: Likewise.
7982 * malloc/mtrace.c: Likewise.
7983 * math/bits/mathcalls.h: Likewise.
7984 * math/fenv.h: Likewise.
7985 * math/math_private.h: Likewise.
7986 * misc/bits/error.h: Likewise.
7987 * misc/bits/syslog.h: Likewise.
7988 * misc/err.h: Likewise.
7989 * misc/error.h: Likewise.
7990 * misc/fstab.h: Likewise.
7991 * misc/mntent.h: Likewise.
7992 * misc/regexp.h: Likewise.
7993 * misc/search.h: Likewise.
7994 * misc/sgtty.h: Likewise.
7995 * misc/sys/mman.h: Likewise.
7996 * misc/sys/syslog.h: Likewise.
7997 * misc/sys/uio.h: Likewise.
7998 * misc/sys/xattr.h: Likewise.
7999 * misc/ttyent.h: Likewise.
8000 * nis/rpcsvc/ypclnt.h: Likewise.
8001 * nss/nss.h: Likewise.
8002 * posix/bits/unistd.h: Likewise.
8003 * posix/fnmatch.h: Likewise.
8004 * posix/glob.h: Likewise.
8005 * posix/sched.h: Likewise.
8006 * posix/spawn.h: Likewise.
8007 * posix/sys/wait.h: Likewise.
8008 * posix/unistd.h: Likewise.
8009 * posix/wordexp.h: Likewise.
8010 * pwd/pwd.h: Likewise.
8011 * resolv/netdb.h: Likewise.
8012 * resource/sys/resource.h: Likewise.
8013 * rt/aio.h: Likewise.
8014 * rt/bits/mqueue2.h: Likewise.
8015 * rt/mqueue.h: Likewise.
8016 * shadow/shadow.h: Likewise.
8017 * signal/signal.h: Likewise.
8018 * socket/send.c: Likewise.
8019 * socket/sendto.c: Likewise.
8020 * socket/sys/socket.h: Likewise.
8021 * stdio-common/printf.h: Likewise.
8022 * stdlib/bits/stdlib.h: Likewise.
8023 * stdlib/fmtmsg.h: Likewise.
8024 * stdlib/monetary.h: Likewise.
8025 * stdlib/stdlib.h: Likewise.
8026 * stdlib/ucontext.h: Likewise.
8027 * streams/stropts.h: Likewise.
8028 * string/argz.h: Likewise.
8029 * string/bits/string2.h: Likewise.
8030 * string/string.h: Likewise.
8031 * string/strings.h: Likewise.
8032 * sunrpc/rpc/auth.h: Likewise.
8033 * sunrpc/rpc/auth_des.h: Likewise.
8034 * sunrpc/rpc/clnt.h: Likewise.
8035 * sunrpc/rpc/netdb.h: Likewise.
8036 * sunrpc/rpc/pmap_clnt.h: Likewise.
8037 * sunrpc/rpc/xdr.h: Likewise.
8038 * sysdeps/generic/inttypes.h: Likewise.
8039 * sysdeps/generic/net/if.h: Likewise.
8040 * sysdeps/generic/sys/swap.h: Likewise.
8041 * sysdeps/gnu/net/if.h: Likewise.
8042 * sysdeps/gnu/utmpx.h: Likewise.
8043 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8044 * sysdeps/i386/i486/bits/string.h: Likewise.
8045 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8046 * sysdeps/s390/bits/string.h: Likewise.
8047 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8048 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8049 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8050 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8051 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8052 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8053 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8054 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8055 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8056 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8057 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8058 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8059 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8060 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8061 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8062 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8063 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8065 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8067 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8068 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8069 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8070 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8071 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8072 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8073 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8074 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8075 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8076 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8077 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8078 * sysvipc/sys/ipc.h: Likewise.
8079 * sysvipc/sys/msg.h: Likewise.
8080 * sysvipc/sys/sem.h: Likewise.
8081 * sysvipc/sys/shm.h: Likewise.
8082 * termios/termios.h: Likewise.
8083 * time/sys/time.h: Likewise.
8084 * time/time.h: Likewise.
8085 * wcsmbs/bits/wchar2.h: Likewise.
8086 * wcsmbs/uchar.h: Likewise.
8087 * wcsmbs/wchar.h: Likewise.
8088 * wctype/wctype.h: Likewise.
8089
8090 [BZ #13551]
8091 * Makeconfig: Remove all but ELF support including AIX support.
8092 * Makerules: Likewise.
8093 * config.h.in: Likewise.
8094 * config.make.in: Likewise.
8095 * configure: Likewise.
8096 * configure.in: Likewise.
8097 * csu/Makefile: Likewise.
8098 * csu/version.c: Likewise.
8099 * debug/Makefile: Likewise.
8100 * dlfcn/Makefile: Likewise.
8101 * elf/Makefile: Likewise.
8102 * extra-lib.mk: Likewise.
8103 * iconv/Makefile: Likewise.
8104 * include/libc-symbols.h: Likewise.
8105 * include/shlib-compat.h: Likewise.
8106 * resolv/Makefile: Likewise.
8107 * resolv/res_libc.c: Likewise.
8108 * rt/Makefile: Likewise.
8109 * sysdeps/i386/asm-syntax.h: Likewise.
8110 * sysdeps/i386/sysdep.h: Likewise.
8111 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8112 * sysdeps/mach/sysdep.h: Likewise.
8113 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8114 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8115 * sysdeps/s390/asm-syntax.h: Likewise.
8116 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8117 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8118 * sysdeps/sh/sysdep.h: Likewise.
8119 * sysdeps/unix/sparc/sysdep.h: Likewise.
8120 * sysdeps/wordsize-32/divdi3.c: Likewise.
8121 * sysdeps/x86_64/sysdep.h: Likewise.
8122
8123 * argp/Versions: Remove _argp_unlock_xxx.
8124
8125 [BZ #13559]
8126 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8127 * abilist/libBrokenLocale.abilist: Likewise.
8128 * abilist/libanl.abilist: Likewise.
8129 * abilist/libc.abilist: Likewise.
8130 * abilist/libcrypt.abilist: Likewise.
8131 * abilist/libdl.abilist: Likewise.
8132 * abilist/libm.abilist: Likewise.
8133 * abilist/libnsl.abilist: Likewise.
8134 * abilist/libpthread.abilist: Likewise.
8135 * abilist/libresolv.abilist: Likewise.
8136 * abilist/librt.abilist: Likewise.
8137 * abilist/libthread_db.abilist: Likewise.
8138 * abilist/libutil.abilist: Likewise.
8139 * abilist/libnss_db.abilist: New file.
8140
8141 * scripts/abilist.awk: Add support for indirect functions.
8142
8143 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8144
8145 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8146
8147 * shlib-versions: Remove entries for ports architectures.
8148
8149 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8150 files in ports.
8151 * elf/stackguard-macros.h: Remove support for IA-64.
8152 * elf/tst-auditmod1.c: Likewise.
8153 * sysdeps/generic/ldsodefs.h: Likewise.
8154
8155 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8156 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8157 configure files.
8158
8159 [BZ #13552]
8160 * configure.in: Remove --enable-omitfp support.
8161 * FAQ.in: Adjust.
8162 * config.make.in: Likewise.
8163 * Makeconfig: Likewise.
8164 * manual/install.texi: Likewise.
8165
8166 In case anyone cares, the IA-64 architecture could move to ports.
8167 * sysdeps/ia64/*: Removed.
8168 * sysdeps/unix/sysv/linux/ia64/*: Removed.
8169 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
8170
8171 [BZ #13555]
8172 * configure.in: Remove entries for unsupported architectures.
8173
8174 [BZ #13533]
8175 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8176 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8177 routines.
8178 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8179 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8180 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8181 fall back to using wcrtomb.
8182 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8183 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8184 renaming.
8185 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8186 * wcsmbs/tst-c16c32-1.c: New file.
8187
8188 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8189 local variable.
8190
8191 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8192
8193 * elf/tst-unique3.cc: Add explicit declaration of gets.
8194 * elf/tst-unique3lib.cc: Likewise.
8195 * elf/tst-unique3lib2.cc: Likewise.
8196 * elf/tst-unique4.cc: Likewise.
8197
8198 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8199
8200 2012-01-06 Joseph Myers <joseph@codesourcery.com>
8201
8202 [BZ #13566]
8203 * assert/assert.h (static_assert): Don't define for C++.
8204 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8205 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8206
8207 2012-01-03 Ulrich Drepper <drepper@gmail.com>
8208
8209 * iconv/loop.c (single loop): Fix assertion in storing of
8210 remaining bytes.
8211
8212 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8213
8214 2012-01-01 Ulrich Drepper <drepper@gmail.com>
8215
8216 * posix/getconf.c: Update copyright year.
8217 * nss/getent.c: Likewise.
8218 * nss/makedb.c: Likewise.
8219 * iconv/iconvconfig.c: Likewise.
8220 * iconv/iconv_prog.c: Likewise.
8221 * elf/ldconfig.c: Likewise.
8222 * elf/pldd.c: Likewise.
8223 * elf/sotruss.ksh: Likewise.
8224 * catgets/gencat.c: Likewise.
8225 * csu/version.c: Likewise.
8226 * elf/ldd.bash.in: Likewise.
8227 * elf/sprof.c (print_version): Likewise.
8228 * locale/programs/locale.c: Likewise.
8229 * locale/programs/localedef.c: Likewise.
8230 * login/programs/pt_chown.c: Likewise.
8231 * nscd/nscd.c (print_version): Likewise.
8232 * debug/xtrace.sh: Likewise.
8233 * malloc/memusage.sh: Likewise.
8234 * malloc/mtrace.pl: Likewise.
8235 * debug/catchsegv.sh: Likewise.
8236
8237 2011-12-30 Jakub Jelinek <jakub@redhat.com>
8238
8239 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
8240 pure attribute.
8241
8242 2011-12-24 Ulrich Drepper <drepper@gmail.com>
8243
8244 [BZ #13533]
8245 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
8246 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
8247 transformations.
8248 * iconv/gconv_int.h: Likewise.
8249 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
8250 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
8251 from libc for GLIBC_2.16.
8252 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
8253 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
8254 * wcsmbs/uchar.h: Really define mbstate_t.
8255 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
8256 * wcsmbs/c16rtomb.c: New file.
8257 * wcsmbs/mbrtoc16.c: New file.
8258 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
8259 for C/POSIX locale.
8260 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
8261 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
8262
8263 * wcsmbs/wchar.h: Add missing __restrict.
8264
8265 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8266
8267 [BZ #13532]
8268 * time/Makefile (routines): Add timespec_get.
8269 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
8270 * time/time.h: Define TIME_UTC and declare timespec_get. Define
8271 timespec for ISO C11.
8272 * time/timespec_get.c: New file.
8273 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
8274 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
8275
8276 [BZ #13531]
8277 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
8278 * stdlib/stdlib.h: Declare aligned_alloc.
8279 * Versions.def: Add GLIBC_2.16 for libc.
8280 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
8281
8282 [BZ 13527]
8283 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
8284 ISO C11.
8285
8286 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8287 code.
8288
8289 [BZ #13528]
8290 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
8291
8292 [BZ #13529]
8293 * assert/assert.h (static_assert): Define.
8294
8295 * version.h: Update for 2.16 development version.
8296
8297 [BZ #13526]
8298 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
8299 _ISOC11_SOURCE.
8300
8301 * version.h (RELEASE): Bump for 2.15 release.
8302 * include/features.h (__GLIBC_MINOR__): Bump to 15.
8303
8304 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
8305 Patch by Marek Polacek <mpolacek@redhat.com>.
8306
8307 * bits/byteswap.h: Protect long long constants with __extension__.
8308 * sysdeps/i386/bits/byteswap.h: Likewise.
8309 * sysdeps/ia64/bits/byteswap.h: Likewise.
8310 * sysdeps/s390/bits/byteswap.h: Likewise.
8311 * sysdeps/x86_64/bits/byteswap.h: Likewise.
8312
8313 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8314
8315 [BZ #13540]
8316 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
8317 destination buffer.
8318 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8319
8320 2011-12-23 Marek Polacek <polacek@redhat.com>
8321
8322 * elf/dl-addr.c (determine_info): Add inline keyword.
8323 * elf/tst-auditmod4b.c (check_avx): Likewise.
8324 * elf/tst-auditmod6b.c (check_avx): Likewise.
8325 * elf/tst-auditmod6c.c (check_avx): Likewise.
8326 * elf/tst-auditmod7b.c (check_avx): Likewise.
8327
8328 2011-12-23 Ulrich Drepper <drepper@gmail.com>
8329
8330 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
8331 !__SSE_MATH__.
8332
8333 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8334
8335 [BZ #13540]
8336 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
8337 processing for last bytes.
8338
8339 2011-08-06 Bruno Haible <bruno@clisp.org>
8340
8341 [BZ #13061]
8342 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
8343 U+0385, not to U+1FEE.
8344
8345 [BZ #13062]
8346 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
8347 entry for U+00A5 U+0301.
8348
8349 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8350
8351 [BZ #13166]
8352 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
8353 buffer for the output is too small.
8354
8355 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
8356 optimization.
8357
8358 [BZ #13185]
8359 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
8360 SSE flags if possible.
8361
8362 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8363
8364 [BZ #13540]
8365 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
8366 processing for last bytes.
8367
8368 2011-12-22 Joseph Myers <joseph@codesourcery.com>
8369
8370 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
8371 (syscall-list-default-options, syscall-list-default-condition)
8372 (syscall-list-includes): Define.
8373 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
8374 list of ABIs and options and #if conditions for each ABI. Do not
8375 handle common syscalls between ABIs specially.
8376 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
8377 Remove.
8378 (syscall-list-variants, syscall-list-32bit-options)
8379 (syscall-list-32bit-condition, syscall-list-64bit-options)
8380 (syscall-list-64bit-condition): Define.
8381 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
8382 (syscall-list-variants, syscall-list-32bit-options)
8383 (syscall-list-32bit-condition, syscall-list-64bit-options)
8384 (syscall-list-64bit-condition): Define.
8385 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
8386 Remove.
8387 (syscall-list-variants, syscall-list-32bit-options)
8388 (syscall-list-32bit-condition, syscall-list-64bit-options)
8389 (syscall-list-64bit-condition): Define.
8390 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
8391 Remove.
8392 (syscall-list-variants, syscall-list-32bit-options)
8393 (syscall-list-32bit-condition, syscall-list-64bit-options)
8394 (syscall-list-64bit-condition): Define.
8395
8396 2011-12-22 Ulrich Drepper <drepper@gmail.com>
8397
8398 * locale/iso-639.def: Add brx entry.
8399
8400 [BZ #13328]
8401 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
8402 Proposed by Mariusz_Cukr <marcukr@op.pl>.
8403
8404 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
8405 __feraiseexcept_renamed.
8406
8407 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8408
8409 [BZ #13538]
8410 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
8411 EPOLLET with unsigned values.
8412 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8413 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8414
8415 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
8416 to large cancellation.
8417 * math/s_cacoshf.c: Likewise.
8418 * math/s_cacoshl.c: Likewise.
8419
8420 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
8421
8422 [BZ #13305]
8423 [BZ #12786]
8424 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
8425 * math/s_cacoshf.c: Likewise.
8426 * math/s_cacoshl.c: Likewise.
8427
8428 2011-12-21 Ulrich Drepper <drepper@gmail.com>
8429
8430 [BZ #13439]
8431 * iconv/gconv.h: Define __GCONV_SWAP.
8432 * iconvdata/unicode.c: The swap bit must be stored in __flags.
8433 * iconvdata/utf-16.c: Likewise.
8434 * iconvdata/utf-32.c: Likewise.
8435
8436 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
8437
8438 [BZ #13524]
8439 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
8440 numerator after shifting it by one limb.
8441
8442 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
8443
8444 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
8445 under [__USE_EXTERN_INLINES].
8446
8447 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8448
8449 [BZ #13446]
8450 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
8451
8452 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8453
8454 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
8455 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
8456 optimized code.
8457 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
8458 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
8459 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
8460 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
8461 for strncasecmp/strncasecmp_l compilation.
8462 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
8463 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
8464
8465 2011-12-08 Marek Polacek <mpolacek@redhat.com>
8466
8467 [BZ #13484]
8468 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
8469 of __asm__.
8470
8471 2011-12-17 Ulrich Drepper <drepper@gmail.com>
8472
8473 [BZ #13506]
8474 * time/tzfile.c (__tzfile_read): Check values from file header.
8475
8476 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8477
8478 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
8479 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
8480 * powerpc/powerpc32/dl-start.S: Likewise.
8481 * powerpc/powerpc32/elf/start.S: Likewise.
8482 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8483 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
8484 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
8485 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
8486 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8487 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
8488 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
8489 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8490 * powerpc/powerpc32/fpu/s_round.S: Likewise.
8491 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8492 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8493 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8494 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8495 * powerpc/powerpc32/memset.S: Likewise.
8496 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8497 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8498 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8499 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8500 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8501 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8502 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8503 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8504 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
8505 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
8506 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
8507 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8508 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8509
8510 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8511
8512 * math/libm-test.inc: Added more nearbyint tests.
8513 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
8514 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
8515 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
8516 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
8517
8518 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
8519
8520 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
8521 FD_CLOEXEC.
8522
8523 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8524
8525 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
8526 Add wcscpy-ssse3 wcscpy-c.
8527 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
8528 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
8529 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
8530 * sysdeps/x86_64/wcschr.S: New file.
8531 * sysdeps/x86_64/wcsrchr.S: New file.
8532 * string/test-strcmp.c: Remove checking of wcscmp function for
8533 wrong alignments.
8534 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
8535 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
8536 wcsrchr-sse2 wcsrchr-c.
8537 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
8538 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
8539 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
8540 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
8541 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
8542 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
8543 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
8544 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
8545 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
8546 * wcsmbc/wcschr.c (WCSCHR): New macro.
8547
8548 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8549
8550 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
8551 * wcsmbs/test-wcsrchr.c: New file.
8552 * string/test-strrchr.c: Add wcsrchr support.
8553 (WIDE): New macro.
8554 * wcsmbs/test-wcscpy.c: New file.
8555 * string/test-strcpy.c: Add wcscpy support.
8556 (WIDE): New macro.
8557
8558 2011-12-10 Ulrich Drepper <drepper@gmail.com>
8559
8560 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
8561 the inner loop.
8562
8563 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
8564
8565 [BZ #13472]
8566 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
8567
8568 2011-12-04 Ulrich Drepper <drepper@gmail.com>
8569
8570 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
8571 Minor optimizations.
8572
8573 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
8574 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
8575 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
8576
8577 2011-12-03 Ulrich Drepper <drepper@gmail.com>
8578
8579 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
8580 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
8581 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
8582 for gcc to avoid warnings.
8583 * inet/Makefile (tests): Add tst-checks.
8584 * inet/tst-checks.c: New file.
8585
8586 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
8587 warning.
8588
8589 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
8590 __wmemcmp_sse2.
8591
8592 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
8593 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
8594
8595 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
8596
8597 2011-12-02 Ulrich Drepper <drepper@gmail.com>
8598
8599 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
8600 problem.
8601
8602 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
8603
8604 2011-11-29 Joseph Myers <joseph@codesourcery.com>
8605
8606 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
8607 conditional on GCC version.
8608 (__arch_compare_and_exchange_val_8_acq)
8609 (__arch_compare_and_exchange_val_16_acq)
8610 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
8611 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
8612 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
8613
8614 2011-12-02 Joseph Myers <joseph@codesourcery.com>
8615
8616 * sysdeps/sh/backtrace.c: New file.
8617
8618 2011-12-02 Andreas Schwab <schwab@redhat.com>
8619
8620 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
8621 parenthesis.
8622
8623 2011-12-01 Andreas Schwab <schwab@redhat.com>
8624
8625 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
8626 falling back to utime.
8627
8628 2011-11-30 Andreas Schwab <schwab@redhat.com>
8629
8630 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
8631 expectations for float.
8632
8633 2011-11-29 Andreas Schwab <schwab@redhat.com>
8634
8635 * locale/weight.h (findidx): Add parameter len.
8636 * locale/weightwc.h (findidx): Likewise.
8637 * posix/fnmatch_loop.c (FCT): Adjust caller.
8638 * posix/regcomp.c (build_equiv_class): Likewise.
8639 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
8640 * posix/regexec.c (check_node_accept_bytes): Likewise.
8641 * string/strcoll_l.c (STRCOLL): Likewise.
8642 * string/strxfrm_l.c (STRXFRM): Likewise.
8643
8644 2011-11-17 Ulrich Drepper <drepper@gmail.com>
8645
8646 * Makefile.in: Remove CVSOPT handling.
8647 * configure.in: Remove use of AC_REVISION.
8648 * iconvdata/Makefile (distribute): No need to filter out CVS.
8649 * scripts/list-sources.sh: Remove CVS, subversion and monotone
8650 handling.
8651
8652 2011-11-16 Andreas Schwab <schwab@redhat.com>
8653
8654 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
8655 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
8656 [USE_AS_STRNCASECMP_L]: Likewise.
8657 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
8658 NO_TLS_DIRECT_SEG_REFS.
8659 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
8660 Fix argument offsets for non-PIC.
8661 [USE_AS_STRNCASECMP_L]: Likewise.
8662 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
8663 NO_TLS_DIRECT_SEG_REFS.
8664
8665 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8666
8667 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
8668 O_CLOEXEC.
8669 * locale/loadlocale.c (_nl_load_locale): Likewise.
8670
8671 2011-11-15 Andreas Schwab <schwab@redhat.com>
8672
8673 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
8674 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
8675 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
8676 (SYSCALL_GETTIME): Set errno on error.
8677
8678 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
8679 count references to noai6ai_cached.
8680
8681 2011-11-15 Ulrich Drepper <drepper@gmail.com>
8682
8683 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
8684
8685 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
8686 FD_CLOEXEC for /proc/self/maps.
8687
8688 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
8689 FD_CLOEXEC for /proc/meminfo.
8690
8691 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
8692 gai.conf.
8693
8694 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
8695 FD_CLOEXEC for given file.
8696
8697 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
8698
8699 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8700 FD_CLOEXEC for /etc/hosts.
8701 (_gethtent): Likewise.
8702
8703 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8704
8705 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8706 cancellation and set FD_CLOEXEC for /etc/netgroup.
8707
8708 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8709 reading /etc/publickey.
8710
8711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8712 allow cancellation when reading /etc/group.
8713
8714 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8715 cancellation.
8716 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8717
8718 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8719 when using data file.
8720
8721 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8722
8723 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8724 (write_nis_obj): Use "c" and "e" in fopen.
8725
8726 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8727
8728 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8729
8730 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8731
8732 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8733
8734 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8735 locale.alias.
8736
8737 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8738
8739 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8740
8741 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8742
8743 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8744 file parsing and set FD_CLOEXEC.
8745
8746 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8747
8748 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8749
8750 2011-11-14 Andreas Schwab <schwab@redhat.com>
8751
8752 * malloc/arena.c (arena_get2): Don't call reused_arena when
8753 _int_new_arena failed.
8754
8755 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8756
8757 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8758 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8759 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8760 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8761 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8762 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8763 to compile strcasecmp and strncasecmp.
8764 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8765 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8766
8767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8768
8769 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8770
8771 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8772 locale-defines.sym to gen-as-const-headers.
8773 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8774 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8775 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8776 to compile strcasecmp and strncasecmp.
8777 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8778 strcasecmp_l and strncasecmp_l.
8779 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8780 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8781 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8782 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8783 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8784 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8785 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8786 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8787 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8788 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8789 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8790
8791 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8792
8793 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8794 result of SYSDEP_GETTIME_CPU to retval.
8795 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8796 parameter list to macro. Remove trailing semicolon. Adjust users.
8797
8798 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8799 variable.
8800
8801 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8802 mantissa words.
8803 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8804
8805 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8806 from unused variable.
8807
8808 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8809 DWARF definitions.
8810 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8811 for assembling.
8812
8813 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8814 over namespaces.
8815
8816 * sunrpc/rpc_prot.c (rejected): Fix case value.
8817
8818 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8819 unsigned long long int to avoid warnings in shift.
8820
8821 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8822 of use of trans.
8823 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8824 variable tmp.
8825
8826 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8827 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8828 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8829
8830 * nis/nis_table.c (nis_list): Use variable of correct type for
8831 result of __follow_path call.
8832
8833 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8834
8835 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8836 of math functions ceil, trunc, floor, round, and sqrt, when
8837 avaliable on the platform.
8838 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8839 name clash.
8840 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8841 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8842 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8843
8844 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8845
8846 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8847 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8848
8849 2011-11-11 Roland McGrath <roland@hack.frob.com>
8850
8851 * include/unistd.h: Fix __readlink return type.
8852 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8853
8854 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8855
8856 * stdlib/ucontext.h: Undo last change for makecontext.
8857
8858 2011-11-11 Andreas Schwab <schwab@redhat.com>
8859
8860 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8861
8862 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8863 * setjmp/setjmp.h: Mark functions as non-leaf.
8864 * setjmp/bits/setjmp2.h: Likewise.
8865 * stdlib/ucontext.h: Likewise.
8866
8867 2011-11-10 Andreas Schwab <schwab@redhat.com>
8868
8869 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8870 (reused_arena): Don't check arena limit.
8871 (arena_get2): Atomically check arena limit.
8872
8873 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8874
8875 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8876 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8877
8878 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8879 instructions.
8880
8881 2011-11-07 Andreas Schwab <schwab@redhat.com>
8882
8883 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8884 handler when locking.
8885
8886 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8887 Fix size of allocated buffer.
8888
8889 2011-11-04 Andreas Schwab <schwab@redhat.com>
8890
8891 [BZ #10103]
8892 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8893 declarations for long double functions.
8894 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8895
8896 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8897
8898 2011-11-03 Andreas Schwab <schwab@redhat.com>
8899
8900 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8901 installed.
8902
8903 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8904 is disabled.
8905
8906 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8907
8908 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8909
8910 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8911
8912 * include/alloca.h (stackinfo_alloca_round): Define.
8913 (extend_alloca): Use it.
8914 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8915 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8916 here.
8917
8918 * scripts/check-local-headers.sh: Ignore libaudit.h.
8919
8920 * nscd/Makefile (extra-objs): Make recursively expanded.
8921
8922 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8923
8924 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8925 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8926
8927 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8928 * posix/tst-rfc3484-2.c: Likewise.
8929 * posix/tst-rfc3484-3.c: Likewise.
8930
8931 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8932 process_vm_writev.
8933 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8934 process_vm_writev.
8935 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8936 process_vm_writev from libc using GLIBC_2.15 version.
8937
8938 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8939
8940 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8941
8942 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8943 stack usage.
8944
8945 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8946
8947 [BZ #13367]
8948 * nss/getent.c (initgroups_keys): Show error message in case no group
8949 names are given.
8950
8951 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8952 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8953 __bump_nl_timestamp.
8954 * nscd/connections (nscd_init): When host database is served open
8955 netlink socket and request notification about configuration changes.
8956 (main_loop_poll): Track netlink file descriptor and bump timestamp
8957 in case data becomes available.
8958 (main_loop_epoll): Likewise.
8959 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8960 (database_pers_head): Add extra_data fileds.
8961 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8962 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8963 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8964 Adjust caller.
8965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8966 in6ai data, call __free_in6ai.
8967 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8968 Add -DHAVE_NETLINK.
8969 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8970 interface information. Reuse previous data if netlink timestamp
8971 is not changed.
8972 (__bump_nl_timestamp): New function.
8973 (__free_in6ai): New function.
8974
8975 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8976
8977 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8978 close_not_cancel_no_status here.
8979 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8980
8981 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8982
8983 [BZ #13276]
8984 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8985 return value.
8986
8987 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8988 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8989 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8990
8991 2011-07-03 Andreas Jaeger <aj@suse.de>
8992
8993 [BZ #10709]
8994 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8995 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8996 * math/libm-test.inc (sin_test): Add test case.
8997
8998 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8999
9000 [BZ #13337]
9001 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9002 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9003
9004 * elf/chroot_canon.c (chroot_canon): Cleanups.
9005
9006 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9007
9008 [BZ #13335]
9009 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9010 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9011
9012 * string/test-strchr.c: Make usable for strchrnul testing.
9013 * string/test-strchrnul.c: New file.
9014 * string/Makefile (strop-tests): Add strchrnul.
9015
9016 * po/it.po: Update from translation team.
9017 * po/es.po: Likewise.
9018
9019 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9020
9021 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9022 the three constants needed as parameters. Drop the others.
9023 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9024 __m128i_strloadu_tolower.
9025 Create and initialize variable zero and use it in all the places
9026 where _mm_setzero_si128 was used.
9027
9028 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9029 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9030 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9031 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9032 anymore.
9033 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9034 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9035 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9036 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9037 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9038 __mpranred, __mptan.
9039 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9040 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9041 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9042 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9043 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9044 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9045 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9046 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9047 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9048
9049 2011-10-28 Andreas Schwab <schwab@redhat.com>
9050
9051 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9052 redefine if SHARED.
9053 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9054
9055 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9056 wide char related routines to wcsmbs subdir.
9057
9058 2011-10-27 Andreas Schwab <schwab@redhat.com>
9059
9060 [BZ #13344]
9061 * misc/sys/cdefs.h (__THROWNL): Define.
9062 * posix/unistd.h: Use __THREADNL instead of __THREAD
9063 for memory synchronization functions.
9064
9065 2011-10-26 Roland McGrath <roland@hack.frob.com>
9066
9067 [BZ #13349]
9068 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9069 doesn't exist.
9070 * manual/stdio.texi (Obstack Streams): Node removed.
9071
9072 2011-10-26 Andreas Schwab <schwab@redhat.com>
9073
9074 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9075 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9076 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9077
9078 * math/math_private.h (math_force_eval): Allow non-addressable
9079 arguments.
9080 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9081
9082 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9083
9084 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9085 file is not needed.
9086
9087 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9088 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9089 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9090 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9091 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9092 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9093 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9094 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9095 Add AVX variants.
9096 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9097 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9098 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9099 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9100 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9101 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9102 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9103 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9104 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9105 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9106 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9107 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9108 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9109 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9110 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9111 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9112 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9113 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9114 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9115
9116 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9117 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9118
9119 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9120 place. Use VEX encoding when compiling for AVX.
9121
9122 2011-10-25 Andreas Schwab <schwab@redhat.com>
9123
9124 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9125 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9126
9127 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9128
9129 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9130
9131 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9132 useless if() expression.
9133 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9142 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9143 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9144 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9145 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9146 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9147 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9148 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9149 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9151 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9152
9153 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9154
9155 2011-10-25 Andreas Schwab <schwab@redhat.com>
9156
9157 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9158 condition.
9159 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9160
9161 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9162
9163 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9164 .text section. Avoid duplicate constants.
9165 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9175 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9177 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9178 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9180 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9182 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9185 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9186 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9188 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9189 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9190 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9191 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9192 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9193 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9194 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9195 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9196 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9197 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9198 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9199 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9200 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9201 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9202 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9203 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9204 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9205 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9206 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9207 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9208 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9209 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9210
9211 2011-10-24 Ulrich Drepper <drepper@gmail.com>
9212
9213 * sysdeps/x86_64/dla.h: Move to ...
9214 * sysdeps/x86_64/fpu/dla.h: ...here.
9215 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9216 situations. Use __builtin_fma only for gcc 4.6 and up.
9217
9218 * config.make.in: Add have-mfma4 entry.
9219 * configure.in: Substitute libc_cv_cc_fma4.
9220 * math/Makefile (dbl-only-routines): Add sincostab.
9221 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
9222 Use __sincostab not sincos.
9223 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
9224 name is a macro.
9225 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9226 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9227 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9228 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
9229 using __copysign.
9230 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
9231 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
9232 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
9233 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
9234 and __inv.
9235 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
9236 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
9237 __copysign.
9238 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
9239 define aliases when function name is a macro.
9240 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
9241 sysdeps/ieee754/dbl-64/sincos.tbl.
9242 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
9243 fma4-enabled routines.
9244 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
9245 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
9246 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
9247 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
9248 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
9249 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
9250 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
9251 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
9252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
9253 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
9254 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
9255 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
9256 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
9257 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
9258 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
9259 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
9260 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
9261 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
9262 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
9263 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
9264 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
9265 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
9266 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
9267 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
9268 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
9269 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
9270 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
9271 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
9272 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
9273 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
9274
9275 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
9276 rename.
9277 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9283 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9285
9286 2011-10-24 Andreas Schwab <schwab@redhat.com>
9287
9288 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
9289
9290 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9291
9292 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
9293
9294 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
9295 prediction.
9296 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
9297
9298 * string/strnlen.c: Don't define STRNLEN, reverse logic.
9299 Remove unused variable magic_bits.
9300 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
9301
9302 * string/strnlen.c: Define and use STRNLEN macro.
9303 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
9304 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
9305 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
9306 * wcsmbs/wcslen.c: Define and use WCSLEN.
9307 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
9308 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
9309 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
9310 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
9311 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
9312 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
9313 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9314
9315 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9316
9317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9318 strnlen-sse2-no-bsf.
9319 Rename strlen-no-bsf to strlen-sse2-no-bsf.
9320 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
9321 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
9322 Add strnlen support.
9323 (USE_AS_STRNLEN): New macro.
9324 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
9325 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
9326 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
9327 * sysdeps/x86_64/wcslen.S: New file.
9328
9329 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
9330
9331 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
9332 XMM-moves are used for copying on small sizes.
9333
9334 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9335
9336 * wcsmbs/Makefile (strop-tests): Add wcschr.
9337 * wcsmbs/test-wcschr.c: New file.
9338 * string/test-strchr.c: Update.
9339 Add wcschr support.
9340 (WIDE): New macro.
9341
9342 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9343
9344 * wcsmbs/Makefile (strop-tests): Add wcslen.
9345 * wcsmbs/test-wcslen.c: New file.
9346 * string/test-strlen.c: Update.
9347 Add wcslen support.
9348 (WIDE): New macro.
9349
9350 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9351
9352 * po/it.po: Update from translation team.
9353
9354 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9355
9356 * sysdeps/x86_64/wcscmp.S: Update.
9357 Fix wrong comparison semantics.
9358 wcscmp shall use signed comparison not unsigned.
9359 Don't use substraction to avoid overflow bug.
9360 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9361 * wcsmbc/wcscmp.c: Likewise.
9362 * string/test-strcmp.c: Likewise.
9363 Add new tests to check cases with negative values.
9364
9365 2011-10-23 Ulrich Drepper <drepper@gmail.com>
9366
9367 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
9368 * sysdeps/x86_64/dla.h: ...here. New file.
9369 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
9370 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9371 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9374 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9375 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9376 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9378
9379 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
9380
9381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
9382 __ynl_finite aliases.
9383
9384 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9385
9386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9387
9388 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
9389 define DLA_FMA.
9390 [DLA_FMA] (EMULV): Use DLA_FMA.
9391 [DLA_FMA] (MUL12): Use EMULV.
9392 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
9393 that are not needed.
9394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9401
9402 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
9403
9404 * math/s_nan.c: Undef __nan.
9405 * math/s_nanf.c: Undef __nanf.
9406 * math/s_nanl.c: Undef __nanl.
9407 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
9408 "math_private.h".
9409
9410 2011-10-22 Ulrich Drepper <drepper@gmail.com>
9411
9412 * math/s_catan.c: Add branch predictions.
9413 * math/s_catanf.c: Likewise.
9414 * math/s_catanh.c: Likewise.
9415 * math/s_catanhf.c: Likewise.
9416 * math/s_catanhl.c: Likewise.
9417 * math/s_catanl.c: Likewise.
9418 * math/s_cexp.c: Likewise.
9419 * math/s_cexpf.c: Likewise.
9420 * math/s_cexpl.c: Likewise.
9421 * math/s_clog.c: Likewise.
9422 * math/s_clog10.c: Likewise.
9423 * math/s_clog10f.c: Likewise.
9424 * math/s_clog10l.c: Likewise.
9425 * math/s_clogf.c: Likewise.
9426 * math/s_clogl.c: Likewise.
9427 * math/s_csqrt.c: Likewise.
9428 * math/s_csqrtf.c: Likewise.
9429 * math/s_csqrtl.c: Likewise.
9430 * math/s_ctanf.c: Likewise.
9431 * math/s_ctanh.c: Likewise.
9432 * math/s_ctanhf.c: Likewise.
9433 * math/s_ctanhl.c: Likewise.
9434 * math/s_ctanl.c: Likewise.
9435
9436 * math/math_private.h: Define __nan, __nanf, __nanl.
9437 * math/s_cacosh.c: Include <math_private.h>.
9438 * math/s_cacoshl.c: Likewise.
9439 * math/s_casinh.c: Likewise.
9440 * math/s_casinhf.c: Likewise.
9441 * math/s_casinhl.c: Likewise.
9442 * math/s_ccos.c: Rely entire on ccosh.
9443 * math/s_ccosf.c: Rely entire on ccoshf.
9444 * math/s_ccosl.c: Rely entirely on ccoshl.
9445 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
9446 Remove tests for FE_INVALID.
9447 * math/s_ccoshf.c: Likewise.
9448 * math/s_ccoshl.c: Likewise.
9449 * math/s_csin.c: Likewise.
9450 * math/s_csinf.c: Likewise.
9451 * math/s_csinh.c Likewise.
9452 * math/s_csinhf.c: Likewise.
9453 * math/s_csinhl.c: Likewise.
9454 * math/s_csinl.c: Likewise.
9455 * math/s_ctan.c: Likewise.
9456 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
9457 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
9458 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
9459
9460 2011-10-21 Ulrich Drepper <drepper@gmail.com>
9461
9462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
9463 compilation problems.
9464
9465 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
9466 __builtin_expect.
9467
9468 2011-10-20 Ulrich Drepper <drepper@gmail.com>
9469
9470 * sysdeps/i386/configure.in: Test for -mfma4 option.
9471 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
9472 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
9473 COMMON_CPUID_INDEX_80000001.
9474 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
9475 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
9476 use it if FMA3 is not supported.
9477 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
9478
9479 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
9480 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9481
9482 2011-10-20 Andreas Schwab <schwab@redhat.com>
9483
9484 [BZ #12892]
9485 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
9486 it would create a cycle with a link time dependency.
9487
9488 2011-10-19 Ulrich Drepper <drepper@gmail.com>
9489
9490 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
9491 instruction.
9492 * string/Makefile (strop-tests): Add rawmemchr.
9493 * string/test-rawmemchr.c: New file.
9494
9495 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
9496 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
9497 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
9498 when compiling str{,n}casecmp and when AVX is available. Hook up
9499 new optimized code in initializers.
9500
9501 2011-10-19 Andreas Schwab <schwab@redhat.com>
9502
9503 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
9504 __feraiseexcept instead of feraiseexcept.
9505
9506 2011-10-18 Ulrich Drepper <drepper@gmail.com>
9507
9508 * math/math_private.h: Define defaults for libc_fetestexcept and
9509 libc_feupdateenv.
9510 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
9511 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9512 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9513 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9514 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9515 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9516 libc_fetestexcept and libc_feupdateenv.
9517
9518 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
9519 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
9520 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
9521 * sysdeps/x86_64/fpu/math_private.h: Define special version of
9522 libc_feholdexcept_setround.
9523
9524 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
9525 Add s_nearbyint-c and s_nearbyintf-c.
9526 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
9527 nearbyintf inlines.
9528 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
9529 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
9530 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
9531 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
9532
9533 * math/math_private.h: Define defaults for libc_fegetround,
9534 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
9535 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
9536 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
9537 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
9538 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
9539 standard functions.
9540 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9541 Remove comments and hacks for old compiler versions.
9542 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
9543 libc_fegetround, libc_fesetround, libc_feholdexcept, and
9544 libc_feholdexceptl.
9545
9546 2011-10-18 Andreas Schwab <schwab@redhat.com>
9547
9548 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
9549 (__feraiseexcept_renamed): Add __NTH.
9550 (feraiseexcept): Add __NTH. Rename local variables to fix
9551 namespace violations.
9552
9553 2011-10-17 Ulrich Drepper <drepper@gmail.com>
9554
9555 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
9556
9557 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
9558
9559 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
9560 recently added interfaces.
9561 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
9562
9563 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
9564 about macro parameter expansion.
9565
9566 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
9567 __NO_MATH_INLINES is defined. Cleanups.
9568
9569 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
9570 and __floorf is target has SSE4.1.
9571 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
9572 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
9573 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
9574 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
9575
9576 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
9577 name.
9578 (floorf): Likewise.
9579
9580 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
9581
9582 2011-10-17 Andreas Schwab <schwab@redhat.com>
9583
9584 * misc/sys/cdefs.h: Fix last change.
9585
9586 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
9587 database lookup.
9588
9589 2011-10-16 Ulrich Drepper <drepper@gmail.com>
9590
9591 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
9592
9593 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
9594 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9595 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9596 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9597 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9599 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9600 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9601 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9602 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
9603 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
9604 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
9605 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
9606 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
9607 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
9608 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
9609 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
9610 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
9611 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
9612 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
9613 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
9614 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
9615
9616 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
9617 ceil, ceilf, floor, floorf.
9618
9619 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
9620 Perform IRELATIVE relocations last.
9621
9622 * elf/do-rel.h: Add another parameter nrelative, replacing the
9623 local variable with the same name. Change name of the function
9624 to end in Rel or Rela (uppercase).
9625 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
9626 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
9627 elf_dynamic_do_##reloc function.
9628
9629 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9630
9631 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
9632 is sufficient, at least on modern CPUs.
9633
9634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
9635
9636 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
9637 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
9638
9639 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
9640 __expl_finite.
9641 * math/bits/math-finite.h: Add entries for exp.
9642 * math/e_expl.c: Add __*_finite alias.
9643 * sysdeps/i386/fpu/e_exp.S: Likewise.
9644 * sysdeps/i386/fpu/e_expf.S: Likewise.
9645 * sysdeps/i386/fpu/e_expl.c: Likewise.
9646 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9647 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9650 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
9651 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9652 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9653
9654 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
9655 is sufficient, at least on modern CPUs.
9656
9657 * ctype/ctype-info.c (__ctype_init): Define.
9658 * include/ctype.h (__ctype_init): Declare.
9659 (__ctype_b_loc): The variable is always initialized.
9660 (__ctype_toupper_loc): Likewise.
9661 (__ctype_tolower_loc): Likewise.
9662 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
9663 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
9664
9665 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
9666
9667 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
9668
9669 * configure.in: Also look in $cxxmachine/include for C++ system
9670 headers.
9671
9672 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9673
9674 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
9675 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
9676 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
9677 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
9678 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
9679 (USE_AS_WMEMCMP): New macro.
9680 Fixing indents.
9681 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
9682 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
9683 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
9684 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
9685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9686 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
9687 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
9688 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
9689 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
9690 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
9691 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
9692 (USE_AS_WMEMCMP): New macro.
9693 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
9694 * sysdeps/string/test-memcmp.c: Update.
9695 Fix simple_wmemcmp.
9696 Add new tests.
9697 * wcsmbs/wmemcmp.c: Update.
9698 (WMEMCMP): New macro.
9699 Fix overflow bug.
9700
9701 2011-10-12 Andreas Jaeger <aj@suse.de>
9702
9703 [BZ #13268]
9704 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9705
9706 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9707
9708 * libio/iofwide.c (do_length): Avoid warning.
9709
9710 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9711
9712 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9713
9714 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9715
9716 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9717 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9718 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9719 * sysdeps/i386/i686/fpu/e_log.S: New file.
9720 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9721 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9722
9723 * ctype/ctype.h: Add support for inlined isXXX functions when
9724 compiling C++ code.
9725
9726 2011-10-14 Andreas Schwab <schwab@redhat.com>
9727
9728 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9729
9730 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9731
9732 2011-10-13 Roland McGrath <roland@hack.frob.com>
9733
9734 [BZ #13291]
9735 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9736
9737 2011-10-13 Andreas Schwab <schwab@redhat.com>
9738
9739 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9740 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9741 feraiseexcept.
9742
9743 * sysdeps/x86_64/memrchr.S: Check for zero size.
9744
9745 * string/stratcliff.c: Add memrchr tests.
9746
9747 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9748
9749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9750 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9751 rawmemchr-sse2 rawmemchr-sse2-bsf.
9752 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9753 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9754 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9755 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9756 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9757 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9758 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9759 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9760 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9761 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9762 * string/memrchr.c (MEMRCHR): New macro.
9763
9764 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9765
9766 Add integration with gcc's -ffinite-math-only and optimize wrapper
9767 functions in libm.
9768 * Versions.def: Define GLIBC_2.15 version for libm.
9769 * math/Makefile (headers): Add bits/math-finite.h.
9770 * math/bits/math-finite.h: New file.
9771 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9772 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9773 * math/e_acoshl.c: Add __*_finite alias.
9774 * math/e_acosl.c: Likewise.
9775 * math/e_asinl.c: Likewise.
9776 * math/e_atan2l.c: Likewise.
9777 * math/e_atanhl.c: Likewise.
9778 * math/e_coshl.c: Likewise.
9779 * math/e_exp10.c: Likewise.
9780 * math/e_exp10f.c: Likewise.
9781 * math/e_exp10l.c: Likewise.
9782 * math/e_exp2l.c: Likewise.
9783 * math/e_fmodl.c: Likewise.
9784 * math/e_gammal_r.c: Likewise.
9785 * math/e_hypotl.c: Likewise.
9786 * math/e_j0l.c: Likewise.
9787 * math/e_j1l.c: Likewise.
9788 * math/e_jnl.c: Likewise.
9789 * math/e_lgammal_r.c: Likewise.
9790 * math/e_log10l.c: Likewise.
9791 * math/e_log2l.c: Likewise.
9792 * math/e_logl.c: Likewise.
9793 * math/e_powl.c: Likewise.
9794 * math/e_sinhl.c: Likewise.
9795 * math/e_sqrtl.c: Likewise.
9796 * math/e_scalb.c: Completely rewritten and optimized.
9797 * math/e_scalbf.c: Likewise.
9798 * math/e_scalbl.c: Likewise.
9799 * math/w_acos.c: Likewise.
9800 * math/w_acosf.c: Likewise.
9801 * math/w_acosl.c: Likewise.
9802 * math/w_acosh.c: Likewise.
9803 * math/w_acoshf.c: Likewise.
9804 * math/w_acoshl.c: Likewise.
9805 * math/w_asin.c: Likewise.
9806 * math/w_asinf.c: Likewise.
9807 * math/w_asinl.c: Likewise.
9808 * math/w_atan2.c: Likewise.
9809 * math/w_atan2f.c: Likewise.
9810 * math/w_atan2l.c: Likewise.
9811 * math/w_atanh.c: Likewise.
9812 * math/w_atanhf.c: Likewise.
9813 * math/w_atanhl.c: Likewise.
9814 * math/w_exp10.c: Likewise.
9815 * math/w_exp10f.c: Likewise.
9816 * math/w_exp10l.c: Likewise.
9817 * math/w_fmod.c: Likewise.
9818 * math/w_fmodf.c: Likewise.
9819 * math/w_fmodl.c: Likewise.
9820 * math/w_j0.c: Likewise.
9821 * math/w_j0f.c: Likewise.
9822 * math/w_j0l.c: Likewise.
9823 * math/w_j1.c: Likewise.
9824 * math/w_j1f.c: Likewise.
9825 * math/w_j1l.c: Likewise.
9826 * math/w_jn.c: Likewise.
9827 * math/w_jnf.c: Likewise.
9828 * math/w_log.c: Likewise.
9829 * math/w_logf.c: Likewise.
9830 * math/w_logl.c: Likewise.
9831 * math/w_log10.c: Likewise.
9832 * math/w_log10f.c: Likewise.
9833 * math/w_log10l.c: Likewise.
9834 * math/w_log2.c: Likewise.
9835 * math/w_log2f.c: Likewise.
9836 * math/w_log2l.c: Likewise.
9837 * math/w_pow.c: Likewise.
9838 * math/w_powf.c: Likewise.
9839 * math/w_powl.c: Likewise.
9840 * math/w_remainder.c: Likewise.
9841 * math/w_remainderf.c: Likewise.
9842 * math/w_remainderl.c: Likewise.
9843 * math/w_scalb.c: Likewise.
9844 * math/w_scalbf.c: Likewise.
9845 * math/w_scalbl.c: Likewise.
9846 * math/w_sqrt.c: Likewise.
9847 * math/w_sqrtf.c: Likewise.
9848 * math/w_sqrtl.c: Likewise.
9849 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9850 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9851 used.
9852 * math/math_private.h: Declare __kernel_standard_f.
9853 * math/w_cosh.c: Remove cruft and optimize a bit.
9854 * math/w_coshf.c: Likewise.
9855 * math/w_coshl.c: Likewise.
9856 * math/w_exp2.c: Likewise.
9857 * math/w_exp2f.c: Likewise.
9858 * math/w_exp2l.c: Likewise.
9859 * math/w_hypot.c: Likewise.
9860 * math/w_hypotf.c: Likewise.
9861 * math/w_hypotl.c: Likewise.
9862 * math/w_lgamma.c: Likewise.
9863 * math/w_lgamma_r.c: Likewise.
9864 * math/w_lgammaf.c: Likewise.
9865 * math/w_lgammaf_r.c: Likewise.
9866 * math/w_lgammal.c: Likewise.
9867 * math/w_lgammal_r.c: Likewise.
9868 * math/w_sinh.c: Likewise.
9869 * math/w_sinhf.c: Likewise.
9870 * math/w_sinhl.c: Likewise.
9871 * math/w_tgamma.c: Likewise.
9872 * math/w_tgammaf.c: Likewise.
9873 * math/w_tgammal.c: Likewise.
9874 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9875 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9876 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9877 Minor optimizations. Pretty printing. Remove cruft.
9878 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9879 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9880 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9881 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9882 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9883 * sysdeps/i386/fpu/e_asin.S: Likewise.
9884 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9885 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9886 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9887 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9888 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9889 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9890 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9891 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9892 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9893 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9894 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9895 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9896 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9897 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9898 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9899 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9900 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9901 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9902 * sysdeps/i386/fpu/e_log.S: Likewise.
9903 * sysdeps/i386/fpu/e_log10.S: Likewise.
9904 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9905 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9906 * sysdeps/i386/fpu/e_log2.S: Likewise.
9907 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9908 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9909 * sysdeps/i386/fpu/e_logf.S: Likewise.
9910 * sysdeps/i386/fpu/e_logl.S: Likewise.
9911 * sysdeps/i386/fpu/e_pow.S: Likewise.
9912 * sysdeps/i386/fpu/e_powf.S: Likewise.
9913 * sysdeps/i386/fpu/e_powl.S: Likewise.
9914 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9915 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9916 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9917 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9918 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9919 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9920 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9921 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9922 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9925 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9926 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9927 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9928 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9929 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9930 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9931 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9932 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9933 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9934 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9936 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9937 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9938 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9939 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9940 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9941 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9942 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9943 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9944 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9945 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9946 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9947 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9948 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9949 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9950 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9951 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9952 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9953 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9954 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9955 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9956 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9957 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9958 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9959 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9960 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9961 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9962 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9963 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9964 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9965 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9966 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9967 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9968 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9969 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9971 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9972 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9973 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9974 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9975 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9976 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9977 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9978 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9979 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9980 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9981 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9982 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9983 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9986 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9987 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9988 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9990 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9991 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9992 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9993 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9994 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9995 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9996 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9997 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9998 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9999 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10000 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10001 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10002 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10003 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10004 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10005 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10006 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10007 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10008 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10009 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10010 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10011 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10012 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10013 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10014 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10015 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10016 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10017 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10018 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10019 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10020 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10021 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10022 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10023 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10024 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10025 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10026 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10027 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10028 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10029 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10030 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10031 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10032 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10033 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10034 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10035 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10036 (__isnanf): Likewise.
10037 (__isinf_ns): Likewise.
10038 (__isinf_nsf): Likewise.
10039 (__finite): Likewise.
10040 (__finitef): Likewise.
10041 (__ieee754_sqrt): Define as macro.
10042 (__ieee754_sqrtf): Define as macro.
10043 (__ieee754_sqrtl): Define as macro.
10044 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10045 inlined copy.
10046 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10047 __FINITE_MATH_ONLY__ consistent.
10048 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10049
10050 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10051
10052 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10053 of rawmemchr.
10054
10055 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10056
10057 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10058
10059 * po/ja.po: Update from translation team.
10060
10061 2011-10-08 Roland McGrath <roland@hack.frob.com>
10062
10063 * locale/programs/locarchive.c (prepare_address_space): New function.
10064 (create_archive, enlarge_archive, open_archive): Use it.
10065
10066 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10067 inside [SHARED], where it is used.
10068
10069 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10070
10071 * nss/getent.c (netgroup_keys): Remove unused variable.
10072 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10073
10074 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10075
10076 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10077 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10079 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10080 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10081 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10082 * math/Makefile (libm-calls): Add s_isinf_ns.
10083 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10084 * math/multc3.c: Likewise.
10085 * math/s_casin.c: Likewise.
10086 * math/s_casinf.c: Likewise.
10087 * math/s_casinl.c: Likewise.
10088 * math/s_ccos.c: Likewise.
10089 * math/s_ccosf.c: Likewise.
10090 * math/s_ccosl.c: Likewise.
10091 * math/s_ctan.c: Likewise.
10092 * math/s_ctanf.c: Likewise.
10093 * math/s_ctanh.c: Likewise.
10094 * math/s_ctanhf.c: Likewise.
10095 * math/s_ctanhl.c: Likewise.
10096 * math/s_ctanl.c: Likewise.
10097 * math/w_fmod.c: Likewise.
10098 * math/w_fmodf.c: Likewise.
10099 * math/w_fmodl.c: Likewise.
10100 * math/w_remainder.c: Likewise.
10101 * math/w_remainderf.c: Likewise.
10102 * math/w_remainderl.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10104 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10105 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10107 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10108 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10109 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10110 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10111
10112 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10113 of the number.
10114 * stdio-common/printf_fphex.c: Likewise.
10115 * stdio-common/printf_size.c: Likewise.
10116
10117 * math/e_exp10.c: Include math_private.h using <...> not "...".
10118 * math/e_exp10f.c: Likewise.
10119 * math/e_exp10l.c: Likewise.
10120 * math/e_exp2l.c: Likewise.
10121 * math/e_j0l.c: Likewise.
10122 * math/e_j1l.c: Likewise.
10123 * math/e_jnl.c: Likewise.
10124 * math/e_lgammal_r.c: Likewise.
10125 * math/e_rem_pio2l.c: Likewise.
10126 * math/e_scalb.c: Likewise.
10127 * math/e_scalbf.c: Likewise.
10128 * math/e_scalbl.c: Likewise.
10129 * math/k_cosl.c: Likewise.
10130 * math/k_sinl.c: Likewise.
10131 * math/k_tanl.c: Likewise.
10132 * math/s_cacoshf.c: Likewise.
10133 * math/s_catan.c: Likewise.
10134 * math/s_catanf.c: Likewise.
10135 * math/s_catanh.c: Likewise.
10136 * math/s_catanhf.c: Likewise.
10137 * math/s_catanhl.c: Likewise.
10138 * math/s_catanl.c: Likewise.
10139 * math/s_ccosh.c: Likewise.
10140 * math/s_ccoshf.c: Likewise.
10141 * math/s_ccoshl.c: Likewise.
10142 * math/s_cexp.c: Likewise.
10143 * math/s_cexpf.c: Likewise.
10144 * math/s_cexpl.c: Likewise.
10145 * math/s_clog.c: Likewise.
10146 * math/s_clog10.c: Likewise.
10147 * math/s_clog10f.c: Likewise.
10148 * math/s_clog10l.c: Likewise.
10149 * math/s_clogf.c: Likewise.
10150 * math/s_clogl.c: Likewise.
10151 * math/s_csin.c: Likewise.
10152 * math/s_csinf.c: Likewise.
10153 * math/s_csinh.c: Likewise.
10154 * math/s_csinhf.c: Likewise.
10155 * math/s_csinhl.c: Likewise.
10156 * math/s_csinl.c: Likewise.
10157 * math/s_csqrt.c: Likewise.
10158 * math/s_csqrtf.c: Likewise.
10159 * math/s_csqrtl.c: Likewise.
10160 * math/s_ctan.c: Likewise.
10161 * math/s_ctanf.c: Likewise.
10162 * math/s_ctanh.c: Likewise.
10163 * math/s_ctanhf.c: Likewise.
10164 * math/s_ctanhl.c: Likewise.
10165 * math/s_ctanl.c: Likewise.
10166 * math/s_ldexp.c: Likewise.
10167 * math/s_ldexpf.c: Likewise.
10168 * math/s_ldexpl.c: Likewise.
10169 * math/s_significand.c: Likewise.
10170 * math/s_significandf.c: Likewise.
10171 * math/s_significandl.c: Likewise.
10172 * math/w_acos.c: Likewise.
10173 * math/w_acosf.c: Likewise.
10174 * math/w_acosh.c: Likewise.
10175 * math/w_acoshf.c: Likewise.
10176 * math/w_acoshl.c: Likewise.
10177 * math/w_acosl.c: Likewise.
10178 * math/w_asin.c: Likewise.
10179 * math/w_asinf.c: Likewise.
10180 * math/w_asinl.c: Likewise.
10181 * math/w_atan2.c: Likewise.
10182 * math/w_atan2f.c: Likewise.
10183 * math/w_atan2l.c: Likewise.
10184 * math/w_atanh.c: Likewise.
10185 * math/w_atanhf.c: Likewise.
10186 * math/w_atanhl.c: Likewise.
10187 * math/w_cosh.c: Likewise.
10188 * math/w_coshf.c: Likewise.
10189 * math/w_coshl.c: Likewise.
10190 * math/w_dremf.c: Likewise.
10191 * math/w_exp10.c: Likewise.
10192 * math/w_exp10f.c: Likewise.
10193 * math/w_exp10l.c: Likewise.
10194 * math/w_exp2.c: Likewise.
10195 * math/w_exp2f.c: Likewise.
10196 * math/w_fmod.c: Likewise.
10197 * math/w_fmodf.c: Likewise.
10198 * math/w_fmodl.c: Likewise.
10199 * math/w_hypot.c: Likewise.
10200 * math/w_hypotf.c: Likewise.
10201 * math/w_hypotl.c: Likewise.
10202 * math/w_j0.c: Likewise.
10203 * math/w_j0f.c: Likewise.
10204 * math/w_j0l.c: Likewise.
10205 * math/w_j1.c: Likewise.
10206 * math/w_j1f.c: Likewise.
10207 * math/w_j1l.c: Likewise.
10208 * math/w_jn.c: Likewise.
10209 * math/w_jnf.c: Likewise.
10210 * math/w_jnl.c: Likewise.
10211 * math/w_lgamma.c: Likewise.
10212 * math/w_lgamma_r.c: Likewise.
10213 * math/w_lgammaf.c: Likewise.
10214 * math/w_lgammaf_r.c: Likewise.
10215 * math/w_lgammal.c: Likewise.
10216 * math/w_lgammal_r.c: Likewise.
10217 * math/w_log.c: Likewise.
10218 * math/w_log10.c: Likewise.
10219 * math/w_log10f.c: Likewise.
10220 * math/w_log10l.c: Likewise.
10221 * math/w_log2.c: Likewise.
10222 * math/w_log2f.c: Likewise.
10223 * math/w_log2l.c: Likewise.
10224 * math/w_logf.c: Likewise.
10225 * math/w_logl.c: Likewise.
10226 * math/w_pow.c: Likewise.
10227 * math/w_powf.c: Likewise.
10228 * math/w_powl.c: Likewise.
10229 * math/w_remainder.c: Likewise.
10230 * math/w_remainderf.c: Likewise.
10231 * math/w_remainderl.c: Likewise.
10232 * math/w_scalb.c: Likewise.
10233 * math/w_scalbf.c: Likewise.
10234 * math/w_scalbl.c: Likewise.
10235 * math/w_sinh.c: Likewise.
10236 * math/w_sinhf.c: Likewise.
10237 * math/w_sinhl.c: Likewise.
10238 * math/w_sqrt.c: Likewise.
10239 * math/w_sqrtf.c: Likewise.
10240 * math/w_sqrtl.c: Likewise.
10241 * math/w_tgamma.c: Likewise.
10242 * math/w_tgammaf.c: Likewise.
10243 * math/w_tgammal.c: Likewise.
10244
10245 * po/ja.po: Update from translation team.
10246
10247 2011-09-29 Andreas Jaeger <aj@suse.de>
10248
10249 [BZ #13179]
10250 * sunrpc/netname.c (netname2host): Fix logic.
10251
10252 [BZ #6779]
10253 [BZ #6783]
10254 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
10255 correctly.
10256 * math/w_remainder.c (__remainder): Likewise.
10257 * math/w_remainderf.c (__remainderf): Likewise.
10258 * math/libm-test.inc (remainder_test): Add test cases.
10259
10260 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10261
10262 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
10263 sdiv_qrnnd.
10264
10265 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10266
10267 * string/test-memcmp.c: Avoid unncessary #defines.
10268 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10269
10270 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10271
10272 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
10273 Use new sse2 version for core i3 - i7 as it's faster
10274 than sse42 version.
10275 (bit_Prefer_PMINUB_for_stringop): New.
10276 * sysdeps/x86_64/rawmemchr.S: Update.
10277 Replace with faster SSE2 version.
10278 * sysdeps/x86_64/memrchr.S: New file.
10279 * sysdeps/x86_64/memchr.S: Update.
10280 Replace with faster SSE2 version.
10281
10282 2011-09-12 Marek Polacek <mpolacek@redhat.com>
10283
10284 * elf/dl-load.c (lose): Add cast to avoid warning.
10285
10286 2011-10-07 Ulrich Drepper <drepper@gmail.com>
10287
10288 * po/ca.po: Update from translation team.
10289
10290 * inet/getnetgrent_r.c: Hook up nscd.
10291 * nscd/Makefile (routines): Add nscd_netgroup.
10292 (nscd-modules): Add netgroupcache.
10293 (CFLAGS-netgroupcache.c): Define.
10294 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
10295 (cache_search): Add const to second parameter.
10296 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
10297 INNETGR.
10298 (dbs): Add netgrdb entry.
10299 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
10300 (verify_persistent_db): Handle netgrdb.
10301 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
10302 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
10303 GETFDNETGR.
10304 (netgroup_response_header): Define.
10305 (innetgroup_response_header): Define.
10306 (datahead): Add netgroup_response_header and innetgroup_response_header
10307 elements.
10308 * nscd/nscd.conf: Add entries for netgroup cache.
10309 * nscd/nscd.h (dbtype): Add netgrdb.
10310 (_PATH_NSCD_NETGROUP_DB): Define.
10311 (netgroup_iov_disabled): Declare.
10312 (xmalloc, xcalloc, xrealloc): Move declarations here.
10313 (cache_search): Adjust prototype.
10314 Add netgroup-related prototypes.
10315 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
10316 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
10317 (__nscd_innetgr): Declare.
10318 * nscd/selinux.c (perms): Use access_vector_t as element type and
10319 add netgroup-related initializers.
10320 * nscd/netgroupcache.c: New file.
10321 * nscd/nscd_netgroup.c: New file.
10322 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
10323 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
10324 For four parameters use innetgr.
10325 * nss/nss_files/files-init.c: Add definition and callback for netgr.
10326 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
10327 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
10328 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
10329
10330 * nscd/connections.c (register_traced_file): Don't register file
10331 for disabled databases.
10332
10333 2011-10-06 Ulrich Drepper <drepper@gmail.com>
10334
10335 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
10336
10337 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
10338 from tree and freeing node.
10339
10340 2011-09-25 Jiri Olsa <jolsa@redhat.com>
10341
10342 * nss/nsswitch.c (__nss_database_lookup): Handle
10343 nss_parse_service_list out of memory case.
10344
10345 2011-09-15 Jiri Olsa <jolsa@redhat.com>
10346
10347 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
10348 out of memory case.
10349
10350 2011-10-04 Andreas Schwab <schwab@redhat.com>
10351
10352 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
10353 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
10354 pass it down.
10355 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
10356 elf_machine_rela, elf_machine_lazy_rel.
10357 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
10358 (ELF_DYNAMIC_DO_REL): Likewise.
10359 (ELF_DYNAMIC_DO_RELA): Likewise.
10360 (ELF_DYNAMIC_RELOCATE): Likewise.
10361 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
10362 to ELF_DYNAMIC_DO_REL.
10363 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
10364 (dl_main): In trace mode always set __RTLD_NOIFUNC.
10365 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
10366 elf_machine_rela.
10367 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
10368 skip_ifunc, don't call ifunc function if non-zero.
10369 (elf_machine_rela): Likewise.
10370 (elf_machine_lazy_rel): Likewise.
10371 (elf_machine_lazy_rela): Likewise.
10372 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
10373 (elf_machine_lazy_rel): Likewise.
10374 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
10375 Likewise.
10376 (elf_machine_lazy_rel): Likewise.
10377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10378 Likewise.
10379 (elf_machine_lazy_rel): Likewise.
10380 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
10381 (elf_machine_lazy_rel): Likewise.
10382 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
10383 (elf_machine_lazy_rel): Likewise.
10384 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10385 (elf_machine_lazy_rel): Likewise.
10386 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
10387 (elf_machine_lazy_rel): Likewise.
10388 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
10389 (elf_machine_lazy_rel): Likewise.
10390 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10391 (elf_machine_lazy_rel): Likewise.
10392
10393 2011-09-28 Ulrich Drepper <drepper@gmail.com>
10394
10395 * nss/nss_files/files-init.c (_nss_files_init): Use static
10396 initialization for all the *_traced_file variables.
10397
10398 2011-09-28 Andreas Schwab <schwab@redhat.com>
10399
10400 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10401
10402 2011-09-27 Roland McGrath <roland@hack.frob.com>
10403
10404 [BZ #13226]
10405 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
10406
10407 2011-09-27 Andreas Schwab <schwab@redhat.com>
10408
10409 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10410 Reread the line before reparsing it.
10411
10412 2011-09-26 Andreas Schwab <schwab@redhat.com>
10413
10414 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
10415
10416 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
10417 Maxim Kuvyrkov <maxim@codesourcery.com>
10418 Joseph Myers <joseph@codesourcery.com>
10419
10420 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
10421 if needed for __stack_chk_guard.
10422
10423 2011-09-19 Roland McGrath <roland@hack.frob.com>
10424
10425 * sysdeps/posix/spawni.c (script_execute): Always define it.
10426 It will be optimized away if unused.
10427 (maybe_script_execute): New function.
10428 (__spawni): Call it.
10429
10430 * Makerules: Don't include tls.make.
10431 (config-tls): Always set to thread.
10432 * tls.make.c: File removed.
10433
10434 2011-09-19 Mike Frysinger <vapier@gentoo.org>
10435
10436 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
10437 * config.make.in (CPPFLAGS-config): New substituted variable.
10438
10439 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10440
10441 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
10442
10443 [BZ #13192]
10444 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
10445 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
10446
10447 2011-09-15 Roland McGrath <roland@hack.frob.com>
10448
10449 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
10450 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
10451 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10452 (CALL_FAIL): Likewise.
10453 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
10454 (CALL_FAIL): Macro removed.
10455 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
10456
10457 2011-09-15 Ulrich Drepper <drepper@gmail.com>
10458
10459 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
10460 for __FINITE_MATH_ONLY__ == 1.
10461
10462 2011-09-15 Andreas Schwab <schwab@redhat.com>
10463
10464 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
10465 __ieee754_sqrt instead of sqrt.
10466 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
10467 __ieee754_sqrtf instead of sqrtf.
10468 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
10469 __floorf instead of floorf.
10470 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
10471 __floorf, __truncf instead of floorf, truncf.
10472
10473 2011-09-14 Ulrich Drepper <drepper@gmail.com>
10474
10475 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
10476
10477 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
10478 __extern_always_inline.
10479 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
10480 32-bit.
10481
10482 2011-09-14 Andreas Schwab <schwab@redhat.com>
10483
10484 * elf/rtld.c (dl_main): Also relocate in dependency order when
10485 doing symbol dependency testing.
10486
10487 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
10488
10489 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10490 Always define `refsym'.
10491
10492 2011-09-13 Andreas Schwab <schwab@redhat.com>
10493
10494 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
10495 (__FD_ELT): Renamed from __FDELT.
10496 * misc/bits/select2.h (__FD_ELT): Likewise.
10497 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
10498 __FD_MASK instead of __FDELT, __FDMASK.
10499 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10500 Likewise.
10501 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
10502 Likewise.
10503
10504 * elf/Makefile (gen-ldd): Fix pattern.
10505
10506 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
10507 (init_tls): Likewise.
10508
10509 2011-09-12 Ulrich Drepper <drepper@gmail.com>
10510
10511 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
10512
10513 2011-09-12 Andreas Schwab <schwab@redhat.com>
10514
10515 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
10516 `struct cmsghdr *' instead of `void *'.
10517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
10518 Likewise.
10519
10520 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10521
10522 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
10523 if non-absolute.
10524 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
10525 ldd_rewrite_script.
10526
10527 2011-09-11 Ulrich Drepper <drepper@gmail.com>
10528
10529 * configure.in: Remove --with-tls option.
10530 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
10531 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
10532 out in case it is missing.
10533 * sysdeps/ia64/elf/configure.in: Likewise.
10534 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
10535 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
10536 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
10537 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
10538 * sysdeps/sh/elf/configure.in: Likewise.
10539 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
10540 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10541 * sysdeps/x86_64/elf/configure.in: Likewise.
10542 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
10543 * sysdeps/mach/hurd/tls.h: Likewise.
10544
10545 [BZ #13067]
10546 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
10547
10548 [BZ #13090]
10549 * configure.in: Fix use of AC_INIT.
10550
10551 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
10552
10553 2011-09-10 Ulrich Drepper <drepper@gmail.com>
10554
10555 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
10556 __set_errno.
10557 * malloc/hooks.c: Likewise.
10558
10559 [BZ #11929]
10560 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
10561 variables statically.
10562 (narenas): Initialize.
10563 (list_lock): Initialize.
10564 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
10565 initializtion of main_arena and list_lock. Small cleanups.
10566 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
10567 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
10568 Add initializers to main_arena and mp_.
10569 (malloc_state): Remove pagesize member. Change all users to use
10570 GLRO(dl_pagesize).
10571
10572 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
10573 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
10574 is always initialized.
10575
10576 * malloc/malloc.c: Removed unused configurations and dead code.
10577 * malloc/arena.c: Likewise.
10578 * malloc/hooks.c: Likewise.
10579 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
10580
10581 * include/tls.h: Removed. USE___THREAD must always be defined.
10582 * bits/libc-tsd.h: Don't handle !USE___THREAD.
10583 * elf/dl-libc.c: Likewise.
10584 * elf/dl-tsd.c: Likewise.
10585 * include/errno.h: Likewise.
10586 * include/netdb.h: Likewise.
10587 * include/resolv.h: Likewise.
10588 * inet/herrno-loc.c: Likewise.
10589 * inet/herrno.c: Likewise.
10590 * malloc/arena.c: Likewise.
10591 * malloc/hooks.c: Likewise.
10592 * malloc/malloc.c: Likewise.
10593 * resolv/res-state.c: Likewise.
10594 * resolv/res_libc.c: Likewise.
10595 * sysdeps/i386/dl-machine.h: Likewise.
10596 * sysdeps/ia64/dl-machine.h: Likewise.
10597 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10598 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10599 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10600 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10601 * sysdeps/sh/dl-machine.h: Likewise.
10602 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10603 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10604 * sysdeps/unix/i386/sysdep.S: Likewise.
10605 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10606 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
10607 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
10608 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10609 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
10610 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10611 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10612 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10615 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10616 * sysdeps/x86_64/dl-machine.h: Likewise.
10617 * tls.make.c: Likewise.
10618
10619 * configure.in: Remove --with-__thread option. Make tests for
10620 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
10621 tls_model attribute fail if no support is available. Remove
10622 USE_IN_LIBIO.
10623 * Makeconfig: Adjust for dropped configure option. All features are
10624 now mandatory.
10625 * Makerules: Likewise.
10626 * Versions.def: Likewise.
10627 * argp/argp-fmtstream.c: Likewise.
10628 * argp/argp-fmtstream.h: Likewise.
10629 * argp/argp-help.c: Likewise.
10630 * assert/assert.c: Likewise.
10631 * config.h.in: Likewise.
10632 * config.make.in: Likewise.
10633 * configure: Likewise.
10634 * configure.in: Likewise.
10635 * csu/Versions: Likewise.
10636 * csu/init.c: Likewise.
10637 * elf/tst-audit2.c: Likewise.
10638 * elf/tst-tls10.c: Likewise.
10639 * elf/tst-tls10.h: Likewise.
10640 * elf/tst-tls11.c: Likewise.
10641 * elf/tst-tls12.c: Likewise.
10642 * elf/tst-tls14.c: Likewise.
10643 * elf/tst-tlsmod11.c: Likewise.
10644 * elf/tst-tlsmod12.c: Likewise.
10645 * elf/tst-tlsmod13.c: Likewise.
10646 * elf/tst-tlsmod13a.c: Likewise.
10647 * elf/tst-tlsmod14a.c: Likewise.
10648 * elf/tst-tlsmod15b.c: Likewise.
10649 * elf/tst-tlsmod16a.c: Likewise.
10650 * elf/tst-tlsmod16b.c: Likewise.
10651 * elf/tst-tlsmod7.c: Likewise.
10652 * elf/tst-tlsmod8.c: Likewise.
10653 * elf/tst-tlsmod9.c: Likewise.
10654 * gmon/gmon.c: Likewise.
10655 * grp/fgetgrent_r.c: Likewise.
10656 * grp/putgrent.c: Likewise.
10657 * hurd/fopenport.c: Likewise.
10658 * include/libc-symbols.h: Likewise.
10659 * include/tls.h: Likewise.
10660 * intl/gettextP.h: Likewise.
10661 * intl/loadinfo.h: Likewise.
10662 * locale/global-locale.c: Likewise.
10663 * locale/localeinfo.h: Likewise.
10664 * mach/devstream.c: Likewise.
10665 * malloc/arena.c: Likewise.
10666 * malloc/set-freeres.c: Likewise.
10667 * misc/err.c: Likewise.
10668 * misc/getttyent.c: Likewise.
10669 * misc/mntent_r.c: Likewise.
10670 * posix/getopt.c: Likewise.
10671 * posix/wordexp.c: Likewise.
10672 * pwd/fgetpwent_r.c: Likewise.
10673 * resolv/Versions: Likewise.
10674 * resolv/res_hconf.c: Likewise.
10675 * shadow/fgetspent_r.c: Likewise.
10676 * shadow/putspent.c: Likewise.
10677 * stdio-common/printf_fphex.c: Likewise.
10678 * stdio-common/tmpfile.c: Likewise.
10679 * stdlib/abort.c: Likewise.
10680 * stdlib/fmtmsg.c: Likewise.
10681 * sunrpc/auth_unix.c: Likewise.
10682 * sunrpc/clnt_perr.c: Likewise.
10683 * sunrpc/clnt_tcp.c: Likewise.
10684 * sunrpc/clnt_udp.c: Likewise.
10685 * sunrpc/clnt_unix.c: Likewise.
10686 * sunrpc/openchild.c: Likewise.
10687 * sunrpc/svc_simple.c: Likewise.
10688 * sunrpc/svc_tcp.c: Likewise.
10689 * sunrpc/svc_udp.c: Likewise.
10690 * sunrpc/svc_unix.c: Likewise.
10691 * sunrpc/xdr.c: Likewise.
10692 * sunrpc/xdr_array.c: Likewise.
10693 * sunrpc/xdr_rec.c: Likewise.
10694 * sunrpc/xdr_ref.c: Likewise.
10695 * sunrpc/xdr_stdio.c: Likewise.
10696
10697 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10698
10699 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10700
10701 2011-07-03 Andreas Jaeger <aj@suse.de>
10702
10703 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10704 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10705 regenerate with gen-libm-tests.pl.
10706
10707 2010-05-12 Petr Baudis <pasky@suse.cz>
10708
10709 [BZ #11589]
10710 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10711 around j0() zero points by switching to j1().
10712 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10713 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10716
10717 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10718
10719 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10720 instead of 0.
10721 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10722 instead of 0. .
10723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10724 Patch in part by Pavel Roskin <proski@gnu.org>.
10725
10726 [BZ #13138]
10727 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10728 realloc.
10729 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10730 Free memory block if necessary.
10731
10732 [BZ #12847]
10733 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10734 be NULL. Don't lock in this case.
10735
10736 2011-09-09 Roland McGrath <roland@hack.frob.com>
10737
10738 * elf/elf.h (ELFOSABI_GNU): New macro.
10739 (ELFOSABI_LINUX): Define to that.
10740
10741 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10742
10743 * string/strncat.c (strncat): Undef the symbol in case it has been
10744 defined in bits/string.h.
10745
10746 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10747
10748 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10749
10750 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10751 link map.
10752
10753 2011-08-17 Andreas Jaeger <aj@suse.de>
10754
10755 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10756
10757 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10758 Ian Lance Taylor <iant@google.com>
10759
10760 * math/libm-test.inc (lround_test): New testcase.
10761 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10762
10763 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10764
10765 * Makefile: Remove support for automatic cvs check-ins.
10766 * Makerules: Likewise.
10767 * config.make.in: Likewise.
10768 * configure.in: Likewise.
10769 * intl/Makefile: Likewise.
10770 * locale/Makefile: Likewise.
10771 * po/Makefile: Likewise.
10772 * posix/Makefile: Likewise.
10773 * sysdeps/gnu/Makefile: Likewise.
10774 * sysdeps/mach/hurd/Makefile: Likewise.
10775 * sysdeps/sparc/sparc32/Makefile: Likewise.
10776
10777 [BZ #13118]
10778 * posix/Makefile (bug-regex32-ENV): Define.
10779 Patch by John Stanley <jpsinthemix@verizon.net>.
10780
10781 * misc/Makefile (headers): Add bits/select2.h.
10782 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10783 * misc/bits/select2.h: New file.
10784 * include/bits/select2.h: New file.
10785 * debug/Makefile (routines): Add fdelt_chk.
10786 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10787 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10788 FD_ISSET.
10789 * debug/fdelt_chk.c: New file.
10790
10791 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10792 * wcsmbs/test-wmemcmp.c: Likewise.
10793 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10794 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10795
10796 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10797
10798 * string/Makefile (strop-tests): Add memcmp.
10799 * string/test-wmemcmp.c: New file.
10800 * string/test-memcmp.c: Add wmemcmp support.
10801
10802 2011-09-08 Roland McGrath <roland@hack.frob.com>
10803
10804 [BZ #13153]
10805 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10806 2011-07-19 change.
10807
10808 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10809 garbage value in a __mach_port_mod_refs call in the cases of the
10810 task-self and thread-self ports.
10811
10812 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10813
10814 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10815
10816 2011-09-08 Andreas Schwab <schwab@redhat.com>
10817
10818 * elf/dl-load.c (lose): Check for non-null L.
10819
10820 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10821
10822 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10823
10824 * elf/dl-libc.c (dlerror_run): Pass back error code from
10825 dl_catch_error.
10826
10827 [BZ #13123]
10828 * elf/dl-load.c (lose): Free l_origin if it is valid.
10829
10830 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10831 names.
10832 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10833 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10834 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10835 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10836 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10837 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10838
10839 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10840
10841 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10842 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10843 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10844 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10845 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10846 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10847 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10848 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10849 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10850 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10851
10852 2011-08-15 Alan Modra <amodra@gmail.com>
10853
10854 [BZ #13092]
10855 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10856 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10857 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10858 ppc_mcount to static-only-routines.
10859 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10860 __mcount_internal.
10861 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10862 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10863
10864 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10865
10866 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10867 for finite and infinity parameters.
10868
10869 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10870
10871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10872 and add nop instructions for throughput optimization.
10873 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10874
10875 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10876
10877 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10878 aligned copy for power7 with vector-scalar instructions.
10879 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10880
10881 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10882
10883 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10884 AVX check.
10885
10886 2011-09-07 Andreas Schwab <schwab@redhat.com>
10887
10888 [BZ #13144]
10889 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10890 last change.
10891
10892 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10893
10894 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10895 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10896 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10897 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10898 clock_gettime.
10899
10900 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10901
10902 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10903 Forgot to demangle the pointer.
10904
10905 * sysdeps/i386/sysdep.h: Define atom_text_section.
10906 * sysdeps/x86_64/sysdep.h: Likewise.
10907 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10908 section with atom_text_section.
10909 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10910 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10911 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10913 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10914
10915 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10916 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10917 already be defined. Change to take two parameters and don't assign
10918 result to variable. Adjust all users.
10919 Define INTERNAL_GETTIME if not already defined.
10920 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10921 call.
10922 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10923 HAVE_CLOCK_GETTIME_VSYSCALL.
10924 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10925
10926 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10927 gettimeofday vsyscall, just use time.
10928
10929 2011-09-06 Andreas Schwab <schwab@redhat.com>
10930
10931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10932 <errno.h>.
10933
10934 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10935
10936 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10937 syscall on x86-64.
10938 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10939 syscall.
10940 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10941 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10942 syscall if possible.
10943
10944 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10945
10946 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10947 e_ident. Don't pass to find_mapsXX.
10948 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10949
10950 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10951
10952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10953 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10954 * sysdeps/x86_64/multiarch/strchr.S: Update.
10955 Check bit_slow_BSF bit.
10956 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10957 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10958 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10959
10960 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10961
10962 [BZ #13134]
10963 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10964 before glibc 2.15.
10965 (tryshell): Define.
10966 (__spawni): Change last parameter to be flag. Test
10967 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10968 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10969 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10970 * posix/spawni.c: Likewise.
10971 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10972 * posix/spawnp.c: Likewise. Change normal version to use
10973 SPAWN_XFLAGS_USE_PATH.
10974 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10975 SPAWN_XFLAGS_TRY_SHELL.
10976
10977 [BZ #13150]
10978 * posix/glob.h: Remove gcc 1.x support.
10979
10980 [BZ #13068]
10981 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10982
10983 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10984
10985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10986 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10987 strrchr-sse2-bsf
10988 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10989 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10990 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10991 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10992 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10993 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10994
10995 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10996
10997 * sysdeps/x86_64/wcscmp.S: New file.
10998
10999 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11000 wcscmp-c wcscmp-sse2
11001 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11002 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11003 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11004 * wcsmbs/wcscmp.c: Allow renaming.
11005
11006 2011-09-05 David S. Miller <davem@davemloft.net>
11007
11008 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11009 stack slot, rather than the struct return pointer slot.
11010 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11011 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11013 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11014
11015 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11016
11017 * po/ja.po: Update from translation team.
11018
11019 [BZ #13144]
11020 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11021 kernel in 64-bit binaries.
11022
11023 2011-09-01 David S. Miller <davem@davemloft.net>
11024
11025 * elf/elf.h (HWCAP_SPARC_*): Move to..
11026 * sysdeps/sparc/sysdep.h: this new file and add new values.
11027 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11028 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11029 _DL_HWCAP_COUNT to 24.
11030 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11031 entries.
11032 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11033 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11034 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11035 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11036 instead of magic constants.
11037 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11038
11039 2011-08-31 David S. Miller <davem@davemloft.net>
11040
11041 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11042 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11043 Reimplement to do errno handling inline.
11044 (SYSCALL_ERROR_HANDLER): New macro.
11045 (__SYSCALL_STRING): Do not do errno handling in asm.
11046 (__CLONE_SYSCALL_STRING): Delete.
11047 (__INTERNAL_SYSCALL_STRING): Delete.
11048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11049 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11050 (PSEUDO): Reimplement to do errno handling inline.
11051 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11052 (SYSCALL_ERROR_HANDLER): New macro.
11053 (__SYSCALL_STRING): Do not do errno handling in asm.
11054 (__CLONE_SYSCALL_STRING): Delete.
11055 (__INTERNAL_SYSCALL_STRING): Delete.
11056 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11057 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11058 i386.
11059 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11060 (inline_syscall*): Add 'err' argument.
11061 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11062 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11063 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11064 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11065
11066 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11067 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11068
11069 2011-08-30 Andreas Schwab <schwab@redhat.com>
11070
11071 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11072
11073 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11074
11075 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11076 directive.
11077
11078 2011-08-24 David S. Miller <davem@davemloft.net>
11079
11080 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11081
11082 2011-08-24 Andreas Schwab <schwab@redhat.com>
11083
11084 * elf/Makefile: Add rules to build and run unload8 test.
11085 * elf/unload8.c: New file.
11086 * elf/unload8mod1.c: New file.
11087 * elf/unload8mod1x.c: New file.
11088 * elf/unload8mod2.c: New file.
11089 * elf/unload8mod3.c: New file.
11090
11091 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11092 it wasn't used.
11093
11094 2011-08-23 David S. Miller <davem@davemloft.net>
11095
11096 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11097 subtract stack bias.
11098 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11099 %sp not %fp in calculations.
11100 (_JMPBUF_UNWINDS_ADJ): Likewise.
11101
11102 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11103 (aio_suspend): Call it to force an exception region around the
11104 AIO_MISC_WAIT() invocation.
11105
11106 2011-08-23 Andreas Schwab <schwab@redhat.com>
11107
11108 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11109 backslash.
11110
11111 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11112
11113 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11114 protection macro.
11115 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11116 and <dl-machine.h>.
11117 (Elf64_FuncDesc): Remove.
11118
11119 2011-08-22 David S. Miller <davem@davemloft.net>
11120
11121 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11122 sigaltstack check, add missing cfi directives.
11123 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11124 missing cfi directives, and sigaltstack handling.
11125
11126 2011-08-16 Andreas Schwab <schwab@redhat.com>
11127
11128 [BZ #11724]
11129 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11130 object is seen twice.
11131 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11132
11133 * elf/Makefile (distribute): Add tst-initorder2.c.
11134 (tests): Add tst-initorder2.
11135 (modules-names): Add tst-initorder2a tst-initorder2b
11136 tst-initorder2c tst-initorder2d. Add rules to build them.
11137 ($(objpfx)tst-initorder2.out): New rule.
11138 * elf/tst-initorder2.c: New file.
11139 * elf/tst-initorder2.exp: New file.
11140
11141 2011-08-22 Andreas Schwab <schwab@redhat.com>
11142
11143 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11144
11145 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11146 dependencies back to end of function.
11147
11148 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11149 $(elfobjdir)/ld.so.
11150
11151 2011-08-21 Ulrich Drepper <drepper@gmail.com>
11152
11153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11154 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11156 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11157 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11158 of __vdso_gettimeofday.
11159 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11160 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11161 attribute_hidden.
11162 (_libc_vdso_platform_setup): Remove initialization of
11163 __vdso_gettimeofday and __vdso_time.
11164
11165 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11166
11167 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11168 and fgetc_unlocked.
11169 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11170 getc_unlocked.
11171
11172 * elf/dl-open.c (add_to_global): Report additions to the global scope
11173 for LD_DEBUG=scopes.
11174 (dl_open_worker): Also print scope of newly loaded dependencies.
11175 (_dl_show_scope): Indicate if there is no scope.
11176
11177 [BZ #13114]
11178 * stdio-common/Makefile (tests): Add bug24.
11179 * stdio-common/bug24.c: New file.
11180
11181 2011-08-19 Andreas Jaeger <aj@suse.de>
11182
11183 [BZ #13114]
11184 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11185 non-existant file when using close-on-exec mode.
11186
11187 2011-08-20 Ulrich Drepper <drepper@gmail.com>
11188
11189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11190 the very first instruction.
11191
11192 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11193 the CFI state in the end.
11194 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11195 inclusion of dl-trampoline.h.
11196 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11197
11198 2011-08-19 Andreas Schwab <schwab@redhat.com>
11199
11200 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11201 expectations for long double.
11202
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11204 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11205
11206 2011-08-14 David S. Miller <davem@davemloft.net>
11207
11208 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11209 artificual limit depends upon the system page size.
11210
11211 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11212
11213 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11214 * resolv/Makefile: Define CFLAGS-libresolv.
11215
11216 2011-08-17 Andreas Schwab <schwab@redhat.com>
11217
11218 * nss/makedb.c (compute_tables): Make variables used in nested
11219 function static.
11220
11221 2011-08-17 Ulrich Drepper <drepper@gmail.com>
11222
11223 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
11224 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
11225 if buffer was too small.
11226
11227 * elf/pldd.c (main): Attach to all threads in the process.
11228 Rewrite /proc handling to use *at functions.
11229
11230 2011-08-16 Ulrich Drepper <drepper@gmail.com>
11231
11232 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
11233 specifies first scope to show.
11234 (dl_open_worker): Update callers. Move printing scope of new
11235 object to before the relocation.
11236 * elf/rtld.c (dl_main): Update _dl_show_scope call.
11237 * sysdeps/generic/ldsodefs.h: Update declaration.
11238
11239 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
11240 string for the scope number.
11241
11242 2011-08-14 Ulrich Drepper <drepper@gmail.com>
11243
11244 * nscd/servicescache.c (cache_addserv): Make sure written is always
11245 initialized.
11246
11247 2011-08-14 Roland McGrath <roland@hack.frob.com>
11248
11249 * sysdeps/i386/i486/bits/atomic.h
11250 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
11251 statement expression, so as to suppress "set but not used" warning.
11252 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
11253
11254 * string/strncat.c (STRNCAT): Use prototype definition.
11255
11256 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
11257 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
11258 -Iprograms here.
11259 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
11260 (localedef-modules): Add localedef.
11261 (locale-modules): Add locale.
11262
11263 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
11264 * elf/rtld.c (dl_main): Invert order of assignment in last change,
11265 to avoid a warning.
11266
11267 2011-08-14 David S. Miller <davem@davemloft.net>
11268
11269 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
11270 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
11271
11272 2011-08-13 Ulrich Drepper <drepper@gmail.com>
11273
11274 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
11275 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
11276 * elf/rtld.c (dl_main): Set l_name of vDSO.
11277 Call _dl_show_scope when DL_DEBUG_SCOPES.
11278 (process_dl_debug): Recognize scopes flag and also set it for all.
11279 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
11280 Declare _dl_show_scope.
11281
11282 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
11283 (do_dlopen): Pass caller_dlopen to dl_open.
11284 (__libc_dlopen_mode): Initialize caller_dlopen.
11285
11286 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
11287 of libc. Make tolower call locale-independent. Optimize a bit by
11288 using isdigit instead of isalnum.
11289 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
11290
11291 2011-08-12 Ulrich Drepper <drepper@gmail.com>
11292
11293 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
11294 was a dependency or dynamically loaded.
11295
11296 2011-08-11 Ulrich Drepper <drepper@gmail.com>
11297
11298 * intl/l10nflist.c: Allow architecture-specific pop function.
11299 * sysdeps/x86_64/l10nflist.c: New file.
11300
11301 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
11302 classification.
11303
11304 2011-08-10 Andreas Schwab <schwab@redhat.com>
11305
11306 * include/dirent.h: Add libc_hidden_proto for scandirat and
11307 scandirat64. Don't declare __scandirat64.
11308 * dirent/scandirat.c: Add libc_hidden_def.
11309 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
11310 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
11311
11312 2011-08-10 David S. Miller <davem@davemloft.net>
11313
11314 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
11315 enum.
11316 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11317 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11318 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11319
11320 2011-08-09 Ulrich Drepper <drepper@gmail.com>
11321
11322 * Versions.def [libc]: Add GLIBC_2.15.
11323 * dirent/Makefile (routines): Add scandirat and scandirat64.
11324 * dirent/Versions [libc]: Export scandirat and scandirat64 for
11325 GLIBC_2.15.
11326 * dirent/dirent.h: Declare scandirat and scandirat64.
11327 * dirent/scandirat.c: New file.
11328 * dirent/scandirat64.c: New file.
11329 * sysdeps/wordsize-64/scandirat.c: New file.
11330 * sysdeps/wordsize-64/scandirat64.c: New file.
11331 * dirent/opendir.c: Define opendirat.
11332 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
11333 using scandirat.
11334 * dirent/scandir64.c: Adjust for scandir.c change.
11335 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
11336 __scandirat64, and __scandir_cancel_handler.
11337 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
11338 additional parameter and use openat instead of open (outside of ld.so).
11339 Add new __opendir as wrapper around __opendirat.
11340 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
11341 here without requiring old scandirat implementation.
11342
11343 2011-08-08 Ulrich Drepper <drepper@gmail.com>
11344
11345 * dirent/scandir.c (cancel_handler): Renamed to
11346 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
11347 defined. Adjust users.
11348 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
11349 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
11350
11351 2011-08-04 Ulrich Drepper <drepper@gmail.com>
11352
11353 * string/test-string.h (IMPL): Use __STRING to expand name and then
11354 stringify it.
11355
11356 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
11357 of cleanups.
11358
11359 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11360
11361 * string/Makefile: Update.
11362 (strop-tests): Append strncat.
11363 * string/test-wcscmp.c: New file.
11364 New comprehensive test for wcscmp.
11365 * string/test-strcmp.c: Update.
11366 (WIDE): New define.
11367
11368 2011-07-22 Andreas Schwab <schwab@redhat.com>
11369
11370 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
11371 line.
11372
11373 2011-07-26 Andreas Schwab <schwab@redhat.com>
11374
11375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11376 encoding to ACE if AI_IDN.
11377
11378 2011-08-01 Jakub Jelinek <jakub@redhat.com>
11379
11380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
11381 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
11382
11383 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11384
11385 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
11386 Fix overflow bug in strncat.
11387 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
11388
11389 * string/test-strncat.c: Update.
11390 Add new tests for checking overflow bugs.
11391
11392 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11393
11394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11395 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
11396 * sysdeps/i386/i686/multiarch/strcat.S: New file.
11397 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
11398 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
11399 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
11400 * sysdeps/i386/i686/multiarch/strncat.S: New file.
11401 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
11402 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
11403
11404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
11405 (USE_AS_STRCAT): Define.
11406 Add strcat and strncat support.
11407 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11408
11409 2011-07-25 Andreas Schwab <schwab@redhat.com>
11410
11411 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
11412 __n bigger than INT_MAX+1.
11413 (__strncmp_g): Likewise.
11414
11415 2011-07-23 Ulrich Drepper <drepper@gmail.com>
11416
11417 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
11418 * libio/stido.h: Likewise.
11419
11420 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
11421 (AF_NFC): Define.
11422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
11423 (AF_NFC): Define.
11424
11425 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
11426 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11427 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11428 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
11429 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11430
11431 [BZ #13021]
11432 * scripts/test-installation.pl: Don't expect libnss_test1 to be
11433 installed.
11434
11435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
11436 typo.
11437 (_dl_x86_64_save_sse): Likewise.
11438
11439 2011-07-22 Ulrich Drepper <drepper@gmail.com>
11440
11441 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
11442 OSXSAVE.
11443 (_dl_x86_64_save_sse): Likewise.
11444
11445 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
11446
11447 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
11448
11449 2011-07-21 Andreas Schwab <schwab@redhat.com>
11450
11451 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
11452 change.
11453 (_dl_x86_64_save_sse): Use correct AVX check.
11454
11455 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11456
11457 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
11458 bug in strncpy/strncat.
11459 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11460
11461 2011-07-21 Ulrich Drepper <drepper@gmail.com>
11462
11463 * string/tester.c (test_strcat): Add tests for different alignments
11464 of source and destination.
11465 (test_strncat): Likewise.
11466
11467 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11468
11469 [BZ #12852]
11470 * posix/glob.c (glob): Check passed in values before using them in
11471 expressions to avoid some overflows.
11472 (glob_in_dir): Likewise.
11473
11474 [BZ #13007]
11475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
11476 check for AVX enablement so that we don't crash with old kernels and
11477 new hardware.
11478 * elf/tst-audit4.c: Add same checks here.
11479 * elf/tst-audit6.c: Likewise.
11480
11481 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
11482
11483 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
11484
11485 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
11486
11487 2011-07-20 Ulrich Drepper <drepper@gmail.com>
11488
11489 * po/cs.po: Update from translation team.
11490 * po/bg.po: Likewise.
11491
11492 2011-07-12 Marek Polacek <mpolacek@redhat.com>
11493
11494 * misc/sys/cdefs.h: Add support for const attribute.
11495 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
11496 to gnu_dev_{major,minor,makedev} functions.
11497
11498 2011-07-20 Marek Polacek <mpolacek@redhat.com>
11499
11500 * intl/dcigettext.c (get_output_charset): Add missing bracket.
11501
11502 2011-07-20 Andreas Schwab <schwab@redhat.com>
11503
11504 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
11505 strlen results.
11506
11507 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11508
11509 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11510 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
11511 register in order to avoid conflicts with the soft frame pointer
11512 being held in r11 when necessary.
11513 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11514 (INTERNAL_VSYSCALL_NCS): Likewise.
11515
11516 2011-07-14 Marek Polacek <mpolacek@redhat.com>
11517
11518 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
11519 * elf/dl-fini.c (_dl_fini): Adjust caller.
11520 * elf/dl-close.c (_dl_close_worker): Likewise.
11521 * sysdeps/generic/ldsodefs.h: Adjust declaration.
11522
11523 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11524
11525 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
11526 "aux_cache->nlibs < 0".
11527
11528 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
11529 in the reload-count case.
11530
11531 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11532
11533 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11534 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
11535 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
11536 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
11537 * sysdeps/x86_64/multiarch/strcat.S: New file.
11538 * sysdeps/x86_64/multiarch/strncat.S: New file.
11539 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
11540 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
11541 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
11542 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
11543 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
11544 (USE_AS_STRCAT): Define.
11545 Add strcat and strncat support.
11546 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11547 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11548 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
11549 * string/strncat.c: Update.
11550 (USE_AS_STRNCAT): Define.
11551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11552 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
11553 and i7.
11554 * sysdeps/x86_64/multiarch/init-arch.h
11555 (bit_Prefer_PMINUB_for_stringop): New.
11556 (index_Prefer_PMINUB_for_stringop): Likewise.
11557 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
11558 bit_Prefer_PMINUB_for_stringop.
11559
11560 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11561
11562 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
11563 buffer64.
11564 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
11565 of casting of buffer.
11566 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
11567 buffer32 and buffer64.
11568 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
11569 writes instead of casting of buffer.
11570 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
11571 buffer32.
11572 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
11573 casting of buffer.
11574
11575 2011-07-19 Andreas Schwab <schwab@redhat.com>
11576
11577 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
11578
11579 2011-07-19 Ulrich Drepper <drepper@gmail.com>
11580
11581 * nscd/nscd.c (termination_handler): Don't do anything for a database
11582 if it has not yet been initialized.
11583
11584 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11585
11586 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11587
11588 2011-07-15 Marek Polacek <mpolacek@redhat.com>
11589
11590 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
11591
11592 2011-07-18 Ulrich Drepper <drepper@gmail.com>
11593
11594 * po/nl.po: Update from translation team.
11595 * po/sv.po: Likewise.
11596
11597 2011-07-16 Roland McGrath <roland@hack.frob.com>
11598
11599 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
11600 now disallowed by GCC.
11601
11602 * configure.in (use-default-link): Default to yes if a test -shared
11603 link meets our qualifications.
11604 * configure: Regenerated.
11605
11606 * config.make.in (output-format): New variable.
11607 * configure.in: Check for ld --print-output-format support.
11608 * configure: Regenerated.
11609 * Makerules ($(common-objpfx)format.lds)
11610 [$(output-format) != unknown]: Just use $(output-format),
11611 instead of the linker-script munging.
11612
11613 2011-07-14 Roland McGrath <roland@hack.frob.com>
11614
11615 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
11616 of $(common-objpfx)shlib.lds.
11617 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
11618
11619 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
11620 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
11621
11622 * configure.in (-z relro check): Adjust test code to add a large
11623 writable data section after it.
11624 * configure: Regenerated.
11625
11626 2011-07-11 Roland McGrath <roland@hack.frob.com>
11627
11628 * configure.in (-z relro check): Fix test code to make the variable
11629 truly const.
11630 * configure: Regenerated.
11631
11632 2011-07-11 Ulrich Drepper <drepper@gmail.com>
11633
11634 * nscd/nscd.h (struct traced_file): Define.
11635 (struct database_dyn): Remove inotify_descr, reset_res, and filename
11636 elements. Add traced_files.
11637 (inotify_fd): Declare.
11638 (register_traced_file): Declare.
11639 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
11640 (inotify_fd): Export.
11641 (resolv_conf_descr): Remove.
11642 (nscd_init): Move inotify descriptor creation to main.
11643 Don't register files for notification here.
11644 (register_traced_file): New function.
11645 (invalidate_cache): Don't use reset_res to determine whether to call
11646 res_init, go through the list of registered files.
11647 (main_loop_poll): The inotify descriptors are now stored in the
11648 structures for the traced files.
11649 (main_loop_epoll): Likewise
11650 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
11651 to __nss_disable_nscd.
11652 * nscd/cache.c (prune_cache): There is no single inotify descriptor
11653 for a database anymore. Check the records for all the registered
11654 files instead.
11655 * nss/Makefile (libnss_files-routines): Add files-init.
11656 (libnss_db-routines): Add db-init.
11657 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
11658 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
11659 * nss/nss_db/db-init.c: New file.
11660 * nss/nss_files/files-init.c: New file.
11661 * nss/nsswitch.c (nss_load_library): New function. Broken out of
11662 __nss_lookup_function.
11663 (__nss_lookup_function): Call nss_load_library.
11664 (nss_load_all_libraries): New function.
11665 (__nss_disable_nscd): Take parameter with callback function for files
11666 to register. Set is_nscd. Load all the DSOs for the NSS modules
11667 used for the cached services.
11668 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
11669 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
11670 options for features to all the files in nscd.
11671
11672 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
11673
11674 2011-07-10 Roland McGrath <roland@hack.frob.com>
11675
11676 * csu/elf-init.c (__libc_csu_init): Comment typo.
11677
11678 2011-07-09 Ulrich Drepper <drepper@gmail.com>
11679
11680 * po/pl.po: Update from translation team.
11681 * po/ja.po: Likewise.
11682 * po/ru.po: Likewise.
11683 * po/ko.po: Likewise.
11684 * po/fr.po: Likewise.
11685
11686 2011-07-09 Roland McGrath <roland@hack.frob.com>
11687
11688 * configure.in (.ctors/.dtors header and trailer check):
11689 Use an empirical test on a built program.
11690 * configure: Regenerated.
11691
11692 * configure.in (-z relro check): Use an empirical test on a built DSO.
11693 Detect, but do not require, on ia64.
11694 * configure: Regenerated.
11695
11696 * configure.in (READELF): Find it with AC_CHECK_TOOL.
11697 Update tests that use readelf to use $READELF instead.
11698 * configure: Regenerated.
11699
11700 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11701
11702 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11703 if the result is not used.
11704
11705 2011-07-05 Andreas Jaeger <aj@suse.de>
11706
11707 [BZ#9696]
11708 * stdlib/tst-strtod.c: Add testcase.
11709
11710 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11711
11712 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11713 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11714 The latter has a higher limit. Take additional parameter to pass to
11715 the new function.
11716 (__pathconf): Pass file to __statfs_link_max.
11717 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11718 __statfs_link_max.
11719 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11720 __statfs_link_max.
11721
11722 [BZ #12868]
11723 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11724 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11725 Handle Lustre.
11726 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11727 (__statfs_filesize_max): Likewise.
11728 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11729
11730 2011-07-05 Andreas Jaeger <aj@suse.de>
11731
11732 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11733
11734 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11735
11736 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11737 `status' variable.
11738 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11739 Likewise.
11740
11741 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11742
11743 * Makefile (strop-tests): Add strncat.
11744 * string/test-strncat.c: New file.
11745
11746 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11747
11748 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11749
11750 2011-06-21 Andreas Jaeger <aj@suse.de>
11751
11752 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11753 Copy rule from iconvdata/Makefile.
11754
11755 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11756
11757 [BZ #12922]
11758 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11759 but no long options are defined, just return 'W'.
11760
11761 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11762
11763 [BZ #9696]
11764 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11765
11766 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11767
11768 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11769 netgroups to read.
11770 (innetgr): Likewise.
11771
11772 2011-07-05 Roland McGrath <roland@hack.frob.com>
11773
11774 * config.make.in (install_root): Default to $(DESTDIR).
11775
11776 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11777
11778 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11779
11780 2011-07-02 Roland McGrath <roland@hack.frob.com>
11781
11782 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11783
11784 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11785 containing directory rather than embedding absolute directory names.
11786
11787 * scripts/check-local-headers.sh: Rewritten using awk.
11788 Match by word, not by line. Print error messages for matches.
11789 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11790
11791 * Makerules [shlib-lds-flags empty]:
11792 ($(common-objpfx)libc_pic.opts): New target.
11793 ($(common-objpfx)libc_pic.os.clean): New target.
11794 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11795
11796 * config.make.in (OBJCOPY): New variable.
11797 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11798 * configure: Regenerated.
11799
11800 * config.make.in (use-default-link): New variable.
11801 * configure.in (use_default_link): Grok --with-default-link to set it.
11802 * configure: Regenerated.
11803 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11804 (shlib-lds, shlib-lds-flags): Define to empty.
11805
11806 * Makerules (shlib-lds): New variable.
11807 (shlib-lds-flags): New variable.
11808 (build-shlib, build-moduile, build-module-asneeded): Use it.
11809 ($(common-objpfx)libc.so): Use $(shlib-lds).
11810 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11811 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11812
11813 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11814 DT_FLAGS/DT_FLAGS_1 with zero flags.
11815
11816 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11817 linker script munging.
11818
11819 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11820
11821 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11822 as 128-bit value.
11823 * crypt/sha512.c (sha512_process_block): Perform total addition using
11824 128-bit if possible.
11825 (__sha512_finish_ctx): Likewise.
11826 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11827 as 64-bit value.
11828 * crypt/sha256.c (SWAP64): Define.
11829 (sha256_process_block): Perform total addition using 64-bit if
11830 possible.
11831 (__sha256_finish_ctx): Likewise.
11832
11833 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11834
11835 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11837 * nscd/hstcache.c (cache_addhst): Likewise.
11838 * nscd/grpcache.c (cache_addgr): Likewise.
11839 * nscd/aicache.c (addhstaiX): Likewise
11840 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11841
11842 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11843
11844 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11845 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11846 * nscd/hstcache.c (cache_addhst): Likewise.
11847 * nscd/grpcache.c (cache_addgr): Likewise.
11848 * nscd/aicache.c (addhstaiX): Likewise
11849
11850 2011-07-01 Andreas Schwab <schwab@redhat.com>
11851
11852 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11853 domain only when needed.
11854
11855 2011-06-30 Andreas Schwab <schwab@redhat.com>
11856
11857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11858 is always restored.
11859
11860 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11861
11862 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11863 are re-adding the entry.
11864 * nscd/servicescache.c (cache_addserv): Likewise.
11865
11866 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11867
11868 * sysdeps/generic/dl-irel.h: fix protection against multiple
11869 inclusions.
11870 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11871
11872 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11873
11874 [BZ #12935]
11875 * malloc/memusage.sh: Fix quoting in message.
11876 * debug/xtrace.sh: Likewise.
11877
11878 * configure.in: Remove support for --experimental-malloc option, make
11879 it the default.
11880 * config.make.in: Likewise.
11881 * malloc/Makefile: Likewise.
11882
11883 2011-06-27 Andreas Schwab <schwab@redhat.com>
11884
11885 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11886 two-byte characters.
11887
11888 2011-06-27 Roland McGrath <roland@hack.frob.com>
11889
11890 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11891 AC_CACHE_CHECK invocation.
11892 * configure: Regenerated.
11893
11894 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11895
11896 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11897
11898 [BZ #12350]
11899 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11900 bit from old_res_options.
11901
11902 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11903
11904 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11905 value type for setfct.
11906
11907 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11908
11909 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11910 __gettimeofday instead of gettimeofday.
11911
11912 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11913
11914 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11915
11916 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11917
11918 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11919
11920 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11921 info.
11922
11923 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11924
11925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11926 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11927 strcpy-sse2-unaligned strncpy-sse2-unaligned
11928 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11929 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11930 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11931 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11932 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11933 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11934 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11935 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11936 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11937 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11938 (STRCPY): Support SSE2 and SSSE3 versions.
11939
11940 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11941
11942 [BZ #12874]
11943 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11944 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11945 kernels which artificially limit size of requests.
11946
11947 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11948
11949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11950 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11951 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11952 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11953 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11954 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11955 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11956 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11957 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11958 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11959 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11960 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11961 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11962 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11963 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11965 Enable unaligned load optimization for Intel Core i3, i5 and i7
11966 processors.
11967 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11968 Define.
11969 (index_Fast_Unaligned_Load): Define.
11970 (HAS_FAST_UNALIGNED_LOAD): Define.
11971
11972 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11973
11974 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11975
11976 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11977
11978 [BZ #12907]
11979 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11980 until it is clear that the information is realy needed.
11981 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11982
11983 2011-06-22 Andreas Schwab <schwab@redhat.com>
11984
11985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11986
11987 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11988
11989 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11990 /sys/devices/system/cpu/online if it is usable.
11991
11992 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11993 reading the information from the /proc filesystem to once a second.
11994
11995 2011-06-21 Andreas Jaeger <aj@suse.de>
11996
11997 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11998 NULL after inclusion of kernel headers.
11999
12000 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12001
12002 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12003 calls to internal_setent.
12004
12005 [BZ #12885]
12006 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12007 addresses using gethostbyname4_r ignore IPv4 addresses.
12008
12009 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12010 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12011
12012 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12013
12014 2011-06-20 David S. Miller <davem@davemloft.net>
12015
12016 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12017 inclusions.
12018 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12019
12020 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12021 (elf_irel): Use it.
12022 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12023 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12024 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12025 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12026 * sysdeps/x86_64/dl-irel.h: Likewise.
12027
12028 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12029 * elf/dl-sym.c: Likewise.
12030
12031 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12032
12033 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12034 need to dereference resplen2.
12035
12036 2011-06-14 Andreas Schwab <schwab@redhat.com>
12037
12038 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12039
12040 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12041
12042 * Makeconfig: Define vardbdir and inst_vardbdir.
12043 * nss/Makefile: Add rules to install db-Makefile.
12044
12045 * nss/nss_db/db-XXX.c: Cleanup.
12046
12047 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12048 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12049 GLIBC_PRIVATE.
12050 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12051 * nss/makedb.c: Implement -g option to specify that value strings
12052 are generated and should not be added to table iterated over for
12053 get*ent calls.
12054 * nss/nss_db/db-initgroups.c: New file.
12055
12056 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12057 interface.
12058
12059 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12060 (internal_getgrouplist): Adjust to name change.
12061 Update use_initgroups_entry if this is not the first call.
12062 * nss/databases.def: Add initgroups entry.
12063
12064 * nss/makedb.c (compute_tables): Check result of multiple hash table
12065 sizes to minimize maximum chain length.
12066
12067 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12068
12069 * Versions.def: Add entry for libnss_db.
12070 * shlib-versions: Likewise.
12071 * nss/Makefile: Add rules to build libnss_db.
12072 * nss/Versions: Add libnss_db information. Organize libnss_files
12073 entries better.
12074 * nss/db-Makefile: Add gshadow support. Change rules for the new
12075 makedb progra. Some minor improvements to generate smaller files.
12076 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12077 here from...
12078 * nss/makedb.c: ...here.
12079 Improve database format to be smaller and require less memory at
12080 runtime.
12081 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12082 db anymore.
12083 * nss/nss_db/db-netgrp.c: Likewise.
12084 * nss/nss_db/db-open.c: Likewise.
12085 * nss/nss_files/flies-XXX.x: Adjust comments.
12086 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12087 * nss/nss_files/files-grp.c: Likewise.
12088 * nss/nss_files/files-hosts.c: Likewise.
12089 * nss/nss_files/files-network.c: Likewise.
12090 * nss/nss_files/files-proto.c: Likewise.
12091 * nss/nss_files/files-pwd.c: Likewise.
12092 * nss/nss_files/files-rpc.c: Likewise.
12093 * nss/nss_files/files-service.c: Likewise.
12094 * nss/nss_files/files-sgrp.c: Likewise.
12095 * nss/nss_files/files-spwd.c: Likewise.
12096 * nss/nss_db/db-alias.c: Removed.
12097 * nss/nss_db/dummy-db.h: Removed.
12098
12099 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12100
12101 * nss/makedb.c: Rewritten to not use database library.
12102 * nss/Makefile: Update to build new makedb program.
12103
12104 2011-06-14 Andreas Jaeger <aj@suse.de>
12105
12106 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12107 memset declaration.
12108
12109 2011-06-10 Andreas Schwab <schwab@redhat.com>
12110
12111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12112 tmpbuf.
12113
12114 2011-06-10 Roland McGrath <roland@hack.frob.com>
12115
12116 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12117 * elf/Makefile ($(objpfx)ld.so): Likewise.
12118
12119 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12120 Don't list ld.so twice in dependencies.
12121
12122 * posix/bug-regex31.c: Include <stdlib.h>.
12123
12124 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12125
12126 * nis/nss_compat/compat-spwd.c
12127 (getspent_next_nss_netgr): Remove unused variable.
12128 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12129
12130 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12131 nonmembers" output to use the right array.
12132
12133 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12134
12135 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12136
12137 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12138 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12139 * catgets/gencat.c (read_input_file): Likewise.
12140 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12141
12142 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12143 variable definition inside #if's controlling its use.
12144
12145 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12146
12147 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12148
12149 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12150
12151 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12152 unreachable code.
12153
12154 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12155
12156 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12157 * configure: Regenerated.
12158
12159 * Makerules: Revert last change.
12160 * elf/Makefile: Likewise.
12161
12162 2011-06-09 Roland McGrath <roland@hack.frob.com>
12163
12164 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12165 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12166 (reloc-link): Likewise.
12167
12168 2011-06-09 Ulrich Drepper <drepper@gmail.com>
12169
12170 * elf/Makefile: Add rules to build pldd.
12171 * elf/pldd.c: New file.
12172 * elf/pldd-xx.c: New file.
12173
12174 2011-06-07 Ulrich Drepper <drepper@gmail.com>
12175
12176 * version.h: Update for 2.15 development version.
12177
12178 2011-06-07 David S. Miller <davem@davemloft.net>
12179
12180 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12181 ifuncs.
12182 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12183 elf_machine_lazy_rel): Likewise.
12184 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12185 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12186 elf_machine_lazy_rel): Likewise.
12187 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12188 dl_hwcap via passed in argument.
12189 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12190 Likewise.
12191
12192 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12193
12194 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12195
12196 2011-06-06 Roland McGrath <roland@hack.frob.com>
12197
12198 [BZ #12849]
12199 * manual/fdl-1.1.texi: New file, verbatim from:
12200 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12201 * manual/lgpl-2.1.texi: New file, verbatim from:
12202 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12203 * manual/Makefile (licenses): New variable, list those new file names.
12204 (texis): Use it.
12205 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12206
12207 * manual/fdl.texi: File removed.
12208 * manual/lesser.texi: File removed.
12209 * manual/libc.texinfo (Copying, Documentation License):
12210 Use new @include file names, put @appendix directive before @include.
12211
12212 2011-06-04 Jakub Jelinek <jakub@redhat.com>
12213
12214 [BZ #12841]
12215 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12216 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12217 (mq_open): Add __NTH.
12218
12219 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
12220
12221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12222 Assume Intel Core i3/i5/i7 processor if AVX is available.
12223
12224 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12225
12226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
12227 typo.
12228
12229 2011-05-31 Andreas Schwab <schwab@redhat.com>
12230
12231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
12232 memory. Use alloca_account. Fix memory leak when retrying.
12233
12234 2011-05-31 Ulrich Drepper <drepper@gmail.com>
12235
12236 * version.h (RELEASE): Bump for 2.14 release.
12237 * include/features.h (__GLIBC_MINOR__): Bump to 14.
12238
12239 * config.make.in (RANLIB): Remove entry.
12240
12241 2011-05-30 Ulrich Drepper <drepper@gmail.com>
12242
12243 * po/Makefile (po-sed-cmd): Add ksh to extensions.
12244 (libc.pot): Work around missing support for .ksh extension in xgettext.
12245
12246 [BZ #12684]
12247 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
12248 if both request failed.
12249 (send_dg): In case of server errors clear resplen or *resplen2.
12250
12251 [BZ #12454]
12252 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
12253 when there are multiple maps.
12254 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
12255 (_dl_fini): Remove test here.
12256
12257 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
12258
12259 2011-05-29 Ulrich Drepper <drepper@gmail.com>
12260
12261 [BZ #12350]
12262 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
12263 bit from old_res_options.
12264 (gaih_inet): Likewise.
12265
12266 [BZ #11099]
12267 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
12268 as signed.
12269
12270 * resolv/res_init.c (res_setoptions): Make the code more compact.
12271
12272 [BZ #11558]
12273 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
12274 set RES_USEVC.
12275
12276 [BZ #11634]
12277 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
12278
12279 * malloc/malloc.h: Mark malloc hook variables as deprecated.
12280
12281 [BZ #11781]
12282 * malloc/malloc.h: Declare malloc hook variables as volatile.
12283
12284 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
12285 in last patch.
12286
12287 [BZ #11799]
12288 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
12289 raise in the comment.
12290 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12291 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12292 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
12293
12294 2011-05-28 Ulrich Drepper <drepper@gmail.com>
12295
12296 [BZ #12811]
12297 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
12298 grow the buffers more if it already has to be sufficient.
12299 (build_wcs_upper_buffer): Likewise.
12300 * posix/regexec.c (check_matching): Likewise.
12301 (clean_state_log_if_needed): Likewise.
12302 (extend_buffers): Don't enlarge buffers beyond size of the input
12303 buffer.
12304 Patches mostly by Emil Wojak <emil@wojak.eu>.
12305 * posix/bug-regex32.c: New file.
12306 * posix/Makefile (tests): Add bug-regex32.
12307
12308 * locale/findlocale.c (_nl_find_locale): Return right away if
12309 _nl_explode_name failed.
12310 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12311
12312 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
12313
12314 * debug/xtrace.sh: Unify messages.
12315 * malloc/memusage.sh: Likewise.
12316
12317 [BZ #12813]
12318 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
12319 time symbol from vDSO. Substitute with vsyscall if not available.
12320 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
12321 __vdso_time.
12322
12323 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
12324 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
12325 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
12326 Add sendmmsg and internal_sendmmsg.
12327 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
12328 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
12329 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
12330
12331 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
12332 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
12333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
12334
12335 2011-05-27 Ulrich Drepper <drepper@gmail.com>
12336
12337 [BZ #12813]
12338 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
12339 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
12340 available.
12341 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
12342 __vdso_getcpu.
12343
12344 [BZ #12814]
12345 * iconvdata/Makefile (tests): Add bug-iconv9.
12346 * iconvdata/bug-iconv9.c: New file.
12347
12348 2011-05-27 Andreas Schwab <schwab@redhat.com>
12349
12350 [BZ #12814]
12351 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
12352
12353 2011-05-25 Jakub Jelinek <jakub@redhat.com>
12354
12355 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12356 (struct user_regs_struct): Change intcs field back to cs.
12357
12358 2011-05-25 Ulrich Drepper <drepper@gmail.com>
12359
12360 * po/ja.po: Update from translation team.
12361
12362 2011-05-23 Ulrich Drepper <drepper@gmail.com>
12363
12364 [BZ #12795]
12365 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
12366 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
12367
12368 2011-05-20 Andreas Schwab <schwab@redhat.com>
12369
12370 * stdlib/longlong.h: Update from GCC.
12371
12372 2011-05-23 Andreas Schwab <schwab@redhat.com>
12373
12374 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
12375 parameter name.
12376 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
12377 Add parameter name.
12378 (__sysconf): Pass it down.
12379
12380 2011-05-22 Ulrich Drepper <drepper@gmail.com>
12381
12382 [BZ #12671]
12383 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
12384 some situations.
12385 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12386 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
12387 add in in __libc_use_alloca calls. Adjust callers.
12388 (glob): Use malloc in some situations.
12389
12390 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
12391 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
12392 pltexit.
12393
12394 2011-05-21 Ulrich Drepper <drepper@gmail.com>
12395
12396 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
12397 and CLOCK_BOOTTIME_ALARM.
12398
12399 [BZ #12782]
12400 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
12401 is returned.
12402
12403 * string/_strerror.c (__strerror_r): Print negative errors as signed
12404 numbers.
12405
12406 [BZ #12777]
12407 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
12408 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
12409 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
12410
12411 * configure.in: Fix typo in redirection and correct removal of test
12412 files in two cases.
12413
12414 [BZ #12788]
12415 * locale/setlocale.c (new_composite_name): Fix test to check for
12416 identical name of all categories.
12417
12418 [BZ #12792]
12419 * libio/filedoalloc.c (local_isatty): New function.
12420 (_IO_file_doallocate): Use local_isatty.
12421 * stdio-common/perror.c (perror): In case a new stream is used
12422 forward the stream error.
12423 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
12424 error flag.
12425
12426 2011-05-20 Ulrich Drepper <drepper@gmail.com>
12427
12428 [BZ #11869]
12429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
12430 alloca.
12431 * include/alloca.h (extend_alloca_account): Define.
12432
12433 [BZ #11857]
12434 * posix/regex.h: Fix comments with documentation of user-accessible
12435 fields after compilation and describe correct free'ing of pattern
12436 after re_compile_pattern.
12437 Patch by Reuben Thomas <rrt@sc3d.org>.
12438
12439 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
12440
12441 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
12442 and -mno-altivec to prevent the compiler from using Altivec and/or
12443 VSX instructions when the corresponding registers are not available.
12444
12445 2011-05-19 Andreas Schwab <schwab@redhat.com>
12446
12447 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
12448
12449 2011-05-19 Ulrich Drepper <drepper@gmail.com>
12450
12451 * libio/freopen.c (freopen): Use __dup2, not dup2.
12452 * libio/freopen64.c (freopen64): Likewise.
12453
12454 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
12455
12456 [BZ #12775]
12457 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
12458 * math/Makefile (tests): Add test-powl.
12459 (CFLAGS-test-powl.c): Define.
12460 * math/test-powl.c: New file.
12461
12462 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
12463
12464 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
12465
12466 2011-05-17 Ulrich Drepper <drepper@gmail.com>
12467
12468 [BZ #11837]
12469 * iconvdata/gb18030.c: Update to GB18020-2005.
12470
12471 2011-05-16 Ulrich Drepper <drepper@gmail.com>
12472
12473 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
12474 RE_SYNTAX_POSIX_AWK): Update to match recent development.
12475 Patch by Aharon Robbins <arnold@skeeve.com>.
12476
12477 [BZ #11892]
12478 * stdlib/putenv.c (putenv): Don't always create copy of the variable
12479 on the stack.
12480
12481 [BZ #11895]
12482 * misc/pselect.c (__pselect): Handle timeout value errors hidden
12483 through underflows.
12484
12485 [BZ #12766]
12486 * misc/error.c (error_at_line): Ensure file_name and old_file_name
12487 point to strings before performing equality test for error_one_per_line
12488 mode.
12489
12490 [BZ #11697]
12491 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
12492
12493 [BZ #11820]
12494 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
12495 (struct user_fpregs_struct): Avoid __uint*_t types.
12496
12497 [BZ #6420]
12498 * malloc/mtrace.c (tr_where): Add additional parameter to point to
12499 symbol info. Use it instead of calling _dl_addr locally.
12500 (lock_and_info): New function.
12501 (tr_freehook): Call lock_and_info and pass symbol info as additional
12502 parameter to tr_where.
12503 (tr_mallochook): Likewise.
12504 (tr_reallochook): Likewise.
12505 (tr_memalignhook): Likewise.
12506
12507 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
12508 used and couldn't be at all thread-safe.
12509
12510 2011-05-15 Ulrich Drepper <drepper@gmail.com>
12511
12512 * libio/freopen.c (freopen): Don't close old file descriptor
12513 before the new one is opened. Instead dup the new file descriptor
12514 to the old one after the new stream is created.
12515 * libio/freopen64.c (freopen64): Likewise.
12516 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
12517 * libio/fileops.c (_IO_new_file_close_it): Handle new
12518 _IO_FLAGS2_NOCLOSE flag.
12519 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
12520 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
12521 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
12522 _IO_FLAGS2_NOCLOSE flag.
12523 * include/unistd.h: Add hidden_proto for dup3.
12524 Define __have_dup3.
12525 * io/dup3.c: Define hidden symbol.
12526 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
12527
12528 [BZ #7101]
12529 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
12530 when an incomplete long option is used.
12531 * posix/tst-getopt_long1.c: New file.
12532 * posix/Makefile (tests): Add tst-getopt_long1.
12533
12534 [BZ #10138]
12535 * scripts/config.guess: Update from autoconf-2.68.
12536 * scripts/config.sub: Likewise.
12537
12538 [BZ #10157]
12539 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
12540 tests into ...
12541 (has_cpuclock): ...this. New function.
12542 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
12543 macro here based on has_cpuclock code.
12544
12545 [BZ #10149]
12546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12547 First byte (not low byte) is now always NUL.
12548 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
12549
12550 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12551 Use non-cancelable interfaces.
12552
12553 [BZ #9809]
12554 * locale/iso-639.def: Add entry for Sorani.
12555
12556 [BZ #11901]
12557 * include/stdlib.h: Move include protection to the right place.
12558 Define abort_msg_s. Declare __abort_msg with it.
12559 * stdlib/abort.c (__abort_msg): Adjust type.
12560 * assert/assert.c (__assert_fail_base): New function. Majority
12561 of code from __assert_fail. Allocate memory for __abort_msg with
12562 mmap.
12563 (__assert_fail): Now call __assert_fail_base.
12564 * assert/assert-perr.c: Remove bulk of implementation. Use
12565 __assert_fail_base.
12566 * include/assert.hL Declare __assert_fail_base.
12567 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
12568 mmap.
12569 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
12570
12571 2011-05-14 Ulrich Drepper <drepper@gmail.com>
12572
12573 [BZ #11952]
12574 [BZ #12453]
12575 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
12576 until all modules are registered in the DTV.
12577 * elf/Makefile: Add rules to build and run tst-tls19.
12578 * elf/tst-tls19.c: New file.
12579 * elf/tst-tls19mod1.c: New file.
12580 * elf/tst-tls19mod2.c: New file.
12581 * elf/tst-tls19mod3.c: New file.
12582 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
12583
12584 [BZ #12083]
12585 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
12586 correctly.
12587
12588 [BZ #12601]
12589 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
12590 two-byte sequence errors.
12591 * iconvdata/Makefile (tests): Add bug-iconv8.
12592 * iconvdata/bug-iconv8.c: New file.
12593
12594 [BZ #12626]
12595 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
12596 buf2 definition.
12597
12598 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
12599
12600 [BZ #12432]
12601 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
12602 (dummy_getcfa): New function.
12603 (init): Get _Unwind_GetCFA address, use dummy if not found.
12604 (backtrace_helper): In recursion check, also check whether CFA changes.
12605 (__backtrace): Completely initialize arg.
12606
12607 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
12608 storing incomplete byte sequence in state object. Avoid testing for
12609 guaranteed too small input if we know there is enough data available.
12610
12611 2011-05-11 Andreas Schwab <schwab@redhat.com>
12612
12613 * Makeconfig (+link-pie): Indent.
12614 * Rules (binaries-pie): Define if $(have-fpie) and
12615 $(build-shared).
12616 (binaries-shared): Also filter out $(binaries-pie).
12617 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
12618 * nscd/Makefile (others-pie): Add nscd.
12619 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
12620 ($(objpfx)nscd): Remove command override.
12621 * login/Makefile (others-pie): Add pt_chown.
12622 ($(objpfx)pt_chown): Remove command override.
12623 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
12624 remove command overrides.
12625
12626 2011-05-13 Ulrich Drepper <drepper@gmail.com>
12627
12628 * libio/tst_putwc.c: Fix error messages.
12629
12630 [BZ #12724]
12631 * libio/fileops.c (_IO_new_file_close_it): Always flush when
12632 currently writing and seek to current position when not.
12633 * libio/Makefile (tests): Add bug-fclose1.
12634 * libio/bug-fclose1.c: New file.
12635
12636 2011-05-12 Ulrich Drepper <drepper@gmail.com>
12637
12638 [BZ #12511]
12639 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
12640 don't set DF_1_NODELETE here.
12641 (do_lookup_x): When entering new entry test for copy relocation
12642 and if necessary set DF_1_NODELETE flag.
12643 * elf/tst-unique4.cc: New file.
12644 * elf/tst-unique4.h: New file.
12645 * elf/tst-unique4lib.cc: New file.
12646 * elf/Makefile: Add rules to build and run tst-unique4.
12647 Patch by Piotr Bury <pbury@goahead.com>.
12648
12649 2011-05-11 Ulrich Drepper <drepper@gmail.com>
12650
12651 [BZ #12052]
12652 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
12653
12654 [BZ #12625]
12655 * misc/mntent_r.c (addmntent): Flush the stream after the output
12656
12657 [BZ #12393]
12658 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
12659 (is_trusted_path_normalize): Skip initial colon. Append slash
12660 to empty buffer. Duplicate is_trusted_path code but allow
12661 constructed patch to be prefix.
12662 (is_dst): Allow $ORIGIN followed by /.
12663 (_dl_dst_substitute): Correct clearing of check_for_trusted.
12664 Correct testing of result of is_trusted_path_normalize
12665 (decompose_rpath): Fix warning.
12666
12667 2011-05-10 Ulrich Drepper <drepper@gmail.com>
12668
12669 [BZ #11257]
12670 * grp/initgroups.c (internal_getgrouplist): When we found the service
12671 list through the initgroups entry in nsswitch.conf do not always
12672 continue on a successful lookup. Don't always use the
12673 __nss_group_database value if it is set.
12674 * nss/nsswitch.conf (initgroups): Change action for successful db
12675 lookup to continue for compatibility.
12676
12677 2011-05-09 Ulrich Drepper <drepper@gmail.com>
12678
12679 [BZ #11532]
12680 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
12681 and CP774 modules.
12682 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
12683 and CP774 modules.
12684 * iconvdata/tst-tables.sh: Likewise.
12685 * iconvdata/cp770.c: New file.
12686 * iconvdata/cp771.c: New file.
12687 * iconvdata/cp772.c: New file.
12688 * iconvdata/cp773.c: New file.
12689 * iconvdata/cp774.c: New file.
12690 * iconvdata/testdata/CP770: New file.
12691 * iconvdata/testdata/CP770..UTF8: New file.
12692 * iconvdata/testdata/CP771: New file.
12693 * iconvdata/testdata/CP771..UTF8: New file.
12694 * iconvdata/testdata/CP772: New file.
12695 * iconvdata/testdata/CP772..UTF8: New file.
12696 * iconvdata/testdata/CP773: New file.
12697 * iconvdata/testdata/CP773..UTF8: New file.
12698 * iconvdata/testdata/CP774: New file.
12699 * iconvdata/testdata/CP774..UTF8: New file.
12700
12701 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12702 END CHARMAP line.
12703 * iconvdata/gen-8bit-gap.sh: Likewise.
12704 * iconvdata/gen-8bit.sh: Likewise.
12705
12706 * locale/iso-639.def: Add ary entry.
12707
12708 [BZ #11258]
12709 * locale/C-translit.h.in: Add U20A1 transliteration.
12710
12711 [BZ #12178]
12712 * locale/iso-639.def: Add wae entry.
12713 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12714
12715 [BZ #12545]
12716 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12717 for n.
12718
12719 [BZ #12711]
12720 * locale/C-translit.h.in: Add entry for U20B9.
12721 Patch by pravin.d.s@gmail.com.
12722
12723 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12724
12725 [BZ #12713]
12726 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12727 ENAMETOOLONG use generic getcwd.
12728 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12729 in rtld. Use *stat64.
12730 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12731 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12732 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12733 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12734 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12735 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12736 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12737 __fstatat64 macros.
12738 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12739 * dirent/rewinddir.c: Add libc_hidden_def.
12740 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12741 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12742
12743 * include/dirent.h (__alloc_dir): Add flags parameter.
12744 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12745 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12746 __alloc_dir.
12747 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12748 from fdopendir if O_CLOEXEC is already set.
12749
12750 2011-03-15 Alan Modra <amodra@gmail.com>
12751
12752 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12753 l_tls_firstbyte_offset non-zero. Save padding offset in
12754 l_tls_firstbyte_offset for later use.
12755 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12756 freeing static tls block.
12757
12758 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12759
12760 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12761 where #ifdef was intended. The intent is to prevent ARG_MAX from
12762 being defined by the kernel headers.
12763
12764 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12765
12766 [BZ #12734]
12767 * resolv/resolv.h: Define RES_NOTLDQUERY.
12768 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12769 no-tld-query and set RES_NOTLDQUERY.
12770 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12771 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12772 modern BIND to search name as TLD unless forbidden.
12773
12774 2011-05-07 Petr Baudis <pasky@suse.cz>
12775 Ulrich Drepper <drepper@gmail.com>
12776
12777 [BZ #12393]
12778 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12779 (is_trusted_path): ...to here.
12780 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12781 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12782 using is_trusted_path_normalize() in setuid scripts.
12783
12784 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12785
12786 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12787 __BEGIN/__END_DECLS.
12788
12789 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12790
12791 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12792 NSS_STATUS_NOTFOUND if no record was found.
12793
12794 2011-05-05 Andreas Schwab <schwab@redhat.com>
12795
12796 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12797 (headers-not-in-tirpc): Remove rpc/netdb.h
12798 * resolv/netdb.h: Revert last change.
12799
12800 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12801
12802 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12803 circular dependency between libgcc.a and libc.a.
12804
12805 2011-05-05 Andreas Schwab <schwab@redhat.com>
12806
12807 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12808 * nis/Makefile: Don't install rpcsvc/*.
12809 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12810 instead of <rpc/types.h>.
12811 (MAXHOSTNAMELEN): Define.
12812
12813 2011-05-03 Andreas Schwab <schwab@redhat.com>
12814
12815 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12816
12817 2011-04-28 Maciej Babinski <mbabinski@google.com>
12818
12819 [BZ #12714]
12820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12821 gethostbyname4_r when IPv6 results are possible.
12822
12823 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12824
12825 [BZ #12723]
12826 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12827 _PC_PIPE_BUF handling.
12828
12829 2011-04-30 Bruno Haible <bruno@clisp.org>
12830
12831 [BZ #12717]
12832 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12833 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12834 to 'int'.
12835 * inet/getnameinfo.c (getnameinfo): Likewise.
12836
12837 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12838
12839 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12840 to groups setting in database lookup.
12841 * nss/nsswitch.conf: Add initgroups entry.
12842
12843 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12844
12845 [BZ #12685]
12846 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12847 mode string.
12848 Patch by Eric Blake <eblake@redhat.com>.
12849
12850 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12851
12852 * sunrpc/Makefile (need-export-routines): Add svc_run.
12853 (routines): Remove svc_run.
12854 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12855 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12856 * sunrpc/svc_run.c (svc_run): Likewise.
12857 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12858
12859 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12860
12861 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12862 problem in reallocation in last patch.
12863
12864 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12865
12866 * sunrpc/Makefile: Move inclusion of Rules.
12867
12868 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12869
12870 * nss/nss_files/files-initgroups.c: New file.
12871 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12872 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12873 _nss_files_initgroups_dyn.
12874
12875 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12876
12877 * elf/elf.h (R_ARM_IRELATIVE): Define.
12878
12879 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12880
12881 * po/ru.po: Update from translation team.
12882
12883 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12884
12885 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12886 dependencies.
12887
12888 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12889
12890 [BZ #12653]
12891 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12892 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12893 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12894 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12895 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12896
12897 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12898
12899 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12900 differing bytes.
12901 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12902 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12903 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12904
12905 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12906
12907 [BZ #12420]
12908 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12909 storing it.
12910 * stdlib/bug-getcontext.c: New file.
12911 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12912
12913 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12914
12915 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12916 instructions into .machine "z9-109".
12917 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12918 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12919
12920 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12921
12922 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12923 between environment variables and auxiliary vector.
12924
12925 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12926
12927 * Makefile: Add rules to build linkobj/libc.so.
12928 * include/libc-symbols.h: Define libc_hidden_nolink.
12929 * include/rpc/auth.h: Mark functions which are to be hidden.
12930 * include/rpc/auth_des.h: Likewise.
12931 * include/rpc/auth_unix.h: Likewise.
12932 * include/rpc/clnt.h: Likewise.
12933 * include/rpc/des_crypt.h: Likewise.
12934 * include/rpc/key_prot.h: Likewise.
12935 * include/rpc/pmap_clnt.h: Likewise.
12936 * include/rpc/pmap_prot.h: Likewise.
12937 * include/rpc/pmap_rmt.h: Likewise.
12938 * include/rpc/rpc_msg.h: Likewise.
12939 * include/rpc/svc.h: Likewise.
12940 * include/rpc/svc_auth.h: Likewise.
12941 * include/rpc/xdr.h: Likewise.
12942 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12943 * nss/Makefile: Likewise.
12944 * sunrpc/Makefile: Don't install headers. Build library with normal
12945 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12946 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12947 for the compat linking library. Remove use of INTDEF/INTUSE.
12948 * sunrpc/auth_none.c: Likewise.
12949 * sunrpc/auth_unix.c: Likewise.
12950 * sunrpc/authdes_prot.c: Likewise.
12951 * sunrpc/authuxprot.c: Likewise.
12952 * sunrpc/clnt_gen.c: Likewise.
12953 * sunrpc/clnt_perr.c: Likewise.
12954 * sunrpc/clnt_raw.c: Likewise.
12955 * sunrpc/clnt_simp.c: Likewise.
12956 * sunrpc/clnt_tcp.c: Likewise.
12957 * sunrpc/clnt_udp.c: Likewise.
12958 * sunrpc/clnt_unix.c: Likewise.
12959 * sunrpc/des_crypt.c: Likewise.
12960 * sunrpc/des_soft.c: Likewise.
12961 * sunrpc/get_myaddr.c: Likewise.
12962 * sunrpc/key_call.c: Likewise.
12963 * sunrpc/key_prot.c: Likewise.
12964 * sunrpc/netname.c: Likewise.
12965 * sunrpc/pm_getmaps.c: Likewise.
12966 * sunrpc/pm_getport.c: Likewise.
12967 * sunrpc/pmap_clnt.c: Likewise.
12968 * sunrpc/pmap_prot.c: Likewise.
12969 * sunrpc/pmap_prot2.c: Likewise.
12970 * sunrpc/pmap_rmt.c: Likewise.
12971 * sunrpc/publickey.c: Likewise.
12972 * sunrpc/rpc_cmsg.c: Likewise.
12973 * sunrpc/rpc_common.c: Likewise.
12974 * sunrpc/rpc_dtable.c: Likewise.
12975 * sunrpc/rpc_prot.c: Likewise.
12976 * sunrpc/rpc_thread.c: Likewise.
12977 * sunrpc/rtime.c: Likewise.
12978 * sunrpc/svc.c: Likewise.
12979 * sunrpc/svc_auth.c: Likewise.
12980 * sunrpc/svc_authux.c: Likewise.
12981 * sunrpc/svc_raw.c: Likewise.
12982 * sunrpc/svc_run.c: Likewise.
12983 * sunrpc/svc_simple.c: Likewise.
12984 * sunrpc/svc_tcp.c: Likewise.
12985 * sunrpc/svc_udp.c: Likewise.
12986 * sunrpc/svc_unix.c: Likewise.
12987 * sunrpc/svcauth_des.c: Likewise.
12988 * sunrpc/xcrypt.c: Likewise.
12989 * sunrpc/xdr.c: Likewise.
12990 * sunrpc/xdr_array.c: Likewise.
12991 * sunrpc/xdr_float.c: Likewise.
12992 * sunrpc/xdr_intXX_t.c: Likewise.
12993 * sunrpc/xdr_mem.c: Likewise.
12994 * sunrpc/xdr_rec.c: Likewise.
12995 * sunrpc/xdr_ref.c: Likewise.
12996 * sunrpc/xdr_sizeof.c: Likewise.
12997 * sunrpc/xdr_stdio.c: Likewise.
12998
12999 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13000
13001 [BZ #12650]
13002 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13003 * sysdeps/ia64/dl-tls.h: Likewise.
13004 * sysdeps/powerpc/dl-tls.h: Likewise.
13005 * sysdeps/s390/dl-tls.h: Likewise.
13006 * sysdeps/sh/dl-tls.h: Likewise.
13007 * sysdeps/sparc/dl-tls.h: Likewise.
13008 * sysdeps/x86_64/dl-tls.h: Likewise.
13009 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13010
13011 2011-03-14 Andreas Schwab <schwab@redhat.com>
13012
13013 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13014 rpath element also skip the following colon.
13015 (expand_dynamic_string_token): Add is_path parameter and pass
13016 down to DL_DST_REQUIRED and _dl_dst_substitute.
13017 (decompose_rpath): Call expand_dynamic_string_token with
13018 non-zero is_path. Ignore empty rpaths.
13019 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13020 with zero is_path.
13021
13022 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13023
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13025 Make cancelable.
13026
13027 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13028
13029 [BZ #12655]
13030 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13031 Patch by Filipe David Manana <fdmanana@apache.org>.
13032
13033 2011-04-07 Andreas Schwab <schwab@redhat.com>
13034
13035 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13036 Maintain aligned stack.
13037 (CHECK_RSP): Remove unused macro.
13038
13039 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13040
13041 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13042 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13043
13044 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13045
13046 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13047
13048 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13049
13050 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13051
13052 [BZ #12518]
13053 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13054 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13055 * sysdeps/x86_64/memmove.c: New file.
13056 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13057 (memcpy): Renamed to ...
13058 (__new_memcpy): This.
13059 (memcpy): Provide GLIBC_2_14 memcpy.
13060 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13061 (memcpy): Provide GLIBC_2_2_5 memcpy.
13062
13063 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13064
13065 [BZ #12631]
13066 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13067
13068 2011-03-30 Andreas Schwab <schwab@redhat.com>
13069
13070 * misc/syncfs.c: New file.
13071 * misc/Makefile (routines): Add syncfs.
13072 * posix/unistd.h: Declare syncfs.
13073 * sysdeps/unix/syscalls.list: Add syncfs.
13074
13075 2011-04-01 Andreas Schwab <schwab@redhat.com>
13076
13077 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13078 open_by_handle_at.
13079 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13080 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13081 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13082 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13084 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13086
13087 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13088
13089 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13090 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13091 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13092 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13093 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13096
13097 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13098 sync_file_range.c with -fexceptions.
13099 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13100 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13101 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13102 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13103 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13104 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13105 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13106 sync_file_range as cancellation point
13107 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13108 now a wrapper around __call_sync_file_range with cancellation handling.
13109 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13110 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13111 function name to __call_sync_file_range.
13112 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13113 Add call_sync_file_range.
13114
13115 2011-04-01 Andreas Schwab <schwab@redhat.com>
13116
13117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13118 bits/timex.h.
13119
13120 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13121
13122 * iconv/iconv.h: Fix typo in comment.
13123 * io/fcntl.h: Likewise.
13124 * libio/stdio.h: Likewise.
13125 * posix/spawn.h: Likewise.
13126 * posix/unistd.h: Likewise.
13127 * stdlib/stdlib.h: Likewise.
13128 * time/time.h: Likewise.
13129 * wcsmbs/wchar.h: Likewise.
13130
13131 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13132 open_by_handle): Add.
13133 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13134 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13135 Augment a few comments.
13136 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13137 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13139 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13140 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13141 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13142 open_by_handle.
13143
13144 * io/fcntl.h (AT_EMPTY_PATH): Define.
13145
13146 2011-03-30 Ulrich Drepper <drepper@gmail.com>
13147
13148 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13149 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13150 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13151 to...
13152 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
13153 * Versions.def: Add GLIBC_2.14.
13154 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13155 Export.
13156
13157 2011-03-22 Ulrich Drepper <drepper@gmail.com>
13158
13159 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13160 round counter.
13161 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13162
13163 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13164
13165 [BZ #12597]
13166 * string/test-strncmp.c (do_page_test): New function.
13167 (check2): Likewise.
13168 (test_main): Call check2.
13169 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13170
13171 2011-03-20 Ulrich Drepper <drepper@gmail.com>
13172
13173 [BZ #12587]
13174 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13175 Handle cache information in CPU leaf 4.
13176 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13177
13178 2011-03-18 Ulrich Drepper <drepper@gmail.com>
13179
13180 [BZ #12583]
13181 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13182 character representation.
13183 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13184
13185 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13186
13187 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13188 END(__isnan) to END(__isnanf) to match function entry point/label
13189 EALIGN(__isnanf,...).
13190
13191 2011-03-10 Jakub Jelinek <jakub@redhat.com>
13192
13193 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13194
13195 2011-03-10 Ulrich Drepper <drepper@gmail.com>
13196
13197 [BZ #12510]
13198 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13199 copy from the symbol referenced in the relocation to initialize the
13200 used variable.
13201 Patch by Piotr Bury <pbury@goahead.com>.
13202 * elf/Makefile: Add rules to build and tst-unique3.
13203 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13204 * elf/tst-unique3.cc: New file.
13205 * elf/tst-unique3.h: New file.
13206 * elf/tst-unique3lib.cc: New file.
13207 * elf/tst-unique3lib2.cc: New file.
13208
13209 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13210
13211 2011-03-10 Mike Frysinger <vapier@gentoo.org>
13212
13213 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13214 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13215 to _start.
13216
13217 2011-03-06 Ulrich Drepper <drepper@gmail.com>
13218
13219 * elf/dl-load.c (_dl_map_object): If we are looking for the first
13220 to-be-loaded object along a path to loader is ld.so.
13221
13222 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13223 Ulrich Drepper <drepper@gmail.com>
13224
13225 * sysdeps/x86_64/memset.S: After aligning destination, code
13226 branches to different locations depending on the value of
13227 misalignment, when multiarch is enabled. Fix this.
13228
13229 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
13230
13231 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
13232 Set _x86_64_preferred_memory_instruction for AMD processsors.
13233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13234 Set bit_Prefer_SSE_for_memop for AMD processors.
13235
13236 2011-03-04 Ulrich Drepper <drepper@gmail.com>
13237
13238 * libio/fmemopen.c (fmemopen): Optimize a bit.
13239
13240 2011-03-03 Andreas Schwab <schwab@redhat.com>
13241
13242 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
13243
13244 2011-03-03 Roland McGrath <roland@redhat.com>
13245
13246 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
13247
13248 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
13249
13250 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
13251 __bzero_ultra1 instead of __memset_ultra1.
13252
13253 2011-02-23 Andreas Schwab <schwab@redhat.com>
13254 Ulrich Drepper <drepper@gmail.com>
13255
13256 [BZ #12509]
13257 * include/link.h (struct link_map): Add l_orig_initfini.
13258 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
13259 returning unsuccessfully.
13260 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
13261 close of a file loaded at startup, restore the original l_initfini
13262 list.
13263 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
13264 list, store the pointer.
13265 * elf/Makefile ($(objpfx)noload-mem): New rule.
13266 (noload-ENV): Define.
13267 (tests): Add $(objpfx)noload-mem.
13268 * elf/noload.c: Include <memcheck.h>.
13269 (main): Call mtrace. Close all opened handles.
13270
13271 2011-02-17 Andreas Schwab <schwab@redhat.com>
13272
13273 [BZ #12454]
13274 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
13275 dependencies are missing.
13276
13277 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13278
13279 Fix __if_freereq crash: Unlike the generic version which uses free,
13280 Hurd needs munmap.
13281 * sysdeps/mach/hurd/ifreq.h: New file.
13282
13283 2011-01-27 Petr Baudis <pasky@suse.cz>
13284 Ulrich Drepper <drepper@gmail.com>
13285
13286 [BZ 12445]#
13287 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
13288 to extend_alloca().
13289 * stdio-common/bug23.c: New file.
13290 * stdio-common/Makefile (tests): Add bug23.
13291
13292 2010-09-28 Andreas Schwab <schwab@redhat.com>
13293 Ulrich Drepper <drepper@gmail.com>
13294
13295 [BZ #12489]
13296 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
13297 before performing relro protection. At old place add assertion
13298 to make sure nothing changed.
13299
13300 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
13301 Glauber de Oliveira Costa <glommer@gmail.com>
13302
13303 * elf/elf.h: Add new ARM TLS relocs.
13304
13305 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
13306
13307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13308 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
13309 cast from r3.
13310 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
13311 'tests' variable.
13312 * sysdeps/wordsize-64/tst-writev.c: New file.
13313
13314 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
13315
13316 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
13317 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
13318 insns in _dl_start to prevent a TOC reference before relocs are
13319 resolved.
13320
13321 2011-02-15 Ulrich Drepper <drepper@gmail.com>
13322
13323 [BZ #12469]
13324 * Makeconfig: Remove RANLIB definition.
13325 * Makerules: Don't use RANLIB.
13326 * aclocal.m4: Remove ranlib test.
13327 * configure.in: No need to check for ranlib.
13328 * elf/rtld-Rules: Don't use RANLIB.
13329
13330 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13331
13332 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
13333 protection macro.
13334 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
13335 inclusion protection macro.
13336
13337 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
13338 SIGRTMIN and SIGRTMAX and print information in that case only when
13339 SIGRTMIN is defined.
13340
13341 2011-02-11 Jakub Jelinek <jakub@redhat.com>
13342
13343 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
13344 arginfo fn returning -1.
13345
13346 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
13347 and thousands string is zero terminated.
13348
13349 2011-02-03 Andreas Schwab <schwab@redhat.com>
13350
13351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
13352 sysdeps/unix/sysv/linux/bits/socket.h.
13353
13354 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
13355
13356 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
13357 (__CPU_COUNT): Remove old macros.
13358 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
13359 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
13360 (__CPU_ALLOC, __CPU_FREE): Add macros.
13361 (__sched_cpualloc, __sched_cpufree): Add declarations.
13362
13363 2011-02-05 Ulrich Drepper <drepper@gmail.com>
13364
13365 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
13366 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
13367 * nscd/aicache.c (addhstaiX): Return timeout of added value.
13368 (readdhstai): Return value of addhstaiX call.
13369 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
13370 (addgrbyX): Return value returned by cache_addgr.
13371 (readdgrbyname): Return value returned by addgrbyX.
13372 (readdgrbygid): Likewise.
13373 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
13374 (addpwbyX): Return value returned by cache_addpw.
13375 (readdpwbyname): Return value returned by addhstbyX.
13376 (readdpwbyuid): Likewise.
13377 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
13378 (addservbyX): Return value returned by cache_addserv.
13379 (readdservbyname): Return value returned by addservbyX:
13380 (readdservbyport): Likewise.
13381 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
13382 (addhstbyX): Return value returned by cache_addhst.
13383 (readdhstbyname): Return value returned by addhstbyX.
13384 (readdhstbyaddr): Likewise.
13385 (readdhstbynamev6): Likewise.
13386 (readdhstbyaddrv6): Likewise.
13387 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
13388 (readdinitgroups): Return value returned by addinitgroupsX.
13389 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
13390 (prune_cache): Keep track of timeout value of re-added entries.
13391 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
13392 * nscd/nscd.h: Adjust prototypes of readd* functions.
13393
13394 2011-02-04 Roland McGrath <roland@redhat.com>
13395
13396 * nis/nis_server.c (nis_servstate): Use the right name for 0.
13397 (nis_stats): Likewise.
13398 * nis/nis_modify.c (nis_modify): Likewise.
13399 * nis/nis_remove.c (nis_remove): Likewise.
13400 * nis/nis_add.c (nis_add): Likewise.
13401
13402 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
13403
13404 * posix/fnmatch_loop.c: Add some consts.
13405
13406 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
13407
13408 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
13409
13410 [BZ #12460]
13411 * config.make.in (config-cflags-novzeroupper): Define.
13412 * configure.in: Substitute libc_cv_cc_novzeroupper.
13413 * elf/Makefile (AVX-CFLAGS): Define.
13414 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
13415 (CFLAGS-tst-auditmod4a.c): Likewise.
13416 (CFLAGS-tst-auditmod4b.c): Likewise.
13417 (CFLAGS-tst-auditmod6b.c): Likewise.
13418 (CFLAGS-tst-auditmod6c.c): Likewise.
13419 (CFLAGS-tst-auditmod7b.c): Likewise.
13420 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
13421
13422 2011-02-02 Ulrich Drepper <drepper@gmail.com>
13423
13424 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
13425 function to the callback.
13426 Patch partly by Jiri Olsa <jolsa@redhat.com>.
13427
13428 2011-02-02 Andreas Schwab <schwab@redhat.com>
13429
13430 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
13431 of errno.
13432
13433 2011-01-19 Ulrich Drepper <drepper@gmail.com>
13434
13435 [BZ #11724]
13436 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
13437 of constructors.
13438 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
13439 of destructors.
13440 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
13441
13442 [BZ #11724]
13443 * elf/Makefile: Add rules to build and run new test.
13444 * elf/tst-initorder.c: New file.
13445 * elf/tst-initorder.exp: New file.
13446 * elf/tst-initordera1.c: New file.
13447 * elf/tst-initordera2.c: New file.
13448 * elf/tst-initordera3.c: New file.
13449 * elf/tst-initordera4.c: New file.
13450 * elf/tst-initorderb1.c: New file.
13451 * elf/tst-initorderb2.c: New file.
13452 * elf/tst-order-a1.c: New file.
13453 * elf/tst-order-a2.c: New file.
13454 * elf/tst-order-a3.c: New file.
13455 * elf/tst-order-a4.c: New file.
13456 * elf/tst-order-b1.c: New file.
13457 * elf/tst-order-b2.c: New file.
13458 * elf/tst-order-main.c: New file.
13459 New test case by George Gensure <werkt0@gmail.com>.
13460
13461 2010-10-01 Andreas Schwab <schwab@redhat.com>
13462
13463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13464 decoding ACE if AI_CANONIDN.
13465
13466 2011-01-18 Ulrich Drepper <drepper@gmail.com>
13467
13468 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
13469
13470 2011-01-17 Ulrich Drepper <drepper@gmail.com>
13471
13472 * version.h (RELEASE): Bump for 2.13 release.
13473 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
13474
13475 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
13476
13477 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
13478 MADV_NOHUGEPAGE.
13479 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
13480 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13481 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13482 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13483 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13484 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13485
13486 * posix/getconf.c: Update copyright year.
13487 * catgets/gencat.c: Likewise.
13488 * csu/version.c: Likewise.
13489 * debug/catchsegv.sh: Likewise.
13490 * debug/xtrace.sh: Likewise.
13491 * elf/ldconfig.c: Likewise.
13492 * elf/ldd.bash.in: Likewise.
13493 * elf/sprof.c (print_version): Likewise.
13494 * iconv/iconv_prog.c: Likewise.
13495 * iconv/iconvconfig.c: Likewise.
13496 * locale/programs/locale.c: Likewise.
13497 * locale/programs/localedef.c: Likewise.
13498 * malloc/memusage.sh: Likewise.
13499 * malloc/mtrace.pl: Likewise.
13500 * nscd/nscd.c (print_version): Likewise.
13501 * nss/getent.c: Likewise.
13502
13503 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
13504 PF_CAIF, and PF_ALG.
13505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13506
13507 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
13508
13509 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
13510 (modules-names): Use them.
13511 (ifunc-test-modules, ifunc-pie-tests): Define.
13512 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
13513 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
13514 (test-extras): Likewise.
13515 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
13516 $(compile-command.c).
13517 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
13518 (all-built-dso): Define.
13519 (check-textrel.out, check-execstack.out): Depend on it.
13520
13521 * configure.in: Don't override --enable-multi-arch.
13522
13523 2011-01-15 Ulrich Drepper <drepper@gmail.com>
13524
13525 [BZ #6812]
13526 * nscd/hstcache.c (tryagain): Define.
13527 (cache_addhst): Return tryagain not notfound for temporary errors.
13528 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
13529 failed.
13530
13531 2011-01-14 Ulrich Drepper <drepper@gmail.com>
13532
13533 [BZ #10563]
13534 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
13535 to make the syscall.
13536 * sysdeps/unix/sysv/linux/setgroups.c: New file.
13537
13538 [BZ #12378]
13539 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
13540 and fall back to matching as normal character if the string ends before
13541 the matching ']' is found. This is what POSIX requires.
13542 * posix/testfnm.c: Adjust test result.
13543 * posix/globtest.sh: Adjust test result. Add new test.
13544 * posix/tst-fnmatch.input: Likewise.
13545 * posix/tst-fnmatch2.c: Add new test.
13546
13547 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
13548
13549 * elf/Makefile (check-execstack): Revert last change. Depend on
13550 check-execstack.h.
13551 (check-execstack.h): New target.
13552 (generated): Add check-execstack.h.
13553 * elf/check-execstack.c: Include "check-execstack.h".
13554 (main): Revert last change.
13555 (handle_file): Return zero if GNU_STACK is absent and
13556 DEFAULT_STACK_PERMS doesn't include PF_X.
13557
13558 2011-01-13 Ulrich Drepper <drepper@gmail.com>
13559
13560 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
13561 in child fails because the descriptor is already closed.
13562 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
13563 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
13564 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13565
13566 [BZ #12397]
13567 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
13568 syscall.
13569
13570 [BZ #10484]
13571 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
13572 temporary buffer used to handle multi lookups locally.
13573 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
13574
13575 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13576
13577 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
13578 loader is ld.so.
13579
13580 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
13581
13582 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
13583 alignment for SSE2.
13584
13585 2011-01-12 Ulrich Drepper <drepper@gmail.com>
13586
13587 [BZ #12394]
13588 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
13589 characters. When rounding increased number of integer digits recompute
13590 number of groups.
13591 * stdio-common/tst-grouping.c: New file.
13592 * stdio-common/Makefile: Add rules to build and run tst-grouping.
13593
13594 2011-01-09 Ulrich Drepper <drepper@gmail.com>
13595
13596 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
13597 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
13598
13599 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
13600 void.
13601 * bits/select.h: Likewise.
13602
13603 2011-01-08 Ulrich Drepper <drepper@gmail.com>
13604
13605 * po/ja.po: Update from translation team.
13606
13607 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
13608
13609 [BZ #11155]
13610 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
13611 implementation just like for lxstat, fxstatat, et al.
13612
13613 2010-12-27 Jim Meyering <meyering@redhat.com>
13614
13615 [BZ #12348]
13616 * posix/regexec.c (build_trtable): Return failure indication upon
13617 calloc failure. Otherwise, re_search_internal could infloop on OOM.
13618
13619 2010-12-25 Ulrich Drepper <drepper@gmail.com>
13620
13621 [BZ #12201]
13622 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
13623 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
13624 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
13625 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
13626
13627 [BZ #12207]
13628 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
13629
13630 [BZ #12204]
13631 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
13632 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
13633
13634 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
13635
13636 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
13637 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
13638 script has SORT_BY_INIT_PRIORITY.
13639 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
13640 NO_CTORS_DTORS_SECTIONS is defined.
13641 * elf/soinit.c: Likewise.
13642 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
13643 NO_CTORS_DTORS_SECTIONS is defined.
13644 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
13645 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
13646 * sysdeps/sh/init-first.c: Likewise.
13647 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
13648
13649 2010-12-24 Ulrich Drepper <drepper@gmail.com>
13650
13651 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
13652 always use the slow path.
13653
13654 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
13655
13656 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
13657 similar rule which adds the sysdep directories to the header search in
13658 order to pick up the correct platform stackinfo.h.
13659 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
13660 perform test if it is, otherwise return successfully without testing.
13661 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
13662 DEFAULT_STACK_PERMS define in stackinfo.h.
13663 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
13664 defined in stackinfo.h.
13665 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
13666 DEFAULT_STACK_PERMS defined in stackinfo.h.
13667 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
13668 * sysdeps/ia64/stackinfo.h: Likewise.
13669 * sysdeps/s390/stackinfo.h: Likewise.
13670 * sysdeps/sh/stackinfo.h: Likewise.
13671 * sysdeps/sparc/stackinfo.h: Likewise.
13672 * sysdeps/x86_64/stackinfo.h: Likewise.
13673 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
13674 PF_X for powerpc64. Retain PF_X for powerpc32.
13675
13676 2010-12-19 Ulrich Drepper <drepper@gmail.com>
13677
13678 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
13679 accurately.
13680 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
13681 GETDENTS_64BIT_ALIGNED.
13682
13683 2010-12-14 Ulrich Drepper <dreper@gmail.com>
13684
13685 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
13686
13687 2010-12-10 Andreas Schwab <schwab@redhat.com>
13688
13689 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
13690 _GNU_SOURCE.
13691
13692 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
13693 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
13694 Remove __restrict.
13695 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
13696 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
13697
13698 2010-12-09 Ulrich Drepper <drepper@gmail.com>
13699
13700 [BZ #11655]
13701 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13702 are initialized.
13703
13704 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13705
13706 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13707
13708 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13709
13710 * po/it.po: Update from translation team.
13711
13712 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13713
13714 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13715 unused codes.
13716
13717 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13718
13719 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13720
13721 2010-11-24 Andreas Schwab <schwab@redhat.com>
13722
13723 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13724 specially.
13725 (gaih_getanswer_slice): Likewise.
13726
13727 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13728
13729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13730
13731 2010-05-31 Petr Baudis <pasky@suse.cz>
13732
13733 [BZ #11149]
13734 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13735 silently even in the chroot mode.
13736
13737 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13738
13739 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13740 last patch a bit. Pretty printing
13741
13742 2010-05-31 Petr Baudis <pasky@suse.cz>
13743
13744 [BZ #10085]
13745 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13746 initialization of skip_initgroups_dyn.
13747
13748 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13749
13750 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13751 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13752
13753 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13754
13755 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13756
13757 2010-11-11 Andreas Schwab <schwab@redhat.com>
13758
13759 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13760 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13761 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13762 ($(objpfx)tst-fnmatch-mem): New rule.
13763 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13764 * posix/tst-fnmatch.c (main): Call mtrace.
13765
13766 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13767
13768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13769 Support Intel processor model 6 and model 0x2c.
13770
13771 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13772
13773 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13774 signed comparison.
13775
13776 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13777
13778 [BZ #12205]
13779 * string/test-strncasecmp.c (check_result): New function.
13780 (do_one_test): Use it.
13781 (check1): New function.
13782 (test_main): Use it.
13783 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13784 Support strcasecmp and strncasecmp.
13785
13786 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13787
13788 [BZ #12194]
13789 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13790 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13791
13792 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13793
13794 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13795 IFUNC support.
13796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13797 memset-x86-64.
13798 * sysdeps/x86_64/multiarch/bzero.S: New file.
13799 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13800 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13801 * sysdeps/x86_64/multiarch/memset.S: New file.
13802 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13804 Set bit_Prefer_SSE_for_memop for Intel processors.
13805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13806 Define.
13807 (index_Prefer_SSE_for_memop): Define.
13808 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13809
13810 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13811
13812 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13813 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13814
13815 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13816
13817 [BZ #12191]
13818 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13819 (__x86_64_raw_data_cache_size_half): Likewise.
13820 (__x86_64_raw_shared_cache_size): Likewise.
13821 (__x86_64_raw_shared_cache_size_half): Likewise.
13822
13823 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13824 (__x86_64_raw_data_cache_size_half): Likewise.
13825 (__x86_64_raw_shared_cache_size): Likewise.
13826 (__x86_64_raw_shared_cache_size_half): Likewise.
13827 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13828 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13829 and __x86_64_raw_shared_cache_size_half. Round
13830 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13831 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13832 to multiple of 256 bytes.
13833
13834 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13835
13836 [BZ #12167]
13837 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13838 of inacessible symlinks. Verify result of symlink before returning it.
13839 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13840 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13841
13842 2010-10-28 Erich Ritz <erichritz@gmail.com>
13843
13844 * math/math.h (isinf): Fix typo in comment.
13845
13846 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13847
13848 * po/da.po: Update from translation team.
13849
13850 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13851
13852 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13853 is added to the list.
13854
13855 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13856 Ulrich Drepper <drepper@gmail.com>
13857
13858 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13859 the global list here. Move code to...
13860 (_dl_add_to_namespace_list): ...here. New function.
13861 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13862 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13863 * elf/dl-load.c (lose): Don't remove the element from the list.
13864 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13865 (_dl_map_object): Likewise.
13866
13867 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13868
13869 [BZ #12159]
13870 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13871 into all bytes of SSE register.
13872 Patch by Richard Li <richardpku@gmail.com>.
13873
13874 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13875
13876 [BZ #12140]
13877 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13878 perturbing.
13879
13880 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13881
13882 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13883 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13884 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13885 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13887 submachine.
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13889
13890 2010-10-22 Andreas Schwab <schwab@redhat.com>
13891
13892 * include/dlfcn.h (__RTLD_SECURE): Define.
13893 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13894 mode & __RTLD_SECURE instead.
13895 (open_path): Rename preloaded parameter to secure.
13896 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13897 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13898 * elf/dl-deps.c (openaux): Likewise.
13899 * elf/rtld.c (struct map_args): Remove is_preloaded.
13900 (map_doit): Don't use it.
13901 (dl_main): Likewise.
13902 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13903 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13904
13905 2010-09-09 Andreas Schwab <schwab@redhat.com>
13906
13907 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13908 (sysd-rules-targets): Remove duplicates.
13909 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13910 rtld-%.$o dependency.
13911
13912 2010-10-18 Andreas Schwab <schwab@redhat.com>
13913
13914 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13915 _dl_map_object do it.
13916
13917 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13918
13919 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13920 fast fma builtins, define the macros in the C99 standard.
13921 (FP_FAST_FMAF): Likewise.
13922 (FP_FAST_FMAL): Likewise.
13923 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13924
13925 * bits/mathdef.h: Update copyright year.
13926 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13927
13928 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13929
13930 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13931 builtins, define the macros in the C99 standard.
13932 (FP_FAST_FMAF): Likewise.
13933 (FP_FAST_FMAL): Likewise.
13934 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13935 multiply/add.
13936 (FP_FAST_FMAF): Likewise.
13937
13938 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13939
13940 [BZ #3268]
13941 * math/libm-test.inc (fma_test): Some new testcases.
13942 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13943 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13944 y and infinite z. Do multiplication by C already in long double.
13945 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13947 y and infinite z. Do bitwise or of inexact bit into u.d.
13948 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13949 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13950 * sysdeps/i386/fpu/s_fma.S: Removed.
13951 * sysdeps/i386/fpu/s_fmal.S: Removed.
13952
13953 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13954
13955 [BZ #3268]
13956 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13958 computation is not scheduled after fetestexcept. Fix value
13959 of minimum denormal long double.
13960
13961 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13962
13963 [BZ #3268]
13964 * math/libm-test.inc (fma_test): Add some more tests.
13965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13966 correctly.
13967
13968 2010-10-15 Andreas Schwab <schwab@redhat.com>
13969
13970 * scripts/data/localplt-s390-linux-gnu.data: New file.
13971 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13972
13973 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13974
13975 [BZ #3268]
13976 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13977 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13978 instead of dbl-64.
13979 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13980 inlines.
13981 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13983 if one of x and y is very large and the other is subnormal.
13984 * sysdeps/s390/fpu/s_fmaf.c: New file.
13985 * sysdeps/s390/fpu/s_fma.c: New file.
13986 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13987 * sysdeps/powerpc/fpu/s_fma.S: New file.
13988 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13989 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13990 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13991
13992 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13993
13994 [BZ #3268]
13995 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13996 fma tests.
13997 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13998 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13999 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14000 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14001 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14002 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14003 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14004
14005 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14006
14007 [BZ #12078]
14008 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14009 * posix/bug-regex31.input: Add test case.
14010
14011 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14012
14013 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14014 * posix/bug-regex31.input: New file.
14015
14016 [BZ #12078]
14017 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14018 (parse_sub_exp): Fix last change, use postorder.
14019
14020 * posix/bug-regex31.c: New file.
14021 * posix/Makefile: Add rules to build and run bug-regex31.
14022
14023 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14024
14025 [BZ #12078]
14026 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14027
14028 [BZ #12108]
14029 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14030 to have entries in sys_siglist.
14031
14032 [BZ #12093]
14033 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14034 be NULL.
14035
14036 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14037
14038 [BZ #3268]
14039 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14040 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14041 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14042 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14043 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14044 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14045 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14046 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14047 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14048 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14049 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14050 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14051 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14052 * math/ftestexcept.c (fetestexcept): Likewise.
14053 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14054 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14055 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14056 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14057 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14058 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14059 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14060
14061 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14062
14063 [BZ #12107]
14064 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14065 newline.
14066
14067 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14068
14069 * string/bug-strstr1.c: New file.
14070 * string/Makefile: Add rules to build and run bug-strstr1.
14071
14072 2010-10-05 Eric Blake <eblake@redhat.com>
14073
14074 [BZ #12092]
14075 * string/str-two-way.h (two_way_long_needle): Always clear memory
14076 when skipping input due to the shift table.
14077
14078 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14079
14080 [BZ #12005]
14081 * malloc/mcheck.c: Handle large requests.
14082
14083 [BZ #12077]
14084 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14085 for strncmp and strncasecmp.
14086 * string/stratcliff.c: Add tests for strcmp and strncmp.
14087 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14088
14089 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14090
14091 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14092 __set_fpscr.
14093
14094 2010-09-30 Andreas Jaeger <aj@suse.de>
14095
14096 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14097 (CGROUP_SUPER_MAGIC): Define.
14098 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14099 Handle btrfs and cgroup file systems.
14100 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14101 Likewise.
14102
14103 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14104
14105 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14106 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14107
14108 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14109
14110 [BZ #12067]
14111 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14112 trying to locate the ELF header.
14113
14114 2010-09-27 Andreas Schwab <schwab@redhat.com>
14115
14116 [BZ #11611]
14117 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14118 Mask out sign-bit copies when constructing f_fsid.
14119
14120 2010-09-24 Petr Baudis <pasky@suse.cz>
14121
14122 * debug/stack_chk_fail_local.c: Add missing licence exception.
14123 * debug/warning-nop.c: Likewise.
14124
14125 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14126
14127 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14128 implementing getdents64 using getdents syscall, set d_type if
14129 __ASSUME_GETDENTS32_D_TYPE.
14130
14131 2010-09-16 Andreas Schwab <schwab@redhat.com>
14132
14133 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14134 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14135
14136 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14137
14138 [BZ #12037]
14139 * posix/unistd.h: Undo change of feature selection for ftruncate from
14140 2010-01-11.
14141
14142 2010-09-20 Ulrich Drepper <drepper@redhat.com>
14143
14144 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
14145 detection.
14146
14147 2010-09-20 Andreas Schwab <schwab@redhat.com>
14148
14149 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14150 fanotify_mark.
14151 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14152
14153 2010-09-14 Andreas Schwab <schwab@redhat.com>
14154
14155 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14156 variables after CHECK_SP call.
14157 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14158
14159 2010-09-13 Andreas Schwab <schwab@redhat.com>
14160 Ulrich Drepper <drepper@redhat.com>
14161
14162 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14163 re-relocationg ld.so.
14164 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14165 _dl_init_paths call.
14166 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14167 here anymore.
14168
14169 2010-09-14 Ulrich Drepper <drepper@redhat.com>
14170
14171 * resolv/res_init.c (__res_vinit): Count the default server we added.
14172
14173 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14174 Ulrich Drepper <drepper@redhat.com>
14175
14176 [BZ #11968]
14177 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14178 (____longjmp_chk): Use %ebx for saving value across system call.
14179 Add unwind info.
14180
14181 2010-09-06 Andreas Schwab <schwab@redhat.com>
14182
14183 * manual/Makefile: Don't mix pattern rules with normal rules.
14184
14185 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14186
14187 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14188 operation.
14189 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14190 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14191 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14192 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14193 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14194 Likewise.
14195
14196 2010-09-04 Ulrich Drepper <drepper@redhat.com>
14197
14198 [BZ #11979]
14199 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14200 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14201
14202 2010-09-02 Ulrich Drepper <drepper@redhat.com>
14203
14204 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14205 * sysdeps/x86_64/addmul_1.S: Likewise.
14206 * sysdeps/x86_64/lshift.S: Likewise.
14207 * sysdeps/x86_64/mul_1.S: Likewise.
14208 * sysdeps/x86_64/rshift.S: Likewise.
14209 * sysdeps/x86_64/sub_n.S: Likewise.
14210 * sysdeps/x86_64/submul_1.S: Likewise.
14211
14212 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14213
14214 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14215 Define __sched_param instead of SCHED_* and sched_param when
14216 <bits/sched.h> is included with __need_schedparam defined.
14217 * bits/sched.h [__need_schedparam]
14218 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
14219 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
14220 (__defined_schedparam): Define to 1.
14221 (__sched_param): New structure, identical to sched_param.
14222 (__need_schedparam): Undefine.
14223
14224 2010-08-31 Mike Frysinger <vapier@gentoo.org>
14225
14226 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
14227 (epoll_create1): Declare.
14228
14229 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
14230
14231 2010-08-31 Andreas Schwab <schwab@redhat.com>
14232
14233 [BZ #7066]
14234 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
14235 shifting retval into place.
14236
14237 2010-09-01 Ulrich Drepper <drepper@redhat.com>
14238
14239 * nis/rpcsvc/nis.h: Update copyright notice.
14240 * nis/rpcsvc/nis.x: Likewise.
14241 * nis/rpcsvc/nis_callback.h: Likewise.
14242 * nis/rpcsvc/nis_callback.x: Likewise.
14243 * nis/rpcsvc/nis_object.x: Likewise.
14244 * nis/rpcsvc/nis_tags.h: Likewise.
14245 * nis/rpcsvc/yp.h: Likewise.
14246 * nis/rpcsvc/yp.x: Likewise.
14247 * nis/rpcsvc/ypupd.h: Likewise.
14248 * nis/yp_xdr.c: Likewise.
14249 * nis/ypupdate_xdr.c: Likewise.
14250
14251 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
14252 mainly the body of pmap_getport. Add parameters to specify timeouts.
14253 (pmap_getport): Use __libc_rpc_getport.
14254 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
14255 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
14256 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
14257
14258 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
14259
14260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
14261 fanotify_mark.
14262
14263 2010-08-27 Roland McGrath <roland@redhat.com>
14264
14265 * sysdeps/i386/i686/multiarch/Makefile
14266 (CFLAGS-varshift.c): New variable.
14267
14268 2010-08-27 Ulrich Drepper <drepper@redhat.com>
14269
14270 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
14271 * sysdeps/i386/i686/multiarch/varshift.c: New file.
14272
14273 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
14274
14275 * sysdeps/x86_64/strlen.S: Minimal code improvement.
14276
14277 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
14278
14279 * sysdeps/x86_64/strlen.S: Unroll the loop.
14280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14281 strlen-sse2 strlen-sse2-bsf.
14282 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
14283 __strlen_no_bsf if bit_Slow_BSF is set.
14284 (__strlen_sse42): Removed.
14285 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
14286 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
14287
14288 2010-08-25 Roland McGrath <roland@redhat.com>
14289
14290 * sysdeps/x86_64/multiarch/varshift.S: File removed.
14291 * sysdeps/x86_64/multiarch/varshift.c: New file.
14292 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
14293 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
14294 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
14295 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14296
14297 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
14298
14299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14300 strlen-sse2 strlen-sse2-bsf.
14301 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
14302 __strlen_sse2_bsf if bit_Slow_BSF is unset.
14303 (__strlen_sse2): Removed.
14304 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
14305 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
14306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14307 bit_Slow_BSF for Atom.
14308 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
14309 (index_Slow_BSF): Define.
14310 (HAS_SLOW_BSF): Define.
14311
14312 2010-08-25 Ulrich Drepper <drepper@redhat.com>
14313
14314 [BZ #10851]
14315 * resolv/res_init.c (__res_vinit): When no server address at all
14316 is given default to loopback.
14317
14318 2010-08-24 Roland McGrath <roland@redhat.com>
14319
14320 * configure.in: Remove config-name.h generation.
14321 * configure: Regenerated.
14322 * config-name.in: File removed.
14323 * scripts/config-uname.sh: New file.
14324 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
14325 ($(objdir)config-name.h): New target.
14326
14327 * sunrpc/rpc_parse.h: Avoid nested comment.
14328
14329 2010-08-24 Richard Henderson <rth@redhat.com>
14330 Ulrich Drepper <drepper@redhat.com>
14331 H.J. Lu <hongjiu.lu@intel.com>
14332
14333 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
14334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
14335 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
14336 Replace _mm_srli_si128 with __m128i_shift_right. Replace
14337 _mm_alignr_epi8 with _mm_loadu_si128.
14338 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
14339 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
14340 (__m128i_shift_right): Removed.
14341 * sysdeps/i386/i686/multiarch/varshift.h: New file.
14342 * sysdeps/i386/i686/multiarch/varshift.S: New file.
14343 * sysdeps/x86_64/multiarch/varshift.h: New file.
14344 * sysdeps/x86_64/multiarch/varshift.S: New file.
14345
14346 2010-08-21 Mike Frysinger <vapier@gentoo.org>
14347
14348 * configure.in: Move assembler checks to before sysdep dir checking.
14349
14350 2010-08-20 Petr Baudis <pasky@suse.cz>
14351
14352 * LICENSES: Sync the sunrpc license.
14353
14354 2010-08-19 Ulrich Drepper <drepper@redhat.com>
14355
14356 * sunrpc/auth_des.c: Update copyright notice once again.
14357 * sunrpc/auth_none.c: Likewise.
14358 * sunrpc/auth_unix.c: Likewise.
14359 * sunrpc/authdes_prot.c: Likewise.
14360 * sunrpc/authuxprot.c: Likewise.
14361 * sunrpc/bindrsvprt.c: Likewise.
14362 * sunrpc/clnt_gen.c: Likewise.
14363 * sunrpc/clnt_perr.c: Likewise.
14364 * sunrpc/clnt_raw.c: Likewise.
14365 * sunrpc/clnt_simp.c: Likewise.
14366 * sunrpc/clnt_tcp.c: Likewise.
14367 * sunrpc/clnt_udp.c: Likewise.
14368 * sunrpc/clnt_unix.c: Likewise.
14369 * sunrpc/des_crypt.c: Likewise.
14370 * sunrpc/des_soft.c: Likewise.
14371 * sunrpc/get_myaddr.c: Likewise.
14372 * sunrpc/getrpcport.c: Likewise.
14373 * sunrpc/key_call.c: Likewise.
14374 * sunrpc/key_prot.c: Likewise.
14375 * sunrpc/openchild.c: Likewise.
14376 * sunrpc/pm_getmaps.c: Likewise.
14377 * sunrpc/pm_getport.c: Likewise.
14378 * sunrpc/pmap_clnt.c: Likewise.
14379 * sunrpc/pmap_prot.c: Likewise.
14380 * sunrpc/pmap_prot2.c: Likewise.
14381 * sunrpc/pmap_rmt.c: Likewise.
14382 * sunrpc/rpc/auth.h: Likewise.
14383 * sunrpc/rpc/auth_unix.h: Likewise.
14384 * sunrpc/rpc/clnt.h: Likewise.
14385 * sunrpc/rpc/des_crypt.h: Likewise.
14386 * sunrpc/rpc/key_prot.h: Likewise.
14387 * sunrpc/rpc/netdb.h: Likewise.
14388 * sunrpc/rpc/pmap_clnt.h: Likewise.
14389 * sunrpc/rpc/pmap_prot.h: Likewise.
14390 * sunrpc/rpc/pmap_rmt.h: Likewise.
14391 * sunrpc/rpc/rpc.h: Likewise.
14392 * sunrpc/rpc/rpc_des.h: Likewise.
14393 * sunrpc/rpc/rpc_msg.h: Likewise.
14394 * sunrpc/rpc/svc.h: Likewise.
14395 * sunrpc/rpc/svc_auth.h: Likewise.
14396 * sunrpc/rpc/types.h: Likewise.
14397 * sunrpc/rpc/xdr.h: Likewise.
14398 * sunrpc/rpc_clntout.c: Likewise.
14399 * sunrpc/rpc_cmsg.c: Likewise.
14400 * sunrpc/rpc_common.c: Likewise.
14401 * sunrpc/rpc_cout.c: Likewise.
14402 * sunrpc/rpc_dtable.c: Likewise.
14403 * sunrpc/rpc_hout.c: Likewise.
14404 * sunrpc/rpc_main.c: Likewise.
14405 * sunrpc/rpc_parse.c: Likewise.
14406 * sunrpc/rpc_parse.h: Likewise.
14407 * sunrpc/rpc_prot.c: Likewise.
14408 * sunrpc/rpc_sample.c: Likewise.
14409 * sunrpc/rpc_scan.c: Likewise.
14410 * sunrpc/rpc_scan.h: Likewise.
14411 * sunrpc/rpc_svcout.c: Likewise.
14412 * sunrpc/rpc_tblout.c: Likewise.
14413 * sunrpc/rpc_util.c: Likewise.
14414 * sunrpc/rpc_util.h: Likewise.
14415 * sunrpc/rpcinfo.c: Likewise.
14416 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
14417 * sunrpc/rpcsvc/key_prot.x: Likewise.
14418 * sunrpc/rpcsvc/klm_prot.x: Likewise.
14419 * sunrpc/rpcsvc/mount.x: Likewise.
14420 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
14421 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
14422 * sunrpc/rpcsvc/rex.x: Likewise.
14423 * sunrpc/rpcsvc/rstat.x: Likewise.
14424 * sunrpc/rpcsvc/rusers.x: Likewise.
14425 * sunrpc/rpcsvc/sm_inter.x: Likewise.
14426 * sunrpc/rpcsvc/spray.x: Likewise.
14427 * sunrpc/rpcsvc/yppasswd.x: Likewise.
14428 * sunrpc/rtime.c: Likewise.
14429 * sunrpc/svc.c: Likewise.
14430 * sunrpc/svc_auth.c: Likewise.
14431 * sunrpc/svc_authux.c: Likewise.
14432 * sunrpc/svc_raw.c: Likewise.
14433 * sunrpc/svc_run.c: Likewise.
14434 * sunrpc/svc_simple.c: Likewise.
14435 * sunrpc/svc_tcp.c: Likewise.
14436 * sunrpc/svc_udp.c: Likewise.
14437 * sunrpc/svc_unix.c: Likewise.
14438 * sunrpc/svcauth_des.c: Likewise.
14439 * sunrpc/xcrypt.c: Likewise.
14440 * sunrpc/xdr.c: Likewise.
14441 * sunrpc/xdr_array.c: Likewise.
14442 * sunrpc/xdr_float.c: Likewise.
14443 * sunrpc/xdr_mem.c: Likewise.
14444 * sunrpc/xdr_rec.c: Likewise.
14445 * sunrpc/xdr_ref.c: Likewise.
14446 * sunrpc/xdr_sizeof.c: Likewise.
14447 * sunrpc/xdr_stdio.c: Likewise.
14448
14449 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
14450 handling.
14451
14452 2010-08-19 Andreas Schwab <schwab@redhat.com>
14453
14454 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
14455
14456 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
14457
14458 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
14459 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
14460 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
14461 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
14462 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
14463 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
14464 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
14465 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
14466 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
14467 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
14468 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
14469 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
14470 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
14471 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
14472
14473 2010-07-26 Anton Blanchard <anton@samba.org>
14474
14475 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
14476 * malloc/arena.c (heap_trim): Likewise.
14477
14478 2010-08-16 Ulrich Drepper <drepper@redhat.com>
14479
14480 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
14481 here. Not...
14482 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
14483 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
14484
14485 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
14486
14487 * sysdeps/i386/elf/Makefile: New file.
14488
14489 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14490
14491 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
14492 from fanotify_init.
14493 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14494 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14495
14496 2010-08-15 Ulrich Drepper <drepper@redhat.com>
14497
14498 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
14499 of strncasecmp_l.
14500 * sysdeps/multiarch/strcmp.S: Likewise.
14501
14502 2010-08-14 Ulrich Drepper <drepper@redhat.com>
14503
14504 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14505 strncase_l-nonascii.
14506 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14507 Add strncase_l-ssse3.
14508 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
14509 * sysdeps/x86_64/strcmp.S: Likewise.
14510 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
14511 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
14512 * sysdeps/x86_64/strncase.S: New file.
14513 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
14514 * sysdeps/x86_64/strncase_l.S: New file.
14515 * string/Makefile (strop-tests): Add strncasecmp.
14516 * string/test-strncasecmp.c: New file.
14517
14518 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
14519 warning.
14520
14521 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
14522 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
14523
14524 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
14525
14526 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
14527
14528 2010-08-12 Ulrich Drepper <drepper@redhat.com>
14529
14530 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
14531 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
14532 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
14533
14534 2010-05-01 Alan Modra <amodra@gmail.com>
14535
14536 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
14537 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
14538 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
14539 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
14540 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
14541 tidying. Don't tail-call __sigjmp_save for static lib.
14542 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
14543 save location.
14544 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
14545 (CALL_MCOUNT): Add eh info, and nop after bl.
14546 (TAIL_CALL_SYSCALL_ERROR): New macro.
14547 (PSEUDO_RET): Use it.
14548 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
14549 Correct save location of integer regs and cr.
14550 (_dl_profile_resolve): Correct cr save location. Delete nops
14551 after bl when SHARED. Reduce cfi size a little by better
14552 placement of cfi directives.
14553 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
14554 make a stack frame. Instead use parm save area as a temp.
14555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
14556 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
14557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14558 Don't make a stack frame for parent, use parm save area.
14559 Increase child stack frame to 112 bytes. Don't save unused reg,
14560 and adjust reg usage. Set up cfi on error recovery and
14561 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14563 (__makecontext): Add dummy nop after jump to exit.
14564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
14565 Use correct parm save area and cr save, reduce stack frame.
14566 Correct cfi for possible PSEUDO_RET frame setup.
14567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
14568 Branch to local label emitted by PSEUDO_RET rather than
14569 __syscall_error.
14570
14571 2010-08-12 Andreas Schwab <schwab@redhat.com>
14572
14573 [BZ #11904]
14574 * locale/programs/locale.c (print_assignment): New function.
14575 (show_locale_vars): Use it.
14576
14577 2010-08-11 Ulrich Drepper <drepper@redhat.com>
14578
14579 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
14580 field.
14581 (struct statfs64): Likewise.
14582 (_STATFS_F_FLAGS): Define.
14583 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
14584 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14585 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
14586 (ST_VALID): Define locally.
14587 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
14588 __statvfs_getflags, use the provided value.
14589 * sysdeps/unix/sysv/linux/kernel-features.h: Define
14590 __ASSUME_STATFS_F_FLAGS.
14591
14592 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
14593
14594 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
14595 Add sys/fanotify.h.
14596 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
14597 fanotify_mask for GLIBC_2.13.
14598 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
14599 fanotify_init and fanotify_mark.
14600 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14601 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
14602
14603 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
14604 Add prlimit.
14605 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
14606 prlimit64 for GLIBC_2.13.
14607 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
14608 prlimit64.
14609 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
14610 syscall.
14611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14612 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14613 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
14614 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
14615 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
14616 add prlimit alias.
14617 * sysdeps/unix/sysv/linux/prlimit.c: New file.
14618
14619 [BZ #11903]
14620 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
14621 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
14622
14623 * nss/Makefile: Add rules to build and run tst-nss-test1.
14624 * shlib-versions: Add entry for libnss_test1.
14625 * nss/nss_test1.c: New file.
14626 * nss/tst-nss-test1.c: New file.
14627
14628 * nss/nsswitch.c (__nss_database_custom): Define new variable.
14629 (__nss_configure_lookup): Set appropriate entry in
14630 __nss_configure_lookup to true.
14631 * nss/nsswitch.h: Define enum with indeces of databases in
14632 databases and __nss_database_custom arrays. Declare
14633 __nss_database_custom.
14634 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
14635 to avoid using nscd when custom rules are installed.
14636 * nss/getXXbyYY_r.c: Likewise.
14637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14638
14639 * nss/nss_files/files-parse.c: Whitespace fixes.
14640
14641 2010-08-09 Ulrich Drepper <drepper@redhat.com>
14642
14643 [BZ #11883]
14644 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
14645 * posix/fnmatch_loop.c: Likewise.
14646
14647 2010-07-17 Andi Kleen <ak@linux.intel.com>
14648
14649 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
14650 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
14651 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
14652 * Versions.def [GLIBC_2.13]: Add.
14653
14654 2010-08-06 Ulrich Drepper <drepper@redhat.com>
14655
14656 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14657 Also fail if tpwd after pwuid call is NULL.
14658
14659 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
14660
14661 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
14662 when converting to ms.
14663
14664 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14665
14666 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
14667 EOPNOTSUPP errors with ENOTTY.
14668 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
14669 EOPNOTSUPP errors with ENOTTY.
14670
14671 2010-07-31 Ulrich Drepper <drepper@redhat.com>
14672
14673 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
14674 Add strcasecmp_l-ssse3.
14675 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
14676 strcasecmp.
14677 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
14678 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
14679 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
14680
14681 2010-07-30 Ulrich Drepper <drepper@redhat.com>
14682
14683 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
14684
14685 * string/Makefile (strop-tests): Add strcasecmp.
14686 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
14687 strcasecmp_l-nonascii.
14688 (gen-as-const-headers): Add locale-defines.sym.
14689 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
14690 * sysdeps/x86_64/strcasecmp.S: New file.
14691 * sysdeps/x86_64/strcasecmp_l.S: New file.
14692 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
14693 * sysdeps/x86_64/locale-defines.sym: New file.
14694 * string/test-strcasecmp.c: New file.
14695
14696 * string/test-strcasestr.c: Test both ends of the range of characters.
14697 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
14698
14699 2010-07-29 Roland McGrath <roland@redhat.com>
14700
14701 [BZ #11856]
14702 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14703
14704 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14705
14706 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14707 for ld.so.
14708
14709 2010-07-27 Andreas Schwab <schwab@redhat.com>
14710
14711 * manual/memory.texi (Malloc Tunable Parameters): Document
14712 M_PERTURB.
14713
14714 2010-07-26 Roland McGrath <roland@redhat.com>
14715
14716 [BZ #11840]
14717 * configure.in (-fgnu89-inline check): Set and substitute
14718 gnu89_inline, not libc_cv_gnu89_inline.
14719 * configure: Regenerated.
14720 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14721
14722 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14723
14724 * string/test-strnlen.c: New file.
14725 * string/Makefile (strop-tests): Add strnlen.
14726 * string/tester.c (test_strnlen): Add a few more test cases.
14727 * string/tst-strlen.c: Better error reporting.
14728
14729 * sysdeps/x86_64/strnlen.S: New file.
14730
14731 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14732
14733 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14734 lower-latency instructions.
14735
14736 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14737
14738 * string/test-strcasestr.c: New file.
14739 * string/test-strstr.c: New file.
14740 * string/Makefile (strop-tests): Add strstr and strcasestr.
14741 * string/str-two-way.h: Don't undefine MAX.
14742 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14743
14744 2010-07-21 Andreas Schwab <schwab@redhat.com>
14745
14746 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14747 strcasestr-nonascii.
14748 (CFLAGS-strcasestr-nonascii.c): Define.
14749 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14750 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14751 Remove unused attribute.
14752
14753 2010-07-20 Roland McGrath <roland@redhat.com>
14754
14755 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14756 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14757 ld.so.cache was broken. With it, there is no way to disable dsocaps
14758 like LD_HWCAP_MASK can disable hwcaps.
14759
14760 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14761
14762 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14763
14764 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14765
14766 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14767 call in strcasestr.
14768 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14769 __strcasestr_sse42_nonascii.
14770 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14771 strcasestr-nonascii.c.
14772 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14773
14774 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14775
14776 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14777 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14778 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14779 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14780
14781 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14782
14783 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14784 fcntl.
14785
14786 2010-07-06 Andreas Schwab <schwab@redhat.com>
14787
14788 [BZ #11577]
14789 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14790 dl_signal_cerror.
14791
14792 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14793
14794 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14795 _PC_PIPE_BUF using F_GETPIPE_SZ.
14796
14797 2010-07-05 Roland McGrath <roland@redhat.com>
14798
14799 * manual/arith.texi (Rounding Functions): Fix rint description
14800 implicit in round description.
14801
14802 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14803
14804 * elf/Makefile: Fix linking for a few tests to make recent linker
14805 happy.
14806
14807 2010-06-30 Andreas Schwab <schwab@redhat.com>
14808
14809 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14810 $(common-objpfx)libc_nonshared.a.
14811
14812 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14813
14814 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14815 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14816 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14817 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14818 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14819 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14820 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14821 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14836 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14837 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14838 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14839 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14840 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14841 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14842 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14843 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14844 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14845 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14846 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14847 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14862
14863 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14864
14865 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14866 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14867 * string/memmove.c (memmove): Renamed to ...
14868 (MEMMOVE): ...this. Default to memmove.
14869 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14870 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14871 (END_CHK): Define.
14872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14873 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14874 mempcpy-ssse3-back memmove-ssse3-back.
14875 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14876 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14877 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14878 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14879 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14880 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14881 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14882 * sysdeps/x86_64/multiarch/memmove.c: New file.
14883 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14884 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14885 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14886 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14887 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14888 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14889 Define.
14890 (index_Fast_Copy_Backward): Define.
14891 (HAS_ARCH_FEATURE): Define.
14892 (HAS_FAST_REP_STRING): Define.
14893 (HAS_FAST_COPY_BACKWARD): Define.
14894
14895 2010-06-21 Andreas Schwab <schwab@redhat.com>
14896
14897 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14898 Restore proper fallback handling.
14899
14900 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14901
14902 [BZ #11701]
14903 * posix/group_member.c (__group_member): Correct checking loop.
14904
14905 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14906 OOM in getpwuid_r correctly. Return error number when the caller
14907 should return, otherwise -1.
14908 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14909 call returning > 0 value.
14910 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14911
14912 2010-06-07 Andreas Schwab <schwab@redhat.com>
14913
14914 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14915 libc_nonshared.a from targets in modules-names.
14916
14917 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14918
14919 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14920 requires it.
14921
14922 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14923
14924 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14925 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14926 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14928
14929 2010-06-02 Andreas Schwab <schwab@redhat.com>
14930
14931 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14932
14933 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14934
14935 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14936 and F_GETPIPE_SZ.
14937 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14938 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14939 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14940 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14941 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14942 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14943
14944 2010-06-14 Roland McGrath <roland@redhat.com>
14945
14946 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14947
14948 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14949
14950 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14951 __REDIRECT followed by __THROW.
14952 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14953 * posix/getopt.h (getopt): Likewise.
14954
14955 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14956
14957 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14958 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14959 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14960 in AT_FLAGS.
14961 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14962 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14963
14964 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14965
14966 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14967
14968 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14969
14970 [BZ #11640]
14971 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14972 Properly check family and model.
14973
14974 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14975
14976 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14977
14978 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14979
14980 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14981
14982 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14983
14984 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14985 symbol reference.
14986
14987 2010-05-19 Andreas Schwab <schwab@redhat.com>
14988
14989 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14990 symbol reference.
14991
14992 2010-05-21 Andreas Schwab <schwab@redhat.com>
14993
14994 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14995 and internal_recvmmsg.
14996 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14997 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14998 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14999 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15000
15001 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15002 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15003 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15004
15005 2010-05-20 Andreas Schwab <schwab@redhat.com>
15006
15007 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15008
15009 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15010
15011 POWER7 optimizations.
15012 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15013 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15014
15015 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15016
15017 * version.h: Update for 2.13 development version.
15018
15019 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15020
15021 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15022 exceptions. Return 0.
15023
15024 2010-05-07 Roland McGrath <roland@redhat.com>
15025
15026 * elf/ldconfig.c (main): Add a const.
15027
15028 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15029
15030 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15031 (args_options): Add no-idn option.
15032 (ahosts_keys_int): Add idn_flags to ai_flags.
15033 (parse_option): Handle 'i' option to clear idn_flags.
15034
15035 * malloc/malloc.c (_int_free): Possible race in the most recently
15036 added check. Only act on the data if no current modification
15037 happened.
15038
15039 See ChangeLog.17 for earlier changes.