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