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