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