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