]> sourceware.org Git - glibc.git/blob - ChangeLog
Update config.guess, config.sub from upstream config git repository.
[glibc.git] / ChangeLog
1 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2
3 * scripts/config.guess: Update from upstream config git repository.
4 * scripts/config.sub: Likewise.
5
6 2012-01-28 Ulrich Drepper <drepper@gmail.com>
7
8 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9
10 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11
12 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13 size is not set.
14 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15
16 2012-01-27 Ulrich Drepper <drepper@gmail.com>
17
18 [BZ #13618]
19 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20 relocation.
21 * Makeconfig (libm): Define.
22 * elf/Makefile: Add rules to build and run tst-relsort1.
23 * elf/tst-relsort1.c: New file.
24 * elf/tst-relsort1mod1.c: New file.
25 * elf/tst-relsort1mod2.c: New file.
26
27 2012-01-27 Joseph Myers <joseph@codesourcery.com>
28
29 * math/s_ldexp.c: Remove __STDC__ conditionals.
30 * math/s_ldexpf.c: Likewise.
31 * math/s_ldexpl.c: Likewise.
32 * math/s_nextafter.c: Likewise.
33 * math/s_nexttowardf.c: Likewise.
34 * math/s_significand.c: Likewise.
35 * math/s_significandf.c: Likewise.
36 * math/s_significandl.c: Likewise.
37 * math/w_jnl.c: Likewise.
38 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78 * sysdeps/ieee754/k_standard.c: Likewise.
79 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
84 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
89 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
90 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
91 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
92 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
93 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
94 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
95 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
96 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
97 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
98 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
99 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
100 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
101 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
102 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
103 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
104 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
106 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
107 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
108 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
109 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
110 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
111 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
112 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
113 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
114 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
115 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
116 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
117 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
118 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
119 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
120 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
121 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
122 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
123 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
124 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
125 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
126 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
127 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
128 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
129 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
130 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
131 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
132 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
133 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
134 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
135 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
136 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
137 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
138 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
139 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
140 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
141 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
142 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
143 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
144 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
145 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
146 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
147 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
148 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
149 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
150 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
151 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
152 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
153 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
154 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
155 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
156 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
157 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
158 * sysdeps/ieee754/s_matherr.c: Likewise.
159 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
160 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
161 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
162 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
163
164 2012-01-26 Joseph Myers <joseph@codesourcery.com>
165
166 * crypt/md5.h: Remove __STDC__ conditionals.
167 * libio/libioP.h: Likewise.
168 * locale/programs/config.h: Likewise.
169 * sysdeps/generic/sysdep.h: Likewise.
170 * sysdeps/i386/asm-syntax.h: Likewise.
171 * sysdeps/s390/asm-syntax.h: Likewise.
172 * sysdeps/unix/sysdep.h: Likewise.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
175
176 2012-01-26 Joseph Myers <joseph@codesourcery.com>
177
178 * libio/libio.h: Remove __STDC__ conditionals.
179 * malloc/obstack.h: Likewise.
180 * math/complex.h: Likewise.
181 * math/math.h: Likewise.
182 * sysdeps/generic/_G_config.h: Likewise.
183 * sysdeps/gnu/_G_config.h: Likewise.
184 * sysdeps/mach/hurd/_G_config.h: Likewise.
185 * sysdeps/powerpc/bits/mathdef.h: Likewise.
186 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
187 * sysdeps/sparc/bits/mathdef.h: Likewise.
188
189 2012-01-26 Ulrich Drepper <drepper@gmail.com>
190
191 [BZ #13583]
192 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
193 Clean up HAS_* macros.
194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
195 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
196 possible.
197 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
198 HAS_AVX.
199 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
200 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
201 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
202 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
203 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
204
205 2012-01-25 Joseph Myers <joseph@codesourcery.com>
206
207 * elf/tst-unique3.cc (gets): Remove declaration.
208 * elf/tst-unique3lib.cc (gets): Likewise.
209 * elf/tst-unique3lib2.cc (gets): Likewise.
210 * elf/tst-unique4.cc (gets): Likewise.
211
212 2012-01-24 Ulrich Drepper <drepper@gmail.com>
213
214 * include/stdio.h: Add C++ protection. Add gets declarations and
215 definitions.
216 * debug/tst-chk1.c: Don't declare gets here.
217 * stdio-common/tst-gets.c: Likewise.
218
219 2012-01-24 Joseph Myers <joseph@codesourcery.com>
220
221 * posix/glob: Remove directory.
222
223 2012-01-24 Joseph Myers <joseph@codesourcery.com>
224
225 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
226
227 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
228
229 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
230 of the non-standard EPFNOSUPPORT.
231
232 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
233
234 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
235 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
236 ANYWHERE set to 1 only on KERN_NO_SPACE error.
237
238 2012-01-21 Ulrich Drepper <drepper@gmail.com>
239
240 * wcsmbs/uchar.h: Test __STDC_VERSION__.
241
242 2012-01-20 Ulrich Drepper <drepper@gmail.com>
243
244 * nscd/aicache.c (addhstaiX): Do not cache negative results of
245 transient errors.
246 * nscd/grpcache.c (cache_addgr): Likewise.
247 * nscd/hstcache.c (cache_addhst): Likewise.
248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
249 * nscd/pwdcache.c (cache_addpw): Likewise.
250 * nscd/servicescache.c (cache_addserv): Likewise.
251
252 2012-01-16 Ulrich Drepper <drepper@gmail.com>
253
254 * malloc/malloc.c: Various cleanups.
255 * malloc/hooks.c: Likewise.
256
257 * stdlib/Makefile (tests): Add bug-fmtmsg1.
258 * stdlib/bug-fmtmsg1.c: New file.
259
260 * stdlib/fmtmsg.c (init): Add missing unlock.
261 Patch by Peng Haitao <penght@cn.fujitsu.com>.
262
263 2012-01-12 Marek Polacek <polacek@redhat.com>
264
265 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
266 and _GNU_SOURCE.
267
268 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
269
270 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
271 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
272 macro to ensure uniqueness of label name.
273 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
274 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
275
276 2012-01-11 Ulrich Drepper <drepper@gmail.com>
277
278 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
279
280 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
281 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
282 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
284
285 2012-01-10 Ulrich Drepper <drepper@gmail.com>
286
287 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
288
289 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
290 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
291 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
292
293 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
294
295 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
296 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
297 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
299
300 * math/bits/math-finite.h: Add ldexp support.
301
302 2012-01-10 Marek Polacek <polacek@redhat.com>
303
304 * locale/programs/localedef.h (show_archive_content): Add noreturn
305 attribute.
306
307 2012-01-09 Ulrich Drepper <drepper@gmail.com>
308
309 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
310
311 2012-01-08 Ulrich Drepper <drepper@gmail.com>
312
313 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
314
315 * io/Makefile (headers): Add bits/poll2.h.
316
317 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
318
319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
320 typo #include statement.
321
322 2012-01-08 Ulrich Drepper <drepper@gmail.com>
323
324 * include/sys/cdefs.h: Define __attribute_alloc_size.
325 * catgets/gencat.c: Add alloc_size attribute and apply consistently
326 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
327 * elf/pldd.c: Likewise.
328 * iconv/iconv_charmap.c: Likewise.
329 * iconv/iconvconfig.c: Likewise.
330 * iconv/strtab.c: Likewise.
331 * locale/programs/locale.c: Likewise.
332 * locale/programs/localedef.h: Likewise.
333 * locale/programs/simple-hash.c: Likewise.
334 * nscd/nscd.h: Likewise.
335 * nss/makedb.c: Likewise.
336 * sysdeps/generic/ldconfig.h: Likewise.
337 * locale/programs/localedef.c: Remove xmalloc prototype.
338 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
339
340 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
341
342 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
343 appropriate.
344
345 2012-01-08 Ulrich Drepper <drepper@gmail.com>
346
347 * math/Makefile (tests): Add tst-CMPLX.
348 * math/tst-CMPLX.c: New file.
349
350 * math/complex.h (CMPLXL): Fix typo.
351
352 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
353 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
354 GLIBC_2.16.
355 * debug/tst-chk1.c: Add poll and ppoll tests.
356 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
357 * include/sys/poll.h: Add hidden proto for ppoll.
358 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
359 * sysdeps/mach/hurd/ppoll.c: Likewise.
360 * io/ppoll.c: Likewise.
361 * debug/poll_chk.c: New file.
362 * debug/ppoll_chk.c: New file.
363 * include/bits/poll2.h: New file.
364 * io/bits/poll2.h: New file.
365
366 [BZ #1350]
367 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
368
369 * configure.in: static is always set to yes. Remove.
370 * config.make.in: Don't set build-static.
371 * Makeconfig: Remove use of build-static.
372 * dlfcn/Makefile: Likewise.
373 * elf/Makefile: Likewise.
374 * math/Makefile: Likewise.
375 * misc/Makefile: Likewise.
376 * nptl/Makefile: Likewise.
377 * sysdeps/mach/hurd/Makefile: Likewise.
378
379 * configure.in: PWD_P is not used anymore.
380 * config.make.in: Remove PWD_P entry.
381
382 * configure.in: Remove last remnants of RANLIB.
383 No need to check for signed size_t anymore.
384 Don't set libc_commonpagesize and libc_relro_required here for Alpha
385 and IA-64.
386 Remove __builtin_expect test because we require at least gcc 3.4.
387 * aclocal.m4: Likewise.
388
389 * wcsmbs/mbrtoc16.c: Implement using towc function.
390 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
391 * wcsmbs/wcsmbsload.c: Likewise.
392 * iconv/gconv_simple.c: Likewise.
393 * iconv/gconv_int.h: Likewise.
394 * iconv/gconv_builtin.h: Likewise.
395 * iconv/iconv_prog.c: Remove CHAR16 handling.
396
397 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
398
399 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
400
401 * configure.in: Remove --with-elf and --enable-bounded options.
402 Dont set base_machine for ia64. More non-ELF conditions removed.
403 Remove testing and setting of leading underscore information.
404 * config.make.in (build-bounded): Set to no.
405 * config.h.in: Remove NO_UNDERSCORES entry.
406 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
407 them.
408 * csu/start.c: Remove !NO_UNDERSCORE code.
409 * locale/localeinfo.h: Likewise.
410 * sysdeps/generic/machine-gmon.h: Likewise.
411 * sysdeps/generic/sysdep.h: Likewise.
412 * sysdeps/i386/sysdep.h: Likewise.
413 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
414 * sysdeps/mach/sysdep.h: Likewise.
415 * sysdeps/s390/s390-32/sysdep.h: Likewise.
416 * sysdeps/s390/s390-64/sysdep.h: Likewise.
417 * sysdeps/sh/sysdep.h: Likewise.
418 * sysdeps/sparc/sparc32/alloca.S: Likewise.
419 * sysdeps/unix/i386/sysdep.S: Likewise.
420 * sysdeps/unix/sparc/start.c: Likewise.
421 * sysdeps/unix/sparc/sysdep.S: Likewise.
422 * sysdeps/unix/sparc/sysdep.h: Likewise.
423 * sysdeps/unix/start.c: Likewise.
424 * sysdeps/unix/x86_64/sysdep.S: Likewise.
425 * sysdeps/x86_64/sysdep.h: Likewise.
426
427 2012-01-07 Ulrich Drepper <drepper@gmail.com>
428
429 [BZ #13553]
430 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
431 for non-gcc.
432 * argp/argp-fmtstream.h: Use const instead __const.
433 * argp/argp.h: Likewise.
434 * assert/assert.h: Likewise.
435 * bits/fenv.h: Likewise.
436 * bits/sched.h: Likewise.
437 * bits/sigset.h: Likewise.
438 * bits/sigthread.h: Likewise.
439 * catgets/nl_types.h: Likewise.
440 * conform/data/pthread.h-data: Likewise.
441 * crypt/crypt-private.h: Likewise.
442 * crypt/crypt.h: Likewise.
443 * crypt/crypt_util.c: Likewise.
444 * ctype/ctype.h: Likewise.
445 * debug/execinfo.h: Likewise.
446 * debug/mbsnrtowcs_chk.c: Likewise.
447 * debug/mbsrtowcs_chk.c: Likewise.
448 * debug/wcsnrtombs_chk.c: Likewise.
449 * debug/wcsrtombs_chk.c: Likewise.
450 * debug/wcstombs_chk.c: Likewise.
451 * dirent/dirent.h: Likewise.
452 * dlfcn/dlfcn.h: Likewise.
453 * elf/neededtest4.c: Likewise.
454 * grp/grp.h: Likewise.
455 * gshadow/gshadow.h: Likewise.
456 * iconv/gconv.h: Likewise.
457 * iconv/gconv_int.h: Likewise.
458 * iconv/gconv_simple.c: Likewise.
459 * iconv/iconv.h: Likewise.
460 * iconv/loop.c: Likewise.
461 * iconv/skeleton.c: Likewise.
462 * include/aio.h: Likewise.
463 * include/aliases.h: Likewise.
464 * include/argz.h: Likewise.
465 * include/arpa/inet.h: Likewise.
466 * include/assert.h: Likewise.
467 * include/dirent.h: Likewise.
468 * include/dlfcn.h: Likewise.
469 * include/execinfo.h: Likewise.
470 * include/fcntl.h: Likewise.
471 * include/fenv.h: Likewise.
472 * include/glob.h: Likewise.
473 * include/grp.h: Likewise.
474 * include/libintl.h: Likewise.
475 * include/mntent.h: Likewise.
476 * include/netdb.h: Likewise.
477 * include/pwd.h: Likewise.
478 * include/rpc/netdb.h: Likewise.
479 * include/sched.h: Likewise.
480 * include/search.h: Likewise.
481 * include/shadow.h: Likewise.
482 * include/signal.h: Likewise.
483 * include/stdio.h: Likewise.
484 * include/stdlib.h: Likewise.
485 * include/string.h: Likewise.
486 * include/sys/socket.h: Likewise.
487 * include/sys/stat.h: Likewise.
488 * include/sys/statfs.h: Likewise.
489 * include/sys/statvfs.h: Likewise.
490 * include/sys/syslog.h: Likewise.
491 * include/sys/time.h: Likewise.
492 * include/sys/uio.h: Likewise.
493 * include/time.h: Likewise.
494 * include/unistd.h: Likewise.
495 * include/utmp.h: Likewise.
496 * include/wchar.h: Likewise.
497 * include/wctype.h: Likewise.
498 * inet/aliases.h: Likewise.
499 * inet/arpa/inet.h: Likewise.
500 * inet/netinet/ether.h: Likewise.
501 * inet/netinet/in.h: Likewise.
502 * intl/libintl.h: Likewise.
503 * io/bits/fcntl2.h: Likewise.
504 * io/fcntl.h: Likewise.
505 * io/ftw.h: Likewise.
506 * io/sys/poll.h: Likewise.
507 * io/sys/stat.h: Likewise.
508 * io/sys/statfs.h: Likewise.
509 * io/sys/statvfs.h: Likewise.
510 * io/utime.h: Likewise.
511 * libio/bits/stdio.h: Likewise.
512 * libio/bits/stdio2.h: Likewise.
513 * libio/libio.h: Likewise.
514 * libio/libioP.h: Likewise.
515 * libio/stdio.h: Likewise.
516 * locale/lc-ctype.c: Likewise.
517 * locale/locale.h: Likewise.
518 * login/utmp.h: Likewise.
519 * malloc/arena.c: Likewise.
520 * malloc/malloc.c: Likewise.
521 * malloc/malloc.h: Likewise.
522 * malloc/mcheck.c: Likewise.
523 * malloc/mtrace.c: Likewise.
524 * math/bits/mathcalls.h: Likewise.
525 * math/fenv.h: Likewise.
526 * math/math_private.h: Likewise.
527 * misc/bits/error.h: Likewise.
528 * misc/bits/syslog.h: Likewise.
529 * misc/err.h: Likewise.
530 * misc/error.h: Likewise.
531 * misc/fstab.h: Likewise.
532 * misc/mntent.h: Likewise.
533 * misc/regexp.h: Likewise.
534 * misc/search.h: Likewise.
535 * misc/sgtty.h: Likewise.
536 * misc/sys/mman.h: Likewise.
537 * misc/sys/syslog.h: Likewise.
538 * misc/sys/uio.h: Likewise.
539 * misc/sys/xattr.h: Likewise.
540 * misc/ttyent.h: Likewise.
541 * nis/rpcsvc/ypclnt.h: Likewise.
542 * nss/nss.h: Likewise.
543 * posix/bits/unistd.h: Likewise.
544 * posix/fnmatch.h: Likewise.
545 * posix/glob.h: Likewise.
546 * posix/sched.h: Likewise.
547 * posix/spawn.h: Likewise.
548 * posix/sys/wait.h: Likewise.
549 * posix/unistd.h: Likewise.
550 * posix/wordexp.h: Likewise.
551 * pwd/pwd.h: Likewise.
552 * resolv/netdb.h: Likewise.
553 * resource/sys/resource.h: Likewise.
554 * rt/aio.h: Likewise.
555 * rt/bits/mqueue2.h: Likewise.
556 * rt/mqueue.h: Likewise.
557 * shadow/shadow.h: Likewise.
558 * signal/signal.h: Likewise.
559 * socket/send.c: Likewise.
560 * socket/sendto.c: Likewise.
561 * socket/sys/socket.h: Likewise.
562 * stdio-common/printf.h: Likewise.
563 * stdlib/bits/stdlib.h: Likewise.
564 * stdlib/fmtmsg.h: Likewise.
565 * stdlib/monetary.h: Likewise.
566 * stdlib/stdlib.h: Likewise.
567 * stdlib/ucontext.h: Likewise.
568 * streams/stropts.h: Likewise.
569 * string/argz.h: Likewise.
570 * string/bits/string2.h: Likewise.
571 * string/string.h: Likewise.
572 * string/strings.h: Likewise.
573 * sunrpc/rpc/auth.h: Likewise.
574 * sunrpc/rpc/auth_des.h: Likewise.
575 * sunrpc/rpc/clnt.h: Likewise.
576 * sunrpc/rpc/netdb.h: Likewise.
577 * sunrpc/rpc/pmap_clnt.h: Likewise.
578 * sunrpc/rpc/xdr.h: Likewise.
579 * sysdeps/generic/inttypes.h: Likewise.
580 * sysdeps/generic/net/if.h: Likewise.
581 * sysdeps/generic/sys/swap.h: Likewise.
582 * sysdeps/gnu/net/if.h: Likewise.
583 * sysdeps/gnu/utmpx.h: Likewise.
584 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
585 * sysdeps/i386/i486/bits/string.h: Likewise.
586 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
587 * sysdeps/s390/bits/string.h: Likewise.
588 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
589 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
590 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
591 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
592 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
593 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
594 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
595 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
596 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
597 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
598 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
599 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
600 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
601 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
602 * sysdeps/unix/sysv/linux/readv.c: Likewise.
603 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
604 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
606 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
607 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
608 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
609 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
610 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
611 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
612 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
613 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
614 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
615 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
616 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
617 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
618 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
619 * sysvipc/sys/ipc.h: Likewise.
620 * sysvipc/sys/msg.h: Likewise.
621 * sysvipc/sys/sem.h: Likewise.
622 * sysvipc/sys/shm.h: Likewise.
623 * termios/termios.h: Likewise.
624 * time/sys/time.h: Likewise.
625 * time/time.h: Likewise.
626 * wcsmbs/bits/wchar2.h: Likewise.
627 * wcsmbs/uchar.h: Likewise.
628 * wcsmbs/wchar.h: Likewise.
629 * wctype/wctype.h: Likewise.
630
631 [BZ #13551]
632 * Makeconfig: Remove all but ELF support including AIX support.
633 * Makerules: Likewise.
634 * config.h.in: Likewise.
635 * config.make.in: Likewise.
636 * configure: Likewise.
637 * configure.in: Likewise.
638 * csu/Makefile: Likewise.
639 * csu/version.c: Likewise.
640 * debug/Makefile: Likewise.
641 * dlfcn/Makefile: Likewise.
642 * elf/Makefile: Likewise.
643 * extra-lib.mk: Likewise.
644 * iconv/Makefile: Likewise.
645 * include/libc-symbols.h: Likewise.
646 * include/shlib-compat.h: Likewise.
647 * resolv/Makefile: Likewise.
648 * resolv/res_libc.c: Likewise.
649 * rt/Makefile: Likewise.
650 * sysdeps/i386/asm-syntax.h: Likewise.
651 * sysdeps/i386/sysdep.h: Likewise.
652 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
653 * sysdeps/mach/sysdep.h: Likewise.
654 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
655 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
656 * sysdeps/s390/asm-syntax.h: Likewise.
657 * sysdeps/s390/s390-32/sysdep.h: Likewise.
658 * sysdeps/s390/s390-64/sysdep.h: Likewise.
659 * sysdeps/sh/sysdep.h: Likewise.
660 * sysdeps/unix/sparc/sysdep.h: Likewise.
661 * sysdeps/wordsize-32/divdi3.c: Likewise.
662 * sysdeps/x86_64/sysdep.h: Likewise.
663
664 * argp/Versions: Remove _argp_unlock_xxx.
665
666 [BZ #13559]
667 * abilist/ld.abilist: Update. Adjust for removal of tls option.
668 * abilist/libBrokenLocale.abilist: Likewise.
669 * abilist/libanl.abilist: Likewise.
670 * abilist/libc.abilist: Likewise.
671 * abilist/libcrypt.abilist: Likewise.
672 * abilist/libdl.abilist: Likewise.
673 * abilist/libm.abilist: Likewise.
674 * abilist/libnsl.abilist: Likewise.
675 * abilist/libpthread.abilist: Likewise.
676 * abilist/libresolv.abilist: Likewise.
677 * abilist/librt.abilist: Likewise.
678 * abilist/libthread_db.abilist: Likewise.
679 * abilist/libutil.abilist: Likewise.
680 * abilist/libnss_db.abilist: New file.
681
682 * scripts/abilist.awk: Add support for indirect functions.
683
684 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
685
686 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
687
688 * shlib-versions: Remove entries for ports architectures.
689
690 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
691 files in ports.
692 * elf/stackguard-macros.h: Remove support for IA-64.
693 * elf/tst-auditmod1.c: Likewise.
694 * sysdeps/generic/ldsodefs.h: Likewise.
695
696 * sysdeps/unix/sysv/linux/configure.in: Ports should define
697 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
698 configure files.
699
700 [BZ #13552]
701 * configure.in: Remove --enable-omitfp support.
702 * FAQ.in: Adjust.
703 * config.make.in: Likewise.
704 * Makeconfig: Likewise.
705 * manual/install.texi: Likewise.
706
707 In case anyone cares, the IA-64 architecture could move to ports.
708 * sysdeps/ia64/*: Removed.
709 * sysdeps/unix/sysv/linux/ia64/*: Removed.
710 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
711
712 [BZ #13555]
713 * configure.in: Remove entries for unsupported architectures.
714
715 [BZ #13533]
716 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
717 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
718 routines.
719 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
720 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
721 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
722 fall back to using wcrtomb.
723 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
724 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
725 renaming.
726 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
727 * wcsmbs/tst-c16c32-1.c: New file.
728
729 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
730 local variable.
731
732 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
733
734 * elf/tst-unique3.cc: Add explicit declaration of gets.
735 * elf/tst-unique3lib.cc: Likewise.
736 * elf/tst-unique3lib2.cc: Likewise.
737 * elf/tst-unique4.cc: Likewise.
738
739 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
740
741 2012-01-06 Joseph Myers <joseph@codesourcery.com>
742
743 [BZ #13566]
744 * assert/assert.h (static_assert): Don't define for C++.
745 * libio/stdio.h (gets): Do declare for C++ <= C++11.
746 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
747
748 2012-01-03 Ulrich Drepper <drepper@gmail.com>
749
750 * iconv/loop.c (single loop): Fix assertion in storing of
751 remaining bytes.
752
753 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
754
755 2012-01-01 Ulrich Drepper <drepper@gmail.com>
756
757 * posix/getconf.c: Update copyright year.
758 * nss/getent.c: Likewise.
759 * nss/makedb.c: Likewise.
760 * iconv/iconvconfig.c: Likewise.
761 * iconv/iconv_prog.c: Likewise.
762 * elf/ldconfig.c: Likewise.
763 * elf/pldd.c: Likewise.
764 * elf/sotruss.ksh: Likewise.
765 * catgets/gencat.c: Likewise.
766 * csu/version.c: Likewise.
767 * elf/ldd.bash.in: Likewise.
768 * elf/sprof.c (print_version): Likewise.
769 * locale/programs/locale.c: Likewise.
770 * locale/programs/localedef.c: Likewise.
771 * login/programs/pt_chown.c: Likewise.
772 * nscd/nscd.c (print_version): Likewise.
773 * debug/xtrace.sh: Likewise.
774 * malloc/memusage.sh: Likewise.
775 * malloc/mtrace.pl: Likewise.
776 * debug/catchsegv.sh: Likewise.
777
778 2011-12-30 Jakub Jelinek <jakub@redhat.com>
779
780 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
781 pure attribute.
782
783 2011-12-24 Ulrich Drepper <drepper@gmail.com>
784
785 [BZ #13533]
786 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
787 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
788 transformations.
789 * iconv/gconv_int.h: Likewise.
790 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
791 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
792 from libc for GLIBC_2.16.
793 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
794 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
795 * wcsmbs/uchar.h: Really define mbstate_t.
796 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
797 * wcsmbs/c16rtomb.c: New file.
798 * wcsmbs/mbrtoc16.c: New file.
799 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
800 for C/POSIX locale.
801 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
802 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
803
804 * wcsmbs/wchar.h: Add missing __restrict.
805
806 2011-12-23 Ulrich Drepper <drepper@gmail.com>
807
808 [BZ #13532]
809 * time/Makefile (routines): Add timespec_get.
810 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
811 * time/time.h: Define TIME_UTC and declare timespec_get. Define
812 timespec for ISO C11.
813 * time/timespec_get.c: New file.
814 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
815 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
816
817 [BZ #13531]
818 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
819 * stdlib/stdlib.h: Declare aligned_alloc.
820 * Versions.def: Add GLIBC_2.16 for libc.
821 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
822
823 [BZ 13527]
824 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
825 ISO C11.
826
827 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
828 code.
829
830 [BZ #13528]
831 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
832
833 [BZ #13529]
834 * assert/assert.h (static_assert): Define.
835
836 * version.h: Update for 2.16 development version.
837
838 [BZ #13526]
839 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
840 _ISOC11_SOURCE.
841
842 * version.h (RELEASE): Bump for 2.15 release.
843 * include/features.h (__GLIBC_MINOR__): Bump to 15.
844
845 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
846 Patch by Marek Polacek <mpolacek@redhat.com>.
847
848 * bits/byteswap.h: Protect long long constants with __extension__.
849 * sysdeps/i386/bits/byteswap.h: Likewise.
850 * sysdeps/ia64/bits/byteswap.h: Likewise.
851 * sysdeps/s390/bits/byteswap.h: Likewise.
852 * sysdeps/x86_64/bits/byteswap.h: Likewise.
853
854 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
855
856 [BZ #13540]
857 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
858 destination buffer.
859 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
860
861 2011-12-23 Marek Polacek <polacek@redhat.com>
862
863 * elf/dl-addr.c (determine_info): Add inline keyword.
864 * elf/tst-auditmod4b.c (check_avx): Likewise.
865 * elf/tst-auditmod6b.c (check_avx): Likewise.
866 * elf/tst-auditmod6c.c (check_avx): Likewise.
867 * elf/tst-auditmod7b.c (check_avx): Likewise.
868
869 2011-12-23 Ulrich Drepper <drepper@gmail.com>
870
871 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
872 !__SSE_MATH__.
873
874 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
875
876 [BZ #13540]
877 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
878 processing for last bytes.
879
880 2011-08-06 Bruno Haible <bruno@clisp.org>
881
882 [BZ #13061]
883 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
884 U+0385, not to U+1FEE.
885
886 [BZ #13062]
887 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
888 entry for U+00A5 U+0301.
889
890 2011-12-22 Ulrich Drepper <drepper@gmail.com>
891
892 [BZ #13166]
893 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
894 buffer for the output is too small.
895
896 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
897 optimization.
898
899 [BZ #13185]
900 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
901 SSE flags if possible.
902
903 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
904
905 [BZ #13540]
906 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
907 processing for last bytes.
908
909 2011-12-22 Joseph Myers <joseph@codesourcery.com>
910
911 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
912 (syscall-list-default-options, syscall-list-default-condition)
913 (syscall-list-includes): Define.
914 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
915 list of ABIs and options and #if conditions for each ABI. Do not
916 handle common syscalls between ABIs specially.
917 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
918 Remove.
919 (syscall-list-variants, syscall-list-32bit-options)
920 (syscall-list-32bit-condition, syscall-list-64bit-options)
921 (syscall-list-64bit-condition): Define.
922 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
923 (syscall-list-variants, syscall-list-32bit-options)
924 (syscall-list-32bit-condition, syscall-list-64bit-options)
925 (syscall-list-64bit-condition): Define.
926 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
927 Remove.
928 (syscall-list-variants, syscall-list-32bit-options)
929 (syscall-list-32bit-condition, syscall-list-64bit-options)
930 (syscall-list-64bit-condition): Define.
931 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
932 Remove.
933 (syscall-list-variants, syscall-list-32bit-options)
934 (syscall-list-32bit-condition, syscall-list-64bit-options)
935 (syscall-list-64bit-condition): Define.
936
937 2011-12-22 Ulrich Drepper <drepper@gmail.com>
938
939 * locale/iso-639.def: Add brx entry.
940
941 [BZ #13328]
942 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
943 Proposed by Mariusz_Cukr <marcukr@op.pl>.
944
945 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
946 __feraiseexcept_renamed.
947
948 2011-12-21 Ulrich Drepper <drepper@gmail.com>
949
950 [BZ #13538]
951 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
952 EPOLLET with unsigned values.
953 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
954 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
955
956 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
957 to large cancellation.
958 * math/s_cacoshf.c: Likewise.
959 * math/s_cacoshl.c: Likewise.
960
961 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
962
963 [BZ #13305]
964 [BZ #12786]
965 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
966 * math/s_cacoshf.c: Likewise.
967 * math/s_cacoshl.c: Likewise.
968
969 2011-12-21 Ulrich Drepper <drepper@gmail.com>
970
971 [BZ #13439]
972 * iconv/gconv.h: Define __GCONV_SWAP.
973 * iconvdata/unicode.c: The swap bit must be stored in __flags.
974 * iconvdata/utf-16.c: Likewise.
975 * iconvdata/utf-32.c: Likewise.
976
977 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
978
979 [BZ #13524]
980 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
981 numerator after shifting it by one limb.
982
983 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
984
985 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
986 under [__USE_EXTERN_INLINES].
987
988 2011-12-17 Ulrich Drepper <drepper@gmail.com>
989
990 [BZ #13446]
991 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
992
993 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
994
995 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
996 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
997 optimized code.
998 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
999 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
1000 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
1001 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
1002 for strncasecmp/strncasecmp_l compilation.
1003 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
1004 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
1005
1006 2011-12-08 Marek Polacek <mpolacek@redhat.com>
1007
1008 [BZ #13484]
1009 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
1010 of __asm__.
1011
1012 2011-12-17 Ulrich Drepper <drepper@gmail.com>
1013
1014 [BZ #13506]
1015 * time/tzfile.c (__tzfile_read): Check values from file header.
1016
1017 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1018
1019 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
1020 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
1021 * powerpc/powerpc32/dl-start.S: Likewise.
1022 * powerpc/powerpc32/elf/start.S: Likewise.
1023 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1024 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
1025 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1026 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
1027 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1028 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
1029 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
1030 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1031 * powerpc/powerpc32/fpu/s_round.S: Likewise.
1032 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1033 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1034 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1035 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1036 * powerpc/powerpc32/memset.S: Likewise.
1037 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1038 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1039 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1040 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1041 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1042 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1043 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1044 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1045 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
1046 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
1047 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
1048 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1049 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1050
1051 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1052
1053 * math/libm-test.inc: Added more nearbyint tests.
1054 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
1055 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
1056 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
1057 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
1058
1059 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
1060
1061 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
1062 FD_CLOEXEC.
1063
1064 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1065
1066 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
1067 Add wcscpy-ssse3 wcscpy-c.
1068 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
1069 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
1070 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
1071 * sysdeps/x86_64/wcschr.S: New file.
1072 * sysdeps/x86_64/wcsrchr.S: New file.
1073 * string/test-strcmp.c: Remove checking of wcscmp function for
1074 wrong alignments.
1075 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
1076 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
1077 wcsrchr-sse2 wcsrchr-c.
1078 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
1079 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
1080 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
1081 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
1082 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
1083 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
1084 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
1085 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
1086 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
1087 * wcsmbc/wcschr.c (WCSCHR): New macro.
1088
1089 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1090
1091 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
1092 * wcsmbs/test-wcsrchr.c: New file.
1093 * string/test-strrchr.c: Add wcsrchr support.
1094 (WIDE): New macro.
1095 * wcsmbs/test-wcscpy.c: New file.
1096 * string/test-strcpy.c: Add wcscpy support.
1097 (WIDE): New macro.
1098
1099 2011-12-10 Ulrich Drepper <drepper@gmail.com>
1100
1101 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
1102 the inner loop.
1103
1104 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
1105
1106 [BZ #13472]
1107 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
1108
1109 2011-12-04 Ulrich Drepper <drepper@gmail.com>
1110
1111 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
1112 Minor optimizations.
1113
1114 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
1115 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
1116 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1117
1118 2011-12-03 Ulrich Drepper <drepper@gmail.com>
1119
1120 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
1121 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1122 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
1123 for gcc to avoid warnings.
1124 * inet/Makefile (tests): Add tst-checks.
1125 * inet/tst-checks.c: New file.
1126
1127 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
1128 warning.
1129
1130 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
1131 __wmemcmp_sse2.
1132
1133 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
1134 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
1135
1136 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
1137
1138 2011-12-02 Ulrich Drepper <drepper@gmail.com>
1139
1140 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
1141 problem.
1142
1143 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
1144
1145 2011-11-29 Joseph Myers <joseph@codesourcery.com>
1146
1147 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
1148 conditional on GCC version.
1149 (__arch_compare_and_exchange_val_8_acq)
1150 (__arch_compare_and_exchange_val_16_acq)
1151 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
1152 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
1153 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
1154
1155 2011-12-02 Joseph Myers <joseph@codesourcery.com>
1156
1157 * sysdeps/sh/backtrace.c: New file.
1158
1159 2011-12-02 Andreas Schwab <schwab@redhat.com>
1160
1161 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
1162 parenthesis.
1163
1164 2011-12-01 Andreas Schwab <schwab@redhat.com>
1165
1166 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
1167 falling back to utime.
1168
1169 2011-11-30 Andreas Schwab <schwab@redhat.com>
1170
1171 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
1172 expectations for float.
1173
1174 2011-11-29 Andreas Schwab <schwab@redhat.com>
1175
1176 * locale/weight.h (findidx): Add parameter len.
1177 * locale/weightwc.h (findidx): Likewise.
1178 * posix/fnmatch_loop.c (FCT): Adjust caller.
1179 * posix/regcomp.c (build_equiv_class): Likewise.
1180 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
1181 * posix/regexec.c (check_node_accept_bytes): Likewise.
1182 * string/strcoll_l.c (STRCOLL): Likewise.
1183 * string/strxfrm_l.c (STRXFRM): Likewise.
1184
1185 2011-11-17 Ulrich Drepper <drepper@gmail.com>
1186
1187 * Makefile.in: Remove CVSOPT handling.
1188 * configure.in: Remove use of AC_REVISION.
1189 * iconvdata/Makefile (distribute): No need to filter out CVS.
1190 * scripts/list-sources.sh: Remove CVS, subversion and monotone
1191 handling.
1192
1193 2011-11-16 Andreas Schwab <schwab@redhat.com>
1194
1195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
1196 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
1197 [USE_AS_STRNCASECMP_L]: Likewise.
1198 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
1199 NO_TLS_DIRECT_SEG_REFS.
1200 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
1201 Fix argument offsets for non-PIC.
1202 [USE_AS_STRNCASECMP_L]: Likewise.
1203 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
1204 NO_TLS_DIRECT_SEG_REFS.
1205
1206 2011-11-15 Ulrich Drepper <drepper@gmail.com>
1207
1208 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
1209 O_CLOEXEC.
1210 * locale/loadlocale.c (_nl_load_locale): Likewise.
1211
1212 2011-11-15 Andreas Schwab <schwab@redhat.com>
1213
1214 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
1215 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
1216 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
1217 (SYSCALL_GETTIME): Set errno on error.
1218
1219 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
1220 count references to noai6ai_cached.
1221
1222 2011-11-15 Ulrich Drepper <drepper@gmail.com>
1223
1224 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
1225
1226 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
1227 FD_CLOEXEC for /proc/self/maps.
1228
1229 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
1230 FD_CLOEXEC for /proc/meminfo.
1231
1232 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
1233 gai.conf.
1234
1235 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
1236 FD_CLOEXEC for given file.
1237
1238 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
1239
1240 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
1241 FD_CLOEXEC for /etc/hosts.
1242 (_gethtent): Likewise.
1243
1244 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
1245
1246 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
1247 cancellation and set FD_CLOEXEC for /etc/netgroup.
1248
1249 * nss/nss_files/files-key.c (search): Don't allow cancellation when
1250 reading /etc/publickey.
1251
1252 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
1253 allow cancellation when reading /etc/group.
1254
1255 * nss/nss_files/files-alias.c (internal_setent): Don't allow
1256 cancellation.
1257 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
1258
1259 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
1260 when using data file.
1261
1262 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
1263
1264 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
1265 (write_nis_obj): Use "c" and "e" in fopen.
1266
1267 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
1268
1269 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
1270
1271 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
1272
1273 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
1274
1275 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
1276 locale.alias.
1277
1278 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
1279
1280 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
1281
1282 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
1283
1284 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
1285 file parsing and set FD_CLOEXEC.
1286
1287 2011-11-14 Ulrich Drepper <drepper@gmail.com>
1288
1289 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
1290
1291 2011-11-14 Andreas Schwab <schwab@redhat.com>
1292
1293 * malloc/arena.c (arena_get2): Don't call reused_arena when
1294 _int_new_arena failed.
1295
1296 2011-11-14 Ulrich Drepper <drepper@gmail.com>
1297
1298 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
1299 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
1300 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
1301 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1302 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1303 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
1304 to compile strcasecmp and strncasecmp.
1305 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
1306 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
1307
1308 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
1309
1310 2011-11-13 Ulrich Drepper <drepper@gmail.com>
1311
1312 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
1313 locale-defines.sym to gen-as-const-headers.
1314 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
1315 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
1316 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
1317 to compile strcasecmp and strncasecmp.
1318 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
1319 strcasecmp_l and strncasecmp_l.
1320 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
1321 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
1322 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
1323 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
1324 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
1325 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
1326 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
1327 * sysdeps/i386/i686/multiarch/strncase.S: New file.
1328 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
1329 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
1330 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
1331
1332 2011-11-12 Ulrich Drepper <drepper@gmail.com>
1333
1334 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
1335 result of SYSDEP_GETTIME_CPU to retval.
1336 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
1337 parameter list to macro. Remove trailing semicolon. Adjust users.
1338
1339 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
1340 variable.
1341
1342 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
1343 mantissa words.
1344 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1345
1346 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
1347 from unused variable.
1348
1349 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
1350 DWARF definitions.
1351 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
1352 for assembling.
1353
1354 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
1355 over namespaces.
1356
1357 * sunrpc/rpc_prot.c (rejected): Fix case value.
1358
1359 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
1360 unsigned long long int to avoid warnings in shift.
1361
1362 * posix/regex_internal.c (re_string_reconstruct): Actually use result
1363 of use of trans.
1364 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
1365 variable tmp.
1366
1367 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
1368 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1369 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1370
1371 * nis/nis_table.c (nis_list): Use variable of correct type for
1372 result of __follow_path call.
1373
1374 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1375
1376 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
1377 of math functions ceil, trunc, floor, round, and sqrt, when
1378 avaliable on the platform.
1379 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
1380 name clash.
1381 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1382 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1383 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1384
1385 2011-10-30 Marek Polacek <mpolacek@redhat.com>
1386
1387 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
1388 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1389
1390 2011-11-11 Roland McGrath <roland@hack.frob.com>
1391
1392 * include/unistd.h: Fix __readlink return type.
1393 Reported by Chris Metcalf <cmetcalf@tilera.com>.
1394
1395 2011-11-11 Ulrich Drepper <drepper@gmail.com>
1396
1397 * stdlib/ucontext.h: Undo last change for makecontext.
1398
1399 2011-11-11 Andreas Schwab <schwab@redhat.com>
1400
1401 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
1402
1403 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
1404 * setjmp/setjmp.h: Mark functions as non-leaf.
1405 * setjmp/bits/setjmp2.h: Likewise.
1406 * stdlib/ucontext.h: Likewise.
1407
1408 2011-11-10 Andreas Schwab <schwab@redhat.com>
1409
1410 * malloc/arena.c (_int_new_arena): Don't increment narenas.
1411 (reused_arena): Don't check arena limit.
1412 (arena_get2): Atomically check arena limit.
1413
1414 2011-11-08 Ulrich Drepper <drepper@gmail.com>
1415
1416 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
1417 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
1418
1419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
1420 instructions.
1421
1422 2011-11-07 Andreas Schwab <schwab@redhat.com>
1423
1424 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
1425 handler when locking.
1426
1427 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
1428 Fix size of allocated buffer.
1429
1430 2011-11-04 Andreas Schwab <schwab@redhat.com>
1431
1432 [BZ #10103]
1433 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
1434 declarations for long double functions.
1435 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
1436
1437 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
1438
1439 2011-11-03 Andreas Schwab <schwab@redhat.com>
1440
1441 * nscd/nscd.c (main): Don't start AVC thread until credentials are
1442 installed.
1443
1444 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
1445 is disabled.
1446
1447 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1448
1449 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
1450
1451 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
1452
1453 * include/alloca.h (stackinfo_alloca_round): Define.
1454 (extend_alloca): Use it.
1455 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
1456 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
1457 here.
1458
1459 * scripts/check-local-headers.sh: Ignore libaudit.h.
1460
1461 * nscd/Makefile (extra-objs): Make recursively expanded.
1462
1463 2011-11-01 Ulrich Drepper <drepper@gmail.com>
1464
1465 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
1466 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1467
1468 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
1469 * posix/tst-rfc3484-2.c: Likewise.
1470 * posix/tst-rfc3484-3.c: Likewise.
1471
1472 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1473 process_vm_writev.
1474 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
1475 process_vm_writev.
1476 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
1477 process_vm_writev from libc using GLIBC_2.15 version.
1478
1479 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
1480
1481 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1482
1483 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
1484 stack usage.
1485
1486 2011-10-31 Ulrich Drepper <drepper@gmail.com>
1487
1488 [BZ #13367]
1489 * nss/getent.c (initgroups_keys): Show error message in case no group
1490 names are given.
1491
1492 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
1493 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
1494 __bump_nl_timestamp.
1495 * nscd/connections (nscd_init): When host database is served open
1496 netlink socket and request notification about configuration changes.
1497 (main_loop_poll): Track netlink file descriptor and bump timestamp
1498 in case data becomes available.
1499 (main_loop_epoll): Likewise.
1500 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
1501 (database_pers_head): Add extra_data fileds.
1502 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
1503 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
1504 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
1505 Adjust caller.
1506 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
1507 in6ai data, call __free_in6ai.
1508 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
1509 Add -DHAVE_NETLINK.
1510 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
1511 interface information. Reuse previous data if netlink timestamp
1512 is not changed.
1513 (__bump_nl_timestamp): New function.
1514 (__free_in6ai): New function.
1515
1516 2011-10-30 Ulrich Drepper <drepper@gmail.com>
1517
1518 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
1519 close_not_cancel_no_status here.
1520 (__check_pf): Reorganize code a bit to not call close twice if OOM.
1521
1522 2011-10-29 Ulrich Drepper <drepper@gmail.com>
1523
1524 [BZ #13276]
1525 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
1526 return value.
1527
1528 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
1529 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
1530 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
1531
1532 2011-07-03 Andreas Jaeger <aj@suse.de>
1533
1534 [BZ #10709]
1535 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
1536 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
1537 * math/libm-test.inc (sin_test): Add test case.
1538
1539 2011-10-29 Ulrich Drepper <drepper@gmail.com>
1540
1541 [BZ #13337]
1542 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
1543 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1544
1545 * elf/chroot_canon.c (chroot_canon): Cleanups.
1546
1547 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
1548
1549 [BZ #13335]
1550 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
1551 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1552
1553 * string/test-strchr.c: Make usable for strchrnul testing.
1554 * string/test-strchrnul.c: New file.
1555 * string/Makefile (strop-tests): Add strchrnul.
1556
1557 * po/it.po: Update from translation team.
1558 * po/es.po: Likewise.
1559
1560 2011-10-28 Ulrich Drepper <drepper@gmail.com>
1561
1562 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
1563 the three constants needed as parameters. Drop the others.
1564 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
1565 __m128i_strloadu_tolower.
1566 Create and initialize variable zero and use it in all the places
1567 where _mm_setzero_si128 was used.
1568
1569 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
1570 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
1571 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
1572 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
1573 anymore.
1574 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
1575 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
1576 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
1577 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
1578 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
1579 __mpranred, __mptan.
1580 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
1581 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
1582 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
1583 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
1584 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
1585 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
1586 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
1587 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
1588 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
1589
1590 2011-10-28 Andreas Schwab <schwab@redhat.com>
1591
1592 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
1593 redefine if SHARED.
1594 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
1595
1596 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
1597 wide char related routines to wcsmbs subdir.
1598
1599 2011-10-27 Andreas Schwab <schwab@redhat.com>
1600
1601 [BZ #13344]
1602 * misc/sys/cdefs.h (__THROWNL): Define.
1603 * posix/unistd.h: Use __THREADNL instead of __THREAD
1604 for memory synchronization functions.
1605
1606 2011-10-26 Roland McGrath <roland@hack.frob.com>
1607
1608 [BZ #13349]
1609 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
1610 doesn't exist.
1611 * manual/stdio.texi (Obstack Streams): Node removed.
1612
1613 2011-10-26 Andreas Schwab <schwab@redhat.com>
1614
1615 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
1616 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1617 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1618
1619 * math/math_private.h (math_force_eval): Allow non-addressable
1620 arguments.
1621 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
1622
1623 2011-10-25 Ulrich Drepper <drepper@gmail.com>
1624
1625 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
1626 file is not needed.
1627
1628 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
1629 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1630 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1631 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1632 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1633 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1634 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1635 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
1636 Add AVX variants.
1637 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
1638 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
1639 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
1640 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
1641 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
1642 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
1643 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
1644 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
1645 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
1646 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
1647 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
1648 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
1649 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
1650 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
1651 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
1652 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
1653 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
1654 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
1655 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
1656
1657 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
1658 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
1659
1660 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
1661 place. Use VEX encoding when compiling for AVX.
1662
1663 2011-10-25 Andreas Schwab <schwab@redhat.com>
1664
1665 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
1666 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1667
1668 * string/test-strchr.c (do_test): Don't generate NUL bytes.
1669
1670 2011-10-25 Ulrich Drepper <drepper@gmail.com>
1671
1672 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
1673 useless if() expression.
1674 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1675 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1676 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1677 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1678 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1679 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1680 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1681 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1682 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1683 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1684 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1685 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1686 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1687 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1688 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1689 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1690 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1692 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1693
1694 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
1695
1696 2011-10-25 Andreas Schwab <schwab@redhat.com>
1697
1698 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
1699 condition.
1700 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1701
1702 2011-10-25 Ulrich Drepper <drepper@gmail.com>
1703
1704 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
1705 .text section. Avoid duplicate constants.
1706 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1707 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1710 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1712 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1713 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1714 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1715 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
1716 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1718 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1720 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1721 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1722 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1723 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1724 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1729 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
1730 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
1731 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
1732 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
1733 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
1734 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
1735 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
1736 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
1737 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
1738 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1739 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
1740 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
1741 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
1742 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
1743 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
1744 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
1745 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
1746 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
1747 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
1748 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
1749 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1750 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
1751
1752 2011-10-24 Ulrich Drepper <drepper@gmail.com>
1753
1754 * sysdeps/x86_64/dla.h: Move to ...
1755 * sysdeps/x86_64/fpu/dla.h: ...here.
1756 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
1757 situations. Use __builtin_fma only for gcc 4.6 and up.
1758
1759 * config.make.in: Add have-mfma4 entry.
1760 * configure.in: Substitute libc_cv_cc_fma4.
1761 * math/Makefile (dbl-only-routines): Add sincostab.
1762 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
1763 Use __sincostab not sincos.
1764 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
1765 name is a macro.
1766 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1767 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
1770 using __copysign.
1771 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
1772 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
1773 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
1774 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
1775 and __inv.
1776 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
1777 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
1778 __copysign.
1779 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
1780 define aliases when function name is a macro.
1781 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
1782 sysdeps/ieee754/dbl-64/sincos.tbl.
1783 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
1784 fma4-enabled routines.
1785 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
1786 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
1787 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
1788 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
1789 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
1790 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
1791 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
1792 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
1793 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
1794 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
1795 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
1796 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
1797 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
1798 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
1799 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
1800 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
1801 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
1802 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
1803 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
1804 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
1805 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
1806 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
1807 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
1808 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
1809 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
1810 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
1811 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
1812 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
1813 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
1814 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
1815
1816 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
1817 rename.
1818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1819 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1821 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1823 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1824 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1825 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1826
1827 2011-10-24 Andreas Schwab <schwab@redhat.com>
1828
1829 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
1830
1831 2011-10-23 Ulrich Drepper <drepper@gmail.com>
1832
1833 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
1834
1835 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
1836 prediction.
1837 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
1838
1839 * string/strnlen.c: Don't define STRNLEN, reverse logic.
1840 Remove unused variable magic_bits.
1841 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
1842
1843 * string/strnlen.c: Define and use STRNLEN macro.
1844 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
1845 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
1846 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
1847 * wcsmbs/wcslen.c: Define and use WCSLEN.
1848 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
1849 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
1850 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
1851 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
1852 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
1853 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
1854 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
1855
1856 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1857
1858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1859 strnlen-sse2-no-bsf.
1860 Rename strlen-no-bsf to strlen-sse2-no-bsf.
1861 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
1862 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
1863 Add strnlen support.
1864 (USE_AS_STRNLEN): New macro.
1865 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
1866 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
1867 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
1868 * sysdeps/x86_64/wcslen.S: New file.
1869
1870 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
1871
1872 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1873 XMM-moves are used for copying on small sizes.
1874
1875 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1876
1877 * wcsmbs/Makefile (strop-tests): Add wcschr.
1878 * wcsmbs/test-wcschr.c: New file.
1879 * string/test-strchr.c: Update.
1880 Add wcschr support.
1881 (WIDE): New macro.
1882
1883 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1884
1885 * wcsmbs/Makefile (strop-tests): Add wcslen.
1886 * wcsmbs/test-wcslen.c: New file.
1887 * string/test-strlen.c: Update.
1888 Add wcslen support.
1889 (WIDE): New macro.
1890
1891 2011-10-23 Ulrich Drepper <drepper@gmail.com>
1892
1893 * po/it.po: Update from translation team.
1894
1895 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1896
1897 * sysdeps/x86_64/wcscmp.S: Update.
1898 Fix wrong comparison semantics.
1899 wcscmp shall use signed comparison not unsigned.
1900 Don't use substraction to avoid overflow bug.
1901 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1902 * wcsmbc/wcscmp.c: Likewise.
1903 * string/test-strcmp.c: Likewise.
1904 Add new tests to check cases with negative values.
1905
1906 2011-10-23 Ulrich Drepper <drepper@gmail.com>
1907
1908 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
1909 * sysdeps/x86_64/dla.h: ...here. New file.
1910 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
1911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1913 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1914 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1915 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1916 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1917 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1918 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1919
1920 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
1921
1922 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
1923 __ynl_finite aliases.
1924
1925 2011-10-22 Ulrich Drepper <drepper@gmail.com>
1926
1927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1928
1929 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
1930 define DLA_FMA.
1931 [DLA_FMA] (EMULV): Use DLA_FMA.
1932 [DLA_FMA] (MUL12): Use EMULV.
1933 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
1934 that are not needed.
1935 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1937 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1938 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1939 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1940 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1941 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1942
1943 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
1944
1945 * math/s_nan.c: Undef __nan.
1946 * math/s_nanf.c: Undef __nanf.
1947 * math/s_nanl.c: Undef __nanl.
1948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
1949 "math_private.h".
1950
1951 2011-10-22 Ulrich Drepper <drepper@gmail.com>
1952
1953 * math/s_catan.c: Add branch predictions.
1954 * math/s_catanf.c: Likewise.
1955 * math/s_catanh.c: Likewise.
1956 * math/s_catanhf.c: Likewise.
1957 * math/s_catanhl.c: Likewise.
1958 * math/s_catanl.c: Likewise.
1959 * math/s_cexp.c: Likewise.
1960 * math/s_cexpf.c: Likewise.
1961 * math/s_cexpl.c: Likewise.
1962 * math/s_clog.c: Likewise.
1963 * math/s_clog10.c: Likewise.
1964 * math/s_clog10f.c: Likewise.
1965 * math/s_clog10l.c: Likewise.
1966 * math/s_clogf.c: Likewise.
1967 * math/s_clogl.c: Likewise.
1968 * math/s_csqrt.c: Likewise.
1969 * math/s_csqrtf.c: Likewise.
1970 * math/s_csqrtl.c: Likewise.
1971 * math/s_ctanf.c: Likewise.
1972 * math/s_ctanh.c: Likewise.
1973 * math/s_ctanhf.c: Likewise.
1974 * math/s_ctanhl.c: Likewise.
1975 * math/s_ctanl.c: Likewise.
1976
1977 * math/math_private.h: Define __nan, __nanf, __nanl.
1978 * math/s_cacosh.c: Include <math_private.h>.
1979 * math/s_cacoshl.c: Likewise.
1980 * math/s_casinh.c: Likewise.
1981 * math/s_casinhf.c: Likewise.
1982 * math/s_casinhl.c: Likewise.
1983 * math/s_ccos.c: Rely entire on ccosh.
1984 * math/s_ccosf.c: Rely entire on ccoshf.
1985 * math/s_ccosl.c: Rely entirely on ccoshl.
1986 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
1987 Remove tests for FE_INVALID.
1988 * math/s_ccoshf.c: Likewise.
1989 * math/s_ccoshl.c: Likewise.
1990 * math/s_csin.c: Likewise.
1991 * math/s_csinf.c: Likewise.
1992 * math/s_csinh.c Likewise.
1993 * math/s_csinhf.c: Likewise.
1994 * math/s_csinhl.c: Likewise.
1995 * math/s_csinl.c: Likewise.
1996 * math/s_ctan.c: Likewise.
1997 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
1998 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
1999 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
2000
2001 2011-10-21 Ulrich Drepper <drepper@gmail.com>
2002
2003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
2004 compilation problems.
2005
2006 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
2007 __builtin_expect.
2008
2009 2011-10-20 Ulrich Drepper <drepper@gmail.com>
2010
2011 * sysdeps/i386/configure.in: Test for -mfma4 option.
2012 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
2013 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
2014 COMMON_CPUID_INDEX_80000001.
2015 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
2016 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
2017 use it if FMA3 is not supported.
2018 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2019
2020 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
2021 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
2022
2023 2011-10-20 Andreas Schwab <schwab@redhat.com>
2024
2025 [BZ #12892]
2026 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
2027 it would create a cycle with a link time dependency.
2028
2029 2011-10-19 Ulrich Drepper <drepper@gmail.com>
2030
2031 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
2032 instruction.
2033 * string/Makefile (strop-tests): Add rawmemchr.
2034 * string/test-rawmemchr.c: New file.
2035
2036 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
2037 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
2038 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
2039 when compiling str{,n}casecmp and when AVX is available. Hook up
2040 new optimized code in initializers.
2041
2042 2011-10-19 Andreas Schwab <schwab@redhat.com>
2043
2044 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
2045 __feraiseexcept instead of feraiseexcept.
2046
2047 2011-10-18 Ulrich Drepper <drepper@gmail.com>
2048
2049 * math/math_private.h: Define defaults for libc_fetestexcept and
2050 libc_feupdateenv.
2051 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
2052 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
2053 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2054 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2055 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2056 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
2057 libc_fetestexcept and libc_feupdateenv.
2058
2059 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
2060 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
2061 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
2062 * sysdeps/x86_64/fpu/math_private.h: Define special version of
2063 libc_feholdexcept_setround.
2064
2065 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
2066 Add s_nearbyint-c and s_nearbyintf-c.
2067 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
2068 nearbyintf inlines.
2069 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
2070 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
2071 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
2072 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
2073
2074 * math/math_private.h: Define defaults for libc_fegetround,
2075 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
2076 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
2077 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
2078 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
2079 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
2080 standard functions.
2081 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2082 Remove comments and hacks for old compiler versions.
2083 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
2084 libc_fegetround, libc_fesetround, libc_feholdexcept, and
2085 libc_feholdexceptl.
2086
2087 2011-10-18 Andreas Schwab <schwab@redhat.com>
2088
2089 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
2090 (__feraiseexcept_renamed): Add __NTH.
2091 (feraiseexcept): Add __NTH. Rename local variables to fix
2092 namespace violations.
2093
2094 2011-10-17 Ulrich Drepper <drepper@gmail.com>
2095
2096 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
2097
2098 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
2099
2100 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
2101 recently added interfaces.
2102 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
2103
2104 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
2105 about macro parameter expansion.
2106
2107 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
2108 __NO_MATH_INLINES is defined. Cleanups.
2109
2110 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
2111 and __floorf is target has SSE4.1.
2112 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
2113 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
2114 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
2115 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
2116
2117 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
2118 name.
2119 (floorf): Likewise.
2120
2121 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
2122
2123 2011-10-17 Andreas Schwab <schwab@redhat.com>
2124
2125 * misc/sys/cdefs.h: Fix last change.
2126
2127 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
2128 database lookup.
2129
2130 2011-10-16 Ulrich Drepper <drepper@gmail.com>
2131
2132 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
2133
2134 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
2135 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2136 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2137 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2138 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2139 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2140 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2141 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2142 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2143 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
2144 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
2145 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
2146 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
2147 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
2148 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
2149 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
2150 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
2151 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
2152 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
2153 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
2154 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
2155 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
2156
2157 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
2158 ceil, ceilf, floor, floorf.
2159
2160 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
2161 Perform IRELATIVE relocations last.
2162
2163 * elf/do-rel.h: Add another parameter nrelative, replacing the
2164 local variable with the same name. Change name of the function
2165 to end in Rel or Rela (uppercase).
2166 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
2167 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
2168 elf_dynamic_do_##reloc function.
2169
2170 2011-10-15 Ulrich Drepper <drepper@gmail.com>
2171
2172 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
2173 is sufficient, at least on modern CPUs.
2174
2175 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
2176
2177 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
2178 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
2179
2180 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
2181 __expl_finite.
2182 * math/bits/math-finite.h: Add entries for exp.
2183 * math/e_expl.c: Add __*_finite alias.
2184 * sysdeps/i386/fpu/e_exp.S: Likewise.
2185 * sysdeps/i386/fpu/e_expf.S: Likewise.
2186 * sysdeps/i386/fpu/e_expl.c: Likewise.
2187 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2188 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2189 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2190 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2191 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
2192 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2193 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2194
2195 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
2196 is sufficient, at least on modern CPUs.
2197
2198 * ctype/ctype-info.c (__ctype_init): Define.
2199 * include/ctype.h (__ctype_init): Declare.
2200 (__ctype_b_loc): The variable is always initialized.
2201 (__ctype_toupper_loc): Likewise.
2202 (__ctype_tolower_loc): Likewise.
2203 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
2204 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
2205
2206 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
2207
2208 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
2209
2210 * configure.in: Also look in $cxxmachine/include for C++ system
2211 headers.
2212
2213 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2214
2215 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
2216 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
2217 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
2218 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
2219 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
2220 (USE_AS_WMEMCMP): New macro.
2221 Fixing indents.
2222 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
2223 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
2224 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
2225 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
2226 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2227 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
2228 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
2229 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
2230 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
2231 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
2232 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
2233 (USE_AS_WMEMCMP): New macro.
2234 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
2235 * sysdeps/string/test-memcmp.c: Update.
2236 Fix simple_wmemcmp.
2237 Add new tests.
2238 * wcsmbs/wmemcmp.c: Update.
2239 (WMEMCMP): New macro.
2240 Fix overflow bug.
2241
2242 2011-10-12 Andreas Jaeger <aj@suse.de>
2243
2244 [BZ #13268]
2245 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
2246
2247 2011-10-15 Ulrich Drepper <drepper@gmail.com>
2248
2249 * libio/iofwide.c (do_length): Avoid warning.
2250
2251 * ctype/ctype.h (__isctype_f): Add missing __THROW.
2252
2253 2011-10-14 Ulrich Drepper <drepper@gmail.com>
2254
2255 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
2256
2257 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
2258 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
2259 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
2260 * sysdeps/i386/i686/fpu/e_log.S: New file.
2261 * sysdeps/i386/i686/fpu/e_logf.S: New file.
2262 * sysdeps/i386/i686/fpu/e_logl.S: New file.
2263
2264 * ctype/ctype.h: Add support for inlined isXXX functions when
2265 compiling C++ code.
2266
2267 2011-10-14 Andreas Schwab <schwab@redhat.com>
2268
2269 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2270
2271 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
2272
2273 2011-10-13 Roland McGrath <roland@hack.frob.com>
2274
2275 [BZ #13291]
2276 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
2277
2278 2011-10-13 Andreas Schwab <schwab@redhat.com>
2279
2280 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
2281 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
2282 feraiseexcept.
2283
2284 * sysdeps/x86_64/memrchr.S: Check for zero size.
2285
2286 * string/stratcliff.c: Add memrchr tests.
2287
2288 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2289
2290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2291 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
2292 rawmemchr-sse2 rawmemchr-sse2-bsf.
2293 * sysdeps/i386/i686/multiarch/memchr.S: New file.
2294 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
2295 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
2296 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
2297 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
2298 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
2299 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
2300 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
2301 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
2302 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
2303 * string/memrchr.c (MEMRCHR): New macro.
2304
2305 2011-10-12 Ulrich Drepper <drepper@gmail.com>
2306
2307 Add integration with gcc's -ffinite-math-only and optimize wrapper
2308 functions in libm.
2309 * Versions.def: Define GLIBC_2.15 version for libm.
2310 * math/Makefile (headers): Add bits/math-finite.h.
2311 * math/bits/math-finite.h: New file.
2312 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
2313 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
2314 * math/e_acoshl.c: Add __*_finite alias.
2315 * math/e_acosl.c: Likewise.
2316 * math/e_asinl.c: Likewise.
2317 * math/e_atan2l.c: Likewise.
2318 * math/e_atanhl.c: Likewise.
2319 * math/e_coshl.c: Likewise.
2320 * math/e_exp10.c: Likewise.
2321 * math/e_exp10f.c: Likewise.
2322 * math/e_exp10l.c: Likewise.
2323 * math/e_exp2l.c: Likewise.
2324 * math/e_fmodl.c: Likewise.
2325 * math/e_gammal_r.c: Likewise.
2326 * math/e_hypotl.c: Likewise.
2327 * math/e_j0l.c: Likewise.
2328 * math/e_j1l.c: Likewise.
2329 * math/e_jnl.c: Likewise.
2330 * math/e_lgammal_r.c: Likewise.
2331 * math/e_log10l.c: Likewise.
2332 * math/e_log2l.c: Likewise.
2333 * math/e_logl.c: Likewise.
2334 * math/e_powl.c: Likewise.
2335 * math/e_sinhl.c: Likewise.
2336 * math/e_sqrtl.c: Likewise.
2337 * math/e_scalb.c: Completely rewritten and optimized.
2338 * math/e_scalbf.c: Likewise.
2339 * math/e_scalbl.c: Likewise.
2340 * math/w_acos.c: Likewise.
2341 * math/w_acosf.c: Likewise.
2342 * math/w_acosl.c: Likewise.
2343 * math/w_acosh.c: Likewise.
2344 * math/w_acoshf.c: Likewise.
2345 * math/w_acoshl.c: Likewise.
2346 * math/w_asin.c: Likewise.
2347 * math/w_asinf.c: Likewise.
2348 * math/w_asinl.c: Likewise.
2349 * math/w_atan2.c: Likewise.
2350 * math/w_atan2f.c: Likewise.
2351 * math/w_atan2l.c: Likewise.
2352 * math/w_atanh.c: Likewise.
2353 * math/w_atanhf.c: Likewise.
2354 * math/w_atanhl.c: Likewise.
2355 * math/w_exp10.c: Likewise.
2356 * math/w_exp10f.c: Likewise.
2357 * math/w_exp10l.c: Likewise.
2358 * math/w_fmod.c: Likewise.
2359 * math/w_fmodf.c: Likewise.
2360 * math/w_fmodl.c: Likewise.
2361 * math/w_j0.c: Likewise.
2362 * math/w_j0f.c: Likewise.
2363 * math/w_j0l.c: Likewise.
2364 * math/w_j1.c: Likewise.
2365 * math/w_j1f.c: Likewise.
2366 * math/w_j1l.c: Likewise.
2367 * math/w_jn.c: Likewise.
2368 * math/w_jnf.c: Likewise.
2369 * math/w_log.c: Likewise.
2370 * math/w_logf.c: Likewise.
2371 * math/w_logl.c: Likewise.
2372 * math/w_log10.c: Likewise.
2373 * math/w_log10f.c: Likewise.
2374 * math/w_log10l.c: Likewise.
2375 * math/w_log2.c: Likewise.
2376 * math/w_log2f.c: Likewise.
2377 * math/w_log2l.c: Likewise.
2378 * math/w_pow.c: Likewise.
2379 * math/w_powf.c: Likewise.
2380 * math/w_powl.c: Likewise.
2381 * math/w_remainder.c: Likewise.
2382 * math/w_remainderf.c: Likewise.
2383 * math/w_remainderl.c: Likewise.
2384 * math/w_scalb.c: Likewise.
2385 * math/w_scalbf.c: Likewise.
2386 * math/w_scalbl.c: Likewise.
2387 * math/w_sqrt.c: Likewise.
2388 * math/w_sqrtf.c: Likewise.
2389 * math/w_sqrtl.c: Likewise.
2390 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
2391 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
2392 used.
2393 * math/math_private.h: Declare __kernel_standard_f.
2394 * math/w_cosh.c: Remove cruft and optimize a bit.
2395 * math/w_coshf.c: Likewise.
2396 * math/w_coshl.c: Likewise.
2397 * math/w_exp2.c: Likewise.
2398 * math/w_exp2f.c: Likewise.
2399 * math/w_exp2l.c: Likewise.
2400 * math/w_hypot.c: Likewise.
2401 * math/w_hypotf.c: Likewise.
2402 * math/w_hypotl.c: Likewise.
2403 * math/w_lgamma.c: Likewise.
2404 * math/w_lgamma_r.c: Likewise.
2405 * math/w_lgammaf.c: Likewise.
2406 * math/w_lgammaf_r.c: Likewise.
2407 * math/w_lgammal.c: Likewise.
2408 * math/w_lgammal_r.c: Likewise.
2409 * math/w_sinh.c: Likewise.
2410 * math/w_sinhf.c: Likewise.
2411 * math/w_sinhl.c: Likewise.
2412 * math/w_tgamma.c: Likewise.
2413 * math/w_tgammaf.c: Likewise.
2414 * math/w_tgammal.c: Likewise.
2415 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2416 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2417 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
2418 Minor optimizations. Pretty printing. Remove cruft.
2419 * sysdeps/i386/fpu/e_acosf.S: Likewise.
2420 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2421 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2422 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2423 * sysdeps/i386/fpu/e_acosl.c: Likewise.
2424 * sysdeps/i386/fpu/e_asin.S: Likewise.
2425 * sysdeps/i386/fpu/e_asinf.S: Likewise.
2426 * sysdeps/i386/fpu/e_atan2.S: Likewise.
2427 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
2428 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
2429 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2430 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2431 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2432 * sysdeps/i386/fpu/e_exp10.S: Likewise.
2433 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
2434 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
2435 * sysdeps/i386/fpu/e_exp2.S: Likewise.
2436 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
2437 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
2438 * sysdeps/i386/fpu/e_fmod.S: Likewise.
2439 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
2440 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
2441 * sysdeps/i386/fpu/e_hypot.S: Likewise.
2442 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
2443 * sysdeps/i386/fpu/e_log.S: Likewise.
2444 * sysdeps/i386/fpu/e_log10.S: Likewise.
2445 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2446 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2447 * sysdeps/i386/fpu/e_log2.S: Likewise.
2448 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2449 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2450 * sysdeps/i386/fpu/e_logf.S: Likewise.
2451 * sysdeps/i386/fpu/e_logl.S: Likewise.
2452 * sysdeps/i386/fpu/e_pow.S: Likewise.
2453 * sysdeps/i386/fpu/e_powf.S: Likewise.
2454 * sysdeps/i386/fpu/e_powl.S: Likewise.
2455 * sysdeps/i386/fpu/e_remainder.S: Likewise.
2456 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
2457 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
2458 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2459 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2460 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2461 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
2462 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
2463 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
2464 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2465 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2467 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2468 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2469 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2470 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2471 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2472 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2473 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2474 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2475 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2477 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2478 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2479 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2480 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2481 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2482 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2484 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2485 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2486 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2487 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2488 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2489 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2490 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2491 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2492 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2493 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2494 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2495 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2496 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2497 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2498 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2499 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2500 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2501 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2502 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2503 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2504 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2505 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2506 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2507 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2508 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2509 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2510 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2511 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2512 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2513 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2514 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2515 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2516 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2517 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2518 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2519 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2520 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2521 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2522 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2523 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2524 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2525 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2526 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2527 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2528 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2529 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2530 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2531 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2532 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
2533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2534 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2535 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2536 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2537 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2538 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2539 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2540 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2541 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2542 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2543 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2544 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2545 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2546 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
2547 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2548 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2549 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2550 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2551 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2552 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2553 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2554 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2555 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2556 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2557 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2558 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2559 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2560 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2561 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2562 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2563 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2564 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
2565 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
2566 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
2567 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
2568 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2569 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2570 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2571 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2572 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
2573 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2574 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
2575 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
2576 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
2577 (__isnanf): Likewise.
2578 (__isinf_ns): Likewise.
2579 (__isinf_nsf): Likewise.
2580 (__finite): Likewise.
2581 (__finitef): Likewise.
2582 (__ieee754_sqrt): Define as macro.
2583 (__ieee754_sqrtf): Define as macro.
2584 (__ieee754_sqrtl): Define as macro.
2585 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
2586 inlined copy.
2587 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
2588 __FINITE_MATH_ONLY__ consistent.
2589 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
2590
2591 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
2592
2593 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
2594 of rawmemchr.
2595
2596 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
2597
2598 2011-10-09 Ulrich Drepper <drepper@gmail.com>
2599
2600 * po/ja.po: Update from translation team.
2601
2602 2011-10-08 Roland McGrath <roland@hack.frob.com>
2603
2604 * locale/programs/locarchive.c (prepare_address_space): New function.
2605 (create_archive, enlarge_archive, open_archive): Use it.
2606
2607 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
2608 inside [SHARED], where it is used.
2609
2610 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
2611
2612 * nss/getent.c (netgroup_keys): Remove unused variable.
2613 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2614
2615 2011-10-08 Ulrich Drepper <drepper@gmail.com>
2616
2617 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
2618 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
2619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
2620 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
2621 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
2622 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
2623 * math/Makefile (libm-calls): Add s_isinf_ns.
2624 * math/divtc3.c: Use __isinf_nsl instead of isinf.
2625 * math/multc3.c: Likewise.
2626 * math/s_casin.c: Likewise.
2627 * math/s_casinf.c: Likewise.
2628 * math/s_casinl.c: Likewise.
2629 * math/s_ccos.c: Likewise.
2630 * math/s_ccosf.c: Likewise.
2631 * math/s_ccosl.c: Likewise.
2632 * math/s_ctan.c: Likewise.
2633 * math/s_ctanf.c: Likewise.
2634 * math/s_ctanh.c: Likewise.
2635 * math/s_ctanhf.c: Likewise.
2636 * math/s_ctanhl.c: Likewise.
2637 * math/s_ctanl.c: Likewise.
2638 * math/w_fmod.c: Likewise.
2639 * math/w_fmodf.c: Likewise.
2640 * math/w_fmodl.c: Likewise.
2641 * math/w_remainder.c: Likewise.
2642 * math/w_remainderf.c: Likewise.
2643 * math/w_remainderl.c: Likewise.
2644 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
2645 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
2646 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
2647 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
2648 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
2649 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
2650 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
2651 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
2652
2653 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
2654 of the number.
2655 * stdio-common/printf_fphex.c: Likewise.
2656 * stdio-common/printf_size.c: Likewise.
2657
2658 * math/e_exp10.c: Include math_private.h using <...> not "...".
2659 * math/e_exp10f.c: Likewise.
2660 * math/e_exp10l.c: Likewise.
2661 * math/e_exp2l.c: Likewise.
2662 * math/e_j0l.c: Likewise.
2663 * math/e_j1l.c: Likewise.
2664 * math/e_jnl.c: Likewise.
2665 * math/e_lgammal_r.c: Likewise.
2666 * math/e_rem_pio2l.c: Likewise.
2667 * math/e_scalb.c: Likewise.
2668 * math/e_scalbf.c: Likewise.
2669 * math/e_scalbl.c: Likewise.
2670 * math/k_cosl.c: Likewise.
2671 * math/k_sinl.c: Likewise.
2672 * math/k_tanl.c: Likewise.
2673 * math/s_cacoshf.c: Likewise.
2674 * math/s_catan.c: Likewise.
2675 * math/s_catanf.c: Likewise.
2676 * math/s_catanh.c: Likewise.
2677 * math/s_catanhf.c: Likewise.
2678 * math/s_catanhl.c: Likewise.
2679 * math/s_catanl.c: Likewise.
2680 * math/s_ccosh.c: Likewise.
2681 * math/s_ccoshf.c: Likewise.
2682 * math/s_ccoshl.c: Likewise.
2683 * math/s_cexp.c: Likewise.
2684 * math/s_cexpf.c: Likewise.
2685 * math/s_cexpl.c: Likewise.
2686 * math/s_clog.c: Likewise.
2687 * math/s_clog10.c: Likewise.
2688 * math/s_clog10f.c: Likewise.
2689 * math/s_clog10l.c: Likewise.
2690 * math/s_clogf.c: Likewise.
2691 * math/s_clogl.c: Likewise.
2692 * math/s_csin.c: Likewise.
2693 * math/s_csinf.c: Likewise.
2694 * math/s_csinh.c: Likewise.
2695 * math/s_csinhf.c: Likewise.
2696 * math/s_csinhl.c: Likewise.
2697 * math/s_csinl.c: Likewise.
2698 * math/s_csqrt.c: Likewise.
2699 * math/s_csqrtf.c: Likewise.
2700 * math/s_csqrtl.c: Likewise.
2701 * math/s_ctan.c: Likewise.
2702 * math/s_ctanf.c: Likewise.
2703 * math/s_ctanh.c: Likewise.
2704 * math/s_ctanhf.c: Likewise.
2705 * math/s_ctanhl.c: Likewise.
2706 * math/s_ctanl.c: Likewise.
2707 * math/s_ldexp.c: Likewise.
2708 * math/s_ldexpf.c: Likewise.
2709 * math/s_ldexpl.c: Likewise.
2710 * math/s_significand.c: Likewise.
2711 * math/s_significandf.c: Likewise.
2712 * math/s_significandl.c: Likewise.
2713 * math/w_acos.c: Likewise.
2714 * math/w_acosf.c: Likewise.
2715 * math/w_acosh.c: Likewise.
2716 * math/w_acoshf.c: Likewise.
2717 * math/w_acoshl.c: Likewise.
2718 * math/w_acosl.c: Likewise.
2719 * math/w_asin.c: Likewise.
2720 * math/w_asinf.c: Likewise.
2721 * math/w_asinl.c: Likewise.
2722 * math/w_atan2.c: Likewise.
2723 * math/w_atan2f.c: Likewise.
2724 * math/w_atan2l.c: Likewise.
2725 * math/w_atanh.c: Likewise.
2726 * math/w_atanhf.c: Likewise.
2727 * math/w_atanhl.c: Likewise.
2728 * math/w_cosh.c: Likewise.
2729 * math/w_coshf.c: Likewise.
2730 * math/w_coshl.c: Likewise.
2731 * math/w_dremf.c: Likewise.
2732 * math/w_exp10.c: Likewise.
2733 * math/w_exp10f.c: Likewise.
2734 * math/w_exp10l.c: Likewise.
2735 * math/w_exp2.c: Likewise.
2736 * math/w_exp2f.c: Likewise.
2737 * math/w_fmod.c: Likewise.
2738 * math/w_fmodf.c: Likewise.
2739 * math/w_fmodl.c: Likewise.
2740 * math/w_hypot.c: Likewise.
2741 * math/w_hypotf.c: Likewise.
2742 * math/w_hypotl.c: Likewise.
2743 * math/w_j0.c: Likewise.
2744 * math/w_j0f.c: Likewise.
2745 * math/w_j0l.c: Likewise.
2746 * math/w_j1.c: Likewise.
2747 * math/w_j1f.c: Likewise.
2748 * math/w_j1l.c: Likewise.
2749 * math/w_jn.c: Likewise.
2750 * math/w_jnf.c: Likewise.
2751 * math/w_jnl.c: Likewise.
2752 * math/w_lgamma.c: Likewise.
2753 * math/w_lgamma_r.c: Likewise.
2754 * math/w_lgammaf.c: Likewise.
2755 * math/w_lgammaf_r.c: Likewise.
2756 * math/w_lgammal.c: Likewise.
2757 * math/w_lgammal_r.c: Likewise.
2758 * math/w_log.c: Likewise.
2759 * math/w_log10.c: Likewise.
2760 * math/w_log10f.c: Likewise.
2761 * math/w_log10l.c: Likewise.
2762 * math/w_log2.c: Likewise.
2763 * math/w_log2f.c: Likewise.
2764 * math/w_log2l.c: Likewise.
2765 * math/w_logf.c: Likewise.
2766 * math/w_logl.c: Likewise.
2767 * math/w_pow.c: Likewise.
2768 * math/w_powf.c: Likewise.
2769 * math/w_powl.c: Likewise.
2770 * math/w_remainder.c: Likewise.
2771 * math/w_remainderf.c: Likewise.
2772 * math/w_remainderl.c: Likewise.
2773 * math/w_scalb.c: Likewise.
2774 * math/w_scalbf.c: Likewise.
2775 * math/w_scalbl.c: Likewise.
2776 * math/w_sinh.c: Likewise.
2777 * math/w_sinhf.c: Likewise.
2778 * math/w_sinhl.c: Likewise.
2779 * math/w_sqrt.c: Likewise.
2780 * math/w_sqrtf.c: Likewise.
2781 * math/w_sqrtl.c: Likewise.
2782 * math/w_tgamma.c: Likewise.
2783 * math/w_tgammaf.c: Likewise.
2784 * math/w_tgammal.c: Likewise.
2785
2786 * po/ja.po: Update from translation team.
2787
2788 2011-09-29 Andreas Jaeger <aj@suse.de>
2789
2790 [BZ #13179]
2791 * sunrpc/netname.c (netname2host): Fix logic.
2792
2793 [BZ #6779]
2794 [BZ #6783]
2795 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
2796 correctly.
2797 * math/w_remainder.c (__remainder): Likewise.
2798 * math/w_remainderf.c (__remainderf): Likewise.
2799 * math/libm-test.inc (remainder_test): Add test cases.
2800
2801 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2802
2803 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
2804 sdiv_qrnnd.
2805
2806 2011-10-07 Ulrich Drepper <drepper@gmail.com>
2807
2808 * string/test-memcmp.c: Avoid unncessary #defines.
2809 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2810
2811 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2812
2813 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
2814 Use new sse2 version for core i3 - i7 as it's faster
2815 than sse42 version.
2816 (bit_Prefer_PMINUB_for_stringop): New.
2817 * sysdeps/x86_64/rawmemchr.S: Update.
2818 Replace with faster SSE2 version.
2819 * sysdeps/x86_64/memrchr.S: New file.
2820 * sysdeps/x86_64/memchr.S: Update.
2821 Replace with faster SSE2 version.
2822
2823 2011-09-12 Marek Polacek <mpolacek@redhat.com>
2824
2825 * elf/dl-load.c (lose): Add cast to avoid warning.
2826
2827 2011-10-07 Ulrich Drepper <drepper@gmail.com>
2828
2829 * po/ca.po: Update from translation team.
2830
2831 * inet/getnetgrent_r.c: Hook up nscd.
2832 * nscd/Makefile (routines): Add nscd_netgroup.
2833 (nscd-modules): Add netgroupcache.
2834 (CFLAGS-netgroupcache.c): Define.
2835 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
2836 (cache_search): Add const to second parameter.
2837 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
2838 INNETGR.
2839 (dbs): Add netgrdb entry.
2840 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
2841 (verify_persistent_db): Handle netgrdb.
2842 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
2843 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
2844 GETFDNETGR.
2845 (netgroup_response_header): Define.
2846 (innetgroup_response_header): Define.
2847 (datahead): Add netgroup_response_header and innetgroup_response_header
2848 elements.
2849 * nscd/nscd.conf: Add entries for netgroup cache.
2850 * nscd/nscd.h (dbtype): Add netgrdb.
2851 (_PATH_NSCD_NETGROUP_DB): Define.
2852 (netgroup_iov_disabled): Declare.
2853 (xmalloc, xcalloc, xrealloc): Move declarations here.
2854 (cache_search): Adjust prototype.
2855 Add netgroup-related prototypes.
2856 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
2857 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
2858 (__nscd_innetgr): Declare.
2859 * nscd/selinux.c (perms): Use access_vector_t as element type and
2860 add netgroup-related initializers.
2861 * nscd/netgroupcache.c: New file.
2862 * nscd/nscd_netgroup.c: New file.
2863 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
2864 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
2865 For four parameters use innetgr.
2866 * nss/nss_files/files-init.c: Add definition and callback for netgr.
2867 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
2868 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
2869 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
2870
2871 * nscd/connections.c (register_traced_file): Don't register file
2872 for disabled databases.
2873
2874 2011-10-06 Ulrich Drepper <drepper@gmail.com>
2875
2876 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
2877
2878 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
2879 from tree and freeing node.
2880
2881 2011-09-25 Jiri Olsa <jolsa@redhat.com>
2882
2883 * nss/nsswitch.c (__nss_database_lookup): Handle
2884 nss_parse_service_list out of memory case.
2885
2886 2011-09-15 Jiri Olsa <jolsa@redhat.com>
2887
2888 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
2889 out of memory case.
2890
2891 2011-10-04 Andreas Schwab <schwab@redhat.com>
2892
2893 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
2894 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
2895 pass it down.
2896 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
2897 elf_machine_rela, elf_machine_lazy_rel.
2898 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
2899 (ELF_DYNAMIC_DO_REL): Likewise.
2900 (ELF_DYNAMIC_DO_RELA): Likewise.
2901 (ELF_DYNAMIC_RELOCATE): Likewise.
2902 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
2903 to ELF_DYNAMIC_DO_REL.
2904 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
2905 (dl_main): In trace mode always set __RTLD_NOIFUNC.
2906 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
2907 elf_machine_rela.
2908 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
2909 skip_ifunc, don't call ifunc function if non-zero.
2910 (elf_machine_rela): Likewise.
2911 (elf_machine_lazy_rel): Likewise.
2912 (elf_machine_lazy_rela): Likewise.
2913 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
2914 (elf_machine_lazy_rel): Likewise.
2915 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
2916 Likewise.
2917 (elf_machine_lazy_rel): Likewise.
2918 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2919 Likewise.
2920 (elf_machine_lazy_rel): Likewise.
2921 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
2922 (elf_machine_lazy_rel): Likewise.
2923 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
2924 (elf_machine_lazy_rel): Likewise.
2925 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2926 (elf_machine_lazy_rel): Likewise.
2927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
2928 (elf_machine_lazy_rel): Likewise.
2929 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2930 (elf_machine_lazy_rel): Likewise.
2931 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2932 (elf_machine_lazy_rel): Likewise.
2933
2934 2011-09-28 Ulrich Drepper <drepper@gmail.com>
2935
2936 * nss/nss_files/files-init.c (_nss_files_init): Use static
2937 initialization for all the *_traced_file variables.
2938
2939 2011-09-28 Andreas Schwab <schwab@redhat.com>
2940
2941 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2942
2943 2011-09-27 Roland McGrath <roland@hack.frob.com>
2944
2945 [BZ #13226]
2946 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
2947
2948 2011-09-27 Andreas Schwab <schwab@redhat.com>
2949
2950 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2951 Reread the line before reparsing it.
2952
2953 2011-09-26 Andreas Schwab <schwab@redhat.com>
2954
2955 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
2956
2957 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
2958 Maxim Kuvyrkov <maxim@codesourcery.com>
2959 Joseph Myers <joseph@codesourcery.com>
2960
2961 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
2962 if needed for __stack_chk_guard.
2963
2964 2011-09-19 Roland McGrath <roland@hack.frob.com>
2965
2966 * sysdeps/posix/spawni.c (script_execute): Always define it.
2967 It will be optimized away if unused.
2968 (maybe_script_execute): New function.
2969 (__spawni): Call it.
2970
2971 * Makerules: Don't include tls.make.
2972 (config-tls): Always set to thread.
2973 * tls.make.c: File removed.
2974
2975 2011-09-19 Mike Frysinger <vapier@gentoo.org>
2976
2977 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
2978 * config.make.in (CPPFLAGS-config): New substituted variable.
2979
2980 2011-09-15 Ulrich Drepper <drepper@gmail.com>
2981
2982 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
2983
2984 [BZ #13192]
2985 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
2986 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
2987
2988 2011-09-15 Roland McGrath <roland@hack.frob.com>
2989
2990 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
2991 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
2992 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
2993 (CALL_FAIL): Likewise.
2994 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
2995 (CALL_FAIL): Macro removed.
2996 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
2997
2998 2011-09-15 Ulrich Drepper <drepper@gmail.com>
2999
3000 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
3001 for __FINITE_MATH_ONLY__ == 1.
3002
3003 2011-09-15 Andreas Schwab <schwab@redhat.com>
3004
3005 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
3006 __ieee754_sqrt instead of sqrt.
3007 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
3008 __ieee754_sqrtf instead of sqrtf.
3009 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3010 __floorf instead of floorf.
3011 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
3012 __floorf, __truncf instead of floorf, truncf.
3013
3014 2011-09-14 Ulrich Drepper <drepper@gmail.com>
3015
3016 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
3017
3018 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
3019 __extern_always_inline.
3020 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
3021 32-bit.
3022
3023 2011-09-14 Andreas Schwab <schwab@redhat.com>
3024
3025 * elf/rtld.c (dl_main): Also relocate in dependency order when
3026 doing symbol dependency testing.
3027
3028 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
3029
3030 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3031 Always define `refsym'.
3032
3033 2011-09-13 Andreas Schwab <schwab@redhat.com>
3034
3035 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
3036 (__FD_ELT): Renamed from __FDELT.
3037 * misc/bits/select2.h (__FD_ELT): Likewise.
3038 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
3039 __FD_MASK instead of __FDELT, __FDMASK.
3040 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
3041 Likewise.
3042 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
3043 Likewise.
3044
3045 * elf/Makefile (gen-ldd): Fix pattern.
3046
3047 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
3048 (init_tls): Likewise.
3049
3050 2011-09-12 Ulrich Drepper <drepper@gmail.com>
3051
3052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
3053
3054 2011-09-12 Andreas Schwab <schwab@redhat.com>
3055
3056 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
3057 `struct cmsghdr *' instead of `void *'.
3058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
3059 Likewise.
3060
3061 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3062
3063 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
3064 if non-absolute.
3065 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
3066 ldd_rewrite_script.
3067
3068 2011-09-11 Ulrich Drepper <drepper@gmail.com>
3069
3070 * configure.in: Remove --with-tls option.
3071 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
3072 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
3073 out in case it is missing.
3074 * sysdeps/ia64/elf/configure.in: Likewise.
3075 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
3076 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
3077 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
3078 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
3079 * sysdeps/sh/elf/configure.in: Likewise.
3080 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
3081 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3082 * sysdeps/x86_64/elf/configure.in: Likewise.
3083 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
3084 * sysdeps/mach/hurd/tls.h: Likewise.
3085
3086 [BZ #13067]
3087 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
3088
3089 [BZ #13090]
3090 * configure.in: Fix use of AC_INIT.
3091
3092 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
3093
3094 2011-09-10 Ulrich Drepper <drepper@gmail.com>
3095
3096 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
3097 __set_errno.
3098 * malloc/hooks.c: Likewise.
3099
3100 [BZ #11929]
3101 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
3102 variables statically.
3103 (narenas): Initialize.
3104 (list_lock): Initialize.
3105 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
3106 initializtion of main_arena and list_lock. Small cleanups.
3107 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
3108 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
3109 Add initializers to main_arena and mp_.
3110 (malloc_state): Remove pagesize member. Change all users to use
3111 GLRO(dl_pagesize).
3112
3113 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
3114 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
3115 is always initialized.
3116
3117 * malloc/malloc.c: Removed unused configurations and dead code.
3118 * malloc/arena.c: Likewise.
3119 * malloc/hooks.c: Likewise.
3120 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
3121
3122 * include/tls.h: Removed. USE___THREAD must always be defined.
3123 * bits/libc-tsd.h: Don't handle !USE___THREAD.
3124 * elf/dl-libc.c: Likewise.
3125 * elf/dl-tsd.c: Likewise.
3126 * include/errno.h: Likewise.
3127 * include/netdb.h: Likewise.
3128 * include/resolv.h: Likewise.
3129 * inet/herrno-loc.c: Likewise.
3130 * inet/herrno.c: Likewise.
3131 * malloc/arena.c: Likewise.
3132 * malloc/hooks.c: Likewise.
3133 * malloc/malloc.c: Likewise.
3134 * resolv/res-state.c: Likewise.
3135 * resolv/res_libc.c: Likewise.
3136 * sysdeps/i386/dl-machine.h: Likewise.
3137 * sysdeps/ia64/dl-machine.h: Likewise.
3138 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3139 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3140 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3141 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3142 * sysdeps/sh/dl-machine.h: Likewise.
3143 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3144 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3145 * sysdeps/unix/i386/sysdep.S: Likewise.
3146 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3147 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3149 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3150 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3151 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3152 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3153 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3154 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3156 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3157 * sysdeps/x86_64/dl-machine.h: Likewise.
3158 * tls.make.c: Likewise.
3159
3160 * configure.in: Remove --with-__thread option. Make tests for
3161 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
3162 tls_model attribute fail if no support is available. Remove
3163 USE_IN_LIBIO.
3164 * Makeconfig: Adjust for dropped configure option. All features are
3165 now mandatory.
3166 * Makerules: Likewise.
3167 * Versions.def: Likewise.
3168 * argp/argp-fmtstream.c: Likewise.
3169 * argp/argp-fmtstream.h: Likewise.
3170 * argp/argp-help.c: Likewise.
3171 * assert/assert.c: Likewise.
3172 * config.h.in: Likewise.
3173 * config.make.in: Likewise.
3174 * configure: Likewise.
3175 * configure.in: Likewise.
3176 * csu/Versions: Likewise.
3177 * csu/init.c: Likewise.
3178 * elf/tst-audit2.c: Likewise.
3179 * elf/tst-tls10.c: Likewise.
3180 * elf/tst-tls10.h: Likewise.
3181 * elf/tst-tls11.c: Likewise.
3182 * elf/tst-tls12.c: Likewise.
3183 * elf/tst-tls14.c: Likewise.
3184 * elf/tst-tlsmod11.c: Likewise.
3185 * elf/tst-tlsmod12.c: Likewise.
3186 * elf/tst-tlsmod13.c: Likewise.
3187 * elf/tst-tlsmod13a.c: Likewise.
3188 * elf/tst-tlsmod14a.c: Likewise.
3189 * elf/tst-tlsmod15b.c: Likewise.
3190 * elf/tst-tlsmod16a.c: Likewise.
3191 * elf/tst-tlsmod16b.c: Likewise.
3192 * elf/tst-tlsmod7.c: Likewise.
3193 * elf/tst-tlsmod8.c: Likewise.
3194 * elf/tst-tlsmod9.c: Likewise.
3195 * gmon/gmon.c: Likewise.
3196 * grp/fgetgrent_r.c: Likewise.
3197 * grp/putgrent.c: Likewise.
3198 * hurd/fopenport.c: Likewise.
3199 * include/libc-symbols.h: Likewise.
3200 * include/tls.h: Likewise.
3201 * intl/gettextP.h: Likewise.
3202 * intl/loadinfo.h: Likewise.
3203 * locale/global-locale.c: Likewise.
3204 * locale/localeinfo.h: Likewise.
3205 * mach/devstream.c: Likewise.
3206 * malloc/arena.c: Likewise.
3207 * malloc/set-freeres.c: Likewise.
3208 * misc/err.c: Likewise.
3209 * misc/getttyent.c: Likewise.
3210 * misc/mntent_r.c: Likewise.
3211 * posix/getopt.c: Likewise.
3212 * posix/wordexp.c: Likewise.
3213 * pwd/fgetpwent_r.c: Likewise.
3214 * resolv/Versions: Likewise.
3215 * resolv/res_hconf.c: Likewise.
3216 * shadow/fgetspent_r.c: Likewise.
3217 * shadow/putspent.c: Likewise.
3218 * stdio-common/printf_fphex.c: Likewise.
3219 * stdio-common/tmpfile.c: Likewise.
3220 * stdlib/abort.c: Likewise.
3221 * stdlib/fmtmsg.c: Likewise.
3222 * sunrpc/auth_unix.c: Likewise.
3223 * sunrpc/clnt_perr.c: Likewise.
3224 * sunrpc/clnt_tcp.c: Likewise.
3225 * sunrpc/clnt_udp.c: Likewise.
3226 * sunrpc/clnt_unix.c: Likewise.
3227 * sunrpc/openchild.c: Likewise.
3228 * sunrpc/svc_simple.c: Likewise.
3229 * sunrpc/svc_tcp.c: Likewise.
3230 * sunrpc/svc_udp.c: Likewise.
3231 * sunrpc/svc_unix.c: Likewise.
3232 * sunrpc/xdr.c: Likewise.
3233 * sunrpc/xdr_array.c: Likewise.
3234 * sunrpc/xdr_rec.c: Likewise.
3235 * sunrpc/xdr_ref.c: Likewise.
3236 * sunrpc/xdr_stdio.c: Likewise.
3237
3238 2011-09-09 Ulrich Drepper <drepper@gmail.com>
3239
3240 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3241
3242 2011-07-03 Andreas Jaeger <aj@suse.de>
3243
3244 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
3245 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
3246 regenerate with gen-libm-tests.pl.
3247
3248 2010-05-12 Petr Baudis <pasky@suse.cz>
3249
3250 [BZ #11589]
3251 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
3252 around j0() zero points by switching to j1().
3253 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3254 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3255 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3256 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3257
3258 2011-09-09 Ulrich Drepper <drepper@gmail.com>
3259
3260 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
3261 instead of 0.
3262 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3263 instead of 0. .
3264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3265 Patch in part by Pavel Roskin <proski@gnu.org>.
3266
3267 [BZ #13138]
3268 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
3269 realloc.
3270 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
3271 Free memory block if necessary.
3272
3273 [BZ #12847]
3274 * libio/genops.c (INTDEF): For string streams the _lock pointer can
3275 be NULL. Don't lock in this case.
3276
3277 2011-09-09 Roland McGrath <roland@hack.frob.com>
3278
3279 * elf/elf.h (ELFOSABI_GNU): New macro.
3280 (ELFOSABI_LINUX): Define to that.
3281
3282 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
3283
3284 * string/strncat.c (strncat): Undef the symbol in case it has been
3285 defined in bits/string.h.
3286
3287 2011-09-09 Ulrich Drepper <drepper@gmail.com>
3288
3289 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
3290
3291 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
3292 link map.
3293
3294 2011-08-17 Andreas Jaeger <aj@suse.de>
3295
3296 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
3297
3298 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3299 Ian Lance Taylor <iant@google.com>
3300
3301 * math/libm-test.inc (lround_test): New testcase.
3302 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
3303
3304 2011-09-08 Ulrich Drepper <drepper@gmail.com>
3305
3306 * Makefile: Remove support for automatic cvs check-ins.
3307 * Makerules: Likewise.
3308 * config.make.in: Likewise.
3309 * configure.in: Likewise.
3310 * intl/Makefile: Likewise.
3311 * locale/Makefile: Likewise.
3312 * po/Makefile: Likewise.
3313 * posix/Makefile: Likewise.
3314 * sysdeps/gnu/Makefile: Likewise.
3315 * sysdeps/mach/hurd/Makefile: Likewise.
3316 * sysdeps/sparc/sparc32/Makefile: Likewise.
3317
3318 [BZ #13118]
3319 * posix/Makefile (bug-regex32-ENV): Define.
3320 Patch by John Stanley <jpsinthemix@verizon.net>.
3321
3322 * misc/Makefile (headers): Add bits/select2.h.
3323 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
3324 * misc/bits/select2.h: New file.
3325 * include/bits/select2.h: New file.
3326 * debug/Makefile (routines): Add fdelt_chk.
3327 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
3328 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
3329 FD_ISSET.
3330 * debug/fdelt_chk.c: New file.
3331
3332 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
3333 * wcsmbs/test-wmemcmp.c: Likewise.
3334 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
3335 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
3336
3337 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3338
3339 * string/Makefile (strop-tests): Add memcmp.
3340 * string/test-wmemcmp.c: New file.
3341 * string/test-memcmp.c: Add wmemcmp support.
3342
3343 2011-09-08 Roland McGrath <roland@hack.frob.com>
3344
3345 [BZ #13153]
3346 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
3347 2011-07-19 change.
3348
3349 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
3350 garbage value in a __mach_port_mod_refs call in the cases of the
3351 task-self and thread-self ports.
3352
3353 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3354
3355 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
3356
3357 2011-09-08 Andreas Schwab <schwab@redhat.com>
3358
3359 * elf/dl-load.c (lose): Check for non-null L.
3360
3361 2011-09-07 Ulrich Drepper <drepper@gmail.com>
3362
3363 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
3364
3365 * elf/dl-libc.c (dlerror_run): Pass back error code from
3366 dl_catch_error.
3367
3368 [BZ #13123]
3369 * elf/dl-load.c (lose): Free l_origin if it is valid.
3370
3371 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
3372 names.
3373 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3374 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3375 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3376 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3377 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3378 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
3379
3380 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3381
3382 * sysdeps/powerpc/fpu/e_hypot.c: New file.
3383 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
3384 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
3385 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
3386 * sysdeps/powerpc/fpu/k_cosf.c: New file.
3387 * sysdeps/powerpc/fpu/k_sinf.c: New file.
3388 * sysdeps/powerpc/fpu/s_cosf.c: New file.
3389 * sysdeps/powerpc/fpu/s_sinf.c: New file.
3390 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
3391 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
3392
3393 2011-08-15 Alan Modra <amodra@gmail.com>
3394
3395 [BZ #13092]
3396 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
3397 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
3398 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
3399 ppc_mcount to static-only-routines.
3400 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
3401 __mcount_internal.
3402 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
3403 __mcount_internal with usual JUMPTARGET. Remove useless nop.
3404
3405 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
3406
3407 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
3408 for finite and infinity parameters.
3409
3410 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3411
3412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
3413 and add nop instructions for throughput optimization.
3414 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3415
3416 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
3417
3418 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
3419 aligned copy for power7 with vector-scalar instructions.
3420 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3421
3422 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
3423
3424 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
3425 AVX check.
3426
3427 2011-09-07 Andreas Schwab <schwab@redhat.com>
3428
3429 [BZ #13144]
3430 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
3431 last change.
3432
3433 2011-09-07 Ulrich Drepper <drepper@gmail.com>
3434
3435 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3436 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
3437 syscall wrapper around clock_gettime in __vdso_clock_gettime.
3438 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
3439 clock_gettime.
3440
3441 2011-09-06 Ulrich Drepper <drepper@gmail.com>
3442
3443 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
3444 Forgot to demangle the pointer.
3445
3446 * sysdeps/i386/sysdep.h: Define atom_text_section.
3447 * sysdeps/x86_64/sysdep.h: Likewise.
3448 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
3449 section with atom_text_section.
3450 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3451 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3452 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3453 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3454 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
3455
3456 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
3457 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
3458 already be defined. Change to take two parameters and don't assign
3459 result to variable. Adjust all users.
3460 Define INTERNAL_GETTIME if not already defined.
3461 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
3462 call.
3463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
3464 HAVE_CLOCK_GETTIME_VSYSCALL.
3465 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
3466
3467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
3468 gettimeofday vsyscall, just use time.
3469
3470 2011-09-06 Andreas Schwab <schwab@redhat.com>
3471
3472 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
3473 <errno.h>.
3474
3475 2011-09-06 Ulrich Drepper <drepper@gmail.com>
3476
3477 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
3478 syscall on x86-64.
3479 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
3480 syscall.
3481 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3482 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
3483 syscall if possible.
3484
3485 2011-09-05 Ulrich Drepper <drepper@gmail.com>
3486
3487 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
3488 e_ident. Don't pass to find_mapsXX.
3489 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
3490
3491 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3492
3493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3494 strchr-sse2-no-bsf strrchr-sse2-no-bsf
3495 * sysdeps/x86_64/multiarch/strchr.S: Update.
3496 Check bit_slow_BSF bit.
3497 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3498 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
3499 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
3500
3501 2011-09-05 Ulrich Drepper <drepper@gmail.com>
3502
3503 [BZ #13134]
3504 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
3505 before glibc 2.15.
3506 (tryshell): Define.
3507 (__spawni): Change last parameter to be flag. Test
3508 SPAWN_XFLAGS_USE_PATH flag to use path or not.
3509 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
3510 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
3511 * posix/spawni.c: Likewise.
3512 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
3513 * posix/spawnp.c: Likewise. Change normal version to use
3514 SPAWN_XFLAGS_USE_PATH.
3515 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
3516 SPAWN_XFLAGS_TRY_SHELL.
3517
3518 [BZ #13150]
3519 * posix/glob.h: Remove gcc 1.x support.
3520
3521 [BZ #13068]
3522 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
3523
3524 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3525
3526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3527 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
3528 strrchr-sse2-bsf
3529 * sysdeps/i386/i686/multiarch/strchr.S: New file.
3530 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
3531 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
3532 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
3533 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
3534 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
3535
3536 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3537
3538 * sysdeps/x86_64/wcscmp.S: New file.
3539
3540 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
3541 wcscmp-c wcscmp-sse2
3542 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
3543 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
3544 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
3545 * wcsmbs/wcscmp.c: Allow renaming.
3546
3547 2011-09-05 David S. Miller <davem@davemloft.net>
3548
3549 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
3550 stack slot, rather than the struct return pointer slot.
3551 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
3552 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
3553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
3554 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
3555
3556 2011-09-05 Ulrich Drepper <drepper@gmail.com>
3557
3558 * po/ja.po: Update from translation team.
3559
3560 [BZ #13144]
3561 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
3562 kernel in 64-bit binaries.
3563
3564 2011-09-01 David S. Miller <davem@davemloft.net>
3565
3566 * elf/elf.h (HWCAP_SPARC_*): Move to..
3567 * sysdeps/sparc/sysdep.h: this new file and add new values.
3568 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
3569 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
3570 _DL_HWCAP_COUNT to 24.
3571 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3572 entries.
3573 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
3574 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
3575 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
3576 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
3577 instead of magic constants.
3578 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3579
3580 2011-08-31 David S. Miller <davem@davemloft.net>
3581
3582 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
3583 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
3584 Reimplement to do errno handling inline.
3585 (SYSCALL_ERROR_HANDLER): New macro.
3586 (__SYSCALL_STRING): Do not do errno handling in asm.
3587 (__CLONE_SYSCALL_STRING): Delete.
3588 (__INTERNAL_SYSCALL_STRING): Delete.
3589 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
3590 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
3591 (PSEUDO): Reimplement to do errno handling inline.
3592 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
3593 (SYSCALL_ERROR_HANDLER): New macro.
3594 (__SYSCALL_STRING): Do not do errno handling in asm.
3595 (__CLONE_SYSCALL_STRING): Delete.
3596 (__INTERNAL_SYSCALL_STRING): Delete.
3597 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
3598 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
3599 i386.
3600 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
3601 (inline_syscall*): Add 'err' argument.
3602 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
3603 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
3604 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
3605 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
3606
3607 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
3608 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3609
3610 2011-08-30 Andreas Schwab <schwab@redhat.com>
3611
3612 * elf/rtld.c (dl_main): Relocate objects in dependency order.
3613
3614 2011-08-29 Jiri Olsa <jolsa@redhat.com>
3615
3616 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
3617 directive.
3618
3619 2011-08-24 David S. Miller <davem@davemloft.net>
3620
3621 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
3622
3623 2011-08-24 Andreas Schwab <schwab@redhat.com>
3624
3625 * elf/Makefile: Add rules to build and run unload8 test.
3626 * elf/unload8.c: New file.
3627 * elf/unload8mod1.c: New file.
3628 * elf/unload8mod1x.c: New file.
3629 * elf/unload8mod2.c: New file.
3630 * elf/unload8mod3.c: New file.
3631
3632 * elf/dl-close.c (_dl_close_worker): Reset private search list if
3633 it wasn't used.
3634
3635 2011-08-23 David S. Miller <davem@davemloft.net>
3636
3637 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
3638 subtract stack bias.
3639 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
3640 %sp not %fp in calculations.
3641 (_JMPBUF_UNWINDS_ADJ): Likewise.
3642
3643 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
3644 (aio_suspend): Call it to force an exception region around the
3645 AIO_MISC_WAIT() invocation.
3646
3647 2011-08-23 Andreas Schwab <schwab@redhat.com>
3648
3649 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
3650 backslash.
3651
3652 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
3653
3654 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
3655 protection macro.
3656 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
3657 and <dl-machine.h>.
3658 (Elf64_FuncDesc): Remove.
3659
3660 2011-08-22 David S. Miller <davem@davemloft.net>
3661
3662 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
3663 sigaltstack check, add missing cfi directives.
3664 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
3665 missing cfi directives, and sigaltstack handling.
3666
3667 2011-08-16 Andreas Schwab <schwab@redhat.com>
3668
3669 [BZ #11724]
3670 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
3671 object is seen twice.
3672 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3673
3674 * elf/Makefile (distribute): Add tst-initorder2.c.
3675 (tests): Add tst-initorder2.
3676 (modules-names): Add tst-initorder2a tst-initorder2b
3677 tst-initorder2c tst-initorder2d. Add rules to build them.
3678 ($(objpfx)tst-initorder2.out): New rule.
3679 * elf/tst-initorder2.c: New file.
3680 * elf/tst-initorder2.exp: New file.
3681
3682 2011-08-22 Andreas Schwab <schwab@redhat.com>
3683
3684 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
3685
3686 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
3687 dependencies back to end of function.
3688
3689 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
3690 $(elfobjdir)/ld.so.
3691
3692 2011-08-21 Ulrich Drepper <drepper@gmail.com>
3693
3694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
3695 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
3696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
3697 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
3698 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
3699 of __vdso_gettimeofday.
3700 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
3701 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
3702 attribute_hidden.
3703 (_libc_vdso_platform_setup): Remove initialization of
3704 __vdso_gettimeofday and __vdso_time.
3705
3706 2011-08-20 Ulrich Drepper <drepper@gmail.com>
3707
3708 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
3709 and fgetc_unlocked.
3710 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
3711 getc_unlocked.
3712
3713 * elf/dl-open.c (add_to_global): Report additions to the global scope
3714 for LD_DEBUG=scopes.
3715 (dl_open_worker): Also print scope of newly loaded dependencies.
3716 (_dl_show_scope): Indicate if there is no scope.
3717
3718 [BZ #13114]
3719 * stdio-common/Makefile (tests): Add bug24.
3720 * stdio-common/bug24.c: New file.
3721
3722 2011-08-19 Andreas Jaeger <aj@suse.de>
3723
3724 [BZ #13114]
3725 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
3726 non-existant file when using close-on-exec mode.
3727
3728 2011-08-20 Ulrich Drepper <drepper@gmail.com>
3729
3730 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
3731 the very first instruction.
3732
3733 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
3734 the CFI state in the end.
3735 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
3736 inclusion of dl-trampoline.h.
3737 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
3738
3739 2011-08-19 Andreas Schwab <schwab@redhat.com>
3740
3741 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
3742 expectations for long double.
3743
3744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
3745 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
3746
3747 2011-08-14 David S. Miller <davem@davemloft.net>
3748
3749 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
3750 artificual limit depends upon the system page size.
3751
3752 2011-08-17 Ulrich Drepper <drepper@gmail.com>
3753
3754 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
3755 * resolv/Makefile: Define CFLAGS-libresolv.
3756
3757 2011-08-17 Andreas Schwab <schwab@redhat.com>
3758
3759 * nss/makedb.c (compute_tables): Make variables used in nested
3760 function static.
3761
3762 2011-08-17 Ulrich Drepper <drepper@gmail.com>
3763
3764 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
3765 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
3766 if buffer was too small.
3767
3768 * elf/pldd.c (main): Attach to all threads in the process.
3769 Rewrite /proc handling to use *at functions.
3770
3771 2011-08-16 Ulrich Drepper <drepper@gmail.com>
3772
3773 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
3774 specifies first scope to show.
3775 (dl_open_worker): Update callers. Move printing scope of new
3776 object to before the relocation.
3777 * elf/rtld.c (dl_main): Update _dl_show_scope call.
3778 * sysdeps/generic/ldsodefs.h: Update declaration.
3779
3780 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
3781 string for the scope number.
3782
3783 2011-08-14 Ulrich Drepper <drepper@gmail.com>
3784
3785 * nscd/servicescache.c (cache_addserv): Make sure written is always
3786 initialized.
3787
3788 2011-08-14 Roland McGrath <roland@hack.frob.com>
3789
3790 * sysdeps/i386/i486/bits/atomic.h
3791 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
3792 statement expression, so as to suppress "set but not used" warning.
3793 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
3794
3795 * string/strncat.c (STRNCAT): Use prototype definition.
3796
3797 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
3798 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
3799 -Iprograms here.
3800 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
3801 (localedef-modules): Add localedef.
3802 (locale-modules): Add locale.
3803
3804 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
3805 * elf/rtld.c (dl_main): Invert order of assignment in last change,
3806 to avoid a warning.
3807
3808 2011-08-14 David S. Miller <davem@davemloft.net>
3809
3810 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
3811 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
3812
3813 2011-08-13 Ulrich Drepper <drepper@gmail.com>
3814
3815 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
3816 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
3817 * elf/rtld.c (dl_main): Set l_name of vDSO.
3818 Call _dl_show_scope when DL_DEBUG_SCOPES.
3819 (process_dl_debug): Recognize scopes flag and also set it for all.
3820 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
3821 Declare _dl_show_scope.
3822
3823 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
3824 (do_dlopen): Pass caller_dlopen to dl_open.
3825 (__libc_dlopen_mode): Initialize caller_dlopen.
3826
3827 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
3828 of libc. Make tolower call locale-independent. Optimize a bit by
3829 using isdigit instead of isalnum.
3830 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
3831
3832 2011-08-12 Ulrich Drepper <drepper@gmail.com>
3833
3834 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
3835 was a dependency or dynamically loaded.
3836
3837 2011-08-11 Ulrich Drepper <drepper@gmail.com>
3838
3839 * intl/l10nflist.c: Allow architecture-specific pop function.
3840 * sysdeps/x86_64/l10nflist.c: New file.
3841
3842 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
3843 classification.
3844
3845 2011-08-10 Andreas Schwab <schwab@redhat.com>
3846
3847 * include/dirent.h: Add libc_hidden_proto for scandirat and
3848 scandirat64. Don't declare __scandirat64.
3849 * dirent/scandirat.c: Add libc_hidden_def.
3850 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
3851 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
3852
3853 2011-08-10 David S. Miller <davem@davemloft.net>
3854
3855 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
3856 enum.
3857 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3858 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3859 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3860
3861 2011-08-09 Ulrich Drepper <drepper@gmail.com>
3862
3863 * Versions.def [libc]: Add GLIBC_2.15.
3864 * dirent/Makefile (routines): Add scandirat and scandirat64.
3865 * dirent/Versions [libc]: Export scandirat and scandirat64 for
3866 GLIBC_2.15.
3867 * dirent/dirent.h: Declare scandirat and scandirat64.
3868 * dirent/scandirat.c: New file.
3869 * dirent/scandirat64.c: New file.
3870 * sysdeps/wordsize-64/scandirat.c: New file.
3871 * sysdeps/wordsize-64/scandirat64.c: New file.
3872 * dirent/opendir.c: Define opendirat.
3873 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
3874 using scandirat.
3875 * dirent/scandir64.c: Adjust for scandir.c change.
3876 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
3877 __scandirat64, and __scandir_cancel_handler.
3878 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
3879 additional parameter and use openat instead of open (outside of ld.so).
3880 Add new __opendir as wrapper around __opendirat.
3881 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
3882 here without requiring old scandirat implementation.
3883
3884 2011-08-08 Ulrich Drepper <drepper@gmail.com>
3885
3886 * dirent/scandir.c (cancel_handler): Renamed to
3887 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
3888 defined. Adjust users.
3889 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
3890 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
3891
3892 2011-08-04 Ulrich Drepper <drepper@gmail.com>
3893
3894 * string/test-string.h (IMPL): Use __STRING to expand name and then
3895 stringify it.
3896
3897 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
3898 of cleanups.
3899
3900 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3901
3902 * string/Makefile: Update.
3903 (strop-tests): Append strncat.
3904 * string/test-wcscmp.c: New file.
3905 New comprehensive test for wcscmp.
3906 * string/test-strcmp.c: Update.
3907 (WIDE): New define.
3908
3909 2011-07-22 Andreas Schwab <schwab@redhat.com>
3910
3911 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
3912 line.
3913
3914 2011-07-26 Andreas Schwab <schwab@redhat.com>
3915
3916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
3917 encoding to ACE if AI_IDN.
3918
3919 2011-08-01 Jakub Jelinek <jakub@redhat.com>
3920
3921 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
3922 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
3923
3924 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3925
3926 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
3927 Fix overflow bug in strncat.
3928 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3929
3930 * string/test-strncat.c: Update.
3931 Add new tests for checking overflow bugs.
3932
3933 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3934
3935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3936 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
3937 * sysdeps/i386/i686/multiarch/strcat.S: New file.
3938 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
3939 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
3940 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
3941 * sysdeps/i386/i686/multiarch/strncat.S: New file.
3942 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
3943 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
3944
3945 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
3946 (USE_AS_STRCAT): Define.
3947 Add strcat and strncat support.
3948 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3949
3950 2011-07-25 Andreas Schwab <schwab@redhat.com>
3951
3952 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
3953 __n bigger than INT_MAX+1.
3954 (__strncmp_g): Likewise.
3955
3956 2011-07-23 Ulrich Drepper <drepper@gmail.com>
3957
3958 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
3959 * libio/stido.h: Likewise.
3960
3961 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
3962 (AF_NFC): Define.
3963 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
3964 (AF_NFC): Define.
3965
3966 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
3967 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3968 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3969 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3971
3972 [BZ #13021]
3973 * scripts/test-installation.pl: Don't expect libnss_test1 to be
3974 installed.
3975
3976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
3977 typo.
3978 (_dl_x86_64_save_sse): Likewise.
3979
3980 2011-07-22 Ulrich Drepper <drepper@gmail.com>
3981
3982 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
3983 OSXSAVE.
3984 (_dl_x86_64_save_sse): Likewise.
3985
3986 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
3987
3988 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
3989
3990 2011-07-21 Andreas Schwab <schwab@redhat.com>
3991
3992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
3993 change.
3994 (_dl_x86_64_save_sse): Use correct AVX check.
3995
3996 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3997
3998 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
3999 bug in strncpy/strncat.
4000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4001
4002 2011-07-21 Ulrich Drepper <drepper@gmail.com>
4003
4004 * string/tester.c (test_strcat): Add tests for different alignments
4005 of source and destination.
4006 (test_strncat): Likewise.
4007
4008 2011-07-20 Ulrich Drepper <drepper@gmail.com>
4009
4010 [BZ #12852]
4011 * posix/glob.c (glob): Check passed in values before using them in
4012 expressions to avoid some overflows.
4013 (glob_in_dir): Likewise.
4014
4015 [BZ #13007]
4016 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
4017 check for AVX enablement so that we don't crash with old kernels and
4018 new hardware.
4019 * elf/tst-audit4.c: Add same checks here.
4020 * elf/tst-audit6.c: Likewise.
4021
4022 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
4023
4024 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
4025
4026 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
4027
4028 2011-07-20 Ulrich Drepper <drepper@gmail.com>
4029
4030 * po/cs.po: Update from translation team.
4031 * po/bg.po: Likewise.
4032
4033 2011-07-12 Marek Polacek <mpolacek@redhat.com>
4034
4035 * misc/sys/cdefs.h: Add support for const attribute.
4036 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
4037 to gnu_dev_{major,minor,makedev} functions.
4038
4039 2011-07-20 Marek Polacek <mpolacek@redhat.com>
4040
4041 * intl/dcigettext.c (get_output_charset): Add missing bracket.
4042
4043 2011-07-20 Andreas Schwab <schwab@redhat.com>
4044
4045 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
4046 strlen results.
4047
4048 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4049
4050 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4051 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
4052 register in order to avoid conflicts with the soft frame pointer
4053 being held in r11 when necessary.
4054 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4055 (INTERNAL_VSYSCALL_NCS): Likewise.
4056
4057 2011-07-14 Marek Polacek <mpolacek@redhat.com>
4058
4059 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
4060 * elf/dl-fini.c (_dl_fini): Adjust caller.
4061 * elf/dl-close.c (_dl_close_worker): Likewise.
4062 * sysdeps/generic/ldsodefs.h: Adjust declaration.
4063
4064 2011-07-15 Marek Polacek <mpolacek@redhat.com>
4065
4066 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
4067 "aux_cache->nlibs < 0".
4068
4069 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
4070 in the reload-count case.
4071
4072 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4073
4074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4075 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
4076 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
4077 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
4078 * sysdeps/x86_64/multiarch/strcat.S: New file.
4079 * sysdeps/x86_64/multiarch/strncat.S: New file.
4080 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
4081 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
4082 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
4083 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
4084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
4085 (USE_AS_STRCAT): Define.
4086 Add strcat and strncat support.
4087 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4088 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4089 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
4090 * string/strncat.c: Update.
4091 (USE_AS_STRNCAT): Define.
4092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4093 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
4094 and i7.
4095 * sysdeps/x86_64/multiarch/init-arch.h
4096 (bit_Prefer_PMINUB_for_stringop): New.
4097 (index_Prefer_PMINUB_for_stringop): Likewise.
4098 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
4099 bit_Prefer_PMINUB_for_stringop.
4100
4101 2011-07-19 Ulrich Drepper <drepper@gmail.com>
4102
4103 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
4104 buffer64.
4105 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
4106 of casting of buffer.
4107 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
4108 buffer32 and buffer64.
4109 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
4110 writes instead of casting of buffer.
4111 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
4112 buffer32.
4113 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
4114 casting of buffer.
4115
4116 2011-07-19 Andreas Schwab <schwab@redhat.com>
4117
4118 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
4119
4120 2011-07-19 Ulrich Drepper <drepper@gmail.com>
4121
4122 * nscd/nscd.c (termination_handler): Don't do anything for a database
4123 if it has not yet been initialized.
4124
4125 2011-07-18 Ulrich Drepper <drepper@gmail.com>
4126
4127 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
4128
4129 2011-07-15 Marek Polacek <mpolacek@redhat.com>
4130
4131 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
4132
4133 2011-07-18 Ulrich Drepper <drepper@gmail.com>
4134
4135 * po/nl.po: Update from translation team.
4136 * po/sv.po: Likewise.
4137
4138 2011-07-16 Roland McGrath <roland@hack.frob.com>
4139
4140 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
4141 now disallowed by GCC.
4142
4143 * configure.in (use-default-link): Default to yes if a test -shared
4144 link meets our qualifications.
4145 * configure: Regenerated.
4146
4147 * config.make.in (output-format): New variable.
4148 * configure.in: Check for ld --print-output-format support.
4149 * configure: Regenerated.
4150 * Makerules ($(common-objpfx)format.lds)
4151 [$(output-format) != unknown]: Just use $(output-format),
4152 instead of the linker-script munging.
4153
4154 2011-07-14 Roland McGrath <roland@hack.frob.com>
4155
4156 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
4157 of $(common-objpfx)shlib.lds.
4158 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
4159
4160 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
4161 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
4162
4163 * configure.in (-z relro check): Adjust test code to add a large
4164 writable data section after it.
4165 * configure: Regenerated.
4166
4167 2011-07-11 Roland McGrath <roland@hack.frob.com>
4168
4169 * configure.in (-z relro check): Fix test code to make the variable
4170 truly const.
4171 * configure: Regenerated.
4172
4173 2011-07-11 Ulrich Drepper <drepper@gmail.com>
4174
4175 * nscd/nscd.h (struct traced_file): Define.
4176 (struct database_dyn): Remove inotify_descr, reset_res, and filename
4177 elements. Add traced_files.
4178 (inotify_fd): Declare.
4179 (register_traced_file): Declare.
4180 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
4181 (inotify_fd): Export.
4182 (resolv_conf_descr): Remove.
4183 (nscd_init): Move inotify descriptor creation to main.
4184 Don't register files for notification here.
4185 (register_traced_file): New function.
4186 (invalidate_cache): Don't use reset_res to determine whether to call
4187 res_init, go through the list of registered files.
4188 (main_loop_poll): The inotify descriptors are now stored in the
4189 structures for the traced files.
4190 (main_loop_epoll): Likewise
4191 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
4192 to __nss_disable_nscd.
4193 * nscd/cache.c (prune_cache): There is no single inotify descriptor
4194 for a database anymore. Check the records for all the registered
4195 files instead.
4196 * nss/Makefile (libnss_files-routines): Add files-init.
4197 (libnss_db-routines): Add db-init.
4198 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
4199 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
4200 * nss/nss_db/db-init.c: New file.
4201 * nss/nss_files/files-init.c: New file.
4202 * nss/nsswitch.c (nss_load_library): New function. Broken out of
4203 __nss_lookup_function.
4204 (__nss_lookup_function): Call nss_load_library.
4205 (nss_load_all_libraries): New function.
4206 (__nss_disable_nscd): Take parameter with callback function for files
4207 to register. Set is_nscd. Load all the DSOs for the NSS modules
4208 used for the cached services.
4209 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
4210 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
4211 options for features to all the files in nscd.
4212
4213 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
4214
4215 2011-07-10 Roland McGrath <roland@hack.frob.com>
4216
4217 * csu/elf-init.c (__libc_csu_init): Comment typo.
4218
4219 2011-07-09 Ulrich Drepper <drepper@gmail.com>
4220
4221 * po/pl.po: Update from translation team.
4222 * po/ja.po: Likewise.
4223 * po/ru.po: Likewise.
4224 * po/ko.po: Likewise.
4225 * po/fr.po: Likewise.
4226
4227 2011-07-09 Roland McGrath <roland@hack.frob.com>
4228
4229 * configure.in (.ctors/.dtors header and trailer check):
4230 Use an empirical test on a built program.
4231 * configure: Regenerated.
4232
4233 * configure.in (-z relro check): Use an empirical test on a built DSO.
4234 Detect, but do not require, on ia64.
4235 * configure: Regenerated.
4236
4237 * configure.in (READELF): Find it with AC_CHECK_TOOL.
4238 Update tests that use readelf to use $READELF instead.
4239 * configure: Regenerated.
4240
4241 2011-07-08 Ulrich Drepper <drepper@gmail.com>
4242
4243 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
4244 if the result is not used.
4245
4246 2011-07-05 Andreas Jaeger <aj@suse.de>
4247
4248 [BZ#9696]
4249 * stdlib/tst-strtod.c: Add testcase.
4250
4251 2011-07-07 Ulrich Drepper <drepper@gmail.com>
4252
4253 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
4254 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4255 The latter has a higher limit. Take additional parameter to pass to
4256 the new function.
4257 (__pathconf): Pass file to __statfs_link_max.
4258 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
4259 __statfs_link_max.
4260 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
4261 __statfs_link_max.
4262
4263 [BZ #12868]
4264 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
4265 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4266 Handle Lustre.
4267 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
4268 (__statfs_filesize_max): Likewise.
4269 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
4270
4271 2011-07-05 Andreas Jaeger <aj@suse.de>
4272
4273 * resolv/res_comp.c (dn_skipname): Remove unused variable.
4274
4275 2011-07-06 Marek Polacek <mpolacek@redhat.com>
4276
4277 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
4278 `status' variable.
4279 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
4280 Likewise.
4281
4282 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
4283
4284 * Makefile (strop-tests): Add strncat.
4285 * string/test-strncat.c: New file.
4286
4287 2011-06-30 Marek Polacek <mpolacek@redhat.com>
4288
4289 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
4290
4291 2011-06-21 Andreas Jaeger <aj@suse.de>
4292
4293 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
4294 Copy rule from iconvdata/Makefile.
4295
4296 2011-07-06 Ulrich Drepper <drepper@gmail.com>
4297
4298 [BZ #12922]
4299 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
4300 but no long options are defined, just return 'W'.
4301
4302 2011-06-22 Marek Polacek <mpolacek@redhat.com>
4303
4304 [BZ #9696]
4305 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
4306
4307 2011-07-06 Ulrich Drepper <drepper@gmail.com>
4308
4309 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
4310 netgroups to read.
4311 (innetgr): Likewise.
4312
4313 2011-07-05 Roland McGrath <roland@hack.frob.com>
4314
4315 * config.make.in (install_root): Default to $(DESTDIR).
4316
4317 2011-07-05 Ulrich Drepper <drepper@gmail.com>
4318
4319 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
4320
4321 2011-07-02 Roland McGrath <roland@hack.frob.com>
4322
4323 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
4324
4325 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
4326 containing directory rather than embedding absolute directory names.
4327
4328 * scripts/check-local-headers.sh: Rewritten using awk.
4329 Match by word, not by line. Print error messages for matches.
4330 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
4331
4332 * Makerules [shlib-lds-flags empty]:
4333 ($(common-objpfx)libc_pic.opts): New target.
4334 ($(common-objpfx)libc_pic.os.clean): New target.
4335 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
4336
4337 * config.make.in (OBJCOPY): New variable.
4338 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
4339 * configure: Regenerated.
4340
4341 * config.make.in (use-default-link): New variable.
4342 * configure.in (use_default_link): Grok --with-default-link to set it.
4343 * configure: Regenerated.
4344 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
4345 (shlib-lds, shlib-lds-flags): Define to empty.
4346
4347 * Makerules (shlib-lds): New variable.
4348 (shlib-lds-flags): New variable.
4349 (build-shlib, build-moduile, build-module-asneeded): Use it.
4350 ($(common-objpfx)libc.so): Use $(shlib-lds).
4351 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
4352 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
4353
4354 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
4355 DT_FLAGS/DT_FLAGS_1 with zero flags.
4356
4357 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
4358 linker script munging.
4359
4360 2011-07-02 Ulrich Drepper <drepper@gmail.com>
4361
4362 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
4363 as 128-bit value.
4364 * crypt/sha512.c (sha512_process_block): Perform total addition using
4365 128-bit if possible.
4366 (__sha512_finish_ctx): Likewise.
4367 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
4368 as 64-bit value.
4369 * crypt/sha256.c (SWAP64): Define.
4370 (sha256_process_block): Perform total addition using 64-bit if
4371 possible.
4372 (__sha256_finish_ctx): Likewise.
4373
4374 2011-07-01 Ulrich Drepper <drepper@gmail.com>
4375
4376 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
4377 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4378 * nscd/hstcache.c (cache_addhst): Likewise.
4379 * nscd/grpcache.c (cache_addgr): Likewise.
4380 * nscd/aicache.c (addhstaiX): Likewise
4381 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
4382
4383 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
4384
4385 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
4386 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4387 * nscd/hstcache.c (cache_addhst): Likewise.
4388 * nscd/grpcache.c (cache_addgr): Likewise.
4389 * nscd/aicache.c (addhstaiX): Likewise
4390
4391 2011-07-01 Andreas Schwab <schwab@redhat.com>
4392
4393 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
4394 domain only when needed.
4395
4396 2011-06-30 Andreas Schwab <schwab@redhat.com>
4397
4398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
4399 is always restored.
4400
4401 2011-06-29 Ulrich Drepper <drepper@gmail.com>
4402
4403 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
4404 are re-adding the entry.
4405 * nscd/servicescache.c (cache_addserv): Likewise.
4406
4407 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
4408
4409 * sysdeps/generic/dl-irel.h: fix protection against multiple
4410 inclusions.
4411 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
4412
4413 2011-06-28 Ulrich Drepper <drepper@gmail.com>
4414
4415 [BZ #12935]
4416 * malloc/memusage.sh: Fix quoting in message.
4417 * debug/xtrace.sh: Likewise.
4418
4419 * configure.in: Remove support for --experimental-malloc option, make
4420 it the default.
4421 * config.make.in: Likewise.
4422 * malloc/Makefile: Likewise.
4423
4424 2011-06-27 Andreas Schwab <schwab@redhat.com>
4425
4426 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
4427 two-byte characters.
4428
4429 2011-06-27 Roland McGrath <roland@hack.frob.com>
4430
4431 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
4432 AC_CACHE_CHECK invocation.
4433 * configure: Regenerated.
4434
4435 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
4436
4437 2011-06-27 Ulrich Drepper <drepper@gmail.com>
4438
4439 [BZ #12350]
4440 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
4441 bit from old_res_options.
4442
4443 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
4444
4445 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
4446 value type for setfct.
4447
4448 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
4449
4450 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4451 __gettimeofday instead of gettimeofday.
4452
4453 2011-06-26 Ulrich Drepper <drepper@gmail.com>
4454
4455 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
4456
4457 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
4458
4459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
4460
4461 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
4462 info.
4463
4464 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4465
4466 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4467 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4468 strcpy-sse2-unaligned strncpy-sse2-unaligned
4469 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
4470 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
4471 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
4472 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
4473 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
4474 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
4475 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
4476 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
4477 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
4478 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
4479 (STRCPY): Support SSE2 and SSSE3 versions.
4480
4481 2011-06-24 Ulrich Drepper <drepper@gmail.com>
4482
4483 [BZ #12874]
4484 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
4485 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
4486 kernels which artificially limit size of requests.
4487
4488 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4489
4490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4491 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4492 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
4493 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
4494 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
4495 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
4496 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
4497 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
4498 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
4499 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
4500 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
4501 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
4502 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
4503 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
4504 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
4505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4506 Enable unaligned load optimization for Intel Core i3, i5 and i7
4507 processors.
4508 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
4509 Define.
4510 (index_Fast_Unaligned_Load): Define.
4511 (HAS_FAST_UNALIGNED_LOAD): Define.
4512
4513 2011-06-23 Marek Polacek <mpolacek@redhat.com>
4514
4515 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
4516
4517 2011-06-22 Ulrich Drepper <drepper@gmail.com>
4518
4519 [BZ #12907]
4520 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
4521 until it is clear that the information is realy needed.
4522 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
4523
4524 2011-06-22 Andreas Schwab <schwab@redhat.com>
4525
4526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
4527
4528 2011-06-22 Ulrich Drepper <drepper@gmail.com>
4529
4530 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4531 /sys/devices/system/cpu/online if it is usable.
4532
4533 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
4534 reading the information from the /proc filesystem to once a second.
4535
4536 2011-06-21 Andreas Jaeger <aj@suse.de>
4537
4538 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
4539 NULL after inclusion of kernel headers.
4540
4541 2011-06-21 Ulrich Drepper <drepper@gmail.com>
4542
4543 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
4544 calls to internal_setent.
4545
4546 [BZ #12885]
4547 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
4548 addresses using gethostbyname4_r ignore IPv4 addresses.
4549
4550 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
4551 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
4552
4553 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
4554
4555 2011-06-20 David S. Miller <davem@davemloft.net>
4556
4557 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
4558 inclusions.
4559 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
4560
4561 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
4562 (elf_irel): Use it.
4563 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
4564 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
4565 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
4566 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
4567 * sysdeps/x86_64/dl-irel.h: Likewise.
4568
4569 * elf/dl-runtime.c: Use elf_ifunc_invoke.
4570 * elf/dl-sym.c: Likewise.
4571
4572 2011-06-15 Ulrich Drepper <drepper@gmail.com>
4573
4574 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
4575 need to dereference resplen2.
4576
4577 2011-06-14 Andreas Schwab <schwab@redhat.com>
4578
4579 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
4580
4581 2011-06-15 Ulrich Drepper <drepper@gmail.com>
4582
4583 * Makeconfig: Define vardbdir and inst_vardbdir.
4584 * nss/Makefile: Add rules to install db-Makefile.
4585
4586 * nss/nss_db/db-XXX.c: Cleanup.
4587
4588 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
4589 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
4590 GLIBC_PRIVATE.
4591 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
4592 * nss/makedb.c: Implement -g option to specify that value strings
4593 are generated and should not be added to table iterated over for
4594 get*ent calls.
4595 * nss/nss_db/db-initgroups.c: New file.
4596
4597 * nss/getent.c: Add support for initgroups lookups through getgrouplist
4598 interface.
4599
4600 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
4601 (internal_getgrouplist): Adjust to name change.
4602 Update use_initgroups_entry if this is not the first call.
4603 * nss/databases.def: Add initgroups entry.
4604
4605 * nss/makedb.c (compute_tables): Check result of multiple hash table
4606 sizes to minimize maximum chain length.
4607
4608 2011-06-14 Ulrich Drepper <drepper@gmail.com>
4609
4610 * Versions.def: Add entry for libnss_db.
4611 * shlib-versions: Likewise.
4612 * nss/Makefile: Add rules to build libnss_db.
4613 * nss/Versions: Add libnss_db information. Organize libnss_files
4614 entries better.
4615 * nss/db-Makefile: Add gshadow support. Change rules for the new
4616 makedb progra. Some minor improvements to generate smaller files.
4617 * nss/nss_db/nss_db.h: Move NSS database header data structures to
4618 here from...
4619 * nss/makedb.c: ...here.
4620 Improve database format to be smaller and require less memory at
4621 runtime.
4622 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
4623 db anymore.
4624 * nss/nss_db/db-netgrp.c: Likewise.
4625 * nss/nss_db/db-open.c: Likewise.
4626 * nss/nss_files/flies-XXX.x: Adjust comments.
4627 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
4628 * nss/nss_files/files-grp.c: Likewise.
4629 * nss/nss_files/files-hosts.c: Likewise.
4630 * nss/nss_files/files-network.c: Likewise.
4631 * nss/nss_files/files-proto.c: Likewise.
4632 * nss/nss_files/files-pwd.c: Likewise.
4633 * nss/nss_files/files-rpc.c: Likewise.
4634 * nss/nss_files/files-service.c: Likewise.
4635 * nss/nss_files/files-sgrp.c: Likewise.
4636 * nss/nss_files/files-spwd.c: Likewise.
4637 * nss/nss_db/db-alias.c: Removed.
4638 * nss/nss_db/dummy-db.h: Removed.
4639
4640 2011-06-02 Ulrich Drepper <drepper@gmail.com>
4641
4642 * nss/makedb.c: Rewritten to not use database library.
4643 * nss/Makefile: Update to build new makedb program.
4644
4645 2011-06-14 Andreas Jaeger <aj@suse.de>
4646
4647 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
4648 memset declaration.
4649
4650 2011-06-10 Andreas Schwab <schwab@redhat.com>
4651
4652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
4653 tmpbuf.
4654
4655 2011-06-10 Roland McGrath <roland@hack.frob.com>
4656
4657 * Makerules (shlib.lds): Fail if the linker script comes out empty.
4658 * elf/Makefile ($(objpfx)ld.so): Likewise.
4659
4660 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
4661 Don't list ld.so twice in dependencies.
4662
4663 * posix/bug-regex31.c: Include <stdlib.h>.
4664
4665 * nscd/hstcache.c (cache_addhst): Remove unused variable.
4666
4667 * nis/nss_compat/compat-spwd.c
4668 (getspent_next_nss_netgr): Remove unused variable.
4669 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4670
4671 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
4672 nonmembers" output to use the right array.
4673
4674 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
4675
4676 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
4677
4678 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
4679 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
4680 * catgets/gencat.c (read_input_file): Likewise.
4681 * locale/programs/locarchive.c (enlarge_archive): Likewise.
4682
4683 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
4684 variable definition inside #if's controlling its use.
4685
4686 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
4687
4688 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
4689
4690 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
4691
4692 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
4693 unreachable code.
4694
4695 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
4696
4697 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
4698 * configure: Regenerated.
4699
4700 * Makerules: Revert last change.
4701 * elf/Makefile: Likewise.
4702
4703 2011-06-09 Roland McGrath <roland@hack.frob.com>
4704
4705 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
4706 * elf/Makefile ($(objpfx)librtld.os): Likewise.
4707 (reloc-link): Likewise.
4708
4709 2011-06-09 Ulrich Drepper <drepper@gmail.com>
4710
4711 * elf/Makefile: Add rules to build pldd.
4712 * elf/pldd.c: New file.
4713 * elf/pldd-xx.c: New file.
4714
4715 2011-06-07 Ulrich Drepper <drepper@gmail.com>
4716
4717 * version.h: Update for 2.15 development version.
4718
4719 2011-06-07 David S. Miller <davem@davemloft.net>
4720
4721 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
4722 ifuncs.
4723 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4724 elf_machine_lazy_rel): Likewise.
4725 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4726 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4727 elf_machine_lazy_rel): Likewise.
4728 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
4729 dl_hwcap via passed in argument.
4730 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
4731 Likewise.
4732
4733 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4734
4735 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
4736
4737 2011-06-06 Roland McGrath <roland@hack.frob.com>
4738
4739 [BZ #12849]
4740 * manual/fdl-1.1.texi: New file, verbatim from:
4741 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
4742 * manual/lgpl-2.1.texi: New file, verbatim from:
4743 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
4744 * manual/Makefile (licenses): New variable, list those new file names.
4745 (texis): Use it.
4746 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
4747
4748 * manual/fdl.texi: File removed.
4749 * manual/lesser.texi: File removed.
4750 * manual/libc.texinfo (Copying, Documentation License):
4751 Use new @include file names, put @appendix directive before @include.
4752
4753 2011-06-04 Jakub Jelinek <jakub@redhat.com>
4754
4755 [BZ #12841]
4756 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
4757 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
4758 (mq_open): Add __NTH.
4759
4760 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
4761
4762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4763 Assume Intel Core i3/i5/i7 processor if AVX is available.
4764
4765 2011-05-31 Ulrich Drepper <drepper@gmail.com>
4766
4767 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4768 typo.
4769
4770 2011-05-31 Andreas Schwab <schwab@redhat.com>
4771
4772 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
4773 memory. Use alloca_account. Fix memory leak when retrying.
4774
4775 2011-05-31 Ulrich Drepper <drepper@gmail.com>
4776
4777 * version.h (RELEASE): Bump for 2.14 release.
4778 * include/features.h (__GLIBC_MINOR__): Bump to 14.
4779
4780 * config.make.in (RANLIB): Remove entry.
4781
4782 2011-05-30 Ulrich Drepper <drepper@gmail.com>
4783
4784 * po/Makefile (po-sed-cmd): Add ksh to extensions.
4785 (libc.pot): Work around missing support for .ksh extension in xgettext.
4786
4787 [BZ #12684]
4788 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
4789 if both request failed.
4790 (send_dg): In case of server errors clear resplen or *resplen2.
4791
4792 [BZ #12454]
4793 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
4794 when there are multiple maps.
4795 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
4796 (_dl_fini): Remove test here.
4797
4798 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
4799
4800 2011-05-29 Ulrich Drepper <drepper@gmail.com>
4801
4802 [BZ #12350]
4803 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
4804 bit from old_res_options.
4805 (gaih_inet): Likewise.
4806
4807 [BZ #11099]
4808 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
4809 as signed.
4810
4811 * resolv/res_init.c (res_setoptions): Make the code more compact.
4812
4813 [BZ #11558]
4814 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
4815 set RES_USEVC.
4816
4817 [BZ #11634]
4818 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
4819
4820 * malloc/malloc.h: Mark malloc hook variables as deprecated.
4821
4822 [BZ #11781]
4823 * malloc/malloc.h: Declare malloc hook variables as volatile.
4824
4825 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
4826 in last patch.
4827
4828 [BZ #11799]
4829 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4830 raise in the comment.
4831 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4832 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4833 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
4834
4835 2011-05-28 Ulrich Drepper <drepper@gmail.com>
4836
4837 [BZ #12811]
4838 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
4839 grow the buffers more if it already has to be sufficient.
4840 (build_wcs_upper_buffer): Likewise.
4841 * posix/regexec.c (check_matching): Likewise.
4842 (clean_state_log_if_needed): Likewise.
4843 (extend_buffers): Don't enlarge buffers beyond size of the input
4844 buffer.
4845 Patches mostly by Emil Wojak <emil@wojak.eu>.
4846 * posix/bug-regex32.c: New file.
4847 * posix/Makefile (tests): Add bug-regex32.
4848
4849 * locale/findlocale.c (_nl_find_locale): Return right away if
4850 _nl_explode_name failed.
4851 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4852
4853 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
4854
4855 * debug/xtrace.sh: Unify messages.
4856 * malloc/memusage.sh: Likewise.
4857
4858 [BZ #12813]
4859 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
4860 time symbol from vDSO. Substitute with vsyscall if not available.
4861 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
4862 __vdso_time.
4863
4864 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
4865 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
4866 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
4867 Add sendmmsg and internal_sendmmsg.
4868 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
4869 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
4870 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
4871
4872 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
4873 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
4874 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
4875
4876 2011-05-27 Ulrich Drepper <drepper@gmail.com>
4877
4878 [BZ #12813]
4879 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
4880 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
4881 available.
4882 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
4883 __vdso_getcpu.
4884
4885 [BZ #12814]
4886 * iconvdata/Makefile (tests): Add bug-iconv9.
4887 * iconvdata/bug-iconv9.c: New file.
4888
4889 2011-05-27 Andreas Schwab <schwab@redhat.com>
4890
4891 [BZ #12814]
4892 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
4893
4894 2011-05-25 Jakub Jelinek <jakub@redhat.com>
4895
4896 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
4897 (struct user_regs_struct): Change intcs field back to cs.
4898
4899 2011-05-25 Ulrich Drepper <drepper@gmail.com>
4900
4901 * po/ja.po: Update from translation team.
4902
4903 2011-05-23 Ulrich Drepper <drepper@gmail.com>
4904
4905 [BZ #12795]
4906 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
4907 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
4908
4909 2011-05-20 Andreas Schwab <schwab@redhat.com>
4910
4911 * stdlib/longlong.h: Update from GCC.
4912
4913 2011-05-23 Andreas Schwab <schwab@redhat.com>
4914
4915 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
4916 parameter name.
4917 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
4918 Add parameter name.
4919 (__sysconf): Pass it down.
4920
4921 2011-05-22 Ulrich Drepper <drepper@gmail.com>
4922
4923 [BZ #12671]
4924 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
4925 some situations.
4926 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4927 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
4928 add in in __libc_use_alloca calls. Adjust callers.
4929 (glob): Use malloc in some situations.
4930
4931 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
4932 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
4933 pltexit.
4934
4935 2011-05-21 Ulrich Drepper <drepper@gmail.com>
4936
4937 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
4938 and CLOCK_BOOTTIME_ALARM.
4939
4940 [BZ #12782]
4941 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
4942 is returned.
4943
4944 * string/_strerror.c (__strerror_r): Print negative errors as signed
4945 numbers.
4946
4947 [BZ #12777]
4948 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
4949 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
4950 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
4951
4952 * configure.in: Fix typo in redirection and correct removal of test
4953 files in two cases.
4954
4955 [BZ #12788]
4956 * locale/setlocale.c (new_composite_name): Fix test to check for
4957 identical name of all categories.
4958
4959 [BZ #12792]
4960 * libio/filedoalloc.c (local_isatty): New function.
4961 (_IO_file_doallocate): Use local_isatty.
4962 * stdio-common/perror.c (perror): In case a new stream is used
4963 forward the stream error.
4964 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
4965 error flag.
4966
4967 2011-05-20 Ulrich Drepper <drepper@gmail.com>
4968
4969 [BZ #11869]
4970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
4971 alloca.
4972 * include/alloca.h (extend_alloca_account): Define.
4973
4974 [BZ #11857]
4975 * posix/regex.h: Fix comments with documentation of user-accessible
4976 fields after compilation and describe correct free'ing of pattern
4977 after re_compile_pattern.
4978 Patch by Reuben Thomas <rrt@sc3d.org>.
4979
4980 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
4981
4982 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
4983 and -mno-altivec to prevent the compiler from using Altivec and/or
4984 VSX instructions when the corresponding registers are not available.
4985
4986 2011-05-19 Andreas Schwab <schwab@redhat.com>
4987
4988 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
4989
4990 2011-05-19 Ulrich Drepper <drepper@gmail.com>
4991
4992 * libio/freopen.c (freopen): Use __dup2, not dup2.
4993 * libio/freopen64.c (freopen64): Likewise.
4994
4995 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
4996
4997 [BZ #12775]
4998 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
4999 * math/Makefile (tests): Add test-powl.
5000 (CFLAGS-test-powl.c): Define.
5001 * math/test-powl.c: New file.
5002
5003 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
5004
5005 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
5006
5007 2011-05-17 Ulrich Drepper <drepper@gmail.com>
5008
5009 [BZ #11837]
5010 * iconvdata/gb18030.c: Update to GB18020-2005.
5011
5012 2011-05-16 Ulrich Drepper <drepper@gmail.com>
5013
5014 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
5015 RE_SYNTAX_POSIX_AWK): Update to match recent development.
5016 Patch by Aharon Robbins <arnold@skeeve.com>.
5017
5018 [BZ #11892]
5019 * stdlib/putenv.c (putenv): Don't always create copy of the variable
5020 on the stack.
5021
5022 [BZ #11895]
5023 * misc/pselect.c (__pselect): Handle timeout value errors hidden
5024 through underflows.
5025
5026 [BZ #12766]
5027 * misc/error.c (error_at_line): Ensure file_name and old_file_name
5028 point to strings before performing equality test for error_one_per_line
5029 mode.
5030
5031 [BZ #11697]
5032 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
5033
5034 [BZ #11820]
5035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
5036 (struct user_fpregs_struct): Avoid __uint*_t types.
5037
5038 [BZ #6420]
5039 * malloc/mtrace.c (tr_where): Add additional parameter to point to
5040 symbol info. Use it instead of calling _dl_addr locally.
5041 (lock_and_info): New function.
5042 (tr_freehook): Call lock_and_info and pass symbol info as additional
5043 parameter to tr_where.
5044 (tr_mallochook): Likewise.
5045 (tr_reallochook): Likewise.
5046 (tr_memalignhook): Likewise.
5047
5048 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
5049 used and couldn't be at all thread-safe.
5050
5051 2011-05-15 Ulrich Drepper <drepper@gmail.com>
5052
5053 * libio/freopen.c (freopen): Don't close old file descriptor
5054 before the new one is opened. Instead dup the new file descriptor
5055 to the old one after the new stream is created.
5056 * libio/freopen64.c (freopen64): Likewise.
5057 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
5058 * libio/fileops.c (_IO_new_file_close_it): Handle new
5059 _IO_FLAGS2_NOCLOSE flag.
5060 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
5061 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
5062 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
5063 _IO_FLAGS2_NOCLOSE flag.
5064 * include/unistd.h: Add hidden_proto for dup3.
5065 Define __have_dup3.
5066 * io/dup3.c: Define hidden symbol.
5067 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
5068
5069 [BZ #7101]
5070 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
5071 when an incomplete long option is used.
5072 * posix/tst-getopt_long1.c: New file.
5073 * posix/Makefile (tests): Add tst-getopt_long1.
5074
5075 [BZ #10138]
5076 * scripts/config.guess: Update from autoconf-2.68.
5077 * scripts/config.sub: Likewise.
5078
5079 [BZ #10157]
5080 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
5081 tests into ...
5082 (has_cpuclock): ...this. New function.
5083 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
5084 macro here based on has_cpuclock code.
5085
5086 [BZ #10149]
5087 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5088 First byte (not low byte) is now always NUL.
5089 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
5090
5091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5092 Use non-cancelable interfaces.
5093
5094 [BZ #9809]
5095 * locale/iso-639.def: Add entry for Sorani.
5096
5097 [BZ #11901]
5098 * include/stdlib.h: Move include protection to the right place.
5099 Define abort_msg_s. Declare __abort_msg with it.
5100 * stdlib/abort.c (__abort_msg): Adjust type.
5101 * assert/assert.c (__assert_fail_base): New function. Majority
5102 of code from __assert_fail. Allocate memory for __abort_msg with
5103 mmap.
5104 (__assert_fail): Now call __assert_fail_base.
5105 * assert/assert-perr.c: Remove bulk of implementation. Use
5106 __assert_fail_base.
5107 * include/assert.hL Declare __assert_fail_base.
5108 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
5109 mmap.
5110 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
5111
5112 2011-05-14 Ulrich Drepper <drepper@gmail.com>
5113
5114 [BZ #11952]
5115 [BZ #12453]
5116 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
5117 until all modules are registered in the DTV.
5118 * elf/Makefile: Add rules to build and run tst-tls19.
5119 * elf/tst-tls19.c: New file.
5120 * elf/tst-tls19mod1.c: New file.
5121 * elf/tst-tls19mod2.c: New file.
5122 * elf/tst-tls19mod3.c: New file.
5123 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
5124
5125 [BZ #12083]
5126 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
5127 correctly.
5128
5129 [BZ #12601]
5130 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
5131 two-byte sequence errors.
5132 * iconvdata/Makefile (tests): Add bug-iconv8.
5133 * iconvdata/bug-iconv8.c: New file.
5134
5135 [BZ #12626]
5136 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
5137 buf2 definition.
5138
5139 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
5140
5141 [BZ #12432]
5142 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
5143 (dummy_getcfa): New function.
5144 (init): Get _Unwind_GetCFA address, use dummy if not found.
5145 (backtrace_helper): In recursion check, also check whether CFA changes.
5146 (__backtrace): Completely initialize arg.
5147
5148 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
5149 storing incomplete byte sequence in state object. Avoid testing for
5150 guaranteed too small input if we know there is enough data available.
5151
5152 2011-05-11 Andreas Schwab <schwab@redhat.com>
5153
5154 * Makeconfig (+link-pie): Indent.
5155 * Rules (binaries-pie): Define if $(have-fpie) and
5156 $(build-shared).
5157 (binaries-shared): Also filter out $(binaries-pie).
5158 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
5159 * nscd/Makefile (others-pie): Add nscd.
5160 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
5161 ($(objpfx)nscd): Remove command override.
5162 * login/Makefile (others-pie): Add pt_chown.
5163 ($(objpfx)pt_chown): Remove command override.
5164 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
5165 remove command overrides.
5166
5167 2011-05-13 Ulrich Drepper <drepper@gmail.com>
5168
5169 * libio/tst_putwc.c: Fix error messages.
5170
5171 [BZ #12724]
5172 * libio/fileops.c (_IO_new_file_close_it): Always flush when
5173 currently writing and seek to current position when not.
5174 * libio/Makefile (tests): Add bug-fclose1.
5175 * libio/bug-fclose1.c: New file.
5176
5177 2011-05-12 Ulrich Drepper <drepper@gmail.com>
5178
5179 [BZ #12511]
5180 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
5181 don't set DF_1_NODELETE here.
5182 (do_lookup_x): When entering new entry test for copy relocation
5183 and if necessary set DF_1_NODELETE flag.
5184 * elf/tst-unique4.cc: New file.
5185 * elf/tst-unique4.h: New file.
5186 * elf/tst-unique4lib.cc: New file.
5187 * elf/Makefile: Add rules to build and run tst-unique4.
5188 Patch by Piotr Bury <pbury@goahead.com>.
5189
5190 2011-05-11 Ulrich Drepper <drepper@gmail.com>
5191
5192 [BZ #12052]
5193 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
5194
5195 [BZ #12625]
5196 * misc/mntent_r.c (addmntent): Flush the stream after the output
5197
5198 [BZ #12393]
5199 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
5200 (is_trusted_path_normalize): Skip initial colon. Append slash
5201 to empty buffer. Duplicate is_trusted_path code but allow
5202 constructed patch to be prefix.
5203 (is_dst): Allow $ORIGIN followed by /.
5204 (_dl_dst_substitute): Correct clearing of check_for_trusted.
5205 Correct testing of result of is_trusted_path_normalize
5206 (decompose_rpath): Fix warning.
5207
5208 2011-05-10 Ulrich Drepper <drepper@gmail.com>
5209
5210 [BZ #11257]
5211 * grp/initgroups.c (internal_getgrouplist): When we found the service
5212 list through the initgroups entry in nsswitch.conf do not always
5213 continue on a successful lookup. Don't always use the
5214 __nss_group_database value if it is set.
5215 * nss/nsswitch.conf (initgroups): Change action for successful db
5216 lookup to continue for compatibility.
5217
5218 2011-05-09 Ulrich Drepper <drepper@gmail.com>
5219
5220 [BZ #11532]
5221 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
5222 and CP774 modules.
5223 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
5224 and CP774 modules.
5225 * iconvdata/tst-tables.sh: Likewise.
5226 * iconvdata/cp770.c: New file.
5227 * iconvdata/cp771.c: New file.
5228 * iconvdata/cp772.c: New file.
5229 * iconvdata/cp773.c: New file.
5230 * iconvdata/cp774.c: New file.
5231 * iconvdata/testdata/CP770: New file.
5232 * iconvdata/testdata/CP770..UTF8: New file.
5233 * iconvdata/testdata/CP771: New file.
5234 * iconvdata/testdata/CP771..UTF8: New file.
5235 * iconvdata/testdata/CP772: New file.
5236 * iconvdata/testdata/CP772..UTF8: New file.
5237 * iconvdata/testdata/CP773: New file.
5238 * iconvdata/testdata/CP773..UTF8: New file.
5239 * iconvdata/testdata/CP774: New file.
5240 * iconvdata/testdata/CP774..UTF8: New file.
5241
5242 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
5243 END CHARMAP line.
5244 * iconvdata/gen-8bit-gap.sh: Likewise.
5245 * iconvdata/gen-8bit.sh: Likewise.
5246
5247 * locale/iso-639.def: Add ary entry.
5248
5249 [BZ #11258]
5250 * locale/C-translit.h.in: Add U20A1 transliteration.
5251
5252 [BZ #12178]
5253 * locale/iso-639.def: Add wae entry.
5254 Patch by Kevin Bortis <bortis@translate-wae.ch>.
5255
5256 [BZ #12545]
5257 * locale/programs/localedef.c (construct_output_path): Use ssize_t
5258 for n.
5259
5260 [BZ #12711]
5261 * locale/C-translit.h.in: Add entry for U20B9.
5262 Patch by pravin.d.s@gmail.com.
5263
5264 2011-05-08 Ulrich Drepper <drepper@gmail.com>
5265
5266 [BZ #12713]
5267 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
5268 ENAMETOOLONG use generic getcwd.
5269 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
5270 in rtld. Use *stat64.
5271 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
5272 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
5273 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
5274 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
5275 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
5276 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
5277 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
5278 __fstatat64 macros.
5279 * include/dirent.h: Add libc_hidden_proto for rewinddir.
5280 * dirent/rewinddir.c: Add libc_hidden_def.
5281 * sysdeps/mach/hurd/rewinddir.c: Likewise.
5282 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
5283
5284 * include/dirent.h (__alloc_dir): Add flags parameter.
5285 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
5286 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
5287 __alloc_dir.
5288 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
5289 from fdopendir if O_CLOEXEC is already set.
5290
5291 2011-03-15 Alan Modra <amodra@gmail.com>
5292
5293 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
5294 l_tls_firstbyte_offset non-zero. Save padding offset in
5295 l_tls_firstbyte_offset for later use.
5296 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
5297 freeing static tls block.
5298
5299 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
5300
5301 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
5302 where #ifdef was intended. The intent is to prevent ARG_MAX from
5303 being defined by the kernel headers.
5304
5305 2011-05-07 Ulrich Drepper <drepper@gmail.com>
5306
5307 [BZ #12734]
5308 * resolv/resolv.h: Define RES_NOTLDQUERY.
5309 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
5310 no-tld-query and set RES_NOTLDQUERY.
5311 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
5312 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
5313 modern BIND to search name as TLD unless forbidden.
5314
5315 2011-05-07 Petr Baudis <pasky@suse.cz>
5316 Ulrich Drepper <drepper@gmail.com>
5317
5318 [BZ #12393]
5319 * elf/dl-load.c (fillin_rpath): Move trusted path check...
5320 (is_trusted_path): ...to here.
5321 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
5322 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
5323 using is_trusted_path_normalize() in setuid scripts.
5324
5325 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5326
5327 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
5328 __BEGIN/__END_DECLS.
5329
5330 2011-05-06 Ulrich Drepper <drepper@gmail.com>
5331
5332 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
5333 NSS_STATUS_NOTFOUND if no record was found.
5334
5335 2011-05-05 Andreas Schwab <schwab@redhat.com>
5336
5337 * sunrpc/Makefile (headers): Add rpc/netdb.h.
5338 (headers-not-in-tirpc): Remove rpc/netdb.h
5339 * resolv/netdb.h: Revert last change.
5340
5341 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5342
5343 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
5344 circular dependency between libgcc.a and libc.a.
5345
5346 2011-05-05 Andreas Schwab <schwab@redhat.com>
5347
5348 * resolv/netdb.h: Don't include <rpc/netdb.h>.
5349 * nis/Makefile: Don't install rpcsvc/*.
5350 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
5351 instead of <rpc/types.h>.
5352 (MAXHOSTNAMELEN): Define.
5353
5354 2011-05-03 Andreas Schwab <schwab@redhat.com>
5355
5356 * elf/ldconfig.c (add_dir): Don't crash on empty path.
5357
5358 2011-04-28 Maciej Babinski <mbabinski@google.com>
5359
5360 [BZ #12714]
5361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
5362 gethostbyname4_r when IPv6 results are possible.
5363
5364 2011-05-02 Ulrich Drepper <drepper@gmail.com>
5365
5366 [BZ #12723]
5367 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
5368 _PC_PIPE_BUF handling.
5369
5370 2011-04-30 Bruno Haible <bruno@clisp.org>
5371
5372 [BZ #12717]
5373 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
5374 * resolv/netdb.h (getnameinfo): Change type of flags parameter
5375 to 'int'.
5376 * inet/getnameinfo.c (getnameinfo): Likewise.
5377
5378 2011-04-29 Ulrich Drepper <drepper@gmail.com>
5379
5380 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
5381 to groups setting in database lookup.
5382 * nss/nsswitch.conf: Add initgroups entry.
5383
5384 2011-04-22 Ulrich Drepper <drepper@gmail.com>
5385
5386 [BZ #12685]
5387 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
5388 mode string.
5389 Patch by Eric Blake <eblake@redhat.com>.
5390
5391 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
5392
5393 * sunrpc/Makefile (need-export-routines): Add svc_run.
5394 (routines): Remove svc_run.
5395 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
5396 * sunrpc/clnt_perr.c (clnt_perrno): Export.
5397 * sunrpc/svc_run.c (svc_run): Likewise.
5398 * sunrpc/svc_udp.c (svcudp_create): Likewise.
5399
5400 2011-04-21 Ulrich Drepper <drepper@gmail.com>
5401
5402 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
5403 problem in reallocation in last patch.
5404
5405 2011-04-20 Ulrich Drepper <drepper@gmail.com>
5406
5407 * sunrpc/Makefile: Move inclusion of Rules.
5408
5409 2011-04-19 Ulrich Drepper <drepper@gmail.com>
5410
5411 * nss/nss_files/files-initgroups.c: New file.
5412 * nss/Makefile (libnss_files-routines): Add files-initgroups.
5413 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
5414 _nss_files_initgroups_dyn.
5415
5416 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
5417
5418 * elf/elf.h (R_ARM_IRELATIVE): Define.
5419
5420 2011-04-19 Ulrich Drepper <drepper@gmail.com>
5421
5422 * po/ru.po: Update from translation team.
5423
5424 2011-04-17 Ulrich Drepper <drepper@gmail.com>
5425
5426 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
5427 dependencies.
5428
5429 2011-02-06 Mike Frysinger <vapier@gentoo.org>
5430
5431 [BZ #12653]
5432 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
5433 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
5434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5435 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5436 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5437
5438 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
5439
5440 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
5441 differing bytes.
5442 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5443 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5444 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5445
5446 2011-04-17 Ulrich Drepper <drepper@gmail.com>
5447
5448 [BZ #12420]
5449 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
5450 storing it.
5451 * stdlib/bug-getcontext.c: New file.
5452 * stdlib/Makefile: Add rules to build and run bug-getcontext.
5453
5454 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5455
5456 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
5457 instructions into .machine "z9-109".
5458 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5459 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5460
5461 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5462
5463 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
5464 between environment variables and auxiliary vector.
5465
5466 2011-04-16 Ulrich Drepper <drepper@gmail.com>
5467
5468 * Makefile: Add rules to build linkobj/libc.so.
5469 * include/libc-symbols.h: Define libc_hidden_nolink.
5470 * include/rpc/auth.h: Mark functions which are to be hidden.
5471 * include/rpc/auth_des.h: Likewise.
5472 * include/rpc/auth_unix.h: Likewise.
5473 * include/rpc/clnt.h: Likewise.
5474 * include/rpc/des_crypt.h: Likewise.
5475 * include/rpc/key_prot.h: Likewise.
5476 * include/rpc/pmap_clnt.h: Likewise.
5477 * include/rpc/pmap_prot.h: Likewise.
5478 * include/rpc/pmap_rmt.h: Likewise.
5479 * include/rpc/rpc_msg.h: Likewise.
5480 * include/rpc/svc.h: Likewise.
5481 * include/rpc/svc_auth.h: Likewise.
5482 * include/rpc/xdr.h: Likewise.
5483 * nis/Makefile: Link all DSOs against linkobj/libc.so.
5484 * nss/Makefile: Likewise.
5485 * sunrpc/Makefile: Don't install headers. Build library with normal
5486 entry points. Don't build rpcinfo. Link RPC tests appropriately.
5487 * sunrpc/auth_des.c: Hide exported symbols by default, export some
5488 for the compat linking library. Remove use of INTDEF/INTUSE.
5489 * sunrpc/auth_none.c: Likewise.
5490 * sunrpc/auth_unix.c: Likewise.
5491 * sunrpc/authdes_prot.c: Likewise.
5492 * sunrpc/authuxprot.c: Likewise.
5493 * sunrpc/clnt_gen.c: Likewise.
5494 * sunrpc/clnt_perr.c: Likewise.
5495 * sunrpc/clnt_raw.c: Likewise.
5496 * sunrpc/clnt_simp.c: Likewise.
5497 * sunrpc/clnt_tcp.c: Likewise.
5498 * sunrpc/clnt_udp.c: Likewise.
5499 * sunrpc/clnt_unix.c: Likewise.
5500 * sunrpc/des_crypt.c: Likewise.
5501 * sunrpc/des_soft.c: Likewise.
5502 * sunrpc/get_myaddr.c: Likewise.
5503 * sunrpc/key_call.c: Likewise.
5504 * sunrpc/key_prot.c: Likewise.
5505 * sunrpc/netname.c: Likewise.
5506 * sunrpc/pm_getmaps.c: Likewise.
5507 * sunrpc/pm_getport.c: Likewise.
5508 * sunrpc/pmap_clnt.c: Likewise.
5509 * sunrpc/pmap_prot.c: Likewise.
5510 * sunrpc/pmap_prot2.c: Likewise.
5511 * sunrpc/pmap_rmt.c: Likewise.
5512 * sunrpc/publickey.c: Likewise.
5513 * sunrpc/rpc_cmsg.c: Likewise.
5514 * sunrpc/rpc_common.c: Likewise.
5515 * sunrpc/rpc_dtable.c: Likewise.
5516 * sunrpc/rpc_prot.c: Likewise.
5517 * sunrpc/rpc_thread.c: Likewise.
5518 * sunrpc/rtime.c: Likewise.
5519 * sunrpc/svc.c: Likewise.
5520 * sunrpc/svc_auth.c: Likewise.
5521 * sunrpc/svc_authux.c: Likewise.
5522 * sunrpc/svc_raw.c: Likewise.
5523 * sunrpc/svc_run.c: Likewise.
5524 * sunrpc/svc_simple.c: Likewise.
5525 * sunrpc/svc_tcp.c: Likewise.
5526 * sunrpc/svc_udp.c: Likewise.
5527 * sunrpc/svc_unix.c: Likewise.
5528 * sunrpc/svcauth_des.c: Likewise.
5529 * sunrpc/xcrypt.c: Likewise.
5530 * sunrpc/xdr.c: Likewise.
5531 * sunrpc/xdr_array.c: Likewise.
5532 * sunrpc/xdr_float.c: Likewise.
5533 * sunrpc/xdr_intXX_t.c: Likewise.
5534 * sunrpc/xdr_mem.c: Likewise.
5535 * sunrpc/xdr_rec.c: Likewise.
5536 * sunrpc/xdr_ref.c: Likewise.
5537 * sunrpc/xdr_sizeof.c: Likewise.
5538 * sunrpc/xdr_stdio.c: Likewise.
5539
5540 2011-04-10 Ulrich Drepper <drepper@gmail.com>
5541
5542 [BZ #12650]
5543 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
5544 * sysdeps/ia64/dl-tls.h: Likewise.
5545 * sysdeps/powerpc/dl-tls.h: Likewise.
5546 * sysdeps/s390/dl-tls.h: Likewise.
5547 * sysdeps/sh/dl-tls.h: Likewise.
5548 * sysdeps/sparc/dl-tls.h: Likewise.
5549 * sysdeps/x86_64/dl-tls.h: Likewise.
5550 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
5551
5552 2011-03-14 Andreas Schwab <schwab@redhat.com>
5553
5554 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
5555 rpath element also skip the following colon.
5556 (expand_dynamic_string_token): Add is_path parameter and pass
5557 down to DL_DST_REQUIRED and _dl_dst_substitute.
5558 (decompose_rpath): Call expand_dynamic_string_token with
5559 non-zero is_path. Ignore empty rpaths.
5560 (_dl_map_object_from_fd): Call expand_dynamic_string_token
5561 with zero is_path.
5562
5563 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
5564
5565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5566 Make cancelable.
5567
5568 2011-04-09 Ulrich Drepper <drepper@gmail.com>
5569
5570 [BZ #12655]
5571 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
5572 Patch by Filipe David Manana <fdmanana@apache.org>.
5573
5574 2011-04-07 Andreas Schwab <schwab@redhat.com>
5575
5576 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
5577 Maintain aligned stack.
5578 (CHECK_RSP): Remove unused macro.
5579
5580 2011-04-03 Ulrich Drepper <drepper@gmail.com>
5581
5582 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
5583 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
5584
5585 2011-04-02 Ulrich Drepper <drepper@gmail.com>
5586
5587 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
5588
5589 * include/features.h: Mention __USE_XOPEN2K8 in comment.
5590
5591 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
5592
5593 [BZ #12518]
5594 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
5595 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
5596 * sysdeps/x86_64/memmove.c: New file.
5597 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
5598 (memcpy): Renamed to ...
5599 (__new_memcpy): This.
5600 (memcpy): Provide GLIBC_2_14 memcpy.
5601 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
5602 (memcpy): Provide GLIBC_2_2_5 memcpy.
5603
5604 2011-04-01 Ulrich Drepper <drepper@gmail.com>
5605
5606 [BZ #12631]
5607 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
5608
5609 2011-03-30 Andreas Schwab <schwab@redhat.com>
5610
5611 * misc/syncfs.c: New file.
5612 * misc/Makefile (routines): Add syncfs.
5613 * posix/unistd.h: Declare syncfs.
5614 * sysdeps/unix/syscalls.list: Add syncfs.
5615
5616 2011-04-01 Andreas Schwab <schwab@redhat.com>
5617
5618 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
5619 open_by_handle_at.
5620 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5621 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5623 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5625 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5626 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5627
5628 2011-04-01 Ulrich Drepper <drepper@gmail.com>
5629
5630 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
5631 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5632 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
5633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5637
5638 * io/Makefile: Compile fallocate.c, fallocate64.c, and
5639 sync_file_range.c with -fexceptions.
5640 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
5641 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
5642 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5643 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5644 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5645 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5646 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
5647 sync_file_range as cancellation point
5648 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
5649 now a wrapper around __call_sync_file_range with cancellation handling.
5650 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
5651 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
5652 function name to __call_sync_file_range.
5653 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
5654 Add call_sync_file_range.
5655
5656 2011-04-01 Andreas Schwab <schwab@redhat.com>
5657
5658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5659 bits/timex.h.
5660
5661 2011-04-01 Ulrich Drepper <drepper@gmail.com>
5662
5663 * iconv/iconv.h: Fix typo in comment.
5664 * io/fcntl.h: Likewise.
5665 * libio/stdio.h: Likewise.
5666 * posix/spawn.h: Likewise.
5667 * posix/unistd.h: Likewise.
5668 * stdlib/stdlib.h: Likewise.
5669 * time/time.h: Likewise.
5670 * wcsmbs/wchar.h: Likewise.
5671
5672 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
5673 open_by_handle): Add.
5674 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
5675 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
5676 Augment a few comments.
5677 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5679 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5681 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5682 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
5683 open_by_handle.
5684
5685 * io/fcntl.h (AT_EMPTY_PATH): Define.
5686
5687 2011-03-30 Ulrich Drepper <drepper@gmail.com>
5688
5689 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
5690 * sysdeps/unix/sysv/linux/bits/time.h: New file.
5691 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
5692 to...
5693 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
5694 * Versions.def: Add GLIBC_2.14.
5695 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
5696 Export.
5697
5698 2011-03-22 Ulrich Drepper <drepper@gmail.com>
5699
5700 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
5701 round counter.
5702 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5703
5704 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
5705
5706 [BZ #12597]
5707 * string/test-strncmp.c (do_page_test): New function.
5708 (check2): Likewise.
5709 (test_main): Call check2.
5710 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
5711
5712 2011-03-20 Ulrich Drepper <drepper@gmail.com>
5713
5714 [BZ #12587]
5715 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
5716 Handle cache information in CPU leaf 4.
5717 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5718
5719 2011-03-18 Ulrich Drepper <drepper@gmail.com>
5720
5721 [BZ #12583]
5722 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
5723 character representation.
5724 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
5725
5726 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
5727
5728 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
5729 END(__isnan) to END(__isnanf) to match function entry point/label
5730 EALIGN(__isnanf,...).
5731
5732 2011-03-10 Jakub Jelinek <jakub@redhat.com>
5733
5734 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
5735
5736 2011-03-10 Ulrich Drepper <drepper@gmail.com>
5737
5738 [BZ #12510]
5739 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
5740 copy from the symbol referenced in the relocation to initialize the
5741 used variable.
5742 Patch by Piotr Bury <pbury@goahead.com>.
5743 * elf/Makefile: Add rules to build and tst-unique3.
5744 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
5745 * elf/tst-unique3.cc: New file.
5746 * elf/tst-unique3.h: New file.
5747 * elf/tst-unique3lib.cc: New file.
5748 * elf/tst-unique3lib2.cc: New file.
5749
5750 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
5751
5752 2011-03-10 Mike Frysinger <vapier@gentoo.org>
5753
5754 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
5755 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
5756 to _start.
5757
5758 2011-03-06 Ulrich Drepper <drepper@gmail.com>
5759
5760 * elf/dl-load.c (_dl_map_object): If we are looking for the first
5761 to-be-loaded object along a path to loader is ld.so.
5762
5763 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5764 Ulrich Drepper <drepper@gmail.com>
5765
5766 * sysdeps/x86_64/memset.S: After aligning destination, code
5767 branches to different locations depending on the value of
5768 misalignment, when multiarch is enabled. Fix this.
5769
5770 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5771
5772 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
5773 Set _x86_64_preferred_memory_instruction for AMD processsors.
5774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5775 Set bit_Prefer_SSE_for_memop for AMD processors.
5776
5777 2011-03-04 Ulrich Drepper <drepper@gmail.com>
5778
5779 * libio/fmemopen.c (fmemopen): Optimize a bit.
5780
5781 2011-03-03 Andreas Schwab <schwab@redhat.com>
5782
5783 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
5784
5785 2011-03-03 Roland McGrath <roland@redhat.com>
5786
5787 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
5788
5789 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
5790
5791 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
5792 __bzero_ultra1 instead of __memset_ultra1.
5793
5794 2011-02-23 Andreas Schwab <schwab@redhat.com>
5795 Ulrich Drepper <drepper@gmail.com>
5796
5797 [BZ #12509]
5798 * include/link.h (struct link_map): Add l_orig_initfini.
5799 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
5800 returning unsuccessfully.
5801 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
5802 close of a file loaded at startup, restore the original l_initfini
5803 list.
5804 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
5805 list, store the pointer.
5806 * elf/Makefile ($(objpfx)noload-mem): New rule.
5807 (noload-ENV): Define.
5808 (tests): Add $(objpfx)noload-mem.
5809 * elf/noload.c: Include <memcheck.h>.
5810 (main): Call mtrace. Close all opened handles.
5811
5812 2011-02-17 Andreas Schwab <schwab@redhat.com>
5813
5814 [BZ #12454]
5815 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
5816 dependencies are missing.
5817
5818 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5819
5820 Fix __if_freereq crash: Unlike the generic version which uses free,
5821 Hurd needs munmap.
5822 * sysdeps/mach/hurd/ifreq.h: New file.
5823
5824 2011-01-27 Petr Baudis <pasky@suse.cz>
5825 Ulrich Drepper <drepper@gmail.com>
5826
5827 [BZ 12445]#
5828 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
5829 to extend_alloca().
5830 * stdio-common/bug23.c: New file.
5831 * stdio-common/Makefile (tests): Add bug23.
5832
5833 2010-09-28 Andreas Schwab <schwab@redhat.com>
5834 Ulrich Drepper <drepper@gmail.com>
5835
5836 [BZ #12489]
5837 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
5838 before performing relro protection. At old place add assertion
5839 to make sure nothing changed.
5840
5841 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
5842 Glauber de Oliveira Costa <glommer@gmail.com>
5843
5844 * elf/elf.h: Add new ARM TLS relocs.
5845
5846 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
5847
5848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5849 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
5850 cast from r3.
5851 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
5852 'tests' variable.
5853 * sysdeps/wordsize-64/tst-writev.c: New file.
5854
5855 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
5856
5857 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
5858 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
5859 insns in _dl_start to prevent a TOC reference before relocs are
5860 resolved.
5861
5862 2011-02-15 Ulrich Drepper <drepper@gmail.com>
5863
5864 [BZ #12469]
5865 * Makeconfig: Remove RANLIB definition.
5866 * Makerules: Don't use RANLIB.
5867 * aclocal.m4: Remove ranlib test.
5868 * configure.in: No need to check for ranlib.
5869 * elf/rtld-Rules: Don't use RANLIB.
5870
5871 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5872
5873 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
5874 protection macro.
5875 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
5876 inclusion protection macro.
5877
5878 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
5879 SIGRTMIN and SIGRTMAX and print information in that case only when
5880 SIGRTMIN is defined.
5881
5882 2011-02-11 Jakub Jelinek <jakub@redhat.com>
5883
5884 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
5885 arginfo fn returning -1.
5886
5887 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
5888 and thousands string is zero terminated.
5889
5890 2011-02-03 Andreas Schwab <schwab@redhat.com>
5891
5892 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
5893 sysdeps/unix/sysv/linux/bits/socket.h.
5894
5895 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
5896
5897 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
5898 (__CPU_COUNT): Remove old macros.
5899 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
5900 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
5901 (__CPU_ALLOC, __CPU_FREE): Add macros.
5902 (__sched_cpualloc, __sched_cpufree): Add declarations.
5903
5904 2011-02-05 Ulrich Drepper <drepper@gmail.com>
5905
5906 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
5907 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
5908 * nscd/aicache.c (addhstaiX): Return timeout of added value.
5909 (readdhstai): Return value of addhstaiX call.
5910 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
5911 (addgrbyX): Return value returned by cache_addgr.
5912 (readdgrbyname): Return value returned by addgrbyX.
5913 (readdgrbygid): Likewise.
5914 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
5915 (addpwbyX): Return value returned by cache_addpw.
5916 (readdpwbyname): Return value returned by addhstbyX.
5917 (readdpwbyuid): Likewise.
5918 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
5919 (addservbyX): Return value returned by cache_addserv.
5920 (readdservbyname): Return value returned by addservbyX:
5921 (readdservbyport): Likewise.
5922 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
5923 (addhstbyX): Return value returned by cache_addhst.
5924 (readdhstbyname): Return value returned by addhstbyX.
5925 (readdhstbyaddr): Likewise.
5926 (readdhstbynamev6): Likewise.
5927 (readdhstbyaddrv6): Likewise.
5928 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
5929 (readdinitgroups): Return value returned by addinitgroupsX.
5930 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
5931 (prune_cache): Keep track of timeout value of re-added entries.
5932 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
5933 * nscd/nscd.h: Adjust prototypes of readd* functions.
5934
5935 2011-02-04 Roland McGrath <roland@redhat.com>
5936
5937 * nis/nis_server.c (nis_servstate): Use the right name for 0.
5938 (nis_stats): Likewise.
5939 * nis/nis_modify.c (nis_modify): Likewise.
5940 * nis/nis_remove.c (nis_remove): Likewise.
5941 * nis/nis_add.c (nis_add): Likewise.
5942
5943 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
5944
5945 * posix/fnmatch_loop.c: Add some consts.
5946
5947 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
5948
5949 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
5950
5951 [BZ #12460]
5952 * config.make.in (config-cflags-novzeroupper): Define.
5953 * configure.in: Substitute libc_cv_cc_novzeroupper.
5954 * elf/Makefile (AVX-CFLAGS): Define.
5955 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
5956 (CFLAGS-tst-auditmod4a.c): Likewise.
5957 (CFLAGS-tst-auditmod4b.c): Likewise.
5958 (CFLAGS-tst-auditmod6b.c): Likewise.
5959 (CFLAGS-tst-auditmod6c.c): Likewise.
5960 (CFLAGS-tst-auditmod7b.c): Likewise.
5961 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
5962
5963 2011-02-02 Ulrich Drepper <drepper@gmail.com>
5964
5965 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
5966 function to the callback.
5967 Patch partly by Jiri Olsa <jolsa@redhat.com>.
5968
5969 2011-02-02 Andreas Schwab <schwab@redhat.com>
5970
5971 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
5972 of errno.
5973
5974 2011-01-19 Ulrich Drepper <drepper@gmail.com>
5975
5976 [BZ #11724]
5977 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
5978 of constructors.
5979 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
5980 of destructors.
5981 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
5982
5983 [BZ #11724]
5984 * elf/Makefile: Add rules to build and run new test.
5985 * elf/tst-initorder.c: New file.
5986 * elf/tst-initorder.exp: New file.
5987 * elf/tst-initordera1.c: New file.
5988 * elf/tst-initordera2.c: New file.
5989 * elf/tst-initordera3.c: New file.
5990 * elf/tst-initordera4.c: New file.
5991 * elf/tst-initorderb1.c: New file.
5992 * elf/tst-initorderb2.c: New file.
5993 * elf/tst-order-a1.c: New file.
5994 * elf/tst-order-a2.c: New file.
5995 * elf/tst-order-a3.c: New file.
5996 * elf/tst-order-a4.c: New file.
5997 * elf/tst-order-b1.c: New file.
5998 * elf/tst-order-b2.c: New file.
5999 * elf/tst-order-main.c: New file.
6000 New test case by George Gensure <werkt0@gmail.com>.
6001
6002 2010-10-01 Andreas Schwab <schwab@redhat.com>
6003
6004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6005 decoding ACE if AI_CANONIDN.
6006
6007 2011-01-18 Ulrich Drepper <drepper@gmail.com>
6008
6009 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
6010
6011 2011-01-17 Ulrich Drepper <drepper@gmail.com>
6012
6013 * version.h (RELEASE): Bump for 2.13 release.
6014 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
6015
6016 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
6017
6018 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
6019 MADV_NOHUGEPAGE.
6020 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
6021 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6022 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6023 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6024 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6025 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
6026
6027 * posix/getconf.c: Update copyright year.
6028 * catgets/gencat.c: Likewise.
6029 * csu/version.c: Likewise.
6030 * debug/catchsegv.sh: Likewise.
6031 * debug/xtrace.sh: Likewise.
6032 * elf/ldconfig.c: Likewise.
6033 * elf/ldd.bash.in: Likewise.
6034 * elf/sprof.c (print_version): Likewise.
6035 * iconv/iconv_prog.c: Likewise.
6036 * iconv/iconvconfig.c: Likewise.
6037 * locale/programs/locale.c: Likewise.
6038 * locale/programs/localedef.c: Likewise.
6039 * malloc/memusage.sh: Likewise.
6040 * malloc/mtrace.pl: Likewise.
6041 * nscd/nscd.c (print_version): Likewise.
6042 * nss/getent.c: Likewise.
6043
6044 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
6045 PF_CAIF, and PF_ALG.
6046 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6047
6048 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
6049
6050 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
6051 (modules-names): Use them.
6052 (ifunc-test-modules, ifunc-pie-tests): Define.
6053 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
6054 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
6055 (test-extras): Likewise.
6056 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
6057 $(compile-command.c).
6058 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
6059 (all-built-dso): Define.
6060 (check-textrel.out, check-execstack.out): Depend on it.
6061
6062 * configure.in: Don't override --enable-multi-arch.
6063
6064 2011-01-15 Ulrich Drepper <drepper@gmail.com>
6065
6066 [BZ #6812]
6067 * nscd/hstcache.c (tryagain): Define.
6068 (cache_addhst): Return tryagain not notfound for temporary errors.
6069 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
6070 failed.
6071
6072 2011-01-14 Ulrich Drepper <drepper@gmail.com>
6073
6074 [BZ #10563]
6075 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
6076 to make the syscall.
6077 * sysdeps/unix/sysv/linux/setgroups.c: New file.
6078
6079 [BZ #12378]
6080 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
6081 and fall back to matching as normal character if the string ends before
6082 the matching ']' is found. This is what POSIX requires.
6083 * posix/testfnm.c: Adjust test result.
6084 * posix/globtest.sh: Adjust test result. Add new test.
6085 * posix/tst-fnmatch.input: Likewise.
6086 * posix/tst-fnmatch2.c: Add new test.
6087
6088 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
6089
6090 * elf/Makefile (check-execstack): Revert last change. Depend on
6091 check-execstack.h.
6092 (check-execstack.h): New target.
6093 (generated): Add check-execstack.h.
6094 * elf/check-execstack.c: Include "check-execstack.h".
6095 (main): Revert last change.
6096 (handle_file): Return zero if GNU_STACK is absent and
6097 DEFAULT_STACK_PERMS doesn't include PF_X.
6098
6099 2011-01-13 Ulrich Drepper <drepper@gmail.com>
6100
6101 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
6102 in child fails because the descriptor is already closed.
6103 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
6104 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
6105 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6106
6107 [BZ #12397]
6108 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
6109 syscall.
6110
6111 [BZ #10484]
6112 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
6113 temporary buffer used to handle multi lookups locally.
6114 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
6115
6116 2011-01-12 Ulrich Drepper <drepper@gmail.com>
6117
6118 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
6119 loader is ld.so.
6120
6121 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
6122
6123 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
6124 alignment for SSE2.
6125
6126 2011-01-12 Ulrich Drepper <drepper@gmail.com>
6127
6128 [BZ #12394]
6129 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
6130 characters. When rounding increased number of integer digits recompute
6131 number of groups.
6132 * stdio-common/tst-grouping.c: New file.
6133 * stdio-common/Makefile: Add rules to build and run tst-grouping.
6134
6135 2011-01-09 Ulrich Drepper <drepper@gmail.com>
6136
6137 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
6138 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
6139
6140 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
6141 void.
6142 * bits/select.h: Likewise.
6143
6144 2011-01-08 Ulrich Drepper <drepper@gmail.com>
6145
6146 * po/ja.po: Update from translation team.
6147
6148 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
6149
6150 [BZ #11155]
6151 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
6152 implementation just like for lxstat, fxstatat, et al.
6153
6154 2010-12-27 Jim Meyering <meyering@redhat.com>
6155
6156 [BZ #12348]
6157 * posix/regexec.c (build_trtable): Return failure indication upon
6158 calloc failure. Otherwise, re_search_internal could infloop on OOM.
6159
6160 2010-12-25 Ulrich Drepper <drepper@gmail.com>
6161
6162 [BZ #12201]
6163 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
6164 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
6165 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
6166 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
6167
6168 [BZ #12207]
6169 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
6170
6171 [BZ #12204]
6172 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
6173 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
6174
6175 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
6176
6177 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
6178 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
6179 script has SORT_BY_INIT_PRIORITY.
6180 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
6181 NO_CTORS_DTORS_SECTIONS is defined.
6182 * elf/soinit.c: Likewise.
6183 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
6184 NO_CTORS_DTORS_SECTIONS is defined.
6185 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6186 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
6187 * sysdeps/sh/init-first.c: Likewise.
6188 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6189
6190 2010-12-24 Ulrich Drepper <drepper@gmail.com>
6191
6192 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
6193 always use the slow path.
6194
6195 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
6196
6197 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
6198 similar rule which adds the sysdep directories to the header search in
6199 order to pick up the correct platform stackinfo.h.
6200 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
6201 perform test if it is, otherwise return successfully without testing.
6202 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
6203 DEFAULT_STACK_PERMS define in stackinfo.h.
6204 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
6205 defined in stackinfo.h.
6206 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
6207 DEFAULT_STACK_PERMS defined in stackinfo.h.
6208 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
6209 * sysdeps/ia64/stackinfo.h: Likewise.
6210 * sysdeps/s390/stackinfo.h: Likewise.
6211 * sysdeps/sh/stackinfo.h: Likewise.
6212 * sysdeps/sparc/stackinfo.h: Likewise.
6213 * sysdeps/x86_64/stackinfo.h: Likewise.
6214 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
6215 PF_X for powerpc64. Retain PF_X for powerpc32.
6216
6217 2010-12-19 Ulrich Drepper <drepper@gmail.com>
6218
6219 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
6220 accurately.
6221 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
6222 GETDENTS_64BIT_ALIGNED.
6223
6224 2010-12-14 Ulrich Drepper <dreper@gmail.com>
6225
6226 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
6227
6228 2010-12-10 Andreas Schwab <schwab@redhat.com>
6229
6230 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
6231 _GNU_SOURCE.
6232
6233 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
6234 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
6235 Remove __restrict.
6236 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
6237 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
6238
6239 2010-12-09 Ulrich Drepper <drepper@gmail.com>
6240
6241 [BZ #11655]
6242 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
6243 are initialized.
6244
6245 2010-12-09 Jakub Jelinek <jakub@redhat.com>
6246
6247 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
6248
6249 2010-12-03 Ulrich Drepper <drepper@gmail.com>
6250
6251 * po/it.po: Update from translation team.
6252
6253 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
6254
6255 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
6256 unused codes.
6257
6258 2010-11-30 Ulrich Drepper <drepper@gmail.com>
6259
6260 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
6261
6262 2010-11-24 Andreas Schwab <schwab@redhat.com>
6263
6264 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
6265 specially.
6266 (gaih_getanswer_slice): Likewise.
6267
6268 2010-10-20 Jakub Jelinek <jakub@redhat.com>
6269
6270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
6271
6272 2010-05-31 Petr Baudis <pasky@suse.cz>
6273
6274 [BZ #11149]
6275 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
6276 silently even in the chroot mode.
6277
6278 2010-11-22 Ulrich Drepper <drepper@gmail.com>
6279
6280 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
6281 last patch a bit. Pretty printing
6282
6283 2010-05-31 Petr Baudis <pasky@suse.cz>
6284
6285 [BZ #10085]
6286 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
6287 initialization of skip_initgroups_dyn.
6288
6289 2010-11-19 Ulrich Drepper <drepper@gmail.com>
6290
6291 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
6292 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
6293
6294 2010-11-16 Ulrich Drepper <drepper@gmail.com>
6295
6296 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
6297
6298 2010-11-11 Andreas Schwab <schwab@redhat.com>
6299
6300 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
6301 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
6302 (tst-fnmatch-ENV): Set MALLOC_TRACE.
6303 ($(objpfx)tst-fnmatch-mem): New rule.
6304 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
6305 * posix/tst-fnmatch.c (main): Call mtrace.
6306
6307 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
6308
6309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6310 Support Intel processor model 6 and model 0x2c.
6311
6312 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
6313
6314 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
6315 signed comparison.
6316
6317 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
6318
6319 [BZ #12205]
6320 * string/test-strncasecmp.c (check_result): New function.
6321 (do_one_test): Use it.
6322 (check1): New function.
6323 (test_main): Use it.
6324 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
6325 Support strcasecmp and strncasecmp.
6326
6327 2010-11-08 Ulrich Drepper <drepper@gmail.com>
6328
6329 [BZ #12194]
6330 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
6331 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6332
6333 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
6334
6335 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
6336 IFUNC support.
6337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6338 memset-x86-64.
6339 * sysdeps/x86_64/multiarch/bzero.S: New file.
6340 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
6341 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
6342 * sysdeps/x86_64/multiarch/memset.S: New file.
6343 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
6344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6345 Set bit_Prefer_SSE_for_memop for Intel processors.
6346 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
6347 Define.
6348 (index_Prefer_SSE_for_memop): Define.
6349 (HAS_PREFER_SSE_FOR_MEMOP): Define.
6350
6351 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
6352
6353 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
6354 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
6355
6356 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
6357
6358 [BZ #12191]
6359 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
6360 (__x86_64_raw_data_cache_size_half): Likewise.
6361 (__x86_64_raw_shared_cache_size): Likewise.
6362 (__x86_64_raw_shared_cache_size_half): Likewise.
6363
6364 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
6365 (__x86_64_raw_data_cache_size_half): Likewise.
6366 (__x86_64_raw_shared_cache_size): Likewise.
6367 (__x86_64_raw_shared_cache_size_half): Likewise.
6368 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
6369 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
6370 and __x86_64_raw_shared_cache_size_half. Round
6371 __x86_64_data_cache_size_half, __x86_64_data_cache_size
6372 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
6373 to multiple of 256 bytes.
6374
6375 2010-11-03 Ulrich Drepper <drepper@gmail.com>
6376
6377 [BZ #12167]
6378 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
6379 of inacessible symlinks. Verify result of symlink before returning it.
6380 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6381 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
6382
6383 2010-10-28 Erich Ritz <erichritz@gmail.com>
6384
6385 * math/math.h (isinf): Fix typo in comment.
6386
6387 2010-11-01 Ulrich Drepper <drepper@gmail.com>
6388
6389 * po/da.po: Update from translation team.
6390
6391 2010-10-26 Ulrich Drepper <drepper@gmail.com>
6392
6393 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
6394 is added to the list.
6395
6396 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6397 Ulrich Drepper <drepper@gmail.com>
6398
6399 * elf/dl-object.c (_dl_new_object): Don't append the new object to
6400 the global list here. Move code to...
6401 (_dl_add_to_namespace_list): ...here. New function.
6402 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
6403 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
6404 * elf/dl-load.c (lose): Don't remove the element from the list.
6405 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
6406 (_dl_map_object): Likewise.
6407
6408 2010-10-25 Ulrich Drepper <drepper@gmail.com>
6409
6410 [BZ #12159]
6411 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
6412 into all bytes of SSE register.
6413 Patch by Richard Li <richardpku@gmail.com>.
6414
6415 2010-10-24 Ulrich Drepper <drepper@gmail.com>
6416
6417 [BZ #12140]
6418 * malloc/malloc.c (_int_free): Fill correct number of bytes when
6419 perturbing.
6420
6421 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
6422
6423 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
6424 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
6425 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
6426 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
6428 submachine.
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
6430
6431 2010-10-22 Andreas Schwab <schwab@redhat.com>
6432
6433 * include/dlfcn.h (__RTLD_SECURE): Define.
6434 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
6435 mode & __RTLD_SECURE instead.
6436 (open_path): Rename preloaded parameter to secure.
6437 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
6438 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
6439 * elf/dl-deps.c (openaux): Likewise.
6440 * elf/rtld.c (struct map_args): Remove is_preloaded.
6441 (map_doit): Don't use it.
6442 (dl_main): Likewise.
6443 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
6444 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
6445
6446 2010-09-09 Andreas Schwab <schwab@redhat.com>
6447
6448 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
6449 (sysd-rules-targets): Remove duplicates.
6450 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
6451 rtld-%.$o dependency.
6452
6453 2010-10-18 Andreas Schwab <schwab@redhat.com>
6454
6455 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
6456 _dl_map_object do it.
6457
6458 2010-10-19 Ulrich Drepper <drepper@gmail.com>
6459
6460 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
6461 fast fma builtins, define the macros in the C99 standard.
6462 (FP_FAST_FMAF): Likewise.
6463 (FP_FAST_FMAL): Likewise.
6464 * sysdeps/x86_64/bits/mathdef.h: Likewise.
6465
6466 * bits/mathdef.h: Update copyright year.
6467 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6468
6469 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
6470
6471 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
6472 builtins, define the macros in the C99 standard.
6473 (FP_FAST_FMAF): Likewise.
6474 (FP_FAST_FMAL): Likewise.
6475 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
6476 multiply/add.
6477 (FP_FAST_FMAF): Likewise.
6478
6479 2010-10-15 Jakub Jelinek <jakub@redhat.com>
6480
6481 [BZ #3268]
6482 * math/libm-test.inc (fma_test): Some new testcases.
6483 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
6484 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
6485 y and infinite z. Do multiplication by C already in long double.
6486 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
6487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
6488 y and infinite z. Do bitwise or of inexact bit into u.d.
6489 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
6490 * sysdeps/i386/fpu/s_fmaf.S: Removed.
6491 * sysdeps/i386/fpu/s_fma.S: Removed.
6492 * sysdeps/i386/fpu/s_fmal.S: Removed.
6493
6494 2010-10-16 Jakub Jelinek <jakub@redhat.com>
6495
6496 [BZ #3268]
6497 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
6498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
6499 computation is not scheduled after fetestexcept. Fix value
6500 of minimum denormal long double.
6501
6502 2010-10-14 Jakub Jelinek <jakub@redhat.com>
6503
6504 [BZ #3268]
6505 * math/libm-test.inc (fma_test): Add some more tests.
6506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
6507 correctly.
6508
6509 2010-10-15 Andreas Schwab <schwab@redhat.com>
6510
6511 * scripts/data/localplt-s390-linux-gnu.data: New file.
6512 * scripts/data/localplt-s390x-linux-gnu.data: New file.
6513
6514 2010-10-13 Jakub Jelinek <jakub@redhat.com>
6515
6516 [BZ #3268]
6517 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
6518 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
6519 instead of dbl-64.
6520 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
6521 inlines.
6522 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
6523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
6524 if one of x and y is very large and the other is subnormal.
6525 * sysdeps/s390/fpu/s_fmaf.c: New file.
6526 * sysdeps/s390/fpu/s_fma.c: New file.
6527 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
6528 * sysdeps/powerpc/fpu/s_fma.S: New file.
6529 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
6530 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
6531 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
6532
6533 2010-10-12 Jakub Jelinek <jakub@redhat.com>
6534
6535 [BZ #3268]
6536 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
6537 fma tests.
6538 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
6539 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
6540 * sysdeps/i386/i686/multiarch/s_fma.c: Include
6541 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
6542 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
6543 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
6545
6546 2010-10-12 Ulrich Drepper <drepper@redhat.com>
6547
6548 [BZ #12078]
6549 * posix/regcomp.c (parse_branch): One more memory leak plugged.
6550 * posix/bug-regex31.input: Add test case.
6551
6552 2010-10-11 Ulrich Drepper <drepper@gmail.com>
6553
6554 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
6555 * posix/bug-regex31.input: New file.
6556
6557 [BZ #12078]
6558 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
6559 (parse_sub_exp): Fix last change, use postorder.
6560
6561 * posix/bug-regex31.c: New file.
6562 * posix/Makefile: Add rules to build and run bug-regex31.
6563
6564 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
6565
6566 [BZ #12078]
6567 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
6568
6569 [BZ #12108]
6570 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
6571 to have entries in sys_siglist.
6572
6573 [BZ #12093]
6574 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
6575 be NULL.
6576
6577 2010-10-07 Jakub Jelinek <jakub@redhat.com>
6578
6579 [BZ #3268]
6580 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
6581 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
6582 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
6583 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
6584 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6585 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
6586 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
6587 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
6588 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
6589 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
6590 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
6591 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
6592 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6593 * math/ftestexcept.c (fetestexcept): Likewise.
6594 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
6595 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6596 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6597 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
6598 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
6599 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
6600 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6601
6602 2010-10-11 Ulrich Drepper <drepper@gmail.com>
6603
6604 [BZ #12107]
6605 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
6606 newline.
6607
6608 2010-10-06 Ulrich Drepper <drepper@gmail.com>
6609
6610 * string/bug-strstr1.c: New file.
6611 * string/Makefile: Add rules to build and run bug-strstr1.
6612
6613 2010-10-05 Eric Blake <eblake@redhat.com>
6614
6615 [BZ #12092]
6616 * string/str-two-way.h (two_way_long_needle): Always clear memory
6617 when skipping input due to the shift table.
6618
6619 2010-10-03 Ulrich Drepper <drepper@gmail.com>
6620
6621 [BZ #12005]
6622 * malloc/mcheck.c: Handle large requests.
6623
6624 [BZ #12077]
6625 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
6626 for strncmp and strncasecmp.
6627 * string/stratcliff.c: Add tests for strcmp and strncmp.
6628 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
6629
6630 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6631
6632 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
6633 __set_fpscr.
6634
6635 2010-09-30 Andreas Jaeger <aj@suse.de>
6636
6637 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
6638 (CGROUP_SUPER_MAGIC): Define.
6639 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6640 Handle btrfs and cgroup file systems.
6641 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6642 Likewise.
6643
6644 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
6645
6646 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
6647 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
6648
6649 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6650
6651 [BZ #12067]
6652 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
6653 trying to locate the ELF header.
6654
6655 2010-09-27 Andreas Schwab <schwab@redhat.com>
6656
6657 [BZ #11611]
6658 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
6659 Mask out sign-bit copies when constructing f_fsid.
6660
6661 2010-09-24 Petr Baudis <pasky@suse.cz>
6662
6663 * debug/stack_chk_fail_local.c: Add missing licence exception.
6664 * debug/warning-nop.c: Likewise.
6665
6666 2010-09-15 Joseph Myers <joseph@codesourcery.com>
6667
6668 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
6669 implementing getdents64 using getdents syscall, set d_type if
6670 __ASSUME_GETDENTS32_D_TYPE.
6671
6672 2010-09-16 Andreas Schwab <schwab@redhat.com>
6673
6674 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
6675 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
6676
6677 2010-09-21 Ulrich Drepper <drepper@redhat.com>
6678
6679 [BZ #12037]
6680 * posix/unistd.h: Undo change of feature selection for ftruncate from
6681 2010-01-11.
6682
6683 2010-09-20 Ulrich Drepper <drepper@redhat.com>
6684
6685 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
6686 detection.
6687
6688 2010-09-20 Andreas Schwab <schwab@redhat.com>
6689
6690 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
6691 fanotify_mark.
6692 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6693
6694 2010-09-14 Andreas Schwab <schwab@redhat.com>
6695
6696 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
6697 variables after CHECK_SP call.
6698 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
6699
6700 2010-09-13 Andreas Schwab <schwab@redhat.com>
6701 Ulrich Drepper <drepper@redhat.com>
6702
6703 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
6704 re-relocationg ld.so.
6705 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
6706 _dl_init_paths call.
6707 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
6708 here anymore.
6709
6710 2010-09-14 Ulrich Drepper <drepper@redhat.com>
6711
6712 * resolv/res_init.c (__res_vinit): Count the default server we added.
6713
6714 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
6715 Ulrich Drepper <drepper@redhat.com>
6716
6717 [BZ #11968]
6718 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6719 (____longjmp_chk): Use %ebx for saving value across system call.
6720 Add unwind info.
6721
6722 2010-09-06 Andreas Schwab <schwab@redhat.com>
6723
6724 * manual/Makefile: Don't mix pattern rules with normal rules.
6725
6726 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
6727
6728 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
6729 operation.
6730 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6731 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6732 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6733 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6734 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6735 Likewise.
6736
6737 2010-09-04 Ulrich Drepper <drepper@redhat.com>
6738
6739 [BZ #11979]
6740 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
6741 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
6742
6743 2010-09-02 Ulrich Drepper <drepper@redhat.com>
6744
6745 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
6746 * sysdeps/x86_64/addmul_1.S: Likewise.
6747 * sysdeps/x86_64/lshift.S: Likewise.
6748 * sysdeps/x86_64/mul_1.S: Likewise.
6749 * sysdeps/x86_64/rshift.S: Likewise.
6750 * sysdeps/x86_64/sub_n.S: Likewise.
6751 * sysdeps/x86_64/submul_1.S: Likewise.
6752
6753 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6754
6755 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
6756 Define __sched_param instead of SCHED_* and sched_param when
6757 <bits/sched.h> is included with __need_schedparam defined.
6758 * bits/sched.h [__need_schedparam]
6759 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
6760 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
6761 (__defined_schedparam): Define to 1.
6762 (__sched_param): New structure, identical to sched_param.
6763 (__need_schedparam): Undefine.
6764
6765 2010-08-31 Mike Frysinger <vapier@gentoo.org>
6766
6767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
6768 (epoll_create1): Declare.
6769
6770 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
6771
6772 2010-08-31 Andreas Schwab <schwab@redhat.com>
6773
6774 [BZ #7066]
6775 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
6776 shifting retval into place.
6777
6778 2010-09-01 Ulrich Drepper <drepper@redhat.com>
6779
6780 * nis/rpcsvc/nis.h: Update copyright notice.
6781 * nis/rpcsvc/nis.x: Likewise.
6782 * nis/rpcsvc/nis_callback.h: Likewise.
6783 * nis/rpcsvc/nis_callback.x: Likewise.
6784 * nis/rpcsvc/nis_object.x: Likewise.
6785 * nis/rpcsvc/nis_tags.h: Likewise.
6786 * nis/rpcsvc/yp.h: Likewise.
6787 * nis/rpcsvc/yp.x: Likewise.
6788 * nis/rpcsvc/ypupd.h: Likewise.
6789 * nis/yp_xdr.c: Likewise.
6790 * nis/ypupdate_xdr.c: Likewise.
6791
6792 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
6793 mainly the body of pmap_getport. Add parameters to specify timeouts.
6794 (pmap_getport): Use __libc_rpc_getport.
6795 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
6796 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
6797 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
6798
6799 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
6800
6801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
6802 fanotify_mark.
6803
6804 2010-08-27 Roland McGrath <roland@redhat.com>
6805
6806 * sysdeps/i386/i686/multiarch/Makefile
6807 (CFLAGS-varshift.c): New variable.
6808
6809 2010-08-27 Ulrich Drepper <drepper@redhat.com>
6810
6811 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
6812 * sysdeps/i386/i686/multiarch/varshift.c: New file.
6813
6814 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
6815
6816 * sysdeps/x86_64/strlen.S: Minimal code improvement.
6817
6818 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
6819
6820 * sysdeps/x86_64/strlen.S: Unroll the loop.
6821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6822 strlen-sse2 strlen-sse2-bsf.
6823 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
6824 __strlen_no_bsf if bit_Slow_BSF is set.
6825 (__strlen_sse42): Removed.
6826 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
6827 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
6828
6829 2010-08-25 Roland McGrath <roland@redhat.com>
6830
6831 * sysdeps/x86_64/multiarch/varshift.S: File removed.
6832 * sysdeps/x86_64/multiarch/varshift.c: New file.
6833 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
6834 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
6835 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
6836 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6837
6838 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
6839
6840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6841 strlen-sse2 strlen-sse2-bsf.
6842 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
6843 __strlen_sse2_bsf if bit_Slow_BSF is unset.
6844 (__strlen_sse2): Removed.
6845 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
6846 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
6847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6848 bit_Slow_BSF for Atom.
6849 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
6850 (index_Slow_BSF): Define.
6851 (HAS_SLOW_BSF): Define.
6852
6853 2010-08-25 Ulrich Drepper <drepper@redhat.com>
6854
6855 [BZ #10851]
6856 * resolv/res_init.c (__res_vinit): When no server address at all
6857 is given default to loopback.
6858
6859 2010-08-24 Roland McGrath <roland@redhat.com>
6860
6861 * configure.in: Remove config-name.h generation.
6862 * configure: Regenerated.
6863 * config-name.in: File removed.
6864 * scripts/config-uname.sh: New file.
6865 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
6866 ($(objdir)config-name.h): New target.
6867
6868 * sunrpc/rpc_parse.h: Avoid nested comment.
6869
6870 2010-08-24 Richard Henderson <rth@redhat.com>
6871 Ulrich Drepper <drepper@redhat.com>
6872 H.J. Lu <hongjiu.lu@intel.com>
6873
6874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
6875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
6876 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
6877 Replace _mm_srli_si128 with __m128i_shift_right. Replace
6878 _mm_alignr_epi8 with _mm_loadu_si128.
6879 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
6880 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
6881 (__m128i_shift_right): Removed.
6882 * sysdeps/i386/i686/multiarch/varshift.h: New file.
6883 * sysdeps/i386/i686/multiarch/varshift.S: New file.
6884 * sysdeps/x86_64/multiarch/varshift.h: New file.
6885 * sysdeps/x86_64/multiarch/varshift.S: New file.
6886
6887 2010-08-21 Mike Frysinger <vapier@gentoo.org>
6888
6889 * configure.in: Move assembler checks to before sysdep dir checking.
6890
6891 2010-08-20 Petr Baudis <pasky@suse.cz>
6892
6893 * LICENSES: Sync the sunrpc license.
6894
6895 2010-08-19 Ulrich Drepper <drepper@redhat.com>
6896
6897 * sunrpc/auth_des.c: Update copyright notice once again.
6898 * sunrpc/auth_none.c: Likewise.
6899 * sunrpc/auth_unix.c: Likewise.
6900 * sunrpc/authdes_prot.c: Likewise.
6901 * sunrpc/authuxprot.c: Likewise.
6902 * sunrpc/bindrsvprt.c: Likewise.
6903 * sunrpc/clnt_gen.c: Likewise.
6904 * sunrpc/clnt_perr.c: Likewise.
6905 * sunrpc/clnt_raw.c: Likewise.
6906 * sunrpc/clnt_simp.c: Likewise.
6907 * sunrpc/clnt_tcp.c: Likewise.
6908 * sunrpc/clnt_udp.c: Likewise.
6909 * sunrpc/clnt_unix.c: Likewise.
6910 * sunrpc/des_crypt.c: Likewise.
6911 * sunrpc/des_soft.c: Likewise.
6912 * sunrpc/get_myaddr.c: Likewise.
6913 * sunrpc/getrpcport.c: Likewise.
6914 * sunrpc/key_call.c: Likewise.
6915 * sunrpc/key_prot.c: Likewise.
6916 * sunrpc/openchild.c: Likewise.
6917 * sunrpc/pm_getmaps.c: Likewise.
6918 * sunrpc/pm_getport.c: Likewise.
6919 * sunrpc/pmap_clnt.c: Likewise.
6920 * sunrpc/pmap_prot.c: Likewise.
6921 * sunrpc/pmap_prot2.c: Likewise.
6922 * sunrpc/pmap_rmt.c: Likewise.
6923 * sunrpc/rpc/auth.h: Likewise.
6924 * sunrpc/rpc/auth_unix.h: Likewise.
6925 * sunrpc/rpc/clnt.h: Likewise.
6926 * sunrpc/rpc/des_crypt.h: Likewise.
6927 * sunrpc/rpc/key_prot.h: Likewise.
6928 * sunrpc/rpc/netdb.h: Likewise.
6929 * sunrpc/rpc/pmap_clnt.h: Likewise.
6930 * sunrpc/rpc/pmap_prot.h: Likewise.
6931 * sunrpc/rpc/pmap_rmt.h: Likewise.
6932 * sunrpc/rpc/rpc.h: Likewise.
6933 * sunrpc/rpc/rpc_des.h: Likewise.
6934 * sunrpc/rpc/rpc_msg.h: Likewise.
6935 * sunrpc/rpc/svc.h: Likewise.
6936 * sunrpc/rpc/svc_auth.h: Likewise.
6937 * sunrpc/rpc/types.h: Likewise.
6938 * sunrpc/rpc/xdr.h: Likewise.
6939 * sunrpc/rpc_clntout.c: Likewise.
6940 * sunrpc/rpc_cmsg.c: Likewise.
6941 * sunrpc/rpc_common.c: Likewise.
6942 * sunrpc/rpc_cout.c: Likewise.
6943 * sunrpc/rpc_dtable.c: Likewise.
6944 * sunrpc/rpc_hout.c: Likewise.
6945 * sunrpc/rpc_main.c: Likewise.
6946 * sunrpc/rpc_parse.c: Likewise.
6947 * sunrpc/rpc_parse.h: Likewise.
6948 * sunrpc/rpc_prot.c: Likewise.
6949 * sunrpc/rpc_sample.c: Likewise.
6950 * sunrpc/rpc_scan.c: Likewise.
6951 * sunrpc/rpc_scan.h: Likewise.
6952 * sunrpc/rpc_svcout.c: Likewise.
6953 * sunrpc/rpc_tblout.c: Likewise.
6954 * sunrpc/rpc_util.c: Likewise.
6955 * sunrpc/rpc_util.h: Likewise.
6956 * sunrpc/rpcinfo.c: Likewise.
6957 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
6958 * sunrpc/rpcsvc/key_prot.x: Likewise.
6959 * sunrpc/rpcsvc/klm_prot.x: Likewise.
6960 * sunrpc/rpcsvc/mount.x: Likewise.
6961 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
6962 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
6963 * sunrpc/rpcsvc/rex.x: Likewise.
6964 * sunrpc/rpcsvc/rstat.x: Likewise.
6965 * sunrpc/rpcsvc/rusers.x: Likewise.
6966 * sunrpc/rpcsvc/sm_inter.x: Likewise.
6967 * sunrpc/rpcsvc/spray.x: Likewise.
6968 * sunrpc/rpcsvc/yppasswd.x: Likewise.
6969 * sunrpc/rtime.c: Likewise.
6970 * sunrpc/svc.c: Likewise.
6971 * sunrpc/svc_auth.c: Likewise.
6972 * sunrpc/svc_authux.c: Likewise.
6973 * sunrpc/svc_raw.c: Likewise.
6974 * sunrpc/svc_run.c: Likewise.
6975 * sunrpc/svc_simple.c: Likewise.
6976 * sunrpc/svc_tcp.c: Likewise.
6977 * sunrpc/svc_udp.c: Likewise.
6978 * sunrpc/svc_unix.c: Likewise.
6979 * sunrpc/svcauth_des.c: Likewise.
6980 * sunrpc/xcrypt.c: Likewise.
6981 * sunrpc/xdr.c: Likewise.
6982 * sunrpc/xdr_array.c: Likewise.
6983 * sunrpc/xdr_float.c: Likewise.
6984 * sunrpc/xdr_mem.c: Likewise.
6985 * sunrpc/xdr_rec.c: Likewise.
6986 * sunrpc/xdr_ref.c: Likewise.
6987 * sunrpc/xdr_sizeof.c: Likewise.
6988 * sunrpc/xdr_stdio.c: Likewise.
6989
6990 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
6991 handling.
6992
6993 2010-08-19 Andreas Schwab <schwab@redhat.com>
6994
6995 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
6996
6997 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
6998
6999 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
7000 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
7001 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
7002 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
7003 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
7004 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
7005 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
7006 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
7007 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
7008 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
7009 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
7010 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
7011 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
7012 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
7013
7014 2010-07-26 Anton Blanchard <anton@samba.org>
7015
7016 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
7017 * malloc/arena.c (heap_trim): Likewise.
7018
7019 2010-08-16 Ulrich Drepper <drepper@redhat.com>
7020
7021 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
7022 here. Not...
7023 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
7024 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
7025
7026 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
7027
7028 * sysdeps/i386/elf/Makefile: New file.
7029
7030 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
7031
7032 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
7033 from fanotify_init.
7034 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7035 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7036
7037 2010-08-15 Ulrich Drepper <drepper@redhat.com>
7038
7039 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
7040 of strncasecmp_l.
7041 * sysdeps/multiarch/strcmp.S: Likewise.
7042
7043 2010-08-14 Ulrich Drepper <drepper@redhat.com>
7044
7045 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7046 strncase_l-nonascii.
7047 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
7048 Add strncase_l-ssse3.
7049 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
7050 * sysdeps/x86_64/strcmp.S: Likewise.
7051 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
7052 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
7053 * sysdeps/x86_64/strncase.S: New file.
7054 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
7055 * sysdeps/x86_64/strncase_l.S: New file.
7056 * string/Makefile (strop-tests): Add strncasecmp.
7057 * string/test-strncasecmp.c: New file.
7058
7059 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
7060 warning.
7061
7062 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
7063 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
7064
7065 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
7066
7067 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
7068
7069 2010-08-12 Ulrich Drepper <drepper@redhat.com>
7070
7071 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
7072 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7073 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7074
7075 2010-05-01 Alan Modra <amodra@gmail.com>
7076
7077 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
7078 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
7079 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
7080 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
7081 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
7082 tidying. Don't tail-call __sigjmp_save for static lib.
7083 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
7084 save location.
7085 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
7086 (CALL_MCOUNT): Add eh info, and nop after bl.
7087 (TAIL_CALL_SYSCALL_ERROR): New macro.
7088 (PSEUDO_RET): Use it.
7089 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7090 Correct save location of integer regs and cr.
7091 (_dl_profile_resolve): Correct cr save location. Delete nops
7092 after bl when SHARED. Reduce cfi size a little by better
7093 placement of cfi directives.
7094 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
7095 make a stack frame. Instead use parm save area as a temp.
7096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
7097 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
7098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7099 Don't make a stack frame for parent, use parm save area.
7100 Increase child stack frame to 112 bytes. Don't save unused reg,
7101 and adjust reg usage. Set up cfi on error recovery and
7102 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7104 (__makecontext): Add dummy nop after jump to exit.
7105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
7106 Use correct parm save area and cr save, reduce stack frame.
7107 Correct cfi for possible PSEUDO_RET frame setup.
7108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
7109 Branch to local label emitted by PSEUDO_RET rather than
7110 __syscall_error.
7111
7112 2010-08-12 Andreas Schwab <schwab@redhat.com>
7113
7114 [BZ #11904]
7115 * locale/programs/locale.c (print_assignment): New function.
7116 (show_locale_vars): Use it.
7117
7118 2010-08-11 Ulrich Drepper <drepper@redhat.com>
7119
7120 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
7121 field.
7122 (struct statfs64): Likewise.
7123 (_STATFS_F_FLAGS): Define.
7124 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
7125 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7126 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
7127 (ST_VALID): Define locally.
7128 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
7129 __statvfs_getflags, use the provided value.
7130 * sysdeps/unix/sysv/linux/kernel-features.h: Define
7131 __ASSUME_STATFS_F_FLAGS.
7132
7133 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
7134
7135 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
7136 Add sys/fanotify.h.
7137 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
7138 fanotify_mask for GLIBC_2.13.
7139 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
7140 fanotify_init and fanotify_mark.
7141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7142 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
7143
7144 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
7145 Add prlimit.
7146 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
7147 prlimit64 for GLIBC_2.13.
7148 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
7149 prlimit64.
7150 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
7151 syscall.
7152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7153 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7154 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
7155 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
7156 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
7157 add prlimit alias.
7158 * sysdeps/unix/sysv/linux/prlimit.c: New file.
7159
7160 [BZ #11903]
7161 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
7162 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
7163
7164 * nss/Makefile: Add rules to build and run tst-nss-test1.
7165 * shlib-versions: Add entry for libnss_test1.
7166 * nss/nss_test1.c: New file.
7167 * nss/tst-nss-test1.c: New file.
7168
7169 * nss/nsswitch.c (__nss_database_custom): Define new variable.
7170 (__nss_configure_lookup): Set appropriate entry in
7171 __nss_configure_lookup to true.
7172 * nss/nsswitch.h: Define enum with indeces of databases in
7173 databases and __nss_database_custom arrays. Declare
7174 __nss_database_custom.
7175 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
7176 to avoid using nscd when custom rules are installed.
7177 * nss/getXXbyYY_r.c: Likewise.
7178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7179
7180 * nss/nss_files/files-parse.c: Whitespace fixes.
7181
7182 2010-08-09 Ulrich Drepper <drepper@redhat.com>
7183
7184 [BZ #11883]
7185 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
7186 * posix/fnmatch_loop.c: Likewise.
7187
7188 2010-07-17 Andi Kleen <ak@linux.intel.com>
7189
7190 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
7191 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
7192 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
7193 * Versions.def [GLIBC_2.13]: Add.
7194
7195 2010-08-06 Ulrich Drepper <drepper@redhat.com>
7196
7197 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7198 Also fail if tpwd after pwuid call is NULL.
7199
7200 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7201
7202 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
7203 when converting to ms.
7204
7205 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7206
7207 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
7208 EOPNOTSUPP errors with ENOTTY.
7209 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
7210 EOPNOTSUPP errors with ENOTTY.
7211
7212 2010-07-31 Ulrich Drepper <drepper@redhat.com>
7213
7214 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
7215 Add strcasecmp_l-ssse3.
7216 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
7217 strcasecmp.
7218 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
7219 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
7220 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
7221
7222 2010-07-30 Ulrich Drepper <drepper@redhat.com>
7223
7224 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
7225
7226 * string/Makefile (strop-tests): Add strcasecmp.
7227 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7228 strcasecmp_l-nonascii.
7229 (gen-as-const-headers): Add locale-defines.sym.
7230 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
7231 * sysdeps/x86_64/strcasecmp.S: New file.
7232 * sysdeps/x86_64/strcasecmp_l.S: New file.
7233 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
7234 * sysdeps/x86_64/locale-defines.sym: New file.
7235 * string/test-strcasecmp.c: New file.
7236
7237 * string/test-strcasestr.c: Test both ends of the range of characters.
7238 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
7239
7240 2010-07-29 Roland McGrath <roland@redhat.com>
7241
7242 [BZ #11856]
7243 * manual/locale.texi (Yes-or-No Questions): Fix example code.
7244
7245 2010-07-27 Ulrich Drepper <drepper@redhat.com>
7246
7247 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
7248 for ld.so.
7249
7250 2010-07-27 Andreas Schwab <schwab@redhat.com>
7251
7252 * manual/memory.texi (Malloc Tunable Parameters): Document
7253 M_PERTURB.
7254
7255 2010-07-26 Roland McGrath <roland@redhat.com>
7256
7257 [BZ #11840]
7258 * configure.in (-fgnu89-inline check): Set and substitute
7259 gnu89_inline, not libc_cv_gnu89_inline.
7260 * configure: Regenerated.
7261 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
7262
7263 2010-07-26 Ulrich Drepper <drepper@redhat.com>
7264
7265 * string/test-strnlen.c: New file.
7266 * string/Makefile (strop-tests): Add strnlen.
7267 * string/tester.c (test_strnlen): Add a few more test cases.
7268 * string/tst-strlen.c: Better error reporting.
7269
7270 * sysdeps/x86_64/strnlen.S: New file.
7271
7272 2010-07-24 Ulrich Drepper <drepper@redhat.com>
7273
7274 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
7275 lower-latency instructions.
7276
7277 2010-07-23 Ulrich Drepper <drepper@redhat.com>
7278
7279 * string/test-strcasestr.c: New file.
7280 * string/test-strstr.c: New file.
7281 * string/Makefile (strop-tests): Add strstr and strcasestr.
7282 * string/str-two-way.h: Don't undefine MAX.
7283 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
7284
7285 2010-07-21 Andreas Schwab <schwab@redhat.com>
7286
7287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7288 strcasestr-nonascii.
7289 (CFLAGS-strcasestr-nonascii.c): Define.
7290 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
7291 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
7292 Remove unused attribute.
7293
7294 2010-07-20 Roland McGrath <roland@redhat.com>
7295
7296 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
7297 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
7298 ld.so.cache was broken. With it, there is no way to disable dsocaps
7299 like LD_HWCAP_MASK can disable hwcaps.
7300
7301 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
7302
7303 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
7304
7305 2010-07-16 Ulrich Drepper <drepper@redhat.com>
7306
7307 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
7308 call in strcasestr.
7309 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
7310 __strcasestr_sse42_nonascii.
7311 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
7312 strcasestr-nonascii.c.
7313 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
7314
7315 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
7316
7317 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
7318 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
7319 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
7320 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
7321
7322 2010-07-09 Ulrich Drepper <drepper@redhat.com>
7323
7324 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
7325 fcntl.
7326
7327 2010-07-06 Andreas Schwab <schwab@redhat.com>
7328
7329 [BZ #11577]
7330 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
7331 dl_signal_cerror.
7332
7333 2010-07-06 Ulrich Drepper <drepper@redhat.com>
7334
7335 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
7336 _PC_PIPE_BUF using F_GETPIPE_SZ.
7337
7338 2010-07-05 Roland McGrath <roland@redhat.com>
7339
7340 * manual/arith.texi (Rounding Functions): Fix rint description
7341 implicit in round description.
7342
7343 2010-07-02 Ulrich Drepper <drepper@redhat.com>
7344
7345 * elf/Makefile: Fix linking for a few tests to make recent linker
7346 happy.
7347
7348 2010-06-30 Andreas Schwab <schwab@redhat.com>
7349
7350 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7351 $(common-objpfx)libc_nonshared.a.
7352
7353 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
7354
7355 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
7356 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
7357 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
7358 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
7359 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
7360 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
7361 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
7362 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
7364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
7365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
7366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
7367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
7368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
7369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
7370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
7371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
7372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
7373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
7375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
7377 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
7378 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
7379 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
7380 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
7381 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
7382 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
7383 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
7384 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
7385 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
7386 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
7387 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
7388 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
7389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
7390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
7391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
7392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
7393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
7394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
7395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
7396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
7397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
7398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
7399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
7400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
7401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
7402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
7403
7404 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
7405
7406 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
7407 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
7408 * string/memmove.c (memmove): Renamed to ...
7409 (MEMMOVE): ...this. Default to memmove.
7410 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
7411 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
7412 (END_CHK): Define.
7413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7414 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
7415 mempcpy-ssse3-back memmove-ssse3-back.
7416 * sysdeps/x86_64/multiarch/bcopy.S: New file .
7417 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
7418 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
7419 * sysdeps/x86_64/multiarch/memcpy.S: New file.
7420 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
7421 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
7422 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
7423 * sysdeps/x86_64/multiarch/memmove.c: New file.
7424 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
7425 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
7426 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
7427 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
7428 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
7429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
7430 Define.
7431 (index_Fast_Copy_Backward): Define.
7432 (HAS_ARCH_FEATURE): Define.
7433 (HAS_FAST_REP_STRING): Define.
7434 (HAS_FAST_COPY_BACKWARD): Define.
7435
7436 2010-06-21 Andreas Schwab <schwab@redhat.com>
7437
7438 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7439 Restore proper fallback handling.
7440
7441 2010-06-19 Ulrich Drepper <drepper@redhat.com>
7442
7443 [BZ #11701]
7444 * posix/group_member.c (__group_member): Correct checking loop.
7445
7446 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
7447 OOM in getpwuid_r correctly. Return error number when the caller
7448 should return, otherwise -1.
7449 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
7450 call returning > 0 value.
7451 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
7452
7453 2010-06-07 Andreas Schwab <schwab@redhat.com>
7454
7455 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
7456 libc_nonshared.a from targets in modules-names.
7457
7458 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
7459
7460 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
7461 requires it.
7462
7463 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
7464
7465 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
7466 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
7467 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
7468 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
7469
7470 2010-06-02 Andreas Schwab <schwab@redhat.com>
7471
7472 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
7473
7474 2010-06-14 Ulrich Drepper <drepper@redhat.com>
7475
7476 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
7477 and F_GETPIPE_SZ.
7478 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7480 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7482 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
7484
7485 2010-06-14 Roland McGrath <roland@redhat.com>
7486
7487 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
7488
7489 2010-06-07 Jakub Jelinek <jakub@redhat.com>
7490
7491 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
7492 __REDIRECT followed by __THROW.
7493 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
7494 * posix/getopt.h (getopt): Likewise.
7495
7496 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
7497
7498 * hurd/lookup-at.c (__file_name_lookup_at): Accept
7499 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
7500 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
7501 in AT_FLAGS.
7502 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
7503 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
7504
7505 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
7506
7507 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
7508
7509 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
7510
7511 [BZ #11640]
7512 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7513 Properly check family and model.
7514
7515 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
7516
7517 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
7518
7519 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
7520
7521 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
7522
7523 2010-05-21 Ulrich Drepper <drepper@redhat.com>
7524
7525 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
7526 symbol reference.
7527
7528 2010-05-19 Andreas Schwab <schwab@redhat.com>
7529
7530 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
7531 symbol reference.
7532
7533 2010-05-21 Andreas Schwab <schwab@redhat.com>
7534
7535 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
7536 and internal_recvmmsg.
7537 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
7538 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
7539 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
7540 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
7541
7542 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
7543 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7544 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7545
7546 2010-05-20 Andreas Schwab <schwab@redhat.com>
7547
7548 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
7549
7550 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
7551
7552 POWER7 optimizations.
7553 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
7554 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
7555
7556 2010-05-19 Ulrich Drepper <drepper@redhat.com>
7557
7558 * version.h: Update for 2.13 development version.
7559
7560 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
7561
7562 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
7563 exceptions. Return 0.
7564
7565 2010-05-07 Roland McGrath <roland@redhat.com>
7566
7567 * elf/ldconfig.c (main): Add a const.
7568
7569 2010-05-06 Ulrich Drepper <drepper@redhat.com>
7570
7571 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
7572 (args_options): Add no-idn option.
7573 (ahosts_keys_int): Add idn_flags to ai_flags.
7574 (parse_option): Handle 'i' option to clear idn_flags.
7575
7576 * malloc/malloc.c (_int_free): Possible race in the most recently
7577 added check. Only act on the data if no current modification
7578 happened.
7579
7580 See ChangeLog.17 for earlier changes.
This page took 0.345739 seconds and 6 git commands to generate.