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