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