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