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