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