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