]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Use macro for PIC setup in inline asm.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12012-02-05 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4 Define.
5 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6 LOAD_PIC_REG_STR.
7
82012-02-03 Joseph Myers <joseph@codesourcery.com>
9
10 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11 (SETUP_PIC_REG): Use GET_PC_THUNK.
12 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13 macro.
14
152012-02-03 Joseph Myers <joseph@codesourcery.com>
16
17 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
18 for non-PIC compilation.
19 (SETUP_PIC_REG): Add .p2align directive.
20 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61
622012-02-03 Joseph Myers <joseph@codesourcery.com>
63
64 * math/tst-CMPLX.c: Include <stdio.h>.
65
662012-01-31 Joseph Myers <joseph@codesourcery.com>
67
68 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
69 float.
70 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71 * sysdeps/sparc/bits/mathdef.h: Likewise.
72
732012-01-31 Marek Polacek <polacek@redhat.com>
74
75 * libio/libio.h: Don't define _PARAMS.
76 * locale/programs/config.h: Don't define PARAMS.
77 * stdlib/strtol_l.c: Likewise.
78 (__strtol_l): Remove PARAMS from the prototype.
79
802012-01-31 Ulrich Drepper <drepper@gmail.com>
81
82 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
83 names. Just use the correct names. Remove unnecessary wrapper
84 functions.
85 * malloc/arena.c: Likewise.
86 * malloc/hooks.c: Likewise.
87
88 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
89 ARENA_TEST says not to. Simplify test for creation of a new arena.
90 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
91
922012-01-30 Ulrich Drepper <drepper@gmail.com>
93
94 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
95 into tail calls.
96 (update_get_addr): New function.
97 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
98 GET_ADDR_MODULE parameter.
99
1002012-01-30 Joseph Myers <joseph@codesourcery.com>
101
102 * crypt/cert.c: Remove __STDC__ conditionals.
103 * crypt/crypt-entry.c: Likewise.
104 * crypt/crypt_util.c: Likewise.
105 * libio/filedoalloc.c: Likewise.
106 * libio/fileops.c: Likewise.
107 * libio/genops.c: Likewise.
108 * libio/iofclose.c: Likewise.
109 * libio/iofdopen.c: Likewise.
110 * libio/iofopen.c: Likewise.
111 * libio/iofopen64.c: Likewise.
112 * libio/iogetdelim.c: Likewise.
113 * libio/iopopen.c: Likewise.
114 * libio/obprintf.c: Likewise.
115 * libio/oldfileops.c: Likewise.
116 * libio/oldiofclose.c: Likewise.
117 * libio/oldiofdopen.c: Likewise.
118 * libio/oldiofopen.c: Likewise.
119 * libio/oldiopopen.c: Likewise.
120 * libio/wfiledoalloc.c: Likewise.
121 * libio/wgenops.c: Likewise.
122 * locale/programs/xmalloc.c: Likewise.
123 * misc/syslog.c: Likewise.
124 * stdio-common/xbug.c: Likewise.
125 * string/memchr.c: Likewise.
126 * string/memcmp.c: Likewise.
127 * string/memrchr.c: Likewise.
128 * string/rawmemchr.c: Likewise.
129 * sysdeps/posix/getcwd.c: Likewise.
130 * time/strftime_l.c: Likewise.
131
1322012-01-30 Joseph Myers <joseph@codesourcery.com>
133
134 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
135 * config.make.in (config-cflags-sse2avx): Define.
136 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
137 Fix typo.
138
1392012-01-29 Chris Metcalf <cmetcalf@tilera.com>
140
141 * scripts/config.guess: Update from upstream config git repository.
142 * scripts/config.sub: Likewise.
143
1442012-01-28 Chris Metcalf <cmetcalf@tilera.com>
145
146 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
147 (EM_NUM): Update.
148 (R_TILEPRO_*, R_TILEGX_*): New macros.
149
150 * scripts/firstversions.awk: Fix bug in version range handling.
151
152 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
153
154 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
155
156 * include/sys/epoll.h: New file.
157 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
158 libc_hidden_def.
159
1602012-01-28 Ulrich Drepper <drepper@gmail.com>
161
162 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
163 Avoid unnecessary __WORDSIZE == 64 test.
164 (fmaxf): Use VEX format if possible.
165 (fmax): Likewise.
166 (fminf): Likewise.
167 (fmin): Likewise.
168
169 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
170 * math/math_private.h: Remove libc_fegetround* and
171 libc_fesetround*.
172 * sysdeps/i386/configure.in: Check for -msse2avx.
173 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
174 also if SSE2AVX is defined.
175 Remove libc_fegetround* and libc_fesetround*.
176 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
177 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
178 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
179 of HAS_YMM_USABLE.
180 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
181 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
182 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
183 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
184 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
185
186 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
187
1882012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
189
190 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
191 size is not set.
192 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
193
1942012-01-27 Ulrich Drepper <drepper@gmail.com>
195
196 [BZ #13618]
197 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
198 relocation.
199 * Makeconfig (libm): Define.
200 * elf/Makefile: Add rules to build and run tst-relsort1.
201 * elf/tst-relsort1.c: New file.
202 * elf/tst-relsort1mod1.c: New file.
203 * elf/tst-relsort1mod2.c: New file.
204
2052012-01-27 Joseph Myers <joseph@codesourcery.com>
206
207 * math/s_ldexp.c: Remove __STDC__ conditionals.
208 * math/s_ldexpf.c: Likewise.
209 * math/s_ldexpl.c: Likewise.
210 * math/s_nextafter.c: Likewise.
211 * math/s_nexttowardf.c: Likewise.
212 * math/s_significand.c: Likewise.
213 * math/s_significandf.c: Likewise.
214 * math/s_significandl.c: Likewise.
215 * math/w_jnl.c: Likewise.
216 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
217 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
218 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
219 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
220 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
221 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
222 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
223 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
224 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
225 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
226 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
227 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
228 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
229 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
230 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
231 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
232 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
233 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
234 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
235 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
236 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
237 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
238 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
239 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
240 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
241 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
242 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
243 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
244 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
245 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
246 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
247 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
248 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
249 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
250 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
251 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
252 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
253 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
254 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
255 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
256 * sysdeps/ieee754/k_standard.c: Likewise.
257 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
258 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
259 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
260 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
261 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
262 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
263 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
264 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
265 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
266 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
267 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
268 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
269 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
270 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
271 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
272 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
273 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
274 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
275 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
276 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
277 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
278 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
279 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
280 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
281 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
282 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
283 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
284 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
285 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
286 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
287 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
288 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
289 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
290 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
291 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
292 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
293 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
294 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
295 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
296 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
297 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
298 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
299 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
300 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
301 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
302 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
303 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
304 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
305 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
306 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
307 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
308 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
309 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
310 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
311 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
312 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
313 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
314 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
315 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
316 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
317 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
318 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
319 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
320 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
321 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
322 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
323 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
324 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
325 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
326 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
327 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
328 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
329 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
330 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
331 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
332 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
333 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
334 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
335 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
336 * sysdeps/ieee754/s_matherr.c: Likewise.
337 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
338 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
339 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
340 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
341
3422012-01-26 Joseph Myers <joseph@codesourcery.com>
343
344 * crypt/md5.h: Remove __STDC__ conditionals.
345 * libio/libioP.h: Likewise.
346 * locale/programs/config.h: Likewise.
347 * sysdeps/generic/sysdep.h: Likewise.
348 * sysdeps/i386/asm-syntax.h: Likewise.
349 * sysdeps/s390/asm-syntax.h: Likewise.
350 * sysdeps/unix/sysdep.h: Likewise.
351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
353
3542012-01-26 Joseph Myers <joseph@codesourcery.com>
355
356 * libio/libio.h: Remove __STDC__ conditionals.
357 * malloc/obstack.h: Likewise.
358 * math/complex.h: Likewise.
359 * math/math.h: Likewise.
360 * sysdeps/generic/_G_config.h: Likewise.
361 * sysdeps/gnu/_G_config.h: Likewise.
362 * sysdeps/mach/hurd/_G_config.h: Likewise.
363 * sysdeps/powerpc/bits/mathdef.h: Likewise.
364 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
365 * sysdeps/sparc/bits/mathdef.h: Likewise.
366
3672012-01-26 Ulrich Drepper <drepper@gmail.com>
368
369 [BZ #13583]
370 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
371 Clean up HAS_* macros.
372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
373 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
374 possible.
375 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
376 HAS_AVX.
377 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
378 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
379 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
380 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
381 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
382
3832012-01-25 Joseph Myers <joseph@codesourcery.com>
384
385 * elf/tst-unique3.cc (gets): Remove declaration.
386 * elf/tst-unique3lib.cc (gets): Likewise.
387 * elf/tst-unique3lib2.cc (gets): Likewise.
388 * elf/tst-unique4.cc (gets): Likewise.
389
3902012-01-24 Ulrich Drepper <drepper@gmail.com>
391
392 * include/stdio.h: Add C++ protection. Add gets declarations and
393 definitions.
394 * debug/tst-chk1.c: Don't declare gets here.
395 * stdio-common/tst-gets.c: Likewise.
396
3972012-01-24 Joseph Myers <joseph@codesourcery.com>
398
399 * posix/glob: Remove directory.
400
4012012-01-24 Joseph Myers <joseph@codesourcery.com>
402
403 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
404
4052012-01-22 Pino Toscano <toscano.pino@tiscali.it>
406
407 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
408 of the non-standard EPFNOSUPPORT.
409
4102011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
411
412 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
413 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
414 ANYWHERE set to 1 only on KERN_NO_SPACE error.
415
4162012-01-21 Ulrich Drepper <drepper@gmail.com>
417
418 * wcsmbs/uchar.h: Test __STDC_VERSION__.
419
4202012-01-20 Ulrich Drepper <drepper@gmail.com>
421
422 * nscd/aicache.c (addhstaiX): Do not cache negative results of
423 transient errors.
424 * nscd/grpcache.c (cache_addgr): Likewise.
425 * nscd/hstcache.c (cache_addhst): Likewise.
426 * nscd/initgrcache.c (addinitgroupsX): Likewise.
427 * nscd/pwdcache.c (cache_addpw): Likewise.
428 * nscd/servicescache.c (cache_addserv): Likewise.
429
4302012-01-16 Ulrich Drepper <drepper@gmail.com>
431
432 * malloc/malloc.c: Various cleanups.
433 * malloc/hooks.c: Likewise.
434
435 * stdlib/Makefile (tests): Add bug-fmtmsg1.
436 * stdlib/bug-fmtmsg1.c: New file.
437
438 * stdlib/fmtmsg.c (init): Add missing unlock.
439 Patch by Peng Haitao <penght@cn.fujitsu.com>.
440
4412012-01-12 Marek Polacek <polacek@redhat.com>
442
443 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
444 and _GNU_SOURCE.
445
4462012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
447
448 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
449 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
450 macro to ensure uniqueness of label name.
451 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
452 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
453
4542012-01-11 Ulrich Drepper <drepper@gmail.com>
455
456 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
457
458 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
459 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
460 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
461 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
462
4632012-01-10 Ulrich Drepper <drepper@gmail.com>
464
465 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
466
467 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
468 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
469 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
470
471 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
472
473 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
474 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
475 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
476 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
477
478 * math/bits/math-finite.h: Add ldexp support.
479
4802012-01-10 Marek Polacek <polacek@redhat.com>
481
482 * locale/programs/localedef.h (show_archive_content): Add noreturn
483 attribute.
484
4852012-01-09 Ulrich Drepper <drepper@gmail.com>
486
487 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
488
4892012-01-08 Ulrich Drepper <drepper@gmail.com>
490
491 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
492
493 * io/Makefile (headers): Add bits/poll2.h.
494
4952011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
496
497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
498 typo #include statement.
499
5002012-01-08 Ulrich Drepper <drepper@gmail.com>
501
502 * include/sys/cdefs.h: Define __attribute_alloc_size.
503 * catgets/gencat.c: Add alloc_size attribute and apply consistently
504 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
505 * elf/pldd.c: Likewise.
506 * iconv/iconv_charmap.c: Likewise.
507 * iconv/iconvconfig.c: Likewise.
508 * iconv/strtab.c: Likewise.
509 * locale/programs/locale.c: Likewise.
510 * locale/programs/localedef.h: Likewise.
511 * locale/programs/simple-hash.c: Likewise.
512 * nscd/nscd.h: Likewise.
513 * nss/makedb.c: Likewise.
514 * sysdeps/generic/ldconfig.h: Likewise.
515 * locale/programs/localedef.c: Remove xmalloc prototype.
516 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
517
5182012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
519
520 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
521 appropriate.
522
5232012-01-08 Ulrich Drepper <drepper@gmail.com>
524
525 * math/Makefile (tests): Add tst-CMPLX.
526 * math/tst-CMPLX.c: New file.
527
528 * math/complex.h (CMPLXL): Fix typo.
529
530 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
531 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
532 GLIBC_2.16.
533 * debug/tst-chk1.c: Add poll and ppoll tests.
534 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
535 * include/sys/poll.h: Add hidden proto for ppoll.
536 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
537 * sysdeps/mach/hurd/ppoll.c: Likewise.
538 * io/ppoll.c: Likewise.
539 * debug/poll_chk.c: New file.
540 * debug/ppoll_chk.c: New file.
541 * include/bits/poll2.h: New file.
542 * io/bits/poll2.h: New file.
543
544 [BZ #1350]
545 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
546
547 * configure.in: static is always set to yes. Remove.
548 * config.make.in: Don't set build-static.
549 * Makeconfig: Remove use of build-static.
550 * dlfcn/Makefile: Likewise.
551 * elf/Makefile: Likewise.
552 * math/Makefile: Likewise.
553 * misc/Makefile: Likewise.
554 * nptl/Makefile: Likewise.
555 * sysdeps/mach/hurd/Makefile: Likewise.
556
557 * configure.in: PWD_P is not used anymore.
558 * config.make.in: Remove PWD_P entry.
559
560 * configure.in: Remove last remnants of RANLIB.
561 No need to check for signed size_t anymore.
562 Don't set libc_commonpagesize and libc_relro_required here for Alpha
563 and IA-64.
564 Remove __builtin_expect test because we require at least gcc 3.4.
565 * aclocal.m4: Likewise.
566
567 * wcsmbs/mbrtoc16.c: Implement using towc function.
568 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
569 * wcsmbs/wcsmbsload.c: Likewise.
570 * iconv/gconv_simple.c: Likewise.
571 * iconv/gconv_int.h: Likewise.
572 * iconv/gconv_builtin.h: Likewise.
573 * iconv/iconv_prog.c: Remove CHAR16 handling.
574
575 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
576
577 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
578
579 * configure.in: Remove --with-elf and --enable-bounded options.
580 Dont set base_machine for ia64. More non-ELF conditions removed.
581 Remove testing and setting of leading underscore information.
582 * config.make.in (build-bounded): Set to no.
583 * config.h.in: Remove NO_UNDERSCORES entry.
584 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
585 them.
586 * csu/start.c: Remove !NO_UNDERSCORE code.
587 * locale/localeinfo.h: Likewise.
588 * sysdeps/generic/machine-gmon.h: Likewise.
589 * sysdeps/generic/sysdep.h: Likewise.
590 * sysdeps/i386/sysdep.h: Likewise.
591 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
592 * sysdeps/mach/sysdep.h: Likewise.
593 * sysdeps/s390/s390-32/sysdep.h: Likewise.
594 * sysdeps/s390/s390-64/sysdep.h: Likewise.
595 * sysdeps/sh/sysdep.h: Likewise.
596 * sysdeps/sparc/sparc32/alloca.S: Likewise.
597 * sysdeps/unix/i386/sysdep.S: Likewise.
598 * sysdeps/unix/sparc/start.c: Likewise.
599 * sysdeps/unix/sparc/sysdep.S: Likewise.
600 * sysdeps/unix/sparc/sysdep.h: Likewise.
601 * sysdeps/unix/start.c: Likewise.
602 * sysdeps/unix/x86_64/sysdep.S: Likewise.
603 * sysdeps/x86_64/sysdep.h: Likewise.
604
6052012-01-07 Ulrich Drepper <drepper@gmail.com>
606
607 [BZ #13553]
608 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
609 for non-gcc.
610 * argp/argp-fmtstream.h: Use const instead __const.
611 * argp/argp.h: Likewise.
612 * assert/assert.h: Likewise.
613 * bits/fenv.h: Likewise.
614 * bits/sched.h: Likewise.
615 * bits/sigset.h: Likewise.
616 * bits/sigthread.h: Likewise.
617 * catgets/nl_types.h: Likewise.
618 * conform/data/pthread.h-data: Likewise.
619 * crypt/crypt-private.h: Likewise.
620 * crypt/crypt.h: Likewise.
621 * crypt/crypt_util.c: Likewise.
622 * ctype/ctype.h: Likewise.
623 * debug/execinfo.h: Likewise.
624 * debug/mbsnrtowcs_chk.c: Likewise.
625 * debug/mbsrtowcs_chk.c: Likewise.
626 * debug/wcsnrtombs_chk.c: Likewise.
627 * debug/wcsrtombs_chk.c: Likewise.
628 * debug/wcstombs_chk.c: Likewise.
629 * dirent/dirent.h: Likewise.
630 * dlfcn/dlfcn.h: Likewise.
631 * elf/neededtest4.c: Likewise.
632 * grp/grp.h: Likewise.
633 * gshadow/gshadow.h: Likewise.
634 * iconv/gconv.h: Likewise.
635 * iconv/gconv_int.h: Likewise.
636 * iconv/gconv_simple.c: Likewise.
637 * iconv/iconv.h: Likewise.
638 * iconv/loop.c: Likewise.
639 * iconv/skeleton.c: Likewise.
640 * include/aio.h: Likewise.
641 * include/aliases.h: Likewise.
642 * include/argz.h: Likewise.
643 * include/arpa/inet.h: Likewise.
644 * include/assert.h: Likewise.
645 * include/dirent.h: Likewise.
646 * include/dlfcn.h: Likewise.
647 * include/execinfo.h: Likewise.
648 * include/fcntl.h: Likewise.
649 * include/fenv.h: Likewise.
650 * include/glob.h: Likewise.
651 * include/grp.h: Likewise.
652 * include/libintl.h: Likewise.
653 * include/mntent.h: Likewise.
654 * include/netdb.h: Likewise.
655 * include/pwd.h: Likewise.
656 * include/rpc/netdb.h: Likewise.
657 * include/sched.h: Likewise.
658 * include/search.h: Likewise.
659 * include/shadow.h: Likewise.
660 * include/signal.h: Likewise.
661 * include/stdio.h: Likewise.
662 * include/stdlib.h: Likewise.
663 * include/string.h: Likewise.
664 * include/sys/socket.h: Likewise.
665 * include/sys/stat.h: Likewise.
666 * include/sys/statfs.h: Likewise.
667 * include/sys/statvfs.h: Likewise.
668 * include/sys/syslog.h: Likewise.
669 * include/sys/time.h: Likewise.
670 * include/sys/uio.h: Likewise.
671 * include/time.h: Likewise.
672 * include/unistd.h: Likewise.
673 * include/utmp.h: Likewise.
674 * include/wchar.h: Likewise.
675 * include/wctype.h: Likewise.
676 * inet/aliases.h: Likewise.
677 * inet/arpa/inet.h: Likewise.
678 * inet/netinet/ether.h: Likewise.
679 * inet/netinet/in.h: Likewise.
680 * intl/libintl.h: Likewise.
681 * io/bits/fcntl2.h: Likewise.
682 * io/fcntl.h: Likewise.
683 * io/ftw.h: Likewise.
684 * io/sys/poll.h: Likewise.
685 * io/sys/stat.h: Likewise.
686 * io/sys/statfs.h: Likewise.
687 * io/sys/statvfs.h: Likewise.
688 * io/utime.h: Likewise.
689 * libio/bits/stdio.h: Likewise.
690 * libio/bits/stdio2.h: Likewise.
691 * libio/libio.h: Likewise.
692 * libio/libioP.h: Likewise.
693 * libio/stdio.h: Likewise.
694 * locale/lc-ctype.c: Likewise.
695 * locale/locale.h: Likewise.
696 * login/utmp.h: Likewise.
697 * malloc/arena.c: Likewise.
698 * malloc/malloc.c: Likewise.
699 * malloc/malloc.h: Likewise.
700 * malloc/mcheck.c: Likewise.
701 * malloc/mtrace.c: Likewise.
702 * math/bits/mathcalls.h: Likewise.
703 * math/fenv.h: Likewise.
704 * math/math_private.h: Likewise.
705 * misc/bits/error.h: Likewise.
706 * misc/bits/syslog.h: Likewise.
707 * misc/err.h: Likewise.
708 * misc/error.h: Likewise.
709 * misc/fstab.h: Likewise.
710 * misc/mntent.h: Likewise.
711 * misc/regexp.h: Likewise.
712 * misc/search.h: Likewise.
713 * misc/sgtty.h: Likewise.
714 * misc/sys/mman.h: Likewise.
715 * misc/sys/syslog.h: Likewise.
716 * misc/sys/uio.h: Likewise.
717 * misc/sys/xattr.h: Likewise.
718 * misc/ttyent.h: Likewise.
719 * nis/rpcsvc/ypclnt.h: Likewise.
720 * nss/nss.h: Likewise.
721 * posix/bits/unistd.h: Likewise.
722 * posix/fnmatch.h: Likewise.
723 * posix/glob.h: Likewise.
724 * posix/sched.h: Likewise.
725 * posix/spawn.h: Likewise.
726 * posix/sys/wait.h: Likewise.
727 * posix/unistd.h: Likewise.
728 * posix/wordexp.h: Likewise.
729 * pwd/pwd.h: Likewise.
730 * resolv/netdb.h: Likewise.
731 * resource/sys/resource.h: Likewise.
732 * rt/aio.h: Likewise.
733 * rt/bits/mqueue2.h: Likewise.
734 * rt/mqueue.h: Likewise.
735 * shadow/shadow.h: Likewise.
736 * signal/signal.h: Likewise.
737 * socket/send.c: Likewise.
738 * socket/sendto.c: Likewise.
739 * socket/sys/socket.h: Likewise.
740 * stdio-common/printf.h: Likewise.
741 * stdlib/bits/stdlib.h: Likewise.
742 * stdlib/fmtmsg.h: Likewise.
743 * stdlib/monetary.h: Likewise.
744 * stdlib/stdlib.h: Likewise.
745 * stdlib/ucontext.h: Likewise.
746 * streams/stropts.h: Likewise.
747 * string/argz.h: Likewise.
748 * string/bits/string2.h: Likewise.
749 * string/string.h: Likewise.
750 * string/strings.h: Likewise.
751 * sunrpc/rpc/auth.h: Likewise.
752 * sunrpc/rpc/auth_des.h: Likewise.
753 * sunrpc/rpc/clnt.h: Likewise.
754 * sunrpc/rpc/netdb.h: Likewise.
755 * sunrpc/rpc/pmap_clnt.h: Likewise.
756 * sunrpc/rpc/xdr.h: Likewise.
757 * sysdeps/generic/inttypes.h: Likewise.
758 * sysdeps/generic/net/if.h: Likewise.
759 * sysdeps/generic/sys/swap.h: Likewise.
760 * sysdeps/gnu/net/if.h: Likewise.
761 * sysdeps/gnu/utmpx.h: Likewise.
762 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
763 * sysdeps/i386/i486/bits/string.h: Likewise.
764 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
765 * sysdeps/s390/bits/string.h: Likewise.
766 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
767 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
768 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
769 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
770 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
771 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
772 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
773 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
774 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
775 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
776 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
777 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
778 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
779 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
780 * sysdeps/unix/sysv/linux/readv.c: Likewise.
781 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
782 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
784 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
785 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
786 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
787 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
788 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
789 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
790 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
791 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
792 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
793 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
794 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
795 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
796 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
797 * sysvipc/sys/ipc.h: Likewise.
798 * sysvipc/sys/msg.h: Likewise.
799 * sysvipc/sys/sem.h: Likewise.
800 * sysvipc/sys/shm.h: Likewise.
801 * termios/termios.h: Likewise.
802 * time/sys/time.h: Likewise.
803 * time/time.h: Likewise.
804 * wcsmbs/bits/wchar2.h: Likewise.
805 * wcsmbs/uchar.h: Likewise.
806 * wcsmbs/wchar.h: Likewise.
807 * wctype/wctype.h: Likewise.
808
809 [BZ #13551]
810 * Makeconfig: Remove all but ELF support including AIX support.
811 * Makerules: Likewise.
812 * config.h.in: Likewise.
813 * config.make.in: Likewise.
814 * configure: Likewise.
815 * configure.in: Likewise.
816 * csu/Makefile: Likewise.
817 * csu/version.c: Likewise.
818 * debug/Makefile: Likewise.
819 * dlfcn/Makefile: Likewise.
820 * elf/Makefile: Likewise.
821 * extra-lib.mk: Likewise.
822 * iconv/Makefile: Likewise.
823 * include/libc-symbols.h: Likewise.
824 * include/shlib-compat.h: Likewise.
825 * resolv/Makefile: Likewise.
826 * resolv/res_libc.c: Likewise.
827 * rt/Makefile: Likewise.
828 * sysdeps/i386/asm-syntax.h: Likewise.
829 * sysdeps/i386/sysdep.h: Likewise.
830 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
831 * sysdeps/mach/sysdep.h: Likewise.
832 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
833 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
834 * sysdeps/s390/asm-syntax.h: Likewise.
835 * sysdeps/s390/s390-32/sysdep.h: Likewise.
836 * sysdeps/s390/s390-64/sysdep.h: Likewise.
837 * sysdeps/sh/sysdep.h: Likewise.
838 * sysdeps/unix/sparc/sysdep.h: Likewise.
839 * sysdeps/wordsize-32/divdi3.c: Likewise.
840 * sysdeps/x86_64/sysdep.h: Likewise.
841
842 * argp/Versions: Remove _argp_unlock_xxx.
843
844 [BZ #13559]
845 * abilist/ld.abilist: Update. Adjust for removal of tls option.
846 * abilist/libBrokenLocale.abilist: Likewise.
847 * abilist/libanl.abilist: Likewise.
848 * abilist/libc.abilist: Likewise.
849 * abilist/libcrypt.abilist: Likewise.
850 * abilist/libdl.abilist: Likewise.
851 * abilist/libm.abilist: Likewise.
852 * abilist/libnsl.abilist: Likewise.
853 * abilist/libpthread.abilist: Likewise.
854 * abilist/libresolv.abilist: Likewise.
855 * abilist/librt.abilist: Likewise.
856 * abilist/libthread_db.abilist: Likewise.
857 * abilist/libutil.abilist: Likewise.
858 * abilist/libnss_db.abilist: New file.
859
860 * scripts/abilist.awk: Add support for indirect functions.
861
862 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
863
864 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
865
866 * shlib-versions: Remove entries for ports architectures.
867
868 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
869 files in ports.
870 * elf/stackguard-macros.h: Remove support for IA-64.
871 * elf/tst-auditmod1.c: Likewise.
872 * sysdeps/generic/ldsodefs.h: Likewise.
873
874 * sysdeps/unix/sysv/linux/configure.in: Ports should define
875 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
876 configure files.
877
878 [BZ #13552]
879 * configure.in: Remove --enable-omitfp support.
880 * FAQ.in: Adjust.
881 * config.make.in: Likewise.
882 * Makeconfig: Likewise.
883 * manual/install.texi: Likewise.
884
885 In case anyone cares, the IA-64 architecture could move to ports.
886 * sysdeps/ia64/*: Removed.
887 * sysdeps/unix/sysv/linux/ia64/*: Removed.
888 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
889
890 [BZ #13555]
891 * configure.in: Remove entries for unsupported architectures.
892
893 [BZ #13533]
894 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
895 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
896 routines.
897 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
898 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
899 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
900 fall back to using wcrtomb.
901 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
902 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
903 renaming.
904 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
905 * wcsmbs/tst-c16c32-1.c: New file.
906
907 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
908 local variable.
909
910 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
911
912 * elf/tst-unique3.cc: Add explicit declaration of gets.
913 * elf/tst-unique3lib.cc: Likewise.
914 * elf/tst-unique3lib2.cc: Likewise.
915 * elf/tst-unique4.cc: Likewise.
916
917 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
918
9192012-01-06 Joseph Myers <joseph@codesourcery.com>
920
921 [BZ #13566]
922 * assert/assert.h (static_assert): Don't define for C++.
923 * libio/stdio.h (gets): Do declare for C++ <= C++11.
924 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
925
9262012-01-03 Ulrich Drepper <drepper@gmail.com>
927
928 * iconv/loop.c (single loop): Fix assertion in storing of
929 remaining bytes.
930
931 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
932
9332012-01-01 Ulrich Drepper <drepper@gmail.com>
934
935 * posix/getconf.c: Update copyright year.
936 * nss/getent.c: Likewise.
937 * nss/makedb.c: Likewise.
938 * iconv/iconvconfig.c: Likewise.
939 * iconv/iconv_prog.c: Likewise.
940 * elf/ldconfig.c: Likewise.
941 * elf/pldd.c: Likewise.
942 * elf/sotruss.ksh: Likewise.
943 * catgets/gencat.c: Likewise.
944 * csu/version.c: Likewise.
945 * elf/ldd.bash.in: Likewise.
946 * elf/sprof.c (print_version): Likewise.
947 * locale/programs/locale.c: Likewise.
948 * locale/programs/localedef.c: Likewise.
949 * login/programs/pt_chown.c: Likewise.
950 * nscd/nscd.c (print_version): Likewise.
951 * debug/xtrace.sh: Likewise.
952 * malloc/memusage.sh: Likewise.
953 * malloc/mtrace.pl: Likewise.
954 * debug/catchsegv.sh: Likewise.
955
9562011-12-30 Jakub Jelinek <jakub@redhat.com>
957
958 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
959 pure attribute.
960
9612011-12-24 Ulrich Drepper <drepper@gmail.com>
962
963 [BZ #13533]
964 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
965 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
966 transformations.
967 * iconv/gconv_int.h: Likewise.
968 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
969 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
970 from libc for GLIBC_2.16.
971 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
972 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
973 * wcsmbs/uchar.h: Really define mbstate_t.
974 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
975 * wcsmbs/c16rtomb.c: New file.
976 * wcsmbs/mbrtoc16.c: New file.
977 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
978 for C/POSIX locale.
979 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
980 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
981
982 * wcsmbs/wchar.h: Add missing __restrict.
983
9842011-12-23 Ulrich Drepper <drepper@gmail.com>
985
986 [BZ #13532]
987 * time/Makefile (routines): Add timespec_get.
988 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
989 * time/time.h: Define TIME_UTC and declare timespec_get. Define
990 timespec for ISO C11.
991 * time/timespec_get.c: New file.
992 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
993 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
994
995 [BZ #13531]
996 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
997 * stdlib/stdlib.h: Declare aligned_alloc.
998 * Versions.def: Add GLIBC_2.16 for libc.
999 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
1000
1001 [BZ 13527]
1002 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
1003 ISO C11.
1004
1005 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
1006 code.
1007
1008 [BZ #13528]
1009 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
1010
1011 [BZ #13529]
1012 * assert/assert.h (static_assert): Define.
1013
1014 * version.h: Update for 2.16 development version.
1015
1016 [BZ #13526]
1017 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
1018 _ISOC11_SOURCE.
1019
1020 * version.h (RELEASE): Bump for 2.15 release.
1021 * include/features.h (__GLIBC_MINOR__): Bump to 15.
1022
1023 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
1024 Patch by Marek Polacek <mpolacek@redhat.com>.
1025
1026 * bits/byteswap.h: Protect long long constants with __extension__.
1027 * sysdeps/i386/bits/byteswap.h: Likewise.
1028 * sysdeps/ia64/bits/byteswap.h: Likewise.
1029 * sysdeps/s390/bits/byteswap.h: Likewise.
1030 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1031
10322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1033
1034 [BZ #13540]
1035 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
1036 destination buffer.
1037 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1038
10392011-12-23 Marek Polacek <polacek@redhat.com>
1040
1041 * elf/dl-addr.c (determine_info): Add inline keyword.
1042 * elf/tst-auditmod4b.c (check_avx): Likewise.
1043 * elf/tst-auditmod6b.c (check_avx): Likewise.
1044 * elf/tst-auditmod6c.c (check_avx): Likewise.
1045 * elf/tst-auditmod7b.c (check_avx): Likewise.
1046
10472011-12-23 Ulrich Drepper <drepper@gmail.com>
1048
1049 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
1050 !__SSE_MATH__.
1051
10522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1053
1054 [BZ #13540]
1055 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
1056 processing for last bytes.
1057
10582011-08-06 Bruno Haible <bruno@clisp.org>
1059
1060 [BZ #13061]
1061 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
1062 U+0385, not to U+1FEE.
1063
1064 [BZ #13062]
1065 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
1066 entry for U+00A5 U+0301.
1067
10682011-12-22 Ulrich Drepper <drepper@gmail.com>
1069
1070 [BZ #13166]
1071 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
1072 buffer for the output is too small.
1073
1074 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
1075 optimization.
1076
1077 [BZ #13185]
1078 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
1079 SSE flags if possible.
1080
10812011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1082
1083 [BZ #13540]
1084 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
1085 processing for last bytes.
1086
10872011-12-22 Joseph Myers <joseph@codesourcery.com>
1088
1089 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
1090 (syscall-list-default-options, syscall-list-default-condition)
1091 (syscall-list-includes): Define.
1092 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
1093 list of ABIs and options and #if conditions for each ABI. Do not
1094 handle common syscalls between ABIs specially.
1095 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
1096 Remove.
1097 (syscall-list-variants, syscall-list-32bit-options)
1098 (syscall-list-32bit-condition, syscall-list-64bit-options)
1099 (syscall-list-64bit-condition): Define.
1100 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
1101 (syscall-list-variants, syscall-list-32bit-options)
1102 (syscall-list-32bit-condition, syscall-list-64bit-options)
1103 (syscall-list-64bit-condition): Define.
1104 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
1105 Remove.
1106 (syscall-list-variants, syscall-list-32bit-options)
1107 (syscall-list-32bit-condition, syscall-list-64bit-options)
1108 (syscall-list-64bit-condition): Define.
1109 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
1110 Remove.
1111 (syscall-list-variants, syscall-list-32bit-options)
1112 (syscall-list-32bit-condition, syscall-list-64bit-options)
1113 (syscall-list-64bit-condition): Define.
1114
11152011-12-22 Ulrich Drepper <drepper@gmail.com>
1116
1117 * locale/iso-639.def: Add brx entry.
1118
1119 [BZ #13328]
1120 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
1121 Proposed by Mariusz_Cukr <marcukr@op.pl>.
1122
1123 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
1124 __feraiseexcept_renamed.
1125
11262011-12-21 Ulrich Drepper <drepper@gmail.com>
1127
1128 [BZ #13538]
1129 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
1130 EPOLLET with unsigned values.
1131 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1132 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1133
1134 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
1135 to large cancellation.
1136 * math/s_cacoshf.c: Likewise.
1137 * math/s_cacoshl.c: Likewise.
1138
11392011-11-18 Richard B. Kreckel <kreckel@ginac.de>
1140
1141 [BZ #13305]
1142 [BZ #12786]
1143 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
1144 * math/s_cacoshf.c: Likewise.
1145 * math/s_cacoshl.c: Likewise.
1146
11472011-12-21 Ulrich Drepper <drepper@gmail.com>
1148
1149 [BZ #13439]
1150 * iconv/gconv.h: Define __GCONV_SWAP.
1151 * iconvdata/unicode.c: The swap bit must be stored in __flags.
1152 * iconvdata/utf-16.c: Likewise.
1153 * iconvdata/utf-32.c: Likewise.
1154
11552011-12-21 Andreas Schwab <schwab@linux-m68k.org>
1156
1157 [BZ #13524]
1158 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
1159 numerator after shifting it by one limb.
1160
11612011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
1162
1163 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
1164 under [__USE_EXTERN_INLINES].
1165
11662011-12-17 Ulrich Drepper <drepper@gmail.com>
1167
1168 [BZ #13446]
1169 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
1170
11712011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1172
1173 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
1174 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
1175 optimized code.
1176 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
1177 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
1178 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
1179 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
1180 for strncasecmp/strncasecmp_l compilation.
1181 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
1182 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
1183
11842011-12-08 Marek Polacek <mpolacek@redhat.com>
1185
1186 [BZ #13484]
1187 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
1188 of __asm__.
1189
11902011-12-17 Ulrich Drepper <drepper@gmail.com>
1191
1192 [BZ #13506]
1193 * time/tzfile.c (__tzfile_read): Check values from file header.
1194
11952011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1196
1197 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
1198 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
1199 * powerpc/powerpc32/dl-start.S: Likewise.
1200 * powerpc/powerpc32/elf/start.S: Likewise.
1201 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1202 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
1203 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1204 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
1205 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1206 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
1207 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
1208 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1209 * powerpc/powerpc32/fpu/s_round.S: Likewise.
1210 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1211 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1212 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1213 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1214 * powerpc/powerpc32/memset.S: Likewise.
1215 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1216 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1217 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1218 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1219 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1220 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1221 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1222 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1223 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
1224 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
1225 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
1226 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1227 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1228
12292011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1230
1231 * math/libm-test.inc: Added more nearbyint tests.
1232 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
1233 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
1234 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
1235 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
1236
12372011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
1238
1239 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
1240 FD_CLOEXEC.
1241
12422011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1243
1244 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
1245 Add wcscpy-ssse3 wcscpy-c.
1246 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
1247 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
1248 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
1249 * sysdeps/x86_64/wcschr.S: New file.
1250 * sysdeps/x86_64/wcsrchr.S: New file.
1251 * string/test-strcmp.c: Remove checking of wcscmp function for
1252 wrong alignments.
1253 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
1254 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
1255 wcsrchr-sse2 wcsrchr-c.
1256 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
1257 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
1258 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
1259 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
1260 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
1261 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
1262 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
1263 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
1264 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
1265 * wcsmbc/wcschr.c (WCSCHR): New macro.
1266
12672011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1268
1269 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
1270 * wcsmbs/test-wcsrchr.c: New file.
1271 * string/test-strrchr.c: Add wcsrchr support.
1272 (WIDE): New macro.
1273 * wcsmbs/test-wcscpy.c: New file.
1274 * string/test-strcpy.c: Add wcscpy support.
1275 (WIDE): New macro.
1276
12772011-12-10 Ulrich Drepper <drepper@gmail.com>
1278
1279 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
1280 the inner loop.
1281
12822011-12-06 Andreas Schwab <schwab@linux-m68k.org>
1283
1284 [BZ #13472]
1285 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
1286
12872011-12-04 Ulrich Drepper <drepper@gmail.com>
1288
1289 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
1290 Minor optimizations.
1291
1292 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
1293 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
1294 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1295
12962011-12-03 Ulrich Drepper <drepper@gmail.com>
1297
1298 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
1299 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1300 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
1301 for gcc to avoid warnings.
1302 * inet/Makefile (tests): Add tst-checks.
1303 * inet/tst-checks.c: New file.
1304
1305 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
1306 warning.
1307
1308 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
1309 __wmemcmp_sse2.
1310
1311 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
1312 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
1313
1314 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
1315
13162011-12-02 Ulrich Drepper <drepper@gmail.com>
1317
1318 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
1319 problem.
1320
1321 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
1322
13232011-11-29 Joseph Myers <joseph@codesourcery.com>
1324
1325 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
1326 conditional on GCC version.
1327 (__arch_compare_and_exchange_val_8_acq)
1328 (__arch_compare_and_exchange_val_16_acq)
1329 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
1330 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
1331 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
1332
13332011-12-02 Joseph Myers <joseph@codesourcery.com>
1334
1335 * sysdeps/sh/backtrace.c: New file.
1336
13372011-12-02 Andreas Schwab <schwab@redhat.com>
1338
1339 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
1340 parenthesis.
1341
13422011-12-01 Andreas Schwab <schwab@redhat.com>
1343
1344 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
1345 falling back to utime.
1346
13472011-11-30 Andreas Schwab <schwab@redhat.com>
1348
1349 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
1350 expectations for float.
1351
13522011-11-29 Andreas Schwab <schwab@redhat.com>
1353
1354 * locale/weight.h (findidx): Add parameter len.
1355 * locale/weightwc.h (findidx): Likewise.
1356 * posix/fnmatch_loop.c (FCT): Adjust caller.
1357 * posix/regcomp.c (build_equiv_class): Likewise.
1358 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
1359 * posix/regexec.c (check_node_accept_bytes): Likewise.
1360 * string/strcoll_l.c (STRCOLL): Likewise.
1361 * string/strxfrm_l.c (STRXFRM): Likewise.
1362
13632011-11-17 Ulrich Drepper <drepper@gmail.com>
1364
1365 * Makefile.in: Remove CVSOPT handling.
1366 * configure.in: Remove use of AC_REVISION.
1367 * iconvdata/Makefile (distribute): No need to filter out CVS.
1368 * scripts/list-sources.sh: Remove CVS, subversion and monotone
1369 handling.
1370
13712011-11-16 Andreas Schwab <schwab@redhat.com>
1372
1373 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
1374 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
1375 [USE_AS_STRNCASECMP_L]: Likewise.
1376 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
1377 NO_TLS_DIRECT_SEG_REFS.
1378 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
1379 Fix argument offsets for non-PIC.
1380 [USE_AS_STRNCASECMP_L]: Likewise.
1381 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
1382 NO_TLS_DIRECT_SEG_REFS.
1383
13842011-11-15 Ulrich Drepper <drepper@gmail.com>
1385
1386 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
1387 O_CLOEXEC.
1388 * locale/loadlocale.c (_nl_load_locale): Likewise.
1389
13902011-11-15 Andreas Schwab <schwab@redhat.com>
1391
1392 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
1393 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
1394 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
1395 (SYSCALL_GETTIME): Set errno on error.
1396
1397 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
1398 count references to noai6ai_cached.
1399
14002011-11-15 Ulrich Drepper <drepper@gmail.com>
1401
1402 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
1403
1404 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
1405 FD_CLOEXEC for /proc/self/maps.
1406
1407 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
1408 FD_CLOEXEC for /proc/meminfo.
1409
1410 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
1411 gai.conf.
1412
1413 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
1414 FD_CLOEXEC for given file.
1415
1416 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
1417
1418 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
1419 FD_CLOEXEC for /etc/hosts.
1420 (_gethtent): Likewise.
1421
1422 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
1423
1424 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
1425 cancellation and set FD_CLOEXEC for /etc/netgroup.
1426
1427 * nss/nss_files/files-key.c (search): Don't allow cancellation when
1428 reading /etc/publickey.
1429
1430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
1431 allow cancellation when reading /etc/group.
1432
1433 * nss/nss_files/files-alias.c (internal_setent): Don't allow
1434 cancellation.
1435 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
1436
1437 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
1438 when using data file.
1439
1440 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
1441
1442 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
1443 (write_nis_obj): Use "c" and "e" in fopen.
1444
1445 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
1446
1447 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
1448
1449 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
1450
1451 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
1452
1453 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
1454 locale.alias.
1455
1456 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
1457
1458 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
1459
1460 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
1461
1462 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
1463 file parsing and set FD_CLOEXEC.
1464
14652011-11-14 Ulrich Drepper <drepper@gmail.com>
1466
1467 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
1468
14692011-11-14 Andreas Schwab <schwab@redhat.com>
1470
1471 * malloc/arena.c (arena_get2): Don't call reused_arena when
1472 _int_new_arena failed.
1473
14742011-11-14 Ulrich Drepper <drepper@gmail.com>
1475
1476 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
1477 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
1478 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
1479 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1480 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1481 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
1482 to compile strcasecmp and strncasecmp.
1483 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
1484 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
1485
1486 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
1487
14882011-11-13 Ulrich Drepper <drepper@gmail.com>
1489
1490 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
1491 locale-defines.sym to gen-as-const-headers.
1492 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
1493 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
1494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
1495 to compile strcasecmp and strncasecmp.
1496 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
1497 strcasecmp_l and strncasecmp_l.
1498 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
1499 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
1500 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
1501 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
1502 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
1503 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
1504 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
1505 * sysdeps/i386/i686/multiarch/strncase.S: New file.
1506 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
1507 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
1508 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
1509
15102011-11-12 Ulrich Drepper <drepper@gmail.com>
1511
1512 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
1513 result of SYSDEP_GETTIME_CPU to retval.
1514 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
1515 parameter list to macro. Remove trailing semicolon. Adjust users.
1516
1517 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
1518 variable.
1519
1520 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
1521 mantissa words.
1522 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1523
1524 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
1525 from unused variable.
1526
1527 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
1528 DWARF definitions.
1529 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
1530 for assembling.
1531
1532 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
1533 over namespaces.
1534
1535 * sunrpc/rpc_prot.c (rejected): Fix case value.
1536
1537 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
1538 unsigned long long int to avoid warnings in shift.
1539
1540 * posix/regex_internal.c (re_string_reconstruct): Actually use result
1541 of use of trans.
1542 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
1543 variable tmp.
1544
1545 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
1546 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1547 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1548
1549 * nis/nis_table.c (nis_list): Use variable of correct type for
1550 result of __follow_path call.
1551
15522011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1553
1554 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
1555 of math functions ceil, trunc, floor, round, and sqrt, when
1556 avaliable on the platform.
1557 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
1558 name clash.
1559 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1560 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1561 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1562
15632011-10-30 Marek Polacek <mpolacek@redhat.com>
1564
1565 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
1566 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1567
15682011-11-11 Roland McGrath <roland@hack.frob.com>
1569
1570 * include/unistd.h: Fix __readlink return type.
1571 Reported by Chris Metcalf <cmetcalf@tilera.com>.
1572
15732011-11-11 Ulrich Drepper <drepper@gmail.com>
1574
1575 * stdlib/ucontext.h: Undo last change for makecontext.
1576
15772011-11-11 Andreas Schwab <schwab@redhat.com>
1578
1579 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
1580
1581 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
1582 * setjmp/setjmp.h: Mark functions as non-leaf.
1583 * setjmp/bits/setjmp2.h: Likewise.
1584 * stdlib/ucontext.h: Likewise.
1585
15862011-11-10 Andreas Schwab <schwab@redhat.com>
1587
1588 * malloc/arena.c (_int_new_arena): Don't increment narenas.
1589 (reused_arena): Don't check arena limit.
1590 (arena_get2): Atomically check arena limit.
1591
15922011-11-08 Ulrich Drepper <drepper@gmail.com>
1593
1594 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
1595 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
1596
1597 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
1598 instructions.
1599
16002011-11-07 Andreas Schwab <schwab@redhat.com>
1601
1602 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
1603 handler when locking.
1604
1605 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
1606 Fix size of allocated buffer.
1607
16082011-11-04 Andreas Schwab <schwab@redhat.com>
1609
1610 [BZ #10103]
1611 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
1612 declarations for long double functions.
1613 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
1614
1615 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
1616
16172011-11-03 Andreas Schwab <schwab@redhat.com>
1618
1619 * nscd/nscd.c (main): Don't start AVC thread until credentials are
1620 installed.
1621
1622 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
1623 is disabled.
1624
16252011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1626
1627 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
1628
16292011-11-01 Andreas Schwab <schwab@linux-m68k.org>
1630
1631 * include/alloca.h (stackinfo_alloca_round): Define.
1632 (extend_alloca): Use it.
1633 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
1634 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
1635 here.
1636
1637 * scripts/check-local-headers.sh: Ignore libaudit.h.
1638
1639 * nscd/Makefile (extra-objs): Make recursively expanded.
1640
16412011-11-01 Ulrich Drepper <drepper@gmail.com>
1642
1643 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
1644 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1645
1646 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
1647 * posix/tst-rfc3484-2.c: Likewise.
1648 * posix/tst-rfc3484-3.c: Likewise.
1649
1650 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1651 process_vm_writev.
1652 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
1653 process_vm_writev.
1654 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
1655 process_vm_writev from libc using GLIBC_2.15 version.
1656
1657 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
1658
16592011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1660
1661 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
1662 stack usage.
1663
16642011-10-31 Ulrich Drepper <drepper@gmail.com>
1665
1666 [BZ #13367]
1667 * nss/getent.c (initgroups_keys): Show error message in case no group
1668 names are given.
1669
1670 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
1671 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
1672 __bump_nl_timestamp.
1673 * nscd/connections (nscd_init): When host database is served open
1674 netlink socket and request notification about configuration changes.
1675 (main_loop_poll): Track netlink file descriptor and bump timestamp
1676 in case data becomes available.
1677 (main_loop_epoll): Likewise.
1678 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
1679 (database_pers_head): Add extra_data fileds.
1680 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
1681 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
1682 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
1683 Adjust caller.
1684 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
1685 in6ai data, call __free_in6ai.
1686 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
1687 Add -DHAVE_NETLINK.
1688 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
1689 interface information. Reuse previous data if netlink timestamp
1690 is not changed.
1691 (__bump_nl_timestamp): New function.
1692 (__free_in6ai): New function.
1693
16942011-10-30 Ulrich Drepper <drepper@gmail.com>
1695
1696 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
1697 close_not_cancel_no_status here.
1698 (__check_pf): Reorganize code a bit to not call close twice if OOM.
1699
17002011-10-29 Ulrich Drepper <drepper@gmail.com>
1701
1702 [BZ #13276]
1703 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
1704 return value.
1705
1706 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
1707 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
1708 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
1709
17102011-07-03 Andreas Jaeger <aj@suse.de>
1711
1712 [BZ #10709]
1713 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
1714 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
1715 * math/libm-test.inc (sin_test): Add test case.
1716
17172011-10-29 Ulrich Drepper <drepper@gmail.com>
1718
1719 [BZ #13337]
1720 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
1721 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1722
1723 * elf/chroot_canon.c (chroot_canon): Cleanups.
1724
1725 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
1726
1727 [BZ #13335]
1728 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
1729 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1730
1731 * string/test-strchr.c: Make usable for strchrnul testing.
1732 * string/test-strchrnul.c: New file.
1733 * string/Makefile (strop-tests): Add strchrnul.
1734
1735 * po/it.po: Update from translation team.
1736 * po/es.po: Likewise.
1737
17382011-10-28 Ulrich Drepper <drepper@gmail.com>
1739
1740 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
1741 the three constants needed as parameters. Drop the others.
1742 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
1743 __m128i_strloadu_tolower.
1744 Create and initialize variable zero and use it in all the places
1745 where _mm_setzero_si128 was used.
1746
1747 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
1748 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
1749 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
1750 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
1751 anymore.
1752 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
1753 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
1754 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
1755 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
1756 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
1757 __mpranred, __mptan.
1758 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
1759 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
1760 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
1761 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
1762 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
1763 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
1764 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
1765 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
1766 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
1767
17682011-10-28 Andreas Schwab <schwab@redhat.com>
1769
1770 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
1771 redefine if SHARED.
1772 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
1773
1774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
1775 wide char related routines to wcsmbs subdir.
1776
17772011-10-27 Andreas Schwab <schwab@redhat.com>
1778
1779 [BZ #13344]
1780 * misc/sys/cdefs.h (__THROWNL): Define.
1781 * posix/unistd.h: Use __THREADNL instead of __THREAD
1782 for memory synchronization functions.
1783
17842011-10-26 Roland McGrath <roland@hack.frob.com>
1785
1786 [BZ #13349]
1787 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
1788 doesn't exist.
1789 * manual/stdio.texi (Obstack Streams): Node removed.
1790
17912011-10-26 Andreas Schwab <schwab@redhat.com>
1792
1793 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
1794 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1795 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1796
1797 * math/math_private.h (math_force_eval): Allow non-addressable
1798 arguments.
1799 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
1800
18012011-10-25 Ulrich Drepper <drepper@gmail.com>
1802
1803 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
1804 file is not needed.
1805
1806 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
1807 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1808 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1809 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1810 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1811 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1812 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1813 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
1814 Add AVX variants.
1815 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
1816 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
1817 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
1818 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
1819 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
1820 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
1821 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
1822 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
1823 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
1824 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
1825 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
1826 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
1827 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
1828 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
1829 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
1830 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
1831 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
1832 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
1833 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
1834
1835 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
1836 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
1837
1838 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
1839 place. Use VEX encoding when compiling for AVX.
1840
18412011-10-25 Andreas Schwab <schwab@redhat.com>
1842
1843 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
1844 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1845
1846 * string/test-strchr.c (do_test): Don't generate NUL bytes.
1847
18482011-10-25 Ulrich Drepper <drepper@gmail.com>
1849
1850 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
1851 useless if() expression.
1852 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1853 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1854 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1855 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1856 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1857 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1858 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1859 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1860 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1861 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1862 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1863 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1864 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1865 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1866 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1867 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1868 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1870 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1871
1872 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
1873
18742011-10-25 Andreas Schwab <schwab@redhat.com>
1875
1876 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
1877 condition.
1878 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1879
18802011-10-25 Ulrich Drepper <drepper@gmail.com>
1881
1882 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
1883 .text section. Avoid duplicate constants.
1884 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1885 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1886 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1888 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1891 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1892 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1893 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
1894 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1895 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1896 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1897 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1898 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1899 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1900 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1901 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1902 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1903 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1904 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1905 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1906 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1907 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
1908 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
1909 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
1910 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
1911 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
1912 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
1913 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
1914 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
1915 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
1916 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1917 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
1918 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
1919 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
1920 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
1921 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
1922 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
1923 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
1924 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
1925 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
1926 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
1927 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
1928 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
1929
19302011-10-24 Ulrich Drepper <drepper@gmail.com>
1931
1932 * sysdeps/x86_64/dla.h: Move to ...
1933 * sysdeps/x86_64/fpu/dla.h: ...here.
1934 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
1935 situations. Use __builtin_fma only for gcc 4.6 and up.
1936
1937 * config.make.in: Add have-mfma4 entry.
1938 * configure.in: Substitute libc_cv_cc_fma4.
1939 * math/Makefile (dbl-only-routines): Add sincostab.
1940 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
1941 Use __sincostab not sincos.
1942 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
1943 name is a macro.
1944 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1945 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1946 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
1948 using __copysign.
1949 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
1950 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
1951 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
1952 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
1953 and __inv.
1954 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
1955 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
1956 __copysign.
1957 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
1958 define aliases when function name is a macro.
1959 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
1960 sysdeps/ieee754/dbl-64/sincos.tbl.
1961 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
1962 fma4-enabled routines.
1963 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
1964 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
1965 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
1966 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
1967 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
1968 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
1969 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
1970 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
1971 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
1972 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
1973 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
1974 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
1975 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
1976 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
1977 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
1978 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
1979 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
1980 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
1981 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
1982 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
1983 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
1984 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
1985 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
1986 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
1987 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
1988 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
1989 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
1990 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
1991 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
1992 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
1993
1994 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
1995 rename.
1996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1998 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2002 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2004
20052011-10-24 Andreas Schwab <schwab@redhat.com>
2006
2007 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
2008
20092011-10-23 Ulrich Drepper <drepper@gmail.com>
2010
2011 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
2012
2013 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
2014 prediction.
2015 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
2016
2017 * string/strnlen.c: Don't define STRNLEN, reverse logic.
2018 Remove unused variable magic_bits.
2019 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
2020
2021 * string/strnlen.c: Define and use STRNLEN macro.
2022 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
2023 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
2024 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
2025 * wcsmbs/wcslen.c: Define and use WCSLEN.
2026 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
2027 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
2028 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
2029 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
2030 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
2031 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
2032 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2033
20342011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2035
2036 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2037 strnlen-sse2-no-bsf.
2038 Rename strlen-no-bsf to strlen-sse2-no-bsf.
2039 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
2040 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
2041 Add strnlen support.
2042 (USE_AS_STRNLEN): New macro.
2043 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
2044 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
2045 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
2046 * sysdeps/x86_64/wcslen.S: New file.
2047
20482011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
2049
2050 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2051 XMM-moves are used for copying on small sizes.
2052
20532011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2054
2055 * wcsmbs/Makefile (strop-tests): Add wcschr.
2056 * wcsmbs/test-wcschr.c: New file.
2057 * string/test-strchr.c: Update.
2058 Add wcschr support.
2059 (WIDE): New macro.
2060
20612011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2062
2063 * wcsmbs/Makefile (strop-tests): Add wcslen.
2064 * wcsmbs/test-wcslen.c: New file.
2065 * string/test-strlen.c: Update.
2066 Add wcslen support.
2067 (WIDE): New macro.
2068
20692011-10-23 Ulrich Drepper <drepper@gmail.com>
2070
2071 * po/it.po: Update from translation team.
2072
20732011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2074
2075 * sysdeps/x86_64/wcscmp.S: Update.
2076 Fix wrong comparison semantics.
2077 wcscmp shall use signed comparison not unsigned.
2078 Don't use substraction to avoid overflow bug.
2079 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2080 * wcsmbc/wcscmp.c: Likewise.
2081 * string/test-strcmp.c: Likewise.
2082 Add new tests to check cases with negative values.
2083
20842011-10-23 Ulrich Drepper <drepper@gmail.com>
2085
2086 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
2087 * sysdeps/x86_64/dla.h: ...here. New file.
2088 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
2089 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2090 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2091 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2092 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2093 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2094 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2095 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2096 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2097
20982011-10-23 Andreas Schwab <schwab@linux-m68k.org>
2099
2100 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
2101 __ynl_finite aliases.
2102
21032011-10-22 Ulrich Drepper <drepper@gmail.com>
2104
2105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2106
2107 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
2108 define DLA_FMA.
2109 [DLA_FMA] (EMULV): Use DLA_FMA.
2110 [DLA_FMA] (MUL12): Use EMULV.
2111 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
2112 that are not needed.
2113 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2114 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2115 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2117 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2118 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2119 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2120
21212011-10-22 Andreas Schwab <schwab@linux-m68k.org>
2122
2123 * math/s_nan.c: Undef __nan.
2124 * math/s_nanf.c: Undef __nanf.
2125 * math/s_nanl.c: Undef __nanl.
2126 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
2127 "math_private.h".
2128
21292011-10-22 Ulrich Drepper <drepper@gmail.com>
2130
2131 * math/s_catan.c: Add branch predictions.
2132 * math/s_catanf.c: Likewise.
2133 * math/s_catanh.c: Likewise.
2134 * math/s_catanhf.c: Likewise.
2135 * math/s_catanhl.c: Likewise.
2136 * math/s_catanl.c: Likewise.
2137 * math/s_cexp.c: Likewise.
2138 * math/s_cexpf.c: Likewise.
2139 * math/s_cexpl.c: Likewise.
2140 * math/s_clog.c: Likewise.
2141 * math/s_clog10.c: Likewise.
2142 * math/s_clog10f.c: Likewise.
2143 * math/s_clog10l.c: Likewise.
2144 * math/s_clogf.c: Likewise.
2145 * math/s_clogl.c: Likewise.
2146 * math/s_csqrt.c: Likewise.
2147 * math/s_csqrtf.c: Likewise.
2148 * math/s_csqrtl.c: Likewise.
2149 * math/s_ctanf.c: Likewise.
2150 * math/s_ctanh.c: Likewise.
2151 * math/s_ctanhf.c: Likewise.
2152 * math/s_ctanhl.c: Likewise.
2153 * math/s_ctanl.c: Likewise.
2154
2155 * math/math_private.h: Define __nan, __nanf, __nanl.
2156 * math/s_cacosh.c: Include <math_private.h>.
2157 * math/s_cacoshl.c: Likewise.
2158 * math/s_casinh.c: Likewise.
2159 * math/s_casinhf.c: Likewise.
2160 * math/s_casinhl.c: Likewise.
2161 * math/s_ccos.c: Rely entire on ccosh.
2162 * math/s_ccosf.c: Rely entire on ccoshf.
2163 * math/s_ccosl.c: Rely entirely on ccoshl.
2164 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
2165 Remove tests for FE_INVALID.
2166 * math/s_ccoshf.c: Likewise.
2167 * math/s_ccoshl.c: Likewise.
2168 * math/s_csin.c: Likewise.
2169 * math/s_csinf.c: Likewise.
2170 * math/s_csinh.c Likewise.
2171 * math/s_csinhf.c: Likewise.
2172 * math/s_csinhl.c: Likewise.
2173 * math/s_csinl.c: Likewise.
2174 * math/s_ctan.c: Likewise.
2175 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
2176 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
2177 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
2178
21792011-10-21 Ulrich Drepper <drepper@gmail.com>
2180
2181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
2182 compilation problems.
2183
2184 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
2185 __builtin_expect.
2186
21872011-10-20 Ulrich Drepper <drepper@gmail.com>
2188
2189 * sysdeps/i386/configure.in: Test for -mfma4 option.
2190 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
2191 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
2192 COMMON_CPUID_INDEX_80000001.
2193 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
2194 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
2195 use it if FMA3 is not supported.
2196 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2197
2198 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
2199 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
2200
22012011-10-20 Andreas Schwab <schwab@redhat.com>
2202
2203 [BZ #12892]
2204 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
2205 it would create a cycle with a link time dependency.
2206
22072011-10-19 Ulrich Drepper <drepper@gmail.com>
2208
2209 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
2210 instruction.
2211 * string/Makefile (strop-tests): Add rawmemchr.
2212 * string/test-rawmemchr.c: New file.
2213
2214 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
2215 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
2216 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
2217 when compiling str{,n}casecmp and when AVX is available. Hook up
2218 new optimized code in initializers.
2219
22202011-10-19 Andreas Schwab <schwab@redhat.com>
2221
2222 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
2223 __feraiseexcept instead of feraiseexcept.
2224
22252011-10-18 Ulrich Drepper <drepper@gmail.com>
2226
2227 * math/math_private.h: Define defaults for libc_fetestexcept and
2228 libc_feupdateenv.
2229 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
2230 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
2231 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2232 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2233 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2234 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
2235 libc_fetestexcept and libc_feupdateenv.
2236
2237 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
2238 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
2239 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
2240 * sysdeps/x86_64/fpu/math_private.h: Define special version of
2241 libc_feholdexcept_setround.
2242
2243 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
2244 Add s_nearbyint-c and s_nearbyintf-c.
2245 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
2246 nearbyintf inlines.
2247 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
2248 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
2249 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
2250 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
2251
2252 * math/math_private.h: Define defaults for libc_fegetround,
2253 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
2254 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
2255 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
2256 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
2257 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
2258 standard functions.
2259 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2260 Remove comments and hacks for old compiler versions.
2261 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
2262 libc_fegetround, libc_fesetround, libc_feholdexcept, and
2263 libc_feholdexceptl.
2264
22652011-10-18 Andreas Schwab <schwab@redhat.com>
2266
2267 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
2268 (__feraiseexcept_renamed): Add __NTH.
2269 (feraiseexcept): Add __NTH. Rename local variables to fix
2270 namespace violations.
2271
22722011-10-17 Ulrich Drepper <drepper@gmail.com>
2273
2274 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
2275
2276 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
2277
2278 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
2279 recently added interfaces.
2280 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
2281
2282 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
2283 about macro parameter expansion.
2284
2285 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
2286 __NO_MATH_INLINES is defined. Cleanups.
2287
2288 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
2289 and __floorf is target has SSE4.1.
2290 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
2291 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
2292 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
2293 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
2294
2295 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
2296 name.
2297 (floorf): Likewise.
2298
2299 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
2300
23012011-10-17 Andreas Schwab <schwab@redhat.com>
2302
2303 * misc/sys/cdefs.h: Fix last change.
2304
2305 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
2306 database lookup.
2307
23082011-10-16 Ulrich Drepper <drepper@gmail.com>
2309
2310 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
2311
2312 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
2313 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2314 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2315 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2316 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2317 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2318 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2319 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2320 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2321 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
2322 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
2323 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
2324 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
2325 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
2326 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
2327 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
2328 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
2329 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
2330 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
2331 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
2332 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
2333 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
2334
2335 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
2336 ceil, ceilf, floor, floorf.
2337
2338 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
2339 Perform IRELATIVE relocations last.
2340
2341 * elf/do-rel.h: Add another parameter nrelative, replacing the
2342 local variable with the same name. Change name of the function
2343 to end in Rel or Rela (uppercase).
2344 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
2345 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
2346 elf_dynamic_do_##reloc function.
2347
23482011-10-15 Ulrich Drepper <drepper@gmail.com>
2349
2350 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
2351 is sufficient, at least on modern CPUs.
2352
2353 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
2354
2355 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
2356 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
2357
2358 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
2359 __expl_finite.
2360 * math/bits/math-finite.h: Add entries for exp.
2361 * math/e_expl.c: Add __*_finite alias.
2362 * sysdeps/i386/fpu/e_exp.S: Likewise.
2363 * sysdeps/i386/fpu/e_expf.S: Likewise.
2364 * sysdeps/i386/fpu/e_expl.c: Likewise.
2365 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2366 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2367 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2368 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2369 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
2370 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2371 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2372
2373 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
2374 is sufficient, at least on modern CPUs.
2375
2376 * ctype/ctype-info.c (__ctype_init): Define.
2377 * include/ctype.h (__ctype_init): Declare.
2378 (__ctype_b_loc): The variable is always initialized.
2379 (__ctype_toupper_loc): Likewise.
2380 (__ctype_tolower_loc): Likewise.
2381 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
2382 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
2383
23842011-10-15 Andreas Schwab <schwab@linux-m68k.org>
2385
2386 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
2387
2388 * configure.in: Also look in $cxxmachine/include for C++ system
2389 headers.
2390
23912011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2392
2393 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
2394 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
2395 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
2396 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
2397 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
2398 (USE_AS_WMEMCMP): New macro.
2399 Fixing indents.
2400 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
2401 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
2402 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
2403 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
2404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2405 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
2406 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
2407 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
2408 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
2409 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
2410 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
2411 (USE_AS_WMEMCMP): New macro.
2412 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
2413 * sysdeps/string/test-memcmp.c: Update.
2414 Fix simple_wmemcmp.
2415 Add new tests.
2416 * wcsmbs/wmemcmp.c: Update.
2417 (WMEMCMP): New macro.
2418 Fix overflow bug.
2419
24202011-10-12 Andreas Jaeger <aj@suse.de>
2421
2422 [BZ #13268]
2423 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
2424
24252011-10-15 Ulrich Drepper <drepper@gmail.com>
2426
2427 * libio/iofwide.c (do_length): Avoid warning.
2428
2429 * ctype/ctype.h (__isctype_f): Add missing __THROW.
2430
24312011-10-14 Ulrich Drepper <drepper@gmail.com>
2432
2433 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
2434
2435 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
2436 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
2437 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
2438 * sysdeps/i386/i686/fpu/e_log.S: New file.
2439 * sysdeps/i386/i686/fpu/e_logf.S: New file.
2440 * sysdeps/i386/i686/fpu/e_logl.S: New file.
2441
2442 * ctype/ctype.h: Add support for inlined isXXX functions when
2443 compiling C++ code.
2444
24452011-10-14 Andreas Schwab <schwab@redhat.com>
2446
2447 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2448
2449 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
2450
24512011-10-13 Roland McGrath <roland@hack.frob.com>
2452
2453 [BZ #13291]
2454 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
2455
24562011-10-13 Andreas Schwab <schwab@redhat.com>
2457
2458 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
2459 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
2460 feraiseexcept.
2461
2462 * sysdeps/x86_64/memrchr.S: Check for zero size.
2463
2464 * string/stratcliff.c: Add memrchr tests.
2465
24662011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2467
2468 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2469 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
2470 rawmemchr-sse2 rawmemchr-sse2-bsf.
2471 * sysdeps/i386/i686/multiarch/memchr.S: New file.
2472 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
2473 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
2474 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
2475 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
2476 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
2477 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
2478 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
2479 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
2480 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
2481 * string/memrchr.c (MEMRCHR): New macro.
2482
24832011-10-12 Ulrich Drepper <drepper@gmail.com>
2484
2485 Add integration with gcc's -ffinite-math-only and optimize wrapper
2486 functions in libm.
2487 * Versions.def: Define GLIBC_2.15 version for libm.
2488 * math/Makefile (headers): Add bits/math-finite.h.
2489 * math/bits/math-finite.h: New file.
2490 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
2491 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
2492 * math/e_acoshl.c: Add __*_finite alias.
2493 * math/e_acosl.c: Likewise.
2494 * math/e_asinl.c: Likewise.
2495 * math/e_atan2l.c: Likewise.
2496 * math/e_atanhl.c: Likewise.
2497 * math/e_coshl.c: Likewise.
2498 * math/e_exp10.c: Likewise.
2499 * math/e_exp10f.c: Likewise.
2500 * math/e_exp10l.c: Likewise.
2501 * math/e_exp2l.c: Likewise.
2502 * math/e_fmodl.c: Likewise.
2503 * math/e_gammal_r.c: Likewise.
2504 * math/e_hypotl.c: Likewise.
2505 * math/e_j0l.c: Likewise.
2506 * math/e_j1l.c: Likewise.
2507 * math/e_jnl.c: Likewise.
2508 * math/e_lgammal_r.c: Likewise.
2509 * math/e_log10l.c: Likewise.
2510 * math/e_log2l.c: Likewise.
2511 * math/e_logl.c: Likewise.
2512 * math/e_powl.c: Likewise.
2513 * math/e_sinhl.c: Likewise.
2514 * math/e_sqrtl.c: Likewise.
2515 * math/e_scalb.c: Completely rewritten and optimized.
2516 * math/e_scalbf.c: Likewise.
2517 * math/e_scalbl.c: Likewise.
2518 * math/w_acos.c: Likewise.
2519 * math/w_acosf.c: Likewise.
2520 * math/w_acosl.c: Likewise.
2521 * math/w_acosh.c: Likewise.
2522 * math/w_acoshf.c: Likewise.
2523 * math/w_acoshl.c: Likewise.
2524 * math/w_asin.c: Likewise.
2525 * math/w_asinf.c: Likewise.
2526 * math/w_asinl.c: Likewise.
2527 * math/w_atan2.c: Likewise.
2528 * math/w_atan2f.c: Likewise.
2529 * math/w_atan2l.c: Likewise.
2530 * math/w_atanh.c: Likewise.
2531 * math/w_atanhf.c: Likewise.
2532 * math/w_atanhl.c: Likewise.
2533 * math/w_exp10.c: Likewise.
2534 * math/w_exp10f.c: Likewise.
2535 * math/w_exp10l.c: Likewise.
2536 * math/w_fmod.c: Likewise.
2537 * math/w_fmodf.c: Likewise.
2538 * math/w_fmodl.c: Likewise.
2539 * math/w_j0.c: Likewise.
2540 * math/w_j0f.c: Likewise.
2541 * math/w_j0l.c: Likewise.
2542 * math/w_j1.c: Likewise.
2543 * math/w_j1f.c: Likewise.
2544 * math/w_j1l.c: Likewise.
2545 * math/w_jn.c: Likewise.
2546 * math/w_jnf.c: Likewise.
2547 * math/w_log.c: Likewise.
2548 * math/w_logf.c: Likewise.
2549 * math/w_logl.c: Likewise.
2550 * math/w_log10.c: Likewise.
2551 * math/w_log10f.c: Likewise.
2552 * math/w_log10l.c: Likewise.
2553 * math/w_log2.c: Likewise.
2554 * math/w_log2f.c: Likewise.
2555 * math/w_log2l.c: Likewise.
2556 * math/w_pow.c: Likewise.
2557 * math/w_powf.c: Likewise.
2558 * math/w_powl.c: Likewise.
2559 * math/w_remainder.c: Likewise.
2560 * math/w_remainderf.c: Likewise.
2561 * math/w_remainderl.c: Likewise.
2562 * math/w_scalb.c: Likewise.
2563 * math/w_scalbf.c: Likewise.
2564 * math/w_scalbl.c: Likewise.
2565 * math/w_sqrt.c: Likewise.
2566 * math/w_sqrtf.c: Likewise.
2567 * math/w_sqrtl.c: Likewise.
2568 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
2569 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
2570 used.
2571 * math/math_private.h: Declare __kernel_standard_f.
2572 * math/w_cosh.c: Remove cruft and optimize a bit.
2573 * math/w_coshf.c: Likewise.
2574 * math/w_coshl.c: Likewise.
2575 * math/w_exp2.c: Likewise.
2576 * math/w_exp2f.c: Likewise.
2577 * math/w_exp2l.c: Likewise.
2578 * math/w_hypot.c: Likewise.
2579 * math/w_hypotf.c: Likewise.
2580 * math/w_hypotl.c: Likewise.
2581 * math/w_lgamma.c: Likewise.
2582 * math/w_lgamma_r.c: Likewise.
2583 * math/w_lgammaf.c: Likewise.
2584 * math/w_lgammaf_r.c: Likewise.
2585 * math/w_lgammal.c: Likewise.
2586 * math/w_lgammal_r.c: Likewise.
2587 * math/w_sinh.c: Likewise.
2588 * math/w_sinhf.c: Likewise.
2589 * math/w_sinhl.c: Likewise.
2590 * math/w_tgamma.c: Likewise.
2591 * math/w_tgammaf.c: Likewise.
2592 * math/w_tgammal.c: Likewise.
2593 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2594 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2595 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
2596 Minor optimizations. Pretty printing. Remove cruft.
2597 * sysdeps/i386/fpu/e_acosf.S: Likewise.
2598 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2599 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2600 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2601 * sysdeps/i386/fpu/e_acosl.c: Likewise.
2602 * sysdeps/i386/fpu/e_asin.S: Likewise.
2603 * sysdeps/i386/fpu/e_asinf.S: Likewise.
2604 * sysdeps/i386/fpu/e_atan2.S: Likewise.
2605 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
2606 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
2607 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2608 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2609 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2610 * sysdeps/i386/fpu/e_exp10.S: Likewise.
2611 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
2612 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
2613 * sysdeps/i386/fpu/e_exp2.S: Likewise.
2614 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
2615 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
2616 * sysdeps/i386/fpu/e_fmod.S: Likewise.
2617 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
2618 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
2619 * sysdeps/i386/fpu/e_hypot.S: Likewise.
2620 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
2621 * sysdeps/i386/fpu/e_log.S: Likewise.
2622 * sysdeps/i386/fpu/e_log10.S: Likewise.
2623 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2624 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2625 * sysdeps/i386/fpu/e_log2.S: Likewise.
2626 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2627 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2628 * sysdeps/i386/fpu/e_logf.S: Likewise.
2629 * sysdeps/i386/fpu/e_logl.S: Likewise.
2630 * sysdeps/i386/fpu/e_pow.S: Likewise.
2631 * sysdeps/i386/fpu/e_powf.S: Likewise.
2632 * sysdeps/i386/fpu/e_powl.S: Likewise.
2633 * sysdeps/i386/fpu/e_remainder.S: Likewise.
2634 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
2635 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
2636 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2637 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2638 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2639 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
2640 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
2641 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
2642 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2643 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2644 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2645 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2646 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2647 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2648 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2649 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2650 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2651 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2652 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2653 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2654 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2655 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2656 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2657 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2658 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2659 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2660 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2662 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2663 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2664 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2665 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2666 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2667 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2668 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2669 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2670 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2671 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2672 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2673 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2674 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2675 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2676 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2677 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2678 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2679 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2680 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2681 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2682 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2683 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2684 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2685 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2686 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2687 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2688 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2689 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2690 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2691 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2692 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2693 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2694 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2695 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2696 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2697 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2698 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2699 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2700 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2701 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2702 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2703 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2704 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2705 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2706 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2707 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2708 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2709 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2710 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
2711 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2712 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2713 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2714 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2716 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2717 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2718 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2719 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2720 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2721 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2722 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2723 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2724 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
2725 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2726 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2727 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2728 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2729 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2730 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2731 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2732 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2733 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2734 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2735 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2736 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2737 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2738 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2739 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2740 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2741 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2742 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
2743 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
2744 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
2745 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
2746 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2747 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2748 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2749 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2750 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
2751 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2752 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
2753 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
2754 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
2755 (__isnanf): Likewise.
2756 (__isinf_ns): Likewise.
2757 (__isinf_nsf): Likewise.
2758 (__finite): Likewise.
2759 (__finitef): Likewise.
2760 (__ieee754_sqrt): Define as macro.
2761 (__ieee754_sqrtf): Define as macro.
2762 (__ieee754_sqrtl): Define as macro.
2763 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
2764 inlined copy.
2765 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
2766 __FINITE_MATH_ONLY__ consistent.
2767 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
2768
27692011-10-10 Andreas Schwab <schwab@linux-m68k.org>
2770
2771 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
2772 of rawmemchr.
2773
2774 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
2775
27762011-10-09 Ulrich Drepper <drepper@gmail.com>
2777
2778 * po/ja.po: Update from translation team.
2779
27802011-10-08 Roland McGrath <roland@hack.frob.com>
2781
2782 * locale/programs/locarchive.c (prepare_address_space): New function.
2783 (create_archive, enlarge_archive, open_archive): Use it.
2784
2785 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
2786 inside [SHARED], where it is used.
2787
2788 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
2789
2790 * nss/getent.c (netgroup_keys): Remove unused variable.
2791 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2792
27932011-10-08 Ulrich Drepper <drepper@gmail.com>
2794
2795 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
2796 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
2797 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
2798 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
2799 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
2800 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
2801 * math/Makefile (libm-calls): Add s_isinf_ns.
2802 * math/divtc3.c: Use __isinf_nsl instead of isinf.
2803 * math/multc3.c: Likewise.
2804 * math/s_casin.c: Likewise.
2805 * math/s_casinf.c: Likewise.
2806 * math/s_casinl.c: Likewise.
2807 * math/s_ccos.c: Likewise.
2808 * math/s_ccosf.c: Likewise.
2809 * math/s_ccosl.c: Likewise.
2810 * math/s_ctan.c: Likewise.
2811 * math/s_ctanf.c: Likewise.
2812 * math/s_ctanh.c: Likewise.
2813 * math/s_ctanhf.c: Likewise.
2814 * math/s_ctanhl.c: Likewise.
2815 * math/s_ctanl.c: Likewise.
2816 * math/w_fmod.c: Likewise.
2817 * math/w_fmodf.c: Likewise.
2818 * math/w_fmodl.c: Likewise.
2819 * math/w_remainder.c: Likewise.
2820 * math/w_remainderf.c: Likewise.
2821 * math/w_remainderl.c: Likewise.
2822 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
2823 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
2824 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
2825 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
2826 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
2827 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
2828 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
2829 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
2830
2831 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
2832 of the number.
2833 * stdio-common/printf_fphex.c: Likewise.
2834 * stdio-common/printf_size.c: Likewise.
2835
2836 * math/e_exp10.c: Include math_private.h using <...> not "...".
2837 * math/e_exp10f.c: Likewise.
2838 * math/e_exp10l.c: Likewise.
2839 * math/e_exp2l.c: Likewise.
2840 * math/e_j0l.c: Likewise.
2841 * math/e_j1l.c: Likewise.
2842 * math/e_jnl.c: Likewise.
2843 * math/e_lgammal_r.c: Likewise.
2844 * math/e_rem_pio2l.c: Likewise.
2845 * math/e_scalb.c: Likewise.
2846 * math/e_scalbf.c: Likewise.
2847 * math/e_scalbl.c: Likewise.
2848 * math/k_cosl.c: Likewise.
2849 * math/k_sinl.c: Likewise.
2850 * math/k_tanl.c: Likewise.
2851 * math/s_cacoshf.c: Likewise.
2852 * math/s_catan.c: Likewise.
2853 * math/s_catanf.c: Likewise.
2854 * math/s_catanh.c: Likewise.
2855 * math/s_catanhf.c: Likewise.
2856 * math/s_catanhl.c: Likewise.
2857 * math/s_catanl.c: Likewise.
2858 * math/s_ccosh.c: Likewise.
2859 * math/s_ccoshf.c: Likewise.
2860 * math/s_ccoshl.c: Likewise.
2861 * math/s_cexp.c: Likewise.
2862 * math/s_cexpf.c: Likewise.
2863 * math/s_cexpl.c: Likewise.
2864 * math/s_clog.c: Likewise.
2865 * math/s_clog10.c: Likewise.
2866 * math/s_clog10f.c: Likewise.
2867 * math/s_clog10l.c: Likewise.
2868 * math/s_clogf.c: Likewise.
2869 * math/s_clogl.c: Likewise.
2870 * math/s_csin.c: Likewise.
2871 * math/s_csinf.c: Likewise.
2872 * math/s_csinh.c: Likewise.
2873 * math/s_csinhf.c: Likewise.
2874 * math/s_csinhl.c: Likewise.
2875 * math/s_csinl.c: Likewise.
2876 * math/s_csqrt.c: Likewise.
2877 * math/s_csqrtf.c: Likewise.
2878 * math/s_csqrtl.c: Likewise.
2879 * math/s_ctan.c: Likewise.
2880 * math/s_ctanf.c: Likewise.
2881 * math/s_ctanh.c: Likewise.
2882 * math/s_ctanhf.c: Likewise.
2883 * math/s_ctanhl.c: Likewise.
2884 * math/s_ctanl.c: Likewise.
2885 * math/s_ldexp.c: Likewise.
2886 * math/s_ldexpf.c: Likewise.
2887 * math/s_ldexpl.c: Likewise.
2888 * math/s_significand.c: Likewise.
2889 * math/s_significandf.c: Likewise.
2890 * math/s_significandl.c: Likewise.
2891 * math/w_acos.c: Likewise.
2892 * math/w_acosf.c: Likewise.
2893 * math/w_acosh.c: Likewise.
2894 * math/w_acoshf.c: Likewise.
2895 * math/w_acoshl.c: Likewise.
2896 * math/w_acosl.c: Likewise.
2897 * math/w_asin.c: Likewise.
2898 * math/w_asinf.c: Likewise.
2899 * math/w_asinl.c: Likewise.
2900 * math/w_atan2.c: Likewise.
2901 * math/w_atan2f.c: Likewise.
2902 * math/w_atan2l.c: Likewise.
2903 * math/w_atanh.c: Likewise.
2904 * math/w_atanhf.c: Likewise.
2905 * math/w_atanhl.c: Likewise.
2906 * math/w_cosh.c: Likewise.
2907 * math/w_coshf.c: Likewise.
2908 * math/w_coshl.c: Likewise.
2909 * math/w_dremf.c: Likewise.
2910 * math/w_exp10.c: Likewise.
2911 * math/w_exp10f.c: Likewise.
2912 * math/w_exp10l.c: Likewise.
2913 * math/w_exp2.c: Likewise.
2914 * math/w_exp2f.c: Likewise.
2915 * math/w_fmod.c: Likewise.
2916 * math/w_fmodf.c: Likewise.
2917 * math/w_fmodl.c: Likewise.
2918 * math/w_hypot.c: Likewise.
2919 * math/w_hypotf.c: Likewise.
2920 * math/w_hypotl.c: Likewise.
2921 * math/w_j0.c: Likewise.
2922 * math/w_j0f.c: Likewise.
2923 * math/w_j0l.c: Likewise.
2924 * math/w_j1.c: Likewise.
2925 * math/w_j1f.c: Likewise.
2926 * math/w_j1l.c: Likewise.
2927 * math/w_jn.c: Likewise.
2928 * math/w_jnf.c: Likewise.
2929 * math/w_jnl.c: Likewise.
2930 * math/w_lgamma.c: Likewise.
2931 * math/w_lgamma_r.c: Likewise.
2932 * math/w_lgammaf.c: Likewise.
2933 * math/w_lgammaf_r.c: Likewise.
2934 * math/w_lgammal.c: Likewise.
2935 * math/w_lgammal_r.c: Likewise.
2936 * math/w_log.c: Likewise.
2937 * math/w_log10.c: Likewise.
2938 * math/w_log10f.c: Likewise.
2939 * math/w_log10l.c: Likewise.
2940 * math/w_log2.c: Likewise.
2941 * math/w_log2f.c: Likewise.
2942 * math/w_log2l.c: Likewise.
2943 * math/w_logf.c: Likewise.
2944 * math/w_logl.c: Likewise.
2945 * math/w_pow.c: Likewise.
2946 * math/w_powf.c: Likewise.
2947 * math/w_powl.c: Likewise.
2948 * math/w_remainder.c: Likewise.
2949 * math/w_remainderf.c: Likewise.
2950 * math/w_remainderl.c: Likewise.
2951 * math/w_scalb.c: Likewise.
2952 * math/w_scalbf.c: Likewise.
2953 * math/w_scalbl.c: Likewise.
2954 * math/w_sinh.c: Likewise.
2955 * math/w_sinhf.c: Likewise.
2956 * math/w_sinhl.c: Likewise.
2957 * math/w_sqrt.c: Likewise.
2958 * math/w_sqrtf.c: Likewise.
2959 * math/w_sqrtl.c: Likewise.
2960 * math/w_tgamma.c: Likewise.
2961 * math/w_tgammaf.c: Likewise.
2962 * math/w_tgammal.c: Likewise.
2963
2964 * po/ja.po: Update from translation team.
2965
29662011-09-29 Andreas Jaeger <aj@suse.de>
2967
2968 [BZ #13179]
2969 * sunrpc/netname.c (netname2host): Fix logic.
2970
2971 [BZ #6779]
2972 [BZ #6783]
2973 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
2974 correctly.
2975 * math/w_remainder.c (__remainder): Likewise.
2976 * math/w_remainderf.c (__remainderf): Likewise.
2977 * math/libm-test.inc (remainder_test): Add test cases.
2978
29792011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2980
2981 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
2982 sdiv_qrnnd.
2983
29842011-10-07 Ulrich Drepper <drepper@gmail.com>
2985
2986 * string/test-memcmp.c: Avoid unncessary #defines.
2987 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2988
29892011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2990
2991 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
2992 Use new sse2 version for core i3 - i7 as it's faster
2993 than sse42 version.
2994 (bit_Prefer_PMINUB_for_stringop): New.
2995 * sysdeps/x86_64/rawmemchr.S: Update.
2996 Replace with faster SSE2 version.
2997 * sysdeps/x86_64/memrchr.S: New file.
2998 * sysdeps/x86_64/memchr.S: Update.
2999 Replace with faster SSE2 version.
3000
30012011-09-12 Marek Polacek <mpolacek@redhat.com>
3002
3003 * elf/dl-load.c (lose): Add cast to avoid warning.
3004
30052011-10-07 Ulrich Drepper <drepper@gmail.com>
3006
3007 * po/ca.po: Update from translation team.
3008
3009 * inet/getnetgrent_r.c: Hook up nscd.
3010 * nscd/Makefile (routines): Add nscd_netgroup.
3011 (nscd-modules): Add netgroupcache.
3012 (CFLAGS-netgroupcache.c): Define.
3013 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
3014 (cache_search): Add const to second parameter.
3015 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
3016 INNETGR.
3017 (dbs): Add netgrdb entry.
3018 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
3019 (verify_persistent_db): Handle netgrdb.
3020 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
3021 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
3022 GETFDNETGR.
3023 (netgroup_response_header): Define.
3024 (innetgroup_response_header): Define.
3025 (datahead): Add netgroup_response_header and innetgroup_response_header
3026 elements.
3027 * nscd/nscd.conf: Add entries for netgroup cache.
3028 * nscd/nscd.h (dbtype): Add netgrdb.
3029 (_PATH_NSCD_NETGROUP_DB): Define.
3030 (netgroup_iov_disabled): Declare.
3031 (xmalloc, xcalloc, xrealloc): Move declarations here.
3032 (cache_search): Adjust prototype.
3033 Add netgroup-related prototypes.
3034 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
3035 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
3036 (__nscd_innetgr): Declare.
3037 * nscd/selinux.c (perms): Use access_vector_t as element type and
3038 add netgroup-related initializers.
3039 * nscd/netgroupcache.c: New file.
3040 * nscd/nscd_netgroup.c: New file.
3041 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
3042 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
3043 For four parameters use innetgr.
3044 * nss/nss_files/files-init.c: Add definition and callback for netgr.
3045 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
3046 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
3047 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
3048
3049 * nscd/connections.c (register_traced_file): Don't register file
3050 for disabled databases.
3051
30522011-10-06 Ulrich Drepper <drepper@gmail.com>
3053
3054 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
3055
3056 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
3057 from tree and freeing node.
3058
30592011-09-25 Jiri Olsa <jolsa@redhat.com>
3060
3061 * nss/nsswitch.c (__nss_database_lookup): Handle
3062 nss_parse_service_list out of memory case.
3063
30642011-09-15 Jiri Olsa <jolsa@redhat.com>
3065
3066 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
3067 out of memory case.
3068
30692011-10-04 Andreas Schwab <schwab@redhat.com>
3070
3071 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
3072 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
3073 pass it down.
3074 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
3075 elf_machine_rela, elf_machine_lazy_rel.
3076 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
3077 (ELF_DYNAMIC_DO_REL): Likewise.
3078 (ELF_DYNAMIC_DO_RELA): Likewise.
3079 (ELF_DYNAMIC_RELOCATE): Likewise.
3080 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
3081 to ELF_DYNAMIC_DO_REL.
3082 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
3083 (dl_main): In trace mode always set __RTLD_NOIFUNC.
3084 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
3085 elf_machine_rela.
3086 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
3087 skip_ifunc, don't call ifunc function if non-zero.
3088 (elf_machine_rela): Likewise.
3089 (elf_machine_lazy_rel): Likewise.
3090 (elf_machine_lazy_rela): Likewise.
3091 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
3092 (elf_machine_lazy_rel): Likewise.
3093 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
3094 Likewise.
3095 (elf_machine_lazy_rel): Likewise.
3096 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3097 Likewise.
3098 (elf_machine_lazy_rel): Likewise.
3099 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
3100 (elf_machine_lazy_rel): Likewise.
3101 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
3102 (elf_machine_lazy_rel): Likewise.
3103 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3104 (elf_machine_lazy_rel): Likewise.
3105 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3106 (elf_machine_lazy_rel): Likewise.
3107 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3108 (elf_machine_lazy_rel): Likewise.
3109 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3110 (elf_machine_lazy_rel): Likewise.
3111
31122011-09-28 Ulrich Drepper <drepper@gmail.com>
3113
3114 * nss/nss_files/files-init.c (_nss_files_init): Use static
3115 initialization for all the *_traced_file variables.
3116
31172011-09-28 Andreas Schwab <schwab@redhat.com>
3118
3119 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3120
31212011-09-27 Roland McGrath <roland@hack.frob.com>
3122
3123 [BZ #13226]
3124 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
3125
31262011-09-27 Andreas Schwab <schwab@redhat.com>
3127
3128 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3129 Reread the line before reparsing it.
3130
31312011-09-26 Andreas Schwab <schwab@redhat.com>
3132
3133 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
3134
31352011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
3136 Maxim Kuvyrkov <maxim@codesourcery.com>
3137 Joseph Myers <joseph@codesourcery.com>
3138
3139 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
3140 if needed for __stack_chk_guard.
3141
31422011-09-19 Roland McGrath <roland@hack.frob.com>
3143
3144 * sysdeps/posix/spawni.c (script_execute): Always define it.
3145 It will be optimized away if unused.
3146 (maybe_script_execute): New function.
3147 (__spawni): Call it.
3148
3149 * Makerules: Don't include tls.make.
3150 (config-tls): Always set to thread.
3151 * tls.make.c: File removed.
3152
31532011-09-19 Mike Frysinger <vapier@gentoo.org>
3154
3155 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
3156 * config.make.in (CPPFLAGS-config): New substituted variable.
3157
31582011-09-15 Ulrich Drepper <drepper@gmail.com>
3159
3160 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
3161
3162 [BZ #13192]
3163 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
3164 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
3165
31662011-09-15 Roland McGrath <roland@hack.frob.com>
3167
3168 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
3169 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
3170 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
3171 (CALL_FAIL): Likewise.
3172 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
3173 (CALL_FAIL): Macro removed.
3174 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
3175
31762011-09-15 Ulrich Drepper <drepper@gmail.com>
3177
3178 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
3179 for __FINITE_MATH_ONLY__ == 1.
3180
31812011-09-15 Andreas Schwab <schwab@redhat.com>
3182
3183 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
3184 __ieee754_sqrt instead of sqrt.
3185 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
3186 __ieee754_sqrtf instead of sqrtf.
3187 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3188 __floorf instead of floorf.
3189 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
3190 __floorf, __truncf instead of floorf, truncf.
3191
31922011-09-14 Ulrich Drepper <drepper@gmail.com>
3193
3194 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
3195
3196 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
3197 __extern_always_inline.
3198 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
3199 32-bit.
3200
32012011-09-14 Andreas Schwab <schwab@redhat.com>
3202
3203 * elf/rtld.c (dl_main): Also relocate in dependency order when
3204 doing symbol dependency testing.
3205
32062011-09-13 Andreas Schwab <schwab@linux-m68k.org>
3207
3208 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3209 Always define `refsym'.
3210
32112011-09-13 Andreas Schwab <schwab@redhat.com>
3212
3213 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
3214 (__FD_ELT): Renamed from __FDELT.
3215 * misc/bits/select2.h (__FD_ELT): Likewise.
3216 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
3217 __FD_MASK instead of __FDELT, __FDMASK.
3218 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
3219 Likewise.
3220 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
3221 Likewise.
3222
3223 * elf/Makefile (gen-ldd): Fix pattern.
3224
3225 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
3226 (init_tls): Likewise.
3227
32282011-09-12 Ulrich Drepper <drepper@gmail.com>
3229
3230 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
3231
32322011-09-12 Andreas Schwab <schwab@redhat.com>
3233
3234 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
3235 `struct cmsghdr *' instead of `void *'.
3236 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
3237 Likewise.
3238
32392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3240
3241 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
3242 if non-absolute.
3243 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
3244 ldd_rewrite_script.
3245
32462011-09-11 Ulrich Drepper <drepper@gmail.com>
3247
3248 * configure.in: Remove --with-tls option.
3249 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
3250 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
3251 out in case it is missing.
3252 * sysdeps/ia64/elf/configure.in: Likewise.
3253 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
3254 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
3255 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
3256 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
3257 * sysdeps/sh/elf/configure.in: Likewise.
3258 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
3259 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3260 * sysdeps/x86_64/elf/configure.in: Likewise.
3261 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
3262 * sysdeps/mach/hurd/tls.h: Likewise.
3263
3264 [BZ #13067]
3265 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
3266
3267 [BZ #13090]
3268 * configure.in: Fix use of AC_INIT.
3269
3270 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
3271
32722011-09-10 Ulrich Drepper <drepper@gmail.com>
3273
3274 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
3275 __set_errno.
3276 * malloc/hooks.c: Likewise.
3277
3278 [BZ #11929]
3279 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
3280 variables statically.
3281 (narenas): Initialize.
3282 (list_lock): Initialize.
3283 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
3284 initializtion of main_arena and list_lock. Small cleanups.
3285 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
3286 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
3287 Add initializers to main_arena and mp_.
3288 (malloc_state): Remove pagesize member. Change all users to use
3289 GLRO(dl_pagesize).
3290
3291 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
3292 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
3293 is always initialized.
3294
3295 * malloc/malloc.c: Removed unused configurations and dead code.
3296 * malloc/arena.c: Likewise.
3297 * malloc/hooks.c: Likewise.
3298 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
3299
3300 * include/tls.h: Removed. USE___THREAD must always be defined.
3301 * bits/libc-tsd.h: Don't handle !USE___THREAD.
3302 * elf/dl-libc.c: Likewise.
3303 * elf/dl-tsd.c: Likewise.
3304 * include/errno.h: Likewise.
3305 * include/netdb.h: Likewise.
3306 * include/resolv.h: Likewise.
3307 * inet/herrno-loc.c: Likewise.
3308 * inet/herrno.c: Likewise.
3309 * malloc/arena.c: Likewise.
3310 * malloc/hooks.c: Likewise.
3311 * malloc/malloc.c: Likewise.
3312 * resolv/res-state.c: Likewise.
3313 * resolv/res_libc.c: Likewise.
3314 * sysdeps/i386/dl-machine.h: Likewise.
3315 * sysdeps/ia64/dl-machine.h: Likewise.
3316 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3317 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3318 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3319 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3320 * sysdeps/sh/dl-machine.h: Likewise.
3321 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3322 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3323 * sysdeps/unix/i386/sysdep.S: Likewise.
3324 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3325 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3327 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3328 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3329 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3330 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3331 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3333 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3334 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3335 * sysdeps/x86_64/dl-machine.h: Likewise.
3336 * tls.make.c: Likewise.
3337
3338 * configure.in: Remove --with-__thread option. Make tests for
3339 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
3340 tls_model attribute fail if no support is available. Remove
3341 USE_IN_LIBIO.
3342 * Makeconfig: Adjust for dropped configure option. All features are
3343 now mandatory.
3344 * Makerules: Likewise.
3345 * Versions.def: Likewise.
3346 * argp/argp-fmtstream.c: Likewise.
3347 * argp/argp-fmtstream.h: Likewise.
3348 * argp/argp-help.c: Likewise.
3349 * assert/assert.c: Likewise.
3350 * config.h.in: Likewise.
3351 * config.make.in: Likewise.
3352 * configure: Likewise.
3353 * configure.in: Likewise.
3354 * csu/Versions: Likewise.
3355 * csu/init.c: Likewise.
3356 * elf/tst-audit2.c: Likewise.
3357 * elf/tst-tls10.c: Likewise.
3358 * elf/tst-tls10.h: Likewise.
3359 * elf/tst-tls11.c: Likewise.
3360 * elf/tst-tls12.c: Likewise.
3361 * elf/tst-tls14.c: Likewise.
3362 * elf/tst-tlsmod11.c: Likewise.
3363 * elf/tst-tlsmod12.c: Likewise.
3364 * elf/tst-tlsmod13.c: Likewise.
3365 * elf/tst-tlsmod13a.c: Likewise.
3366 * elf/tst-tlsmod14a.c: Likewise.
3367 * elf/tst-tlsmod15b.c: Likewise.
3368 * elf/tst-tlsmod16a.c: Likewise.
3369 * elf/tst-tlsmod16b.c: Likewise.
3370 * elf/tst-tlsmod7.c: Likewise.
3371 * elf/tst-tlsmod8.c: Likewise.
3372 * elf/tst-tlsmod9.c: Likewise.
3373 * gmon/gmon.c: Likewise.
3374 * grp/fgetgrent_r.c: Likewise.
3375 * grp/putgrent.c: Likewise.
3376 * hurd/fopenport.c: Likewise.
3377 * include/libc-symbols.h: Likewise.
3378 * include/tls.h: Likewise.
3379 * intl/gettextP.h: Likewise.
3380 * intl/loadinfo.h: Likewise.
3381 * locale/global-locale.c: Likewise.
3382 * locale/localeinfo.h: Likewise.
3383 * mach/devstream.c: Likewise.
3384 * malloc/arena.c: Likewise.
3385 * malloc/set-freeres.c: Likewise.
3386 * misc/err.c: Likewise.
3387 * misc/getttyent.c: Likewise.
3388 * misc/mntent_r.c: Likewise.
3389 * posix/getopt.c: Likewise.
3390 * posix/wordexp.c: Likewise.
3391 * pwd/fgetpwent_r.c: Likewise.
3392 * resolv/Versions: Likewise.
3393 * resolv/res_hconf.c: Likewise.
3394 * shadow/fgetspent_r.c: Likewise.
3395 * shadow/putspent.c: Likewise.
3396 * stdio-common/printf_fphex.c: Likewise.
3397 * stdio-common/tmpfile.c: Likewise.
3398 * stdlib/abort.c: Likewise.
3399 * stdlib/fmtmsg.c: Likewise.
3400 * sunrpc/auth_unix.c: Likewise.
3401 * sunrpc/clnt_perr.c: Likewise.
3402 * sunrpc/clnt_tcp.c: Likewise.
3403 * sunrpc/clnt_udp.c: Likewise.
3404 * sunrpc/clnt_unix.c: Likewise.
3405 * sunrpc/openchild.c: Likewise.
3406 * sunrpc/svc_simple.c: Likewise.
3407 * sunrpc/svc_tcp.c: Likewise.
3408 * sunrpc/svc_udp.c: Likewise.
3409 * sunrpc/svc_unix.c: Likewise.
3410 * sunrpc/xdr.c: Likewise.
3411 * sunrpc/xdr_array.c: Likewise.
3412 * sunrpc/xdr_rec.c: Likewise.
3413 * sunrpc/xdr_ref.c: Likewise.
3414 * sunrpc/xdr_stdio.c: Likewise.
3415
34162011-09-09 Ulrich Drepper <drepper@gmail.com>
3417
3418 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3419
34202011-07-03 Andreas Jaeger <aj@suse.de>
3421
3422 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
3423 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
3424 regenerate with gen-libm-tests.pl.
3425
34262010-05-12 Petr Baudis <pasky@suse.cz>
3427
3428 [BZ #11589]
3429 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
3430 around j0() zero points by switching to j1().
3431 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3432 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3433 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3434 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3435
34362011-09-09 Ulrich Drepper <drepper@gmail.com>
3437
3438 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
3439 instead of 0.
3440 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3441 instead of 0. .
3442 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3443 Patch in part by Pavel Roskin <proski@gnu.org>.
3444
3445 [BZ #13138]
3446 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
3447 realloc.
3448 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
3449 Free memory block if necessary.
3450
3451 [BZ #12847]
3452 * libio/genops.c (INTDEF): For string streams the _lock pointer can
3453 be NULL. Don't lock in this case.
3454
34552011-09-09 Roland McGrath <roland@hack.frob.com>
3456
3457 * elf/elf.h (ELFOSABI_GNU): New macro.
3458 (ELFOSABI_LINUX): Define to that.
3459
34602011-07-29 Denis Zaitceff <zaitceff@gmail.com>
3461
3462 * string/strncat.c (strncat): Undef the symbol in case it has been
3463 defined in bits/string.h.
3464
34652011-09-09 Ulrich Drepper <drepper@gmail.com>
3466
3467 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
3468
3469 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
3470 link map.
3471
34722011-08-17 Andreas Jaeger <aj@suse.de>
3473
3474 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
3475
34762011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3477 Ian Lance Taylor <iant@google.com>
3478
3479 * math/libm-test.inc (lround_test): New testcase.
3480 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
3481
34822011-09-08 Ulrich Drepper <drepper@gmail.com>
3483
3484 * Makefile: Remove support for automatic cvs check-ins.
3485 * Makerules: Likewise.
3486 * config.make.in: Likewise.
3487 * configure.in: Likewise.
3488 * intl/Makefile: Likewise.
3489 * locale/Makefile: Likewise.
3490 * po/Makefile: Likewise.
3491 * posix/Makefile: Likewise.
3492 * sysdeps/gnu/Makefile: Likewise.
3493 * sysdeps/mach/hurd/Makefile: Likewise.
3494 * sysdeps/sparc/sparc32/Makefile: Likewise.
3495
3496 [BZ #13118]
3497 * posix/Makefile (bug-regex32-ENV): Define.
3498 Patch by John Stanley <jpsinthemix@verizon.net>.
3499
3500 * misc/Makefile (headers): Add bits/select2.h.
3501 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
3502 * misc/bits/select2.h: New file.
3503 * include/bits/select2.h: New file.
3504 * debug/Makefile (routines): Add fdelt_chk.
3505 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
3506 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
3507 FD_ISSET.
3508 * debug/fdelt_chk.c: New file.
3509
3510 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
3511 * wcsmbs/test-wmemcmp.c: Likewise.
3512 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
3513 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
3514
35152011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3516
3517 * string/Makefile (strop-tests): Add memcmp.
3518 * string/test-wmemcmp.c: New file.
3519 * string/test-memcmp.c: Add wmemcmp support.
3520
35212011-09-08 Roland McGrath <roland@hack.frob.com>
3522
3523 [BZ #13153]
3524 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
3525 2011-07-19 change.
3526
3527 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
3528 garbage value in a __mach_port_mod_refs call in the cases of the
3529 task-self and thread-self ports.
3530
35312011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3532
3533 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
3534
35352011-09-08 Andreas Schwab <schwab@redhat.com>
3536
3537 * elf/dl-load.c (lose): Check for non-null L.
3538
35392011-09-07 Ulrich Drepper <drepper@gmail.com>
3540
3541 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
3542
3543 * elf/dl-libc.c (dlerror_run): Pass back error code from
3544 dl_catch_error.
3545
3546 [BZ #13123]
3547 * elf/dl-load.c (lose): Free l_origin if it is valid.
3548
3549 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
3550 names.
3551 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3552 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3553 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3554 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3555 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3556 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
3557
35582011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3559
3560 * sysdeps/powerpc/fpu/e_hypot.c: New file.
3561 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
3562 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
3563 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
3564 * sysdeps/powerpc/fpu/k_cosf.c: New file.
3565 * sysdeps/powerpc/fpu/k_sinf.c: New file.
3566 * sysdeps/powerpc/fpu/s_cosf.c: New file.
3567 * sysdeps/powerpc/fpu/s_sinf.c: New file.
3568 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
3569 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
3570
35712011-08-15 Alan Modra <amodra@gmail.com>
3572
3573 [BZ #13092]
3574 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
3575 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
3576 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
3577 ppc_mcount to static-only-routines.
3578 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
3579 __mcount_internal.
3580 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
3581 __mcount_internal with usual JUMPTARGET. Remove useless nop.
3582
35832011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
3584
3585 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
3586 for finite and infinity parameters.
3587
35882011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3589
3590 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
3591 and add nop instructions for throughput optimization.
3592 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3593
35942011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
3595
3596 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
3597 aligned copy for power7 with vector-scalar instructions.
3598 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3599
36002011-07-24 H.J. Lu <hongjiu.lu@intel.com>
3601
3602 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
3603 AVX check.
3604
36052011-09-07 Andreas Schwab <schwab@redhat.com>
3606
3607 [BZ #13144]
3608 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
3609 last change.
3610
36112011-09-07 Ulrich Drepper <drepper@gmail.com>
3612
3613 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3614 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
3615 syscall wrapper around clock_gettime in __vdso_clock_gettime.
3616 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
3617 clock_gettime.
3618
36192011-09-06 Ulrich Drepper <drepper@gmail.com>
3620
3621 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
3622 Forgot to demangle the pointer.
3623
3624 * sysdeps/i386/sysdep.h: Define atom_text_section.
3625 * sysdeps/x86_64/sysdep.h: Likewise.
3626 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
3627 section with atom_text_section.
3628 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3629 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3630 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3631 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3632 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
3633
3634 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
3635 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
3636 already be defined. Change to take two parameters and don't assign
3637 result to variable. Adjust all users.
3638 Define INTERNAL_GETTIME if not already defined.
3639 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
3640 call.
3641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
3642 HAVE_CLOCK_GETTIME_VSYSCALL.
3643 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
3644
3645 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
3646 gettimeofday vsyscall, just use time.
3647
36482011-09-06 Andreas Schwab <schwab@redhat.com>
3649
3650 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
3651 <errno.h>.
3652
36532011-09-06 Ulrich Drepper <drepper@gmail.com>
3654
3655 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
3656 syscall on x86-64.
3657 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
3658 syscall.
3659 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3660 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
3661 syscall if possible.
3662
36632011-09-05 Ulrich Drepper <drepper@gmail.com>
3664
3665 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
3666 e_ident. Don't pass to find_mapsXX.
3667 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
3668
36692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3670
3671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3672 strchr-sse2-no-bsf strrchr-sse2-no-bsf
3673 * sysdeps/x86_64/multiarch/strchr.S: Update.
3674 Check bit_slow_BSF bit.
3675 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3676 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
3677 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
3678
36792011-09-05 Ulrich Drepper <drepper@gmail.com>
3680
3681 [BZ #13134]
3682 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
3683 before glibc 2.15.
3684 (tryshell): Define.
3685 (__spawni): Change last parameter to be flag. Test
3686 SPAWN_XFLAGS_USE_PATH flag to use path or not.
3687 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
3688 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
3689 * posix/spawni.c: Likewise.
3690 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
3691 * posix/spawnp.c: Likewise. Change normal version to use
3692 SPAWN_XFLAGS_USE_PATH.
3693 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
3694 SPAWN_XFLAGS_TRY_SHELL.
3695
3696 [BZ #13150]
3697 * posix/glob.h: Remove gcc 1.x support.
3698
3699 [BZ #13068]
3700 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
3701
37022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3703
3704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3705 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
3706 strrchr-sse2-bsf
3707 * sysdeps/i386/i686/multiarch/strchr.S: New file.
3708 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
3709 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
3710 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
3711 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
3712 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
3713
37142011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3715
3716 * sysdeps/x86_64/wcscmp.S: New file.
3717
3718 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
3719 wcscmp-c wcscmp-sse2
3720 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
3721 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
3722 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
3723 * wcsmbs/wcscmp.c: Allow renaming.
3724
37252011-09-05 David S. Miller <davem@davemloft.net>
3726
3727 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
3728 stack slot, rather than the struct return pointer slot.
3729 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
3730 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
3731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
3732 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
3733
37342011-09-05 Ulrich Drepper <drepper@gmail.com>
3735
3736 * po/ja.po: Update from translation team.
3737
3738 [BZ #13144]
3739 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
3740 kernel in 64-bit binaries.
3741
37422011-09-01 David S. Miller <davem@davemloft.net>
3743
3744 * elf/elf.h (HWCAP_SPARC_*): Move to..
3745 * sysdeps/sparc/sysdep.h: this new file and add new values.
3746 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
3747 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
3748 _DL_HWCAP_COUNT to 24.
3749 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3750 entries.
3751 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
3752 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
3753 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
3754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
3755 instead of magic constants.
3756 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3757
37582011-08-31 David S. Miller <davem@davemloft.net>
3759
3760 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
3761 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
3762 Reimplement to do errno handling inline.
3763 (SYSCALL_ERROR_HANDLER): New macro.
3764 (__SYSCALL_STRING): Do not do errno handling in asm.
3765 (__CLONE_SYSCALL_STRING): Delete.
3766 (__INTERNAL_SYSCALL_STRING): Delete.
3767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
3768 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
3769 (PSEUDO): Reimplement to do errno handling inline.
3770 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
3771 (SYSCALL_ERROR_HANDLER): New macro.
3772 (__SYSCALL_STRING): Do not do errno handling in asm.
3773 (__CLONE_SYSCALL_STRING): Delete.
3774 (__INTERNAL_SYSCALL_STRING): Delete.
3775 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
3776 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
3777 i386.
3778 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
3779 (inline_syscall*): Add 'err' argument.
3780 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
3781 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
3782 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
3783 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
3784
3785 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
3786 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3787
37882011-08-30 Andreas Schwab <schwab@redhat.com>
3789
3790 * elf/rtld.c (dl_main): Relocate objects in dependency order.
3791
37922011-08-29 Jiri Olsa <jolsa@redhat.com>
3793
3794 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
3795 directive.
3796
37972011-08-24 David S. Miller <davem@davemloft.net>
3798
3799 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
3800
38012011-08-24 Andreas Schwab <schwab@redhat.com>
3802
3803 * elf/Makefile: Add rules to build and run unload8 test.
3804 * elf/unload8.c: New file.
3805 * elf/unload8mod1.c: New file.
3806 * elf/unload8mod1x.c: New file.
3807 * elf/unload8mod2.c: New file.
3808 * elf/unload8mod3.c: New file.
3809
3810 * elf/dl-close.c (_dl_close_worker): Reset private search list if
3811 it wasn't used.
3812
38132011-08-23 David S. Miller <davem@davemloft.net>
3814
3815 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
3816 subtract stack bias.
3817 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
3818 %sp not %fp in calculations.
3819 (_JMPBUF_UNWINDS_ADJ): Likewise.
3820
3821 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
3822 (aio_suspend): Call it to force an exception region around the
3823 AIO_MISC_WAIT() invocation.
3824
38252011-08-23 Andreas Schwab <schwab@redhat.com>
3826
3827 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
3828 backslash.
3829
38302011-07-04 Aurelien Jarno <aurelien@aurel32.net>
3831
3832 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
3833 protection macro.
3834 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
3835 and <dl-machine.h>.
3836 (Elf64_FuncDesc): Remove.
3837
38382011-08-22 David S. Miller <davem@davemloft.net>
3839
3840 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
3841 sigaltstack check, add missing cfi directives.
3842 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
3843 missing cfi directives, and sigaltstack handling.
3844
38452011-08-16 Andreas Schwab <schwab@redhat.com>
3846
3847 [BZ #11724]
3848 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
3849 object is seen twice.
3850 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3851
3852 * elf/Makefile (distribute): Add tst-initorder2.c.
3853 (tests): Add tst-initorder2.
3854 (modules-names): Add tst-initorder2a tst-initorder2b
3855 tst-initorder2c tst-initorder2d. Add rules to build them.
3856 ($(objpfx)tst-initorder2.out): New rule.
3857 * elf/tst-initorder2.c: New file.
3858 * elf/tst-initorder2.exp: New file.
3859
38602011-08-22 Andreas Schwab <schwab@redhat.com>
3861
3862 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
3863
3864 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
3865 dependencies back to end of function.
3866
3867 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
3868 $(elfobjdir)/ld.so.
3869
38702011-08-21 Ulrich Drepper <drepper@gmail.com>
3871
3872 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
3873 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
3874 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
3875 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
3876 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
3877 of __vdso_gettimeofday.
3878 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
3879 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
3880 attribute_hidden.
3881 (_libc_vdso_platform_setup): Remove initialization of
3882 __vdso_gettimeofday and __vdso_time.
3883
38842011-08-20 Ulrich Drepper <drepper@gmail.com>
3885
3886 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
3887 and fgetc_unlocked.
3888 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
3889 getc_unlocked.
3890
3891 * elf/dl-open.c (add_to_global): Report additions to the global scope
3892 for LD_DEBUG=scopes.
3893 (dl_open_worker): Also print scope of newly loaded dependencies.
3894 (_dl_show_scope): Indicate if there is no scope.
3895
3896 [BZ #13114]
3897 * stdio-common/Makefile (tests): Add bug24.
3898 * stdio-common/bug24.c: New file.
3899
39002011-08-19 Andreas Jaeger <aj@suse.de>
3901
3902 [BZ #13114]
3903 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
3904 non-existant file when using close-on-exec mode.
3905
39062011-08-20 Ulrich Drepper <drepper@gmail.com>
3907
3908 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
3909 the very first instruction.
3910
3911 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
3912 the CFI state in the end.
3913 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
3914 inclusion of dl-trampoline.h.
3915 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
3916
39172011-08-19 Andreas Schwab <schwab@redhat.com>
3918
3919 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
3920 expectations for long double.
3921
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
3923 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
3924
39252011-08-14 David S. Miller <davem@davemloft.net>
3926
3927 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
3928 artificual limit depends upon the system page size.
3929
39302011-08-17 Ulrich Drepper <drepper@gmail.com>
3931
3932 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
3933 * resolv/Makefile: Define CFLAGS-libresolv.
3934
39352011-08-17 Andreas Schwab <schwab@redhat.com>
3936
3937 * nss/makedb.c (compute_tables): Make variables used in nested
3938 function static.
3939
39402011-08-17 Ulrich Drepper <drepper@gmail.com>
3941
3942 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
3943 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
3944 if buffer was too small.
3945
3946 * elf/pldd.c (main): Attach to all threads in the process.
3947 Rewrite /proc handling to use *at functions.
3948
39492011-08-16 Ulrich Drepper <drepper@gmail.com>
3950
3951 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
3952 specifies first scope to show.
3953 (dl_open_worker): Update callers. Move printing scope of new
3954 object to before the relocation.
3955 * elf/rtld.c (dl_main): Update _dl_show_scope call.
3956 * sysdeps/generic/ldsodefs.h: Update declaration.
3957
3958 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
3959 string for the scope number.
3960
39612011-08-14 Ulrich Drepper <drepper@gmail.com>
3962
3963 * nscd/servicescache.c (cache_addserv): Make sure written is always
3964 initialized.
3965
39662011-08-14 Roland McGrath <roland@hack.frob.com>
3967
3968 * sysdeps/i386/i486/bits/atomic.h
3969 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
3970 statement expression, so as to suppress "set but not used" warning.
3971 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
3972
3973 * string/strncat.c (STRNCAT): Use prototype definition.
3974
3975 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
3976 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
3977 -Iprograms here.
3978 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
3979 (localedef-modules): Add localedef.
3980 (locale-modules): Add locale.
3981
3982 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
3983 * elf/rtld.c (dl_main): Invert order of assignment in last change,
3984 to avoid a warning.
3985
39862011-08-14 David S. Miller <davem@davemloft.net>
3987
3988 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
3989 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
3990
39912011-08-13 Ulrich Drepper <drepper@gmail.com>
3992
3993 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
3994 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
3995 * elf/rtld.c (dl_main): Set l_name of vDSO.
3996 Call _dl_show_scope when DL_DEBUG_SCOPES.
3997 (process_dl_debug): Recognize scopes flag and also set it for all.
3998 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
3999 Declare _dl_show_scope.
4000
4001 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
4002 (do_dlopen): Pass caller_dlopen to dl_open.
4003 (__libc_dlopen_mode): Initialize caller_dlopen.
4004
4005 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
4006 of libc. Make tolower call locale-independent. Optimize a bit by
4007 using isdigit instead of isalnum.
4008 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
4009
40102011-08-12 Ulrich Drepper <drepper@gmail.com>
4011
4012 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
4013 was a dependency or dynamically loaded.
4014
40152011-08-11 Ulrich Drepper <drepper@gmail.com>
4016
4017 * intl/l10nflist.c: Allow architecture-specific pop function.
4018 * sysdeps/x86_64/l10nflist.c: New file.
4019
4020 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
4021 classification.
4022
40232011-08-10 Andreas Schwab <schwab@redhat.com>
4024
4025 * include/dirent.h: Add libc_hidden_proto for scandirat and
4026 scandirat64. Don't declare __scandirat64.
4027 * dirent/scandirat.c: Add libc_hidden_def.
4028 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
4029 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
4030
40312011-08-10 David S. Miller <davem@davemloft.net>
4032
4033 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
4034 enum.
4035 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4036 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4037 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4038
40392011-08-09 Ulrich Drepper <drepper@gmail.com>
4040
4041 * Versions.def [libc]: Add GLIBC_2.15.
4042 * dirent/Makefile (routines): Add scandirat and scandirat64.
4043 * dirent/Versions [libc]: Export scandirat and scandirat64 for
4044 GLIBC_2.15.
4045 * dirent/dirent.h: Declare scandirat and scandirat64.
4046 * dirent/scandirat.c: New file.
4047 * dirent/scandirat64.c: New file.
4048 * sysdeps/wordsize-64/scandirat.c: New file.
4049 * sysdeps/wordsize-64/scandirat64.c: New file.
4050 * dirent/opendir.c: Define opendirat.
4051 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
4052 using scandirat.
4053 * dirent/scandir64.c: Adjust for scandir.c change.
4054 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
4055 __scandirat64, and __scandir_cancel_handler.
4056 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
4057 additional parameter and use openat instead of open (outside of ld.so).
4058 Add new __opendir as wrapper around __opendirat.
4059 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
4060 here without requiring old scandirat implementation.
4061
40622011-08-08 Ulrich Drepper <drepper@gmail.com>
4063
4064 * dirent/scandir.c (cancel_handler): Renamed to
4065 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
4066 defined. Adjust users.
4067 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
4068 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
4069
40702011-08-04 Ulrich Drepper <drepper@gmail.com>
4071
4072 * string/test-string.h (IMPL): Use __STRING to expand name and then
4073 stringify it.
4074
4075 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
4076 of cleanups.
4077
40782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4079
4080 * string/Makefile: Update.
4081 (strop-tests): Append strncat.
4082 * string/test-wcscmp.c: New file.
4083 New comprehensive test for wcscmp.
4084 * string/test-strcmp.c: Update.
4085 (WIDE): New define.
4086
40872011-07-22 Andreas Schwab <schwab@redhat.com>
4088
4089 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
4090 line.
4091
40922011-07-26 Andreas Schwab <schwab@redhat.com>
4093
4094 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
4095 encoding to ACE if AI_IDN.
4096
40972011-08-01 Jakub Jelinek <jakub@redhat.com>
4098
4099 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
4100 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
4101
41022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4103
4104 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
4105 Fix overflow bug in strncat.
4106 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4107
4108 * string/test-strncat.c: Update.
4109 Add new tests for checking overflow bugs.
4110
41112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4112
4113 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4114 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
4115 * sysdeps/i386/i686/multiarch/strcat.S: New file.
4116 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
4117 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
4118 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
4119 * sysdeps/i386/i686/multiarch/strncat.S: New file.
4120 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
4121 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
4122
4123 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
4124 (USE_AS_STRCAT): Define.
4125 Add strcat and strncat support.
4126 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4127
41282011-07-25 Andreas Schwab <schwab@redhat.com>
4129
4130 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
4131 __n bigger than INT_MAX+1.
4132 (__strncmp_g): Likewise.
4133
41342011-07-23 Ulrich Drepper <drepper@gmail.com>
4135
4136 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
4137 * libio/stido.h: Likewise.
4138
4139 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
4140 (AF_NFC): Define.
4141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
4142 (AF_NFC): Define.
4143
4144 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
4145 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4146 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4147 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4148 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4149
4150 [BZ #13021]
4151 * scripts/test-installation.pl: Don't expect libnss_test1 to be
4152 installed.
4153
4154 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
4155 typo.
4156 (_dl_x86_64_save_sse): Likewise.
4157
41582011-07-22 Ulrich Drepper <drepper@gmail.com>
4159
4160 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
4161 OSXSAVE.
4162 (_dl_x86_64_save_sse): Likewise.
4163
4164 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
4165
4166 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
4167
41682011-07-21 Andreas Schwab <schwab@redhat.com>
4169
4170 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
4171 change.
4172 (_dl_x86_64_save_sse): Use correct AVX check.
4173
41742011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4175
4176 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
4177 bug in strncpy/strncat.
4178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4179
41802011-07-21 Ulrich Drepper <drepper@gmail.com>
4181
4182 * string/tester.c (test_strcat): Add tests for different alignments
4183 of source and destination.
4184 (test_strncat): Likewise.
4185
41862011-07-20 Ulrich Drepper <drepper@gmail.com>
4187
4188 [BZ #12852]
4189 * posix/glob.c (glob): Check passed in values before using them in
4190 expressions to avoid some overflows.
4191 (glob_in_dir): Likewise.
4192
4193 [BZ #13007]
4194 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
4195 check for AVX enablement so that we don't crash with old kernels and
4196 new hardware.
4197 * elf/tst-audit4.c: Add same checks here.
4198 * elf/tst-audit6.c: Likewise.
4199
4200 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
4201
42022011-07-09 Andreas Schwab <schwab@linux-m68k.org>
4203
4204 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
4205
42062011-07-20 Ulrich Drepper <drepper@gmail.com>
4207
4208 * po/cs.po: Update from translation team.
4209 * po/bg.po: Likewise.
4210
42112011-07-12 Marek Polacek <mpolacek@redhat.com>
4212
4213 * misc/sys/cdefs.h: Add support for const attribute.
4214 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
4215 to gnu_dev_{major,minor,makedev} functions.
4216
42172011-07-20 Marek Polacek <mpolacek@redhat.com>
4218
4219 * intl/dcigettext.c (get_output_charset): Add missing bracket.
4220
42212011-07-20 Andreas Schwab <schwab@redhat.com>
4222
4223 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
4224 strlen results.
4225
42262011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4227
4228 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4229 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
4230 register in order to avoid conflicts with the soft frame pointer
4231 being held in r11 when necessary.
4232 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4233 (INTERNAL_VSYSCALL_NCS): Likewise.
4234
42352011-07-14 Marek Polacek <mpolacek@redhat.com>
4236
4237 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
4238 * elf/dl-fini.c (_dl_fini): Adjust caller.
4239 * elf/dl-close.c (_dl_close_worker): Likewise.
4240 * sysdeps/generic/ldsodefs.h: Adjust declaration.
4241
42422011-07-15 Marek Polacek <mpolacek@redhat.com>
4243
4244 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
4245 "aux_cache->nlibs < 0".
4246
4247 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
4248 in the reload-count case.
4249
42502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4251
4252 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4253 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
4254 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
4255 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
4256 * sysdeps/x86_64/multiarch/strcat.S: New file.
4257 * sysdeps/x86_64/multiarch/strncat.S: New file.
4258 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
4259 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
4260 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
4261 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
4262 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
4263 (USE_AS_STRCAT): Define.
4264 Add strcat and strncat support.
4265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4266 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4267 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
4268 * string/strncat.c: Update.
4269 (USE_AS_STRNCAT): Define.
4270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4271 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
4272 and i7.
4273 * sysdeps/x86_64/multiarch/init-arch.h
4274 (bit_Prefer_PMINUB_for_stringop): New.
4275 (index_Prefer_PMINUB_for_stringop): Likewise.
4276 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
4277 bit_Prefer_PMINUB_for_stringop.
4278
42792011-07-19 Ulrich Drepper <drepper@gmail.com>
4280
4281 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
4282 buffer64.
4283 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
4284 of casting of buffer.
4285 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
4286 buffer32 and buffer64.
4287 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
4288 writes instead of casting of buffer.
4289 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
4290 buffer32.
4291 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
4292 casting of buffer.
4293
42942011-07-19 Andreas Schwab <schwab@redhat.com>
4295
4296 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
4297
42982011-07-19 Ulrich Drepper <drepper@gmail.com>
4299
4300 * nscd/nscd.c (termination_handler): Don't do anything for a database
4301 if it has not yet been initialized.
4302
43032011-07-18 Ulrich Drepper <drepper@gmail.com>
4304
4305 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
4306
43072011-07-15 Marek Polacek <mpolacek@redhat.com>
4308
4309 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
4310
43112011-07-18 Ulrich Drepper <drepper@gmail.com>
4312
4313 * po/nl.po: Update from translation team.
4314 * po/sv.po: Likewise.
4315
43162011-07-16 Roland McGrath <roland@hack.frob.com>
4317
4318 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
4319 now disallowed by GCC.
4320
4321 * configure.in (use-default-link): Default to yes if a test -shared
4322 link meets our qualifications.
4323 * configure: Regenerated.
4324
4325 * config.make.in (output-format): New variable.
4326 * configure.in: Check for ld --print-output-format support.
4327 * configure: Regenerated.
4328 * Makerules ($(common-objpfx)format.lds)
4329 [$(output-format) != unknown]: Just use $(output-format),
4330 instead of the linker-script munging.
4331
43322011-07-14 Roland McGrath <roland@hack.frob.com>
4333
4334 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
4335 of $(common-objpfx)shlib.lds.
4336 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
4337
4338 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
4339 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
4340
4341 * configure.in (-z relro check): Adjust test code to add a large
4342 writable data section after it.
4343 * configure: Regenerated.
4344
43452011-07-11 Roland McGrath <roland@hack.frob.com>
4346
4347 * configure.in (-z relro check): Fix test code to make the variable
4348 truly const.
4349 * configure: Regenerated.
4350
43512011-07-11 Ulrich Drepper <drepper@gmail.com>
4352
4353 * nscd/nscd.h (struct traced_file): Define.
4354 (struct database_dyn): Remove inotify_descr, reset_res, and filename
4355 elements. Add traced_files.
4356 (inotify_fd): Declare.
4357 (register_traced_file): Declare.
4358 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
4359 (inotify_fd): Export.
4360 (resolv_conf_descr): Remove.
4361 (nscd_init): Move inotify descriptor creation to main.
4362 Don't register files for notification here.
4363 (register_traced_file): New function.
4364 (invalidate_cache): Don't use reset_res to determine whether to call
4365 res_init, go through the list of registered files.
4366 (main_loop_poll): The inotify descriptors are now stored in the
4367 structures for the traced files.
4368 (main_loop_epoll): Likewise
4369 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
4370 to __nss_disable_nscd.
4371 * nscd/cache.c (prune_cache): There is no single inotify descriptor
4372 for a database anymore. Check the records for all the registered
4373 files instead.
4374 * nss/Makefile (libnss_files-routines): Add files-init.
4375 (libnss_db-routines): Add db-init.
4376 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
4377 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
4378 * nss/nss_db/db-init.c: New file.
4379 * nss/nss_files/files-init.c: New file.
4380 * nss/nsswitch.c (nss_load_library): New function. Broken out of
4381 __nss_lookup_function.
4382 (__nss_lookup_function): Call nss_load_library.
4383 (nss_load_all_libraries): New function.
4384 (__nss_disable_nscd): Take parameter with callback function for files
4385 to register. Set is_nscd. Load all the DSOs for the NSS modules
4386 used for the cached services.
4387 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
4388 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
4389 options for features to all the files in nscd.
4390
4391 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
4392
43932011-07-10 Roland McGrath <roland@hack.frob.com>
4394
4395 * csu/elf-init.c (__libc_csu_init): Comment typo.
4396
43972011-07-09 Ulrich Drepper <drepper@gmail.com>
4398
4399 * po/pl.po: Update from translation team.
4400 * po/ja.po: Likewise.
4401 * po/ru.po: Likewise.
4402 * po/ko.po: Likewise.
4403 * po/fr.po: Likewise.
4404
44052011-07-09 Roland McGrath <roland@hack.frob.com>
4406
4407 * configure.in (.ctors/.dtors header and trailer check):
4408 Use an empirical test on a built program.
4409 * configure: Regenerated.
4410
4411 * configure.in (-z relro check): Use an empirical test on a built DSO.
4412 Detect, but do not require, on ia64.
4413 * configure: Regenerated.
4414
4415 * configure.in (READELF): Find it with AC_CHECK_TOOL.
4416 Update tests that use readelf to use $READELF instead.
4417 * configure: Regenerated.
4418
44192011-07-08 Ulrich Drepper <drepper@gmail.com>
4420
4421 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
4422 if the result is not used.
4423
44242011-07-05 Andreas Jaeger <aj@suse.de>
4425
4426 [BZ#9696]
4427 * stdlib/tst-strtod.c: Add testcase.
4428
44292011-07-07 Ulrich Drepper <drepper@gmail.com>
4430
4431 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
4432 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4433 The latter has a higher limit. Take additional parameter to pass to
4434 the new function.
4435 (__pathconf): Pass file to __statfs_link_max.
4436 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
4437 __statfs_link_max.
4438 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
4439 __statfs_link_max.
4440
4441 [BZ #12868]
4442 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
4443 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4444 Handle Lustre.
4445 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
4446 (__statfs_filesize_max): Likewise.
4447 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
4448
44492011-07-05 Andreas Jaeger <aj@suse.de>
4450
4451 * resolv/res_comp.c (dn_skipname): Remove unused variable.
4452
44532011-07-06 Marek Polacek <mpolacek@redhat.com>
4454
4455 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
4456 `status' variable.
4457 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
4458 Likewise.
4459
44602011-07-04 H.J. Lu <hongjiu.lu@intel.com>
4461
4462 * Makefile (strop-tests): Add strncat.
4463 * string/test-strncat.c: New file.
4464
44652011-06-30 Marek Polacek <mpolacek@redhat.com>
4466
4467 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
4468
44692011-06-21 Andreas Jaeger <aj@suse.de>
4470
4471 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
4472 Copy rule from iconvdata/Makefile.
4473
44742011-07-06 Ulrich Drepper <drepper@gmail.com>
4475
4476 [BZ #12922]
4477 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
4478 but no long options are defined, just return 'W'.
4479
44802011-06-22 Marek Polacek <mpolacek@redhat.com>
4481
4482 [BZ #9696]
4483 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
4484
44852011-07-06 Ulrich Drepper <drepper@gmail.com>
4486
4487 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
4488 netgroups to read.
4489 (innetgr): Likewise.
4490
44912011-07-05 Roland McGrath <roland@hack.frob.com>
4492
4493 * config.make.in (install_root): Default to $(DESTDIR).
4494
44952011-07-05 Ulrich Drepper <drepper@gmail.com>
4496
4497 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
4498
44992011-07-02 Roland McGrath <roland@hack.frob.com>
4500
4501 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
4502
4503 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
4504 containing directory rather than embedding absolute directory names.
4505
4506 * scripts/check-local-headers.sh: Rewritten using awk.
4507 Match by word, not by line. Print error messages for matches.
4508 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
4509
4510 * Makerules [shlib-lds-flags empty]:
4511 ($(common-objpfx)libc_pic.opts): New target.
4512 ($(common-objpfx)libc_pic.os.clean): New target.
4513 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
4514
4515 * config.make.in (OBJCOPY): New variable.
4516 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
4517 * configure: Regenerated.
4518
4519 * config.make.in (use-default-link): New variable.
4520 * configure.in (use_default_link): Grok --with-default-link to set it.
4521 * configure: Regenerated.
4522 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
4523 (shlib-lds, shlib-lds-flags): Define to empty.
4524
4525 * Makerules (shlib-lds): New variable.
4526 (shlib-lds-flags): New variable.
4527 (build-shlib, build-moduile, build-module-asneeded): Use it.
4528 ($(common-objpfx)libc.so): Use $(shlib-lds).
4529 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
4530 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
4531
4532 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
4533 DT_FLAGS/DT_FLAGS_1 with zero flags.
4534
4535 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
4536 linker script munging.
4537
45382011-07-02 Ulrich Drepper <drepper@gmail.com>
4539
4540 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
4541 as 128-bit value.
4542 * crypt/sha512.c (sha512_process_block): Perform total addition using
4543 128-bit if possible.
4544 (__sha512_finish_ctx): Likewise.
4545 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
4546 as 64-bit value.
4547 * crypt/sha256.c (SWAP64): Define.
4548 (sha256_process_block): Perform total addition using 64-bit if
4549 possible.
4550 (__sha256_finish_ctx): Likewise.
4551
45522011-07-01 Ulrich Drepper <drepper@gmail.com>
4553
4554 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
4555 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4556 * nscd/hstcache.c (cache_addhst): Likewise.
4557 * nscd/grpcache.c (cache_addgr): Likewise.
4558 * nscd/aicache.c (addhstaiX): Likewise
4559 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
4560
45612011-07-01 Thorsten Kukuk <kukuk@suse.de>
4562
4563 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
4564 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4565 * nscd/hstcache.c (cache_addhst): Likewise.
4566 * nscd/grpcache.c (cache_addgr): Likewise.
4567 * nscd/aicache.c (addhstaiX): Likewise
4568
45692011-07-01 Andreas Schwab <schwab@redhat.com>
4570
4571 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
4572 domain only when needed.
4573
45742011-06-30 Andreas Schwab <schwab@redhat.com>
4575
4576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
4577 is always restored.
4578
45792011-06-29 Ulrich Drepper <drepper@gmail.com>
4580
4581 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
4582 are re-adding the entry.
4583 * nscd/servicescache.c (cache_addserv): Likewise.
4584
45852011-06-30 Aurelien Jarno <aurelien@aurel32.net>
4586
4587 * sysdeps/generic/dl-irel.h: fix protection against multiple
4588 inclusions.
4589 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
4590
45912011-06-28 Ulrich Drepper <drepper@gmail.com>
4592
4593 [BZ #12935]
4594 * malloc/memusage.sh: Fix quoting in message.
4595 * debug/xtrace.sh: Likewise.
4596
4597 * configure.in: Remove support for --experimental-malloc option, make
4598 it the default.
4599 * config.make.in: Likewise.
4600 * malloc/Makefile: Likewise.
4601
46022011-06-27 Andreas Schwab <schwab@redhat.com>
4603
4604 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
4605 two-byte characters.
4606
46072011-06-27 Roland McGrath <roland@hack.frob.com>
4608
4609 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
4610 AC_CACHE_CHECK invocation.
4611 * configure: Regenerated.
4612
4613 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
4614
46152011-06-27 Ulrich Drepper <drepper@gmail.com>
4616
4617 [BZ #12350]
4618 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
4619 bit from old_res_options.
4620
4621 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
4622
4623 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
4624 value type for setfct.
4625
46262011-06-23 H.J. Lu <hongjiu.lu@intel.com>
4627
4628 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4629 __gettimeofday instead of gettimeofday.
4630
46312011-06-26 Ulrich Drepper <drepper@gmail.com>
4632
4633 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
4634
46352011-06-24 H.J. Lu <hongjiu.lu@intel.com>
4636
4637 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
4638
4639 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
4640 info.
4641
46422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4643
4644 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4645 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4646 strcpy-sse2-unaligned strncpy-sse2-unaligned
4647 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
4648 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
4649 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
4650 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
4651 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
4652 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
4653 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
4654 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
4655 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
4656 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
4657 (STRCPY): Support SSE2 and SSSE3 versions.
4658
46592011-06-24 Ulrich Drepper <drepper@gmail.com>
4660
4661 [BZ #12874]
4662 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
4663 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
4664 kernels which artificially limit size of requests.
4665
46662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4667
4668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4669 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4670 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
4671 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
4672 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
4673 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
4674 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
4675 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
4676 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
4677 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
4678 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
4679 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
4680 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
4681 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
4682 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
4683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4684 Enable unaligned load optimization for Intel Core i3, i5 and i7
4685 processors.
4686 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
4687 Define.
4688 (index_Fast_Unaligned_Load): Define.
4689 (HAS_FAST_UNALIGNED_LOAD): Define.
4690
46912011-06-23 Marek Polacek <mpolacek@redhat.com>
4692
4693 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
4694
46952011-06-22 Ulrich Drepper <drepper@gmail.com>
4696
4697 [BZ #12907]
4698 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
4699 until it is clear that the information is realy needed.
4700 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
4701
47022011-06-22 Andreas Schwab <schwab@redhat.com>
4703
4704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
4705
47062011-06-22 Ulrich Drepper <drepper@gmail.com>
4707
4708 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4709 /sys/devices/system/cpu/online if it is usable.
4710
4711 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
4712 reading the information from the /proc filesystem to once a second.
4713
47142011-06-21 Andreas Jaeger <aj@suse.de>
4715
4716 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
4717 NULL after inclusion of kernel headers.
4718
47192011-06-21 Ulrich Drepper <drepper@gmail.com>
4720
4721 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
4722 calls to internal_setent.
4723
4724 [BZ #12885]
4725 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
4726 addresses using gethostbyname4_r ignore IPv4 addresses.
4727
4728 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
4729 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
4730
4731 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
4732
47332011-06-20 David S. Miller <davem@davemloft.net>
4734
4735 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
4736 inclusions.
4737 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
4738
4739 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
4740 (elf_irel): Use it.
4741 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
4742 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
4743 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
4744 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
4745 * sysdeps/x86_64/dl-irel.h: Likewise.
4746
4747 * elf/dl-runtime.c: Use elf_ifunc_invoke.
4748 * elf/dl-sym.c: Likewise.
4749
47502011-06-15 Ulrich Drepper <drepper@gmail.com>
4751
4752 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
4753 need to dereference resplen2.
4754
47552011-06-14 Andreas Schwab <schwab@redhat.com>
4756
4757 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
4758
47592011-06-15 Ulrich Drepper <drepper@gmail.com>
4760
4761 * Makeconfig: Define vardbdir and inst_vardbdir.
4762 * nss/Makefile: Add rules to install db-Makefile.
4763
4764 * nss/nss_db/db-XXX.c: Cleanup.
4765
4766 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
4767 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
4768 GLIBC_PRIVATE.
4769 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
4770 * nss/makedb.c: Implement -g option to specify that value strings
4771 are generated and should not be added to table iterated over for
4772 get*ent calls.
4773 * nss/nss_db/db-initgroups.c: New file.
4774
4775 * nss/getent.c: Add support for initgroups lookups through getgrouplist
4776 interface.
4777
4778 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
4779 (internal_getgrouplist): Adjust to name change.
4780 Update use_initgroups_entry if this is not the first call.
4781 * nss/databases.def: Add initgroups entry.
4782
4783 * nss/makedb.c (compute_tables): Check result of multiple hash table
4784 sizes to minimize maximum chain length.
4785
47862011-06-14 Ulrich Drepper <drepper@gmail.com>
4787
4788 * Versions.def: Add entry for libnss_db.
4789 * shlib-versions: Likewise.
4790 * nss/Makefile: Add rules to build libnss_db.
4791 * nss/Versions: Add libnss_db information. Organize libnss_files
4792 entries better.
4793 * nss/db-Makefile: Add gshadow support. Change rules for the new
4794 makedb progra. Some minor improvements to generate smaller files.
4795 * nss/nss_db/nss_db.h: Move NSS database header data structures to
4796 here from...
4797 * nss/makedb.c: ...here.
4798 Improve database format to be smaller and require less memory at
4799 runtime.
4800 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
4801 db anymore.
4802 * nss/nss_db/db-netgrp.c: Likewise.
4803 * nss/nss_db/db-open.c: Likewise.
4804 * nss/nss_files/flies-XXX.x: Adjust comments.
4805 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
4806 * nss/nss_files/files-grp.c: Likewise.
4807 * nss/nss_files/files-hosts.c: Likewise.
4808 * nss/nss_files/files-network.c: Likewise.
4809 * nss/nss_files/files-proto.c: Likewise.
4810 * nss/nss_files/files-pwd.c: Likewise.
4811 * nss/nss_files/files-rpc.c: Likewise.
4812 * nss/nss_files/files-service.c: Likewise.
4813 * nss/nss_files/files-sgrp.c: Likewise.
4814 * nss/nss_files/files-spwd.c: Likewise.
4815 * nss/nss_db/db-alias.c: Removed.
4816 * nss/nss_db/dummy-db.h: Removed.
4817
48182011-06-02 Ulrich Drepper <drepper@gmail.com>
4819
4820 * nss/makedb.c: Rewritten to not use database library.
4821 * nss/Makefile: Update to build new makedb program.
4822
48232011-06-14 Andreas Jaeger <aj@suse.de>
4824
4825 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
4826 memset declaration.
4827
48282011-06-10 Andreas Schwab <schwab@redhat.com>
4829
4830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
4831 tmpbuf.
4832
48332011-06-10 Roland McGrath <roland@hack.frob.com>
4834
4835 * Makerules (shlib.lds): Fail if the linker script comes out empty.
4836 * elf/Makefile ($(objpfx)ld.so): Likewise.
4837
4838 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
4839 Don't list ld.so twice in dependencies.
4840
4841 * posix/bug-regex31.c: Include <stdlib.h>.
4842
4843 * nscd/hstcache.c (cache_addhst): Remove unused variable.
4844
4845 * nis/nss_compat/compat-spwd.c
4846 (getspent_next_nss_netgr): Remove unused variable.
4847 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4848
4849 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
4850 nonmembers" output to use the right array.
4851
4852 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
4853
4854 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
4855
4856 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
4857 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
4858 * catgets/gencat.c (read_input_file): Likewise.
4859 * locale/programs/locarchive.c (enlarge_archive): Likewise.
4860
4861 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
4862 variable definition inside #if's controlling its use.
4863
4864 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
4865
4866 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
4867
4868 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
4869
4870 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
4871 unreachable code.
4872
4873 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
4874
4875 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
4876 * configure: Regenerated.
4877
4878 * Makerules: Revert last change.
4879 * elf/Makefile: Likewise.
4880
48812011-06-09 Roland McGrath <roland@hack.frob.com>
4882
4883 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
4884 * elf/Makefile ($(objpfx)librtld.os): Likewise.
4885 (reloc-link): Likewise.
4886
48872011-06-09 Ulrich Drepper <drepper@gmail.com>
4888
4889 * elf/Makefile: Add rules to build pldd.
4890 * elf/pldd.c: New file.
4891 * elf/pldd-xx.c: New file.
4892
48932011-06-07 Ulrich Drepper <drepper@gmail.com>
4894
4895 * version.h: Update for 2.15 development version.
4896
48972011-06-07 David S. Miller <davem@davemloft.net>
4898
4899 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
4900 ifuncs.
4901 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4902 elf_machine_lazy_rel): Likewise.
4903 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4904 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4905 elf_machine_lazy_rel): Likewise.
4906 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
4907 dl_hwcap via passed in argument.
4908 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
4909 Likewise.
4910
49112011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4912
4913 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
4914
49152011-06-06 Roland McGrath <roland@hack.frob.com>
4916
4917 [BZ #12849]
4918 * manual/fdl-1.1.texi: New file, verbatim from:
4919 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
4920 * manual/lgpl-2.1.texi: New file, verbatim from:
4921 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
4922 * manual/Makefile (licenses): New variable, list those new file names.
4923 (texis): Use it.
4924 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
4925
4926 * manual/fdl.texi: File removed.
4927 * manual/lesser.texi: File removed.
4928 * manual/libc.texinfo (Copying, Documentation License):
4929 Use new @include file names, put @appendix directive before @include.
4930
49312011-06-04 Jakub Jelinek <jakub@redhat.com>
4932
4933 [BZ #12841]
4934 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
4935 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
4936 (mq_open): Add __NTH.
4937
49382011-06-02 H.J. Lu <hongjiu.lu@intel.com>
4939
4940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4941 Assume Intel Core i3/i5/i7 processor if AVX is available.
4942
49432011-05-31 Ulrich Drepper <drepper@gmail.com>
4944
4945 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4946 typo.
4947
49482011-05-31 Andreas Schwab <schwab@redhat.com>
4949
4950 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
4951 memory. Use alloca_account. Fix memory leak when retrying.
4952
49532011-05-31 Ulrich Drepper <drepper@gmail.com>
4954
4955 * version.h (RELEASE): Bump for 2.14 release.
4956 * include/features.h (__GLIBC_MINOR__): Bump to 14.
4957
4958 * config.make.in (RANLIB): Remove entry.
4959
49602011-05-30 Ulrich Drepper <drepper@gmail.com>
4961
4962 * po/Makefile (po-sed-cmd): Add ksh to extensions.
4963 (libc.pot): Work around missing support for .ksh extension in xgettext.
4964
4965 [BZ #12684]
4966 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
4967 if both request failed.
4968 (send_dg): In case of server errors clear resplen or *resplen2.
4969
4970 [BZ #12454]
4971 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
4972 when there are multiple maps.
4973 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
4974 (_dl_fini): Remove test here.
4975
4976 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
4977
49782011-05-29 Ulrich Drepper <drepper@gmail.com>
4979
4980 [BZ #12350]
4981 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
4982 bit from old_res_options.
4983 (gaih_inet): Likewise.
4984
4985 [BZ #11099]
4986 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
4987 as signed.
4988
4989 * resolv/res_init.c (res_setoptions): Make the code more compact.
4990
4991 [BZ #11558]
4992 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
4993 set RES_USEVC.
4994
4995 [BZ #11634]
4996 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
4997
4998 * malloc/malloc.h: Mark malloc hook variables as deprecated.
4999
5000 [BZ #11781]
5001 * malloc/malloc.h: Declare malloc hook variables as volatile.
5002
5003 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
5004 in last patch.
5005
5006 [BZ #11799]
5007 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
5008 raise in the comment.
5009 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5010 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5011 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5012
50132011-05-28 Ulrich Drepper <drepper@gmail.com>
5014
5015 [BZ #12811]
5016 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
5017 grow the buffers more if it already has to be sufficient.
5018 (build_wcs_upper_buffer): Likewise.
5019 * posix/regexec.c (check_matching): Likewise.
5020 (clean_state_log_if_needed): Likewise.
5021 (extend_buffers): Don't enlarge buffers beyond size of the input
5022 buffer.
5023 Patches mostly by Emil Wojak <emil@wojak.eu>.
5024 * posix/bug-regex32.c: New file.
5025 * posix/Makefile (tests): Add bug-regex32.
5026
5027 * locale/findlocale.c (_nl_find_locale): Return right away if
5028 _nl_explode_name failed.
5029 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
5030
5031 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
5032
5033 * debug/xtrace.sh: Unify messages.
5034 * malloc/memusage.sh: Likewise.
5035
5036 [BZ #12813]
5037 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
5038 time symbol from vDSO. Substitute with vsyscall if not available.
5039 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
5040 __vdso_time.
5041
5042 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
5043 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
5044 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
5045 Add sendmmsg and internal_sendmmsg.
5046 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
5047 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
5048 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
5049
5050 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
5051 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
5052 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
5053
50542011-05-27 Ulrich Drepper <drepper@gmail.com>
5055
5056 [BZ #12813]
5057 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
5058 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
5059 available.
5060 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
5061 __vdso_getcpu.
5062
5063 [BZ #12814]
5064 * iconvdata/Makefile (tests): Add bug-iconv9.
5065 * iconvdata/bug-iconv9.c: New file.
5066
50672011-05-27 Andreas Schwab <schwab@redhat.com>
5068
5069 [BZ #12814]
5070 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
5071
50722011-05-25 Jakub Jelinek <jakub@redhat.com>
5073
5074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
5075 (struct user_regs_struct): Change intcs field back to cs.
5076
50772011-05-25 Ulrich Drepper <drepper@gmail.com>
5078
5079 * po/ja.po: Update from translation team.
5080
50812011-05-23 Ulrich Drepper <drepper@gmail.com>
5082
5083 [BZ #12795]
5084 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
5085 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
5086
50872011-05-20 Andreas Schwab <schwab@redhat.com>
5088
5089 * stdlib/longlong.h: Update from GCC.
5090
50912011-05-23 Andreas Schwab <schwab@redhat.com>
5092
5093 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
5094 parameter name.
5095 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
5096 Add parameter name.
5097 (__sysconf): Pass it down.
5098
50992011-05-22 Ulrich Drepper <drepper@gmail.com>
5100
5101 [BZ #12671]
5102 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
5103 some situations.
5104 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5105 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
5106 add in in __libc_use_alloca calls. Adjust callers.
5107 (glob): Use malloc in some situations.
5108
5109 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
5110 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
5111 pltexit.
5112
51132011-05-21 Ulrich Drepper <drepper@gmail.com>
5114
5115 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
5116 and CLOCK_BOOTTIME_ALARM.
5117
5118 [BZ #12782]
5119 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
5120 is returned.
5121
5122 * string/_strerror.c (__strerror_r): Print negative errors as signed
5123 numbers.
5124
5125 [BZ #12777]
5126 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
5127 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
5128 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
5129
5130 * configure.in: Fix typo in redirection and correct removal of test
5131 files in two cases.
5132
5133 [BZ #12788]
5134 * locale/setlocale.c (new_composite_name): Fix test to check for
5135 identical name of all categories.
5136
5137 [BZ #12792]
5138 * libio/filedoalloc.c (local_isatty): New function.
5139 (_IO_file_doallocate): Use local_isatty.
5140 * stdio-common/perror.c (perror): In case a new stream is used
5141 forward the stream error.
5142 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
5143 error flag.
5144
51452011-05-20 Ulrich Drepper <drepper@gmail.com>
5146
5147 [BZ #11869]
5148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
5149 alloca.
5150 * include/alloca.h (extend_alloca_account): Define.
5151
5152 [BZ #11857]
5153 * posix/regex.h: Fix comments with documentation of user-accessible
5154 fields after compilation and describe correct free'ing of pattern
5155 after re_compile_pattern.
5156 Patch by Reuben Thomas <rrt@sc3d.org>.
5157
51582011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
5159
5160 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
5161 and -mno-altivec to prevent the compiler from using Altivec and/or
5162 VSX instructions when the corresponding registers are not available.
5163
51642011-05-19 Andreas Schwab <schwab@redhat.com>
5165
5166 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
5167
51682011-05-19 Ulrich Drepper <drepper@gmail.com>
5169
5170 * libio/freopen.c (freopen): Use __dup2, not dup2.
5171 * libio/freopen64.c (freopen64): Likewise.
5172
51732011-05-17 H.J. Lu <hongjiu.lu@intel.com>
5174
5175 [BZ #12775]
5176 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
5177 * math/Makefile (tests): Add test-powl.
5178 (CFLAGS-test-powl.c): Define.
5179 * math/test-powl.c: New file.
5180
51812011-05-16 H.J. Lu <hongjiu.lu@intel.com>
5182
5183 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
5184
51852011-05-17 Ulrich Drepper <drepper@gmail.com>
5186
5187 [BZ #11837]
5188 * iconvdata/gb18030.c: Update to GB18020-2005.
5189
51902011-05-16 Ulrich Drepper <drepper@gmail.com>
5191
5192 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
5193 RE_SYNTAX_POSIX_AWK): Update to match recent development.
5194 Patch by Aharon Robbins <arnold@skeeve.com>.
5195
5196 [BZ #11892]
5197 * stdlib/putenv.c (putenv): Don't always create copy of the variable
5198 on the stack.
5199
5200 [BZ #11895]
5201 * misc/pselect.c (__pselect): Handle timeout value errors hidden
5202 through underflows.
5203
5204 [BZ #12766]
5205 * misc/error.c (error_at_line): Ensure file_name and old_file_name
5206 point to strings before performing equality test for error_one_per_line
5207 mode.
5208
5209 [BZ #11697]
5210 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
5211
5212 [BZ #11820]
5213 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
5214 (struct user_fpregs_struct): Avoid __uint*_t types.
5215
5216 [BZ #6420]
5217 * malloc/mtrace.c (tr_where): Add additional parameter to point to
5218 symbol info. Use it instead of calling _dl_addr locally.
5219 (lock_and_info): New function.
5220 (tr_freehook): Call lock_and_info and pass symbol info as additional
5221 parameter to tr_where.
5222 (tr_mallochook): Likewise.
5223 (tr_reallochook): Likewise.
5224 (tr_memalignhook): Likewise.
5225
5226 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
5227 used and couldn't be at all thread-safe.
5228
52292011-05-15 Ulrich Drepper <drepper@gmail.com>
5230
5231 * libio/freopen.c (freopen): Don't close old file descriptor
5232 before the new one is opened. Instead dup the new file descriptor
5233 to the old one after the new stream is created.
5234 * libio/freopen64.c (freopen64): Likewise.
5235 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
5236 * libio/fileops.c (_IO_new_file_close_it): Handle new
5237 _IO_FLAGS2_NOCLOSE flag.
5238 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
5239 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
5240 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
5241 _IO_FLAGS2_NOCLOSE flag.
5242 * include/unistd.h: Add hidden_proto for dup3.
5243 Define __have_dup3.
5244 * io/dup3.c: Define hidden symbol.
5245 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
5246
5247 [BZ #7101]
5248 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
5249 when an incomplete long option is used.
5250 * posix/tst-getopt_long1.c: New file.
5251 * posix/Makefile (tests): Add tst-getopt_long1.
5252
5253 [BZ #10138]
5254 * scripts/config.guess: Update from autoconf-2.68.
5255 * scripts/config.sub: Likewise.
5256
5257 [BZ #10157]
5258 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
5259 tests into ...
5260 (has_cpuclock): ...this. New function.
5261 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
5262 macro here based on has_cpuclock code.
5263
5264 [BZ #10149]
5265 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5266 First byte (not low byte) is now always NUL.
5267 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
5268
5269 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5270 Use non-cancelable interfaces.
5271
5272 [BZ #9809]
5273 * locale/iso-639.def: Add entry for Sorani.
5274
5275 [BZ #11901]
5276 * include/stdlib.h: Move include protection to the right place.
5277 Define abort_msg_s. Declare __abort_msg with it.
5278 * stdlib/abort.c (__abort_msg): Adjust type.
5279 * assert/assert.c (__assert_fail_base): New function. Majority
5280 of code from __assert_fail. Allocate memory for __abort_msg with
5281 mmap.
5282 (__assert_fail): Now call __assert_fail_base.
5283 * assert/assert-perr.c: Remove bulk of implementation. Use
5284 __assert_fail_base.
5285 * include/assert.hL Declare __assert_fail_base.
5286 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
5287 mmap.
5288 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
5289
52902011-05-14 Ulrich Drepper <drepper@gmail.com>
5291
5292 [BZ #11952]
5293 [BZ #12453]
5294 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
5295 until all modules are registered in the DTV.
5296 * elf/Makefile: Add rules to build and run tst-tls19.
5297 * elf/tst-tls19.c: New file.
5298 * elf/tst-tls19mod1.c: New file.
5299 * elf/tst-tls19mod2.c: New file.
5300 * elf/tst-tls19mod3.c: New file.
5301 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
5302
5303 [BZ #12083]
5304 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
5305 correctly.
5306
5307 [BZ #12601]
5308 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
5309 two-byte sequence errors.
5310 * iconvdata/Makefile (tests): Add bug-iconv8.
5311 * iconvdata/bug-iconv8.c: New file.
5312
5313 [BZ #12626]
5314 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
5315 buf2 definition.
5316
5317 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
5318
5319 [BZ #12432]
5320 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
5321 (dummy_getcfa): New function.
5322 (init): Get _Unwind_GetCFA address, use dummy if not found.
5323 (backtrace_helper): In recursion check, also check whether CFA changes.
5324 (__backtrace): Completely initialize arg.
5325
5326 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
5327 storing incomplete byte sequence in state object. Avoid testing for
5328 guaranteed too small input if we know there is enough data available.
5329
53302011-05-11 Andreas Schwab <schwab@redhat.com>
5331
5332 * Makeconfig (+link-pie): Indent.
5333 * Rules (binaries-pie): Define if $(have-fpie) and
5334 $(build-shared).
5335 (binaries-shared): Also filter out $(binaries-pie).
5336 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
5337 * nscd/Makefile (others-pie): Add nscd.
5338 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
5339 ($(objpfx)nscd): Remove command override.
5340 * login/Makefile (others-pie): Add pt_chown.
5341 ($(objpfx)pt_chown): Remove command override.
5342 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
5343 remove command overrides.
5344
53452011-05-13 Ulrich Drepper <drepper@gmail.com>
5346
5347 * libio/tst_putwc.c: Fix error messages.
5348
5349 [BZ #12724]
5350 * libio/fileops.c (_IO_new_file_close_it): Always flush when
5351 currently writing and seek to current position when not.
5352 * libio/Makefile (tests): Add bug-fclose1.
5353 * libio/bug-fclose1.c: New file.
5354
53552011-05-12 Ulrich Drepper <drepper@gmail.com>
5356
5357 [BZ #12511]
5358 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
5359 don't set DF_1_NODELETE here.
5360 (do_lookup_x): When entering new entry test for copy relocation
5361 and if necessary set DF_1_NODELETE flag.
5362 * elf/tst-unique4.cc: New file.
5363 * elf/tst-unique4.h: New file.
5364 * elf/tst-unique4lib.cc: New file.
5365 * elf/Makefile: Add rules to build and run tst-unique4.
5366 Patch by Piotr Bury <pbury@goahead.com>.
5367
53682011-05-11 Ulrich Drepper <drepper@gmail.com>
5369
5370 [BZ #12052]
5371 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
5372
5373 [BZ #12625]
5374 * misc/mntent_r.c (addmntent): Flush the stream after the output
5375
5376 [BZ #12393]
5377 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
5378 (is_trusted_path_normalize): Skip initial colon. Append slash
5379 to empty buffer. Duplicate is_trusted_path code but allow
5380 constructed patch to be prefix.
5381 (is_dst): Allow $ORIGIN followed by /.
5382 (_dl_dst_substitute): Correct clearing of check_for_trusted.
5383 Correct testing of result of is_trusted_path_normalize
5384 (decompose_rpath): Fix warning.
5385
53862011-05-10 Ulrich Drepper <drepper@gmail.com>
5387
5388 [BZ #11257]
5389 * grp/initgroups.c (internal_getgrouplist): When we found the service
5390 list through the initgroups entry in nsswitch.conf do not always
5391 continue on a successful lookup. Don't always use the
5392 __nss_group_database value if it is set.
5393 * nss/nsswitch.conf (initgroups): Change action for successful db
5394 lookup to continue for compatibility.
5395
53962011-05-09 Ulrich Drepper <drepper@gmail.com>
5397
5398 [BZ #11532]
5399 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
5400 and CP774 modules.
5401 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
5402 and CP774 modules.
5403 * iconvdata/tst-tables.sh: Likewise.
5404 * iconvdata/cp770.c: New file.
5405 * iconvdata/cp771.c: New file.
5406 * iconvdata/cp772.c: New file.
5407 * iconvdata/cp773.c: New file.
5408 * iconvdata/cp774.c: New file.
5409 * iconvdata/testdata/CP770: New file.
5410 * iconvdata/testdata/CP770..UTF8: New file.
5411 * iconvdata/testdata/CP771: New file.
5412 * iconvdata/testdata/CP771..UTF8: New file.
5413 * iconvdata/testdata/CP772: New file.
5414 * iconvdata/testdata/CP772..UTF8: New file.
5415 * iconvdata/testdata/CP773: New file.
5416 * iconvdata/testdata/CP773..UTF8: New file.
5417 * iconvdata/testdata/CP774: New file.
5418 * iconvdata/testdata/CP774..UTF8: New file.
5419
5420 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
5421 END CHARMAP line.
5422 * iconvdata/gen-8bit-gap.sh: Likewise.
5423 * iconvdata/gen-8bit.sh: Likewise.
5424
5425 * locale/iso-639.def: Add ary entry.
5426
5427 [BZ #11258]
5428 * locale/C-translit.h.in: Add U20A1 transliteration.
5429
5430 [BZ #12178]
5431 * locale/iso-639.def: Add wae entry.
5432 Patch by Kevin Bortis <bortis@translate-wae.ch>.
5433
5434 [BZ #12545]
5435 * locale/programs/localedef.c (construct_output_path): Use ssize_t
5436 for n.
5437
5438 [BZ #12711]
5439 * locale/C-translit.h.in: Add entry for U20B9.
5440 Patch by pravin.d.s@gmail.com.
5441
54422011-05-08 Ulrich Drepper <drepper@gmail.com>
5443
5444 [BZ #12713]
5445 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
5446 ENAMETOOLONG use generic getcwd.
5447 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
5448 in rtld. Use *stat64.
5449 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
5450 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
5451 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
5452 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
5453 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
5454 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
5455 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
5456 __fstatat64 macros.
5457 * include/dirent.h: Add libc_hidden_proto for rewinddir.
5458 * dirent/rewinddir.c: Add libc_hidden_def.
5459 * sysdeps/mach/hurd/rewinddir.c: Likewise.
5460 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
5461
5462 * include/dirent.h (__alloc_dir): Add flags parameter.
5463 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
5464 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
5465 __alloc_dir.
5466 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
5467 from fdopendir if O_CLOEXEC is already set.
5468
54692011-03-15 Alan Modra <amodra@gmail.com>
5470
5471 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
5472 l_tls_firstbyte_offset non-zero. Save padding offset in
5473 l_tls_firstbyte_offset for later use.
5474 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
5475 freeing static tls block.
5476
54772011-03-05 Jonathan Nieder <jrnieder@gmail.com>
5478
5479 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
5480 where #ifdef was intended. The intent is to prevent ARG_MAX from
5481 being defined by the kernel headers.
5482
54832011-05-07 Ulrich Drepper <drepper@gmail.com>
5484
5485 [BZ #12734]
5486 * resolv/resolv.h: Define RES_NOTLDQUERY.
5487 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
5488 no-tld-query and set RES_NOTLDQUERY.
5489 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
5490 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
5491 modern BIND to search name as TLD unless forbidden.
5492
54932011-05-07 Petr Baudis <pasky@suse.cz>
5494 Ulrich Drepper <drepper@gmail.com>
5495
5496 [BZ #12393]
5497 * elf/dl-load.c (fillin_rpath): Move trusted path check...
5498 (is_trusted_path): ...to here.
5499 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
5500 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
5501 using is_trusted_path_normalize() in setuid scripts.
5502
55032011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5504
5505 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
5506 __BEGIN/__END_DECLS.
5507
55082011-05-06 Ulrich Drepper <drepper@gmail.com>
5509
5510 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
5511 NSS_STATUS_NOTFOUND if no record was found.
5512
55132011-05-05 Andreas Schwab <schwab@redhat.com>
5514
5515 * sunrpc/Makefile (headers): Add rpc/netdb.h.
5516 (headers-not-in-tirpc): Remove rpc/netdb.h
5517 * resolv/netdb.h: Revert last change.
5518
55192011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5520
5521 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
5522 circular dependency between libgcc.a and libc.a.
5523
55242011-05-05 Andreas Schwab <schwab@redhat.com>
5525
5526 * resolv/netdb.h: Don't include <rpc/netdb.h>.
5527 * nis/Makefile: Don't install rpcsvc/*.
5528 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
5529 instead of <rpc/types.h>.
5530 (MAXHOSTNAMELEN): Define.
5531
55322011-05-03 Andreas Schwab <schwab@redhat.com>
5533
5534 * elf/ldconfig.c (add_dir): Don't crash on empty path.
5535
55362011-04-28 Maciej Babinski <mbabinski@google.com>
5537
5538 [BZ #12714]
5539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
5540 gethostbyname4_r when IPv6 results are possible.
5541
55422011-05-02 Ulrich Drepper <drepper@gmail.com>
5543
5544 [BZ #12723]
5545 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
5546 _PC_PIPE_BUF handling.
5547
55482011-04-30 Bruno Haible <bruno@clisp.org>
5549
5550 [BZ #12717]
5551 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
5552 * resolv/netdb.h (getnameinfo): Change type of flags parameter
5553 to 'int'.
5554 * inet/getnameinfo.c (getnameinfo): Likewise.
5555
55562011-04-29 Ulrich Drepper <drepper@gmail.com>
5557
5558 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
5559 to groups setting in database lookup.
5560 * nss/nsswitch.conf: Add initgroups entry.
5561
55622011-04-22 Ulrich Drepper <drepper@gmail.com>
5563
5564 [BZ #12685]
5565 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
5566 mode string.
5567 Patch by Eric Blake <eblake@redhat.com>.
5568
55692011-04-20 H.J. Lu <hongjiu.lu@intel.com>
5570
5571 * sunrpc/Makefile (need-export-routines): Add svc_run.
5572 (routines): Remove svc_run.
5573 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
5574 * sunrpc/clnt_perr.c (clnt_perrno): Export.
5575 * sunrpc/svc_run.c (svc_run): Likewise.
5576 * sunrpc/svc_udp.c (svcudp_create): Likewise.
5577
55782011-04-21 Ulrich Drepper <drepper@gmail.com>
5579
5580 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
5581 problem in reallocation in last patch.
5582
55832011-04-20 Ulrich Drepper <drepper@gmail.com>
5584
5585 * sunrpc/Makefile: Move inclusion of Rules.
5586
55872011-04-19 Ulrich Drepper <drepper@gmail.com>
5588
5589 * nss/nss_files/files-initgroups.c: New file.
5590 * nss/Makefile (libnss_files-routines): Add files-initgroups.
5591 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
5592 _nss_files_initgroups_dyn.
5593
55942011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
5595
5596 * elf/elf.h (R_ARM_IRELATIVE): Define.
5597
55982011-04-19 Ulrich Drepper <drepper@gmail.com>
5599
5600 * po/ru.po: Update from translation team.
5601
56022011-04-17 Ulrich Drepper <drepper@gmail.com>
5603
5604 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
5605 dependencies.
5606
56072011-02-06 Mike Frysinger <vapier@gentoo.org>
5608
5609 [BZ #12653]
5610 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
5611 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
5612 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5613 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5614 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5615
56162011-03-28 Andreas Schwab <schwab@linux-m68k.org>
5617
5618 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
5619 differing bytes.
5620 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5621 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5622 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5623
56242011-04-17 Ulrich Drepper <drepper@gmail.com>
5625
5626 [BZ #12420]
5627 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
5628 storing it.
5629 * stdlib/bug-getcontext.c: New file.
5630 * stdlib/Makefile: Add rules to build and run bug-getcontext.
5631
56322011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5633
5634 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
5635 instructions into .machine "z9-109".
5636 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5637 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5638
56392011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5640
5641 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
5642 between environment variables and auxiliary vector.
5643
56442011-04-16 Ulrich Drepper <drepper@gmail.com>
5645
5646 * Makefile: Add rules to build linkobj/libc.so.
5647 * include/libc-symbols.h: Define libc_hidden_nolink.
5648 * include/rpc/auth.h: Mark functions which are to be hidden.
5649 * include/rpc/auth_des.h: Likewise.
5650 * include/rpc/auth_unix.h: Likewise.
5651 * include/rpc/clnt.h: Likewise.
5652 * include/rpc/des_crypt.h: Likewise.
5653 * include/rpc/key_prot.h: Likewise.
5654 * include/rpc/pmap_clnt.h: Likewise.
5655 * include/rpc/pmap_prot.h: Likewise.
5656 * include/rpc/pmap_rmt.h: Likewise.
5657 * include/rpc/rpc_msg.h: Likewise.
5658 * include/rpc/svc.h: Likewise.
5659 * include/rpc/svc_auth.h: Likewise.
5660 * include/rpc/xdr.h: Likewise.
5661 * nis/Makefile: Link all DSOs against linkobj/libc.so.
5662 * nss/Makefile: Likewise.
5663 * sunrpc/Makefile: Don't install headers. Build library with normal
5664 entry points. Don't build rpcinfo. Link RPC tests appropriately.
5665 * sunrpc/auth_des.c: Hide exported symbols by default, export some
5666 for the compat linking library. Remove use of INTDEF/INTUSE.
5667 * sunrpc/auth_none.c: Likewise.
5668 * sunrpc/auth_unix.c: Likewise.
5669 * sunrpc/authdes_prot.c: Likewise.
5670 * sunrpc/authuxprot.c: Likewise.
5671 * sunrpc/clnt_gen.c: Likewise.
5672 * sunrpc/clnt_perr.c: Likewise.
5673 * sunrpc/clnt_raw.c: Likewise.
5674 * sunrpc/clnt_simp.c: Likewise.
5675 * sunrpc/clnt_tcp.c: Likewise.
5676 * sunrpc/clnt_udp.c: Likewise.
5677 * sunrpc/clnt_unix.c: Likewise.
5678 * sunrpc/des_crypt.c: Likewise.
5679 * sunrpc/des_soft.c: Likewise.
5680 * sunrpc/get_myaddr.c: Likewise.
5681 * sunrpc/key_call.c: Likewise.
5682 * sunrpc/key_prot.c: Likewise.
5683 * sunrpc/netname.c: Likewise.
5684 * sunrpc/pm_getmaps.c: Likewise.
5685 * sunrpc/pm_getport.c: Likewise.
5686 * sunrpc/pmap_clnt.c: Likewise.
5687 * sunrpc/pmap_prot.c: Likewise.
5688 * sunrpc/pmap_prot2.c: Likewise.
5689 * sunrpc/pmap_rmt.c: Likewise.
5690 * sunrpc/publickey.c: Likewise.
5691 * sunrpc/rpc_cmsg.c: Likewise.
5692 * sunrpc/rpc_common.c: Likewise.
5693 * sunrpc/rpc_dtable.c: Likewise.
5694 * sunrpc/rpc_prot.c: Likewise.
5695 * sunrpc/rpc_thread.c: Likewise.
5696 * sunrpc/rtime.c: Likewise.
5697 * sunrpc/svc.c: Likewise.
5698 * sunrpc/svc_auth.c: Likewise.
5699 * sunrpc/svc_authux.c: Likewise.
5700 * sunrpc/svc_raw.c: Likewise.
5701 * sunrpc/svc_run.c: Likewise.
5702 * sunrpc/svc_simple.c: Likewise.
5703 * sunrpc/svc_tcp.c: Likewise.
5704 * sunrpc/svc_udp.c: Likewise.
5705 * sunrpc/svc_unix.c: Likewise.
5706 * sunrpc/svcauth_des.c: Likewise.
5707 * sunrpc/xcrypt.c: Likewise.
5708 * sunrpc/xdr.c: Likewise.
5709 * sunrpc/xdr_array.c: Likewise.
5710 * sunrpc/xdr_float.c: Likewise.
5711 * sunrpc/xdr_intXX_t.c: Likewise.
5712 * sunrpc/xdr_mem.c: Likewise.
5713 * sunrpc/xdr_rec.c: Likewise.
5714 * sunrpc/xdr_ref.c: Likewise.
5715 * sunrpc/xdr_sizeof.c: Likewise.
5716 * sunrpc/xdr_stdio.c: Likewise.
5717
57182011-04-10 Ulrich Drepper <drepper@gmail.com>
5719
5720 [BZ #12650]
5721 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
5722 * sysdeps/ia64/dl-tls.h: Likewise.
5723 * sysdeps/powerpc/dl-tls.h: Likewise.
5724 * sysdeps/s390/dl-tls.h: Likewise.
5725 * sysdeps/sh/dl-tls.h: Likewise.
5726 * sysdeps/sparc/dl-tls.h: Likewise.
5727 * sysdeps/x86_64/dl-tls.h: Likewise.
5728 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
5729
57302011-03-14 Andreas Schwab <schwab@redhat.com>
5731
5732 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
5733 rpath element also skip the following colon.
5734 (expand_dynamic_string_token): Add is_path parameter and pass
5735 down to DL_DST_REQUIRED and _dl_dst_substitute.
5736 (decompose_rpath): Call expand_dynamic_string_token with
5737 non-zero is_path. Ignore empty rpaths.
5738 (_dl_map_object_from_fd): Call expand_dynamic_string_token
5739 with zero is_path.
5740
57412011-04-08 Andreas Schwab <schwab@linux-m68k.org>
5742
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5744 Make cancelable.
5745
57462011-04-09 Ulrich Drepper <drepper@gmail.com>
5747
5748 [BZ #12655]
5749 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
5750 Patch by Filipe David Manana <fdmanana@apache.org>.
5751
57522011-04-07 Andreas Schwab <schwab@redhat.com>
5753
5754 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
5755 Maintain aligned stack.
5756 (CHECK_RSP): Remove unused macro.
5757
57582011-04-03 Ulrich Drepper <drepper@gmail.com>
5759
5760 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
5761 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
5762
57632011-04-02 Ulrich Drepper <drepper@gmail.com>
5764
5765 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
5766
5767 * include/features.h: Mention __USE_XOPEN2K8 in comment.
5768
57692011-03-26 H.J. Lu <hongjiu.lu@intel.com>
5770
5771 [BZ #12518]
5772 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
5773 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
5774 * sysdeps/x86_64/memmove.c: New file.
5775 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
5776 (memcpy): Renamed to ...
5777 (__new_memcpy): This.
5778 (memcpy): Provide GLIBC_2_14 memcpy.
5779 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
5780 (memcpy): Provide GLIBC_2_2_5 memcpy.
5781
57822011-04-01 Ulrich Drepper <drepper@gmail.com>
5783
5784 [BZ #12631]
5785 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
5786
57872011-03-30 Andreas Schwab <schwab@redhat.com>
5788
5789 * misc/syncfs.c: New file.
5790 * misc/Makefile (routines): Add syncfs.
5791 * posix/unistd.h: Declare syncfs.
5792 * sysdeps/unix/syscalls.list: Add syncfs.
5793
57942011-04-01 Andreas Schwab <schwab@redhat.com>
5795
5796 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
5797 open_by_handle_at.
5798 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5799 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5800 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5801 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5803 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5804 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5805
58062011-04-01 Ulrich Drepper <drepper@gmail.com>
5807
5808 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
5809 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5810 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
5811 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5812 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5814 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5815
5816 * io/Makefile: Compile fallocate.c, fallocate64.c, and
5817 sync_file_range.c with -fexceptions.
5818 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
5819 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
5820 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5821 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5822 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5823 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5824 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
5825 sync_file_range as cancellation point
5826 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
5827 now a wrapper around __call_sync_file_range with cancellation handling.
5828 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
5829 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
5830 function name to __call_sync_file_range.
5831 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
5832 Add call_sync_file_range.
5833
58342011-04-01 Andreas Schwab <schwab@redhat.com>
5835
5836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5837 bits/timex.h.
5838
58392011-04-01 Ulrich Drepper <drepper@gmail.com>
5840
5841 * iconv/iconv.h: Fix typo in comment.
5842 * io/fcntl.h: Likewise.
5843 * libio/stdio.h: Likewise.
5844 * posix/spawn.h: Likewise.
5845 * posix/unistd.h: Likewise.
5846 * stdlib/stdlib.h: Likewise.
5847 * time/time.h: Likewise.
5848 * wcsmbs/wchar.h: Likewise.
5849
5850 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
5851 open_by_handle): Add.
5852 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
5853 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
5854 Augment a few comments.
5855 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5857 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5858 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5859 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5860 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
5861 open_by_handle.
5862
5863 * io/fcntl.h (AT_EMPTY_PATH): Define.
5864
58652011-03-30 Ulrich Drepper <drepper@gmail.com>
5866
5867 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
5868 * sysdeps/unix/sysv/linux/bits/time.h: New file.
5869 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
5870 to...
5871 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
5872 * Versions.def: Add GLIBC_2.14.
5873 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
5874 Export.
5875
58762011-03-22 Ulrich Drepper <drepper@gmail.com>
5877
5878 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
5879 round counter.
5880 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5881
58822011-03-20 H.J. Lu <hongjiu.lu@intel.com>
5883
5884 [BZ #12597]
5885 * string/test-strncmp.c (do_page_test): New function.
5886 (check2): Likewise.
5887 (test_main): Call check2.
5888 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
5889
58902011-03-20 Ulrich Drepper <drepper@gmail.com>
5891
5892 [BZ #12587]
5893 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
5894 Handle cache information in CPU leaf 4.
5895 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
5896
58972011-03-18 Ulrich Drepper <drepper@gmail.com>
5898
5899 [BZ #12583]
5900 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
5901 character representation.
5902 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
5903
59042011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
5905
5906 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
5907 END(__isnan) to END(__isnanf) to match function entry point/label
5908 EALIGN(__isnanf,...).
5909
59102011-03-10 Jakub Jelinek <jakub@redhat.com>
5911
5912 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
5913
59142011-03-10 Ulrich Drepper <drepper@gmail.com>
5915
5916 [BZ #12510]
5917 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
5918 copy from the symbol referenced in the relocation to initialize the
5919 used variable.
5920 Patch by Piotr Bury <pbury@goahead.com>.
5921 * elf/Makefile: Add rules to build and tst-unique3.
5922 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
5923 * elf/tst-unique3.cc: New file.
5924 * elf/tst-unique3.h: New file.
5925 * elf/tst-unique3lib.cc: New file.
5926 * elf/tst-unique3lib2.cc: New file.
5927
5928 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
5929
59302011-03-10 Mike Frysinger <vapier@gentoo.org>
5931
5932 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
5933 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
5934 to _start.
5935
59362011-03-06 Ulrich Drepper <drepper@gmail.com>
5937
5938 * elf/dl-load.c (_dl_map_object): If we are looking for the first
5939 to-be-loaded object along a path to loader is ld.so.
5940
59412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5942 Ulrich Drepper <drepper@gmail.com>
5943
5944 * sysdeps/x86_64/memset.S: After aligning destination, code
5945 branches to different locations depending on the value of
5946 misalignment, when multiarch is enabled. Fix this.
5947
59482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
5949
5950 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
5951 Set _x86_64_preferred_memory_instruction for AMD processsors.
5952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5953 Set bit_Prefer_SSE_for_memop for AMD processors.
5954
59552011-03-04 Ulrich Drepper <drepper@gmail.com>
5956
5957 * libio/fmemopen.c (fmemopen): Optimize a bit.
5958
59592011-03-03 Andreas Schwab <schwab@redhat.com>
5960
5961 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
5962
59632011-03-03 Roland McGrath <roland@redhat.com>
5964
5965 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
5966
59672011-02-28 Aurelien Jarno <aurelien@aurel32.net>
5968
5969 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
5970 __bzero_ultra1 instead of __memset_ultra1.
5971
59722011-02-23 Andreas Schwab <schwab@redhat.com>
5973 Ulrich Drepper <drepper@gmail.com>
5974
5975 [BZ #12509]
5976 * include/link.h (struct link_map): Add l_orig_initfini.
5977 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
5978 returning unsuccessfully.
5979 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
5980 close of a file loaded at startup, restore the original l_initfini
5981 list.
5982 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
5983 list, store the pointer.
5984 * elf/Makefile ($(objpfx)noload-mem): New rule.
5985 (noload-ENV): Define.
5986 (tests): Add $(objpfx)noload-mem.
5987 * elf/noload.c: Include <memcheck.h>.
5988 (main): Call mtrace. Close all opened handles.
5989
59902011-02-17 Andreas Schwab <schwab@redhat.com>
5991
5992 [BZ #12454]
5993 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
5994 dependencies are missing.
5995
59962011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5997
5998 Fix __if_freereq crash: Unlike the generic version which uses free,
5999 Hurd needs munmap.
6000 * sysdeps/mach/hurd/ifreq.h: New file.
6001
60022011-01-27 Petr Baudis <pasky@suse.cz>
6003 Ulrich Drepper <drepper@gmail.com>
6004
6005 [BZ 12445]#
6006 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
6007 to extend_alloca().
6008 * stdio-common/bug23.c: New file.
6009 * stdio-common/Makefile (tests): Add bug23.
6010
60112010-09-28 Andreas Schwab <schwab@redhat.com>
6012 Ulrich Drepper <drepper@gmail.com>
6013
6014 [BZ #12489]
6015 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
6016 before performing relro protection. At old place add assertion
6017 to make sure nothing changed.
6018
60192011-02-17 Nathan Sidwell <nathan@codesourcery.com>
6020 Glauber de Oliveira Costa <glommer@gmail.com>
6021
6022 * elf/elf.h: Add new ARM TLS relocs.
6023
60242011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
6025
6026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6027 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
6028 cast from r3.
6029 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
6030 'tests' variable.
6031 * sysdeps/wordsize-64/tst-writev.c: New file.
6032
60332011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
6034
6035 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
6036 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
6037 insns in _dl_start to prevent a TOC reference before relocs are
6038 resolved.
6039
60402011-02-15 Ulrich Drepper <drepper@gmail.com>
6041
6042 [BZ #12469]
6043 * Makeconfig: Remove RANLIB definition.
6044 * Makerules: Don't use RANLIB.
6045 * aclocal.m4: Remove ranlib test.
6046 * configure.in: No need to check for ranlib.
6047 * elf/rtld-Rules: Don't use RANLIB.
6048
60492011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6050
6051 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
6052 protection macro.
6053 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
6054 inclusion protection macro.
6055
6056 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
6057 SIGRTMIN and SIGRTMAX and print information in that case only when
6058 SIGRTMIN is defined.
6059
60602011-02-11 Jakub Jelinek <jakub@redhat.com>
6061
6062 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
6063 arginfo fn returning -1.
6064
6065 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
6066 and thousands string is zero terminated.
6067
60682011-02-03 Andreas Schwab <schwab@redhat.com>
6069
6070 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
6071 sysdeps/unix/sysv/linux/bits/socket.h.
6072
60732011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6074
6075 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
6076 (__CPU_COUNT): Remove old macros.
6077 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
6078 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
6079 (__CPU_ALLOC, __CPU_FREE): Add macros.
6080 (__sched_cpualloc, __sched_cpufree): Add declarations.
6081
60822011-02-05 Ulrich Drepper <drepper@gmail.com>
6083
6084 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
6085 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
6086 * nscd/aicache.c (addhstaiX): Return timeout of added value.
6087 (readdhstai): Return value of addhstaiX call.
6088 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
6089 (addgrbyX): Return value returned by cache_addgr.
6090 (readdgrbyname): Return value returned by addgrbyX.
6091 (readdgrbygid): Likewise.
6092 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
6093 (addpwbyX): Return value returned by cache_addpw.
6094 (readdpwbyname): Return value returned by addhstbyX.
6095 (readdpwbyuid): Likewise.
6096 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
6097 (addservbyX): Return value returned by cache_addserv.
6098 (readdservbyname): Return value returned by addservbyX:
6099 (readdservbyport): Likewise.
6100 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
6101 (addhstbyX): Return value returned by cache_addhst.
6102 (readdhstbyname): Return value returned by addhstbyX.
6103 (readdhstbyaddr): Likewise.
6104 (readdhstbynamev6): Likewise.
6105 (readdhstbyaddrv6): Likewise.
6106 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
6107 (readdinitgroups): Return value returned by addinitgroupsX.
6108 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
6109 (prune_cache): Keep track of timeout value of re-added entries.
6110 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
6111 * nscd/nscd.h: Adjust prototypes of readd* functions.
6112
61132011-02-04 Roland McGrath <roland@redhat.com>
6114
6115 * nis/nis_server.c (nis_servstate): Use the right name for 0.
6116 (nis_stats): Likewise.
6117 * nis/nis_modify.c (nis_modify): Likewise.
6118 * nis/nis_remove.c (nis_remove): Likewise.
6119 * nis/nis_add.c (nis_add): Likewise.
6120
6121 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
6122
6123 * posix/fnmatch_loop.c: Add some consts.
6124
6125 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
6126
61272011-02-02 H.J. Lu <hongjiu.lu@intel.com>
6128
6129 [BZ #12460]
6130 * config.make.in (config-cflags-novzeroupper): Define.
6131 * configure.in: Substitute libc_cv_cc_novzeroupper.
6132 * elf/Makefile (AVX-CFLAGS): Define.
6133 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
6134 (CFLAGS-tst-auditmod4a.c): Likewise.
6135 (CFLAGS-tst-auditmod4b.c): Likewise.
6136 (CFLAGS-tst-auditmod6b.c): Likewise.
6137 (CFLAGS-tst-auditmod6c.c): Likewise.
6138 (CFLAGS-tst-auditmod7b.c): Likewise.
6139 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
6140
61412011-02-02 Ulrich Drepper <drepper@gmail.com>
6142
6143 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
6144 function to the callback.
6145 Patch partly by Jiri Olsa <jolsa@redhat.com>.
6146
61472011-02-02 Andreas Schwab <schwab@redhat.com>
6148
6149 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
6150 of errno.
6151
61522011-01-19 Ulrich Drepper <drepper@gmail.com>
6153
6154 [BZ #11724]
6155 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
6156 of constructors.
6157 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
6158 of destructors.
6159 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
6160
6161 [BZ #11724]
6162 * elf/Makefile: Add rules to build and run new test.
6163 * elf/tst-initorder.c: New file.
6164 * elf/tst-initorder.exp: New file.
6165 * elf/tst-initordera1.c: New file.
6166 * elf/tst-initordera2.c: New file.
6167 * elf/tst-initordera3.c: New file.
6168 * elf/tst-initordera4.c: New file.
6169 * elf/tst-initorderb1.c: New file.
6170 * elf/tst-initorderb2.c: New file.
6171 * elf/tst-order-a1.c: New file.
6172 * elf/tst-order-a2.c: New file.
6173 * elf/tst-order-a3.c: New file.
6174 * elf/tst-order-a4.c: New file.
6175 * elf/tst-order-b1.c: New file.
6176 * elf/tst-order-b2.c: New file.
6177 * elf/tst-order-main.c: New file.
6178 New test case by George Gensure <werkt0@gmail.com>.
6179
61802010-10-01 Andreas Schwab <schwab@redhat.com>
6181
6182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6183 decoding ACE if AI_CANONIDN.
6184
61852011-01-18 Ulrich Drepper <drepper@gmail.com>
6186
6187 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
6188
61892011-01-17 Ulrich Drepper <drepper@gmail.com>
6190
6191 * version.h (RELEASE): Bump for 2.13 release.
6192 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
6193
6194 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
6195
6196 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
6197 MADV_NOHUGEPAGE.
6198 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
6199 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6200 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6201 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6202 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6203 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
6204
6205 * posix/getconf.c: Update copyright year.
6206 * catgets/gencat.c: Likewise.
6207 * csu/version.c: Likewise.
6208 * debug/catchsegv.sh: Likewise.
6209 * debug/xtrace.sh: Likewise.
6210 * elf/ldconfig.c: Likewise.
6211 * elf/ldd.bash.in: Likewise.
6212 * elf/sprof.c (print_version): Likewise.
6213 * iconv/iconv_prog.c: Likewise.
6214 * iconv/iconvconfig.c: Likewise.
6215 * locale/programs/locale.c: Likewise.
6216 * locale/programs/localedef.c: Likewise.
6217 * malloc/memusage.sh: Likewise.
6218 * malloc/mtrace.pl: Likewise.
6219 * nscd/nscd.c (print_version): Likewise.
6220 * nss/getent.c: Likewise.
6221
6222 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
6223 PF_CAIF, and PF_ALG.
6224 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6225
62262011-01-16 Andreas Schwab <schwab@linux-m68k.org>
6227
6228 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
6229 (modules-names): Use them.
6230 (ifunc-test-modules, ifunc-pie-tests): Define.
6231 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
6232 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
6233 (test-extras): Likewise.
6234 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
6235 $(compile-command.c).
6236 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
6237 (all-built-dso): Define.
6238 (check-textrel.out, check-execstack.out): Depend on it.
6239
6240 * configure.in: Don't override --enable-multi-arch.
6241
62422011-01-15 Ulrich Drepper <drepper@gmail.com>
6243
6244 [BZ #6812]
6245 * nscd/hstcache.c (tryagain): Define.
6246 (cache_addhst): Return tryagain not notfound for temporary errors.
6247 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
6248 failed.
6249
62502011-01-14 Ulrich Drepper <drepper@gmail.com>
6251
6252 [BZ #10563]
6253 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
6254 to make the syscall.
6255 * sysdeps/unix/sysv/linux/setgroups.c: New file.
6256
6257 [BZ #12378]
6258 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
6259 and fall back to matching as normal character if the string ends before
6260 the matching ']' is found. This is what POSIX requires.
6261 * posix/testfnm.c: Adjust test result.
6262 * posix/globtest.sh: Adjust test result. Add new test.
6263 * posix/tst-fnmatch.input: Likewise.
6264 * posix/tst-fnmatch2.c: Add new test.
6265
62662010-12-28 Andreas Schwab <schwab@linux-m68k.org>
6267
6268 * elf/Makefile (check-execstack): Revert last change. Depend on
6269 check-execstack.h.
6270 (check-execstack.h): New target.
6271 (generated): Add check-execstack.h.
6272 * elf/check-execstack.c: Include "check-execstack.h".
6273 (main): Revert last change.
6274 (handle_file): Return zero if GNU_STACK is absent and
6275 DEFAULT_STACK_PERMS doesn't include PF_X.
6276
62772011-01-13 Ulrich Drepper <drepper@gmail.com>
6278
6279 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
6280 in child fails because the descriptor is already closed.
6281 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
6282 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
6283 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6284
6285 [BZ #12397]
6286 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
6287 syscall.
6288
6289 [BZ #10484]
6290 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
6291 temporary buffer used to handle multi lookups locally.
6292 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
6293
62942011-01-12 Ulrich Drepper <drepper@gmail.com>
6295
6296 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
6297 loader is ld.so.
6298
62992011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
6300
6301 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
6302 alignment for SSE2.
6303
63042011-01-12 Ulrich Drepper <drepper@gmail.com>
6305
6306 [BZ #12394]
6307 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
6308 characters. When rounding increased number of integer digits recompute
6309 number of groups.
6310 * stdio-common/tst-grouping.c: New file.
6311 * stdio-common/Makefile: Add rules to build and run tst-grouping.
6312
63132011-01-09 Ulrich Drepper <drepper@gmail.com>
6314
6315 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
6316 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
6317
6318 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
6319 void.
6320 * bits/select.h: Likewise.
6321
63222011-01-08 Ulrich Drepper <drepper@gmail.com>
6323
6324 * po/ja.po: Update from translation team.
6325
63262011-01-04 David S. Miller <davem@sunset.davemloft.net>
6327
6328 [BZ #11155]
6329 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
6330 implementation just like for lxstat, fxstatat, et al.
6331
63322010-12-27 Jim Meyering <meyering@redhat.com>
6333
6334 [BZ #12348]
6335 * posix/regexec.c (build_trtable): Return failure indication upon
6336 calloc failure. Otherwise, re_search_internal could infloop on OOM.
6337
63382010-12-25 Ulrich Drepper <drepper@gmail.com>
6339
6340 [BZ #12201]
6341 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
6342 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
6343 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
6344 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
6345
6346 [BZ #12207]
6347 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
6348
6349 [BZ #12204]
6350 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
6351 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
6352
63532010-12-15 H.J. Lu <hongjiu.lu@intel.com>
6354
6355 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
6356 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
6357 script has SORT_BY_INIT_PRIORITY.
6358 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
6359 NO_CTORS_DTORS_SECTIONS is defined.
6360 * elf/soinit.c: Likewise.
6361 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
6362 NO_CTORS_DTORS_SECTIONS is defined.
6363 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6364 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
6365 * sysdeps/sh/init-first.c: Likewise.
6366 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6367
63682010-12-24 Ulrich Drepper <drepper@gmail.com>
6369
6370 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
6371 always use the slow path.
6372
63732010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
6374
6375 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
6376 similar rule which adds the sysdep directories to the header search in
6377 order to pick up the correct platform stackinfo.h.
6378 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
6379 perform test if it is, otherwise return successfully without testing.
6380 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
6381 DEFAULT_STACK_PERMS define in stackinfo.h.
6382 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
6383 defined in stackinfo.h.
6384 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
6385 DEFAULT_STACK_PERMS defined in stackinfo.h.
6386 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
6387 * sysdeps/ia64/stackinfo.h: Likewise.
6388 * sysdeps/s390/stackinfo.h: Likewise.
6389 * sysdeps/sh/stackinfo.h: Likewise.
6390 * sysdeps/sparc/stackinfo.h: Likewise.
6391 * sysdeps/x86_64/stackinfo.h: Likewise.
6392 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
6393 PF_X for powerpc64. Retain PF_X for powerpc32.
6394
63952010-12-19 Ulrich Drepper <drepper@gmail.com>
6396
6397 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
6398 accurately.
6399 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
6400 GETDENTS_64BIT_ALIGNED.
6401
64022010-12-14 Ulrich Drepper <dreper@gmail.com>
6403
6404 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
6405
64062010-12-10 Andreas Schwab <schwab@redhat.com>
6407
6408 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
6409 _GNU_SOURCE.
6410
6411 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
6412 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
6413 Remove __restrict.
6414 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
6415 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
6416
64172010-12-09 Ulrich Drepper <drepper@gmail.com>
6418
6419 [BZ #11655]
6420 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
6421 are initialized.
6422
64232010-12-09 Jakub Jelinek <jakub@redhat.com>
6424
6425 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
6426
64272010-12-03 Ulrich Drepper <drepper@gmail.com>
6428
6429 * po/it.po: Update from translation team.
6430
64312010-12-01 H.J. Lu <hongjiu.lu@intel.com>
6432
6433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
6434 unused codes.
6435
64362010-11-30 Ulrich Drepper <drepper@gmail.com>
6437
6438 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
6439
64402010-11-24 Andreas Schwab <schwab@redhat.com>
6441
6442 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
6443 specially.
6444 (gaih_getanswer_slice): Likewise.
6445
64462010-10-20 Jakub Jelinek <jakub@redhat.com>
6447
6448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
6449
64502010-05-31 Petr Baudis <pasky@suse.cz>
6451
6452 [BZ #11149]
6453 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
6454 silently even in the chroot mode.
6455
64562010-11-22 Ulrich Drepper <drepper@gmail.com>
6457
6458 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
6459 last patch a bit. Pretty printing
6460
64612010-05-31 Petr Baudis <pasky@suse.cz>
6462
6463 [BZ #10085]
6464 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
6465 initialization of skip_initgroups_dyn.
6466
64672010-11-19 Ulrich Drepper <drepper@gmail.com>
6468
6469 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
6470 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
6471
64722010-11-16 Ulrich Drepper <drepper@gmail.com>
6473
6474 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
6475
64762010-11-11 Andreas Schwab <schwab@redhat.com>
6477
6478 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
6479 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
6480 (tst-fnmatch-ENV): Set MALLOC_TRACE.
6481 ($(objpfx)tst-fnmatch-mem): New rule.
6482 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
6483 * posix/tst-fnmatch.c (main): Call mtrace.
6484
64852010-11-11 H.J. Lu <hongjiu.lu@intel.com>
6486
6487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6488 Support Intel processor model 6 and model 0x2c.
6489
64902010-11-10 Luis Machado <luisgpm@br.ibm.com>
6491
6492 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
6493 signed comparison.
6494
64952010-11-09 H.J. Lu <hongjiu.lu@intel.com>
6496
6497 [BZ #12205]
6498 * string/test-strncasecmp.c (check_result): New function.
6499 (do_one_test): Use it.
6500 (check1): New function.
6501 (test_main): Use it.
6502 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
6503 Support strcasecmp and strncasecmp.
6504
65052010-11-08 Ulrich Drepper <drepper@gmail.com>
6506
6507 [BZ #12194]
6508 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
6509 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6510
65112010-11-07 H.J. Lu <hongjiu.lu@intel.com>
6512
6513 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
6514 IFUNC support.
6515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6516 memset-x86-64.
6517 * sysdeps/x86_64/multiarch/bzero.S: New file.
6518 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
6519 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
6520 * sysdeps/x86_64/multiarch/memset.S: New file.
6521 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
6522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6523 Set bit_Prefer_SSE_for_memop for Intel processors.
6524 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
6525 Define.
6526 (index_Prefer_SSE_for_memop): Define.
6527 (HAS_PREFER_SSE_FOR_MEMOP): Define.
6528
65292010-11-04 Luis Machado <luisgpm@br.ibm.com>
6530
6531 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
6532 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
6533
65342010-11-03 H.J. Lu <hongjiu.lu@intel.com>
6535
6536 [BZ #12191]
6537 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
6538 (__x86_64_raw_data_cache_size_half): Likewise.
6539 (__x86_64_raw_shared_cache_size): Likewise.
6540 (__x86_64_raw_shared_cache_size_half): Likewise.
6541
6542 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
6543 (__x86_64_raw_data_cache_size_half): Likewise.
6544 (__x86_64_raw_shared_cache_size): Likewise.
6545 (__x86_64_raw_shared_cache_size_half): Likewise.
6546 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
6547 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
6548 and __x86_64_raw_shared_cache_size_half. Round
6549 __x86_64_data_cache_size_half, __x86_64_data_cache_size
6550 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
6551 to multiple of 256 bytes.
6552
65532010-11-03 Ulrich Drepper <drepper@gmail.com>
6554
6555 [BZ #12167]
6556 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
6557 of inacessible symlinks. Verify result of symlink before returning it.
6558 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6559 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
6560
65612010-10-28 Erich Ritz <erichritz@gmail.com>
6562
6563 * math/math.h (isinf): Fix typo in comment.
6564
65652010-11-01 Ulrich Drepper <drepper@gmail.com>
6566
6567 * po/da.po: Update from translation team.
6568
65692010-10-26 Ulrich Drepper <drepper@gmail.com>
6570
6571 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
6572 is added to the list.
6573
65742010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6575 Ulrich Drepper <drepper@gmail.com>
6576
6577 * elf/dl-object.c (_dl_new_object): Don't append the new object to
6578 the global list here. Move code to...
6579 (_dl_add_to_namespace_list): ...here. New function.
6580 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
6581 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
6582 * elf/dl-load.c (lose): Don't remove the element from the list.
6583 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
6584 (_dl_map_object): Likewise.
6585
65862010-10-25 Ulrich Drepper <drepper@gmail.com>
6587
6588 [BZ #12159]
6589 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
6590 into all bytes of SSE register.
6591 Patch by Richard Li <richardpku@gmail.com>.
6592
65932010-10-24 Ulrich Drepper <drepper@gmail.com>
6594
6595 [BZ #12140]
6596 * malloc/malloc.c (_int_free): Fill correct number of bytes when
6597 perturbing.
6598
65992010-10-20 Michael B. Brutman <brutman@us.ibm.com>
6600
6601 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
6602 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
6603 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
6604 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
6606 submachine.
6607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
6608
66092010-10-22 Andreas Schwab <schwab@redhat.com>
6610
6611 * include/dlfcn.h (__RTLD_SECURE): Define.
6612 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
6613 mode & __RTLD_SECURE instead.
6614 (open_path): Rename preloaded parameter to secure.
6615 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
6616 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
6617 * elf/dl-deps.c (openaux): Likewise.
6618 * elf/rtld.c (struct map_args): Remove is_preloaded.
6619 (map_doit): Don't use it.
6620 (dl_main): Likewise.
6621 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
6622 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
6623
66242010-09-09 Andreas Schwab <schwab@redhat.com>
6625
6626 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
6627 (sysd-rules-targets): Remove duplicates.
6628 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
6629 rtld-%.$o dependency.
6630
66312010-10-18 Andreas Schwab <schwab@redhat.com>
6632
6633 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
6634 _dl_map_object do it.
6635
66362010-10-19 Ulrich Drepper <drepper@gmail.com>
6637
6638 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
6639 fast fma builtins, define the macros in the C99 standard.
6640 (FP_FAST_FMAF): Likewise.
6641 (FP_FAST_FMAL): Likewise.
6642 * sysdeps/x86_64/bits/mathdef.h: Likewise.
6643
6644 * bits/mathdef.h: Update copyright year.
6645 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6646
66472010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
6648
6649 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
6650 builtins, define the macros in the C99 standard.
6651 (FP_FAST_FMAF): Likewise.
6652 (FP_FAST_FMAL): Likewise.
6653 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
6654 multiply/add.
6655 (FP_FAST_FMAF): Likewise.
6656
66572010-10-15 Jakub Jelinek <jakub@redhat.com>
6658
6659 [BZ #3268]
6660 * math/libm-test.inc (fma_test): Some new testcases.
6661 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
6662 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
6663 y and infinite z. Do multiplication by C already in long double.
6664 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
6665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
6666 y and infinite z. Do bitwise or of inexact bit into u.d.
6667 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
6668 * sysdeps/i386/fpu/s_fmaf.S: Removed.
6669 * sysdeps/i386/fpu/s_fma.S: Removed.
6670 * sysdeps/i386/fpu/s_fmal.S: Removed.
6671
66722010-10-16 Jakub Jelinek <jakub@redhat.com>
6673
6674 [BZ #3268]
6675 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
6676 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
6677 computation is not scheduled after fetestexcept. Fix value
6678 of minimum denormal long double.
6679
66802010-10-14 Jakub Jelinek <jakub@redhat.com>
6681
6682 [BZ #3268]
6683 * math/libm-test.inc (fma_test): Add some more tests.
6684 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
6685 correctly.
6686
66872010-10-15 Andreas Schwab <schwab@redhat.com>
6688
6689 * scripts/data/localplt-s390-linux-gnu.data: New file.
6690 * scripts/data/localplt-s390x-linux-gnu.data: New file.
6691
66922010-10-13 Jakub Jelinek <jakub@redhat.com>
6693
6694 [BZ #3268]
6695 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
6696 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
6697 instead of dbl-64.
6698 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
6699 inlines.
6700 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
6701 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
6702 if one of x and y is very large and the other is subnormal.
6703 * sysdeps/s390/fpu/s_fmaf.c: New file.
6704 * sysdeps/s390/fpu/s_fma.c: New file.
6705 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
6706 * sysdeps/powerpc/fpu/s_fma.S: New file.
6707 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
6708 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
6709 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
6710
67112010-10-12 Jakub Jelinek <jakub@redhat.com>
6712
6713 [BZ #3268]
6714 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
6715 fma tests.
6716 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
6717 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
6718 * sysdeps/i386/i686/multiarch/s_fma.c: Include
6719 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
6720 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
6721 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
6723
67242010-10-12 Ulrich Drepper <drepper@redhat.com>
6725
6726 [BZ #12078]
6727 * posix/regcomp.c (parse_branch): One more memory leak plugged.
6728 * posix/bug-regex31.input: Add test case.
6729
67302010-10-11 Ulrich Drepper <drepper@gmail.com>
6731
6732 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
6733 * posix/bug-regex31.input: New file.
6734
6735 [BZ #12078]
6736 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
6737 (parse_sub_exp): Fix last change, use postorder.
6738
6739 * posix/bug-regex31.c: New file.
6740 * posix/Makefile: Add rules to build and run bug-regex31.
6741
6742 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
6743
6744 [BZ #12078]
6745 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
6746
6747 [BZ #12108]
6748 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
6749 to have entries in sys_siglist.
6750
6751 [BZ #12093]
6752 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
6753 be NULL.
6754
67552010-10-07 Jakub Jelinek <jakub@redhat.com>
6756
6757 [BZ #3268]
6758 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
6759 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
6760 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
6761 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
6762 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6763 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
6764 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
6765 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
6766 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
6767 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
6768 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
6769 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
6770 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6771 * math/ftestexcept.c (fetestexcept): Likewise.
6772 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
6773 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6774 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6775 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
6776 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
6777 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
6778 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6779
67802010-10-11 Ulrich Drepper <drepper@gmail.com>
6781
6782 [BZ #12107]
6783 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
6784 newline.
6785
67862010-10-06 Ulrich Drepper <drepper@gmail.com>
6787
6788 * string/bug-strstr1.c: New file.
6789 * string/Makefile: Add rules to build and run bug-strstr1.
6790
67912010-10-05 Eric Blake <eblake@redhat.com>
6792
6793 [BZ #12092]
6794 * string/str-two-way.h (two_way_long_needle): Always clear memory
6795 when skipping input due to the shift table.
6796
67972010-10-03 Ulrich Drepper <drepper@gmail.com>
6798
6799 [BZ #12005]
6800 * malloc/mcheck.c: Handle large requests.
6801
6802 [BZ #12077]
6803 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
6804 for strncmp and strncasecmp.
6805 * string/stratcliff.c: Add tests for strcmp and strncmp.
6806 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
6807
68082010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6809
6810 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
6811 __set_fpscr.
6812
68132010-09-30 Andreas Jaeger <aj@suse.de>
6814
6815 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
6816 (CGROUP_SUPER_MAGIC): Define.
6817 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6818 Handle btrfs and cgroup file systems.
6819 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6820 Likewise.
6821
68222010-09-27 Luis Machado <luisgpm@br.ibm.com>
6823
6824 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
6825 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
6826
68272010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6828
6829 [BZ #12067]
6830 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
6831 trying to locate the ELF header.
6832
68332010-09-27 Andreas Schwab <schwab@redhat.com>
6834
6835 [BZ #11611]
6836 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
6837 Mask out sign-bit copies when constructing f_fsid.
6838
68392010-09-24 Petr Baudis <pasky@suse.cz>
6840
6841 * debug/stack_chk_fail_local.c: Add missing licence exception.
6842 * debug/warning-nop.c: Likewise.
6843
68442010-09-15 Joseph Myers <joseph@codesourcery.com>
6845
6846 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
6847 implementing getdents64 using getdents syscall, set d_type if
6848 __ASSUME_GETDENTS32_D_TYPE.
6849
68502010-09-16 Andreas Schwab <schwab@redhat.com>
6851
6852 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
6853 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
6854
68552010-09-21 Ulrich Drepper <drepper@redhat.com>
6856
6857 [BZ #12037]
6858 * posix/unistd.h: Undo change of feature selection for ftruncate from
6859 2010-01-11.
6860
68612010-09-20 Ulrich Drepper <drepper@redhat.com>
6862
6863 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
6864 detection.
6865
68662010-09-20 Andreas Schwab <schwab@redhat.com>
6867
6868 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
6869 fanotify_mark.
6870 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6871
68722010-09-14 Andreas Schwab <schwab@redhat.com>
6873
6874 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
6875 variables after CHECK_SP call.
6876 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
6877
68782010-09-13 Andreas Schwab <schwab@redhat.com>
6879 Ulrich Drepper <drepper@redhat.com>
6880
6881 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
6882 re-relocationg ld.so.
6883 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
6884 _dl_init_paths call.
6885 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
6886 here anymore.
6887
68882010-09-14 Ulrich Drepper <drepper@redhat.com>
6889
6890 * resolv/res_init.c (__res_vinit): Count the default server we added.
6891
68922010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
6893 Ulrich Drepper <drepper@redhat.com>
6894
6895 [BZ #11968]
6896 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6897 (____longjmp_chk): Use %ebx for saving value across system call.
6898 Add unwind info.
6899
69002010-09-06 Andreas Schwab <schwab@redhat.com>
6901
6902 * manual/Makefile: Don't mix pattern rules with normal rules.
6903
69042010-09-05 Andreas Schwab <schwab@linux-m68k.org>
6905
6906 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
6907 operation.
6908 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
6909 * libio/iofopncook.c (_IO_cookie_init): Likewise.
6910 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
6911 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6912 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6913 Likewise.
6914
69152010-09-04 Ulrich Drepper <drepper@redhat.com>
6916
6917 [BZ #11979]
6918 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
6919 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
6920
69212010-09-02 Ulrich Drepper <drepper@redhat.com>
6922
6923 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
6924 * sysdeps/x86_64/addmul_1.S: Likewise.
6925 * sysdeps/x86_64/lshift.S: Likewise.
6926 * sysdeps/x86_64/mul_1.S: Likewise.
6927 * sysdeps/x86_64/rshift.S: Likewise.
6928 * sysdeps/x86_64/sub_n.S: Likewise.
6929 * sysdeps/x86_64/submul_1.S: Likewise.
6930
69312010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6932
6933 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
6934 Define __sched_param instead of SCHED_* and sched_param when
6935 <bits/sched.h> is included with __need_schedparam defined.
6936 * bits/sched.h [__need_schedparam]
6937 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
6938 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
6939 (__defined_schedparam): Define to 1.
6940 (__sched_param): New structure, identical to sched_param.
6941 (__need_schedparam): Undefine.
6942
69432010-08-31 Mike Frysinger <vapier@gentoo.org>
6944
6945 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
6946 (epoll_create1): Declare.
6947
6948 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
6949
69502010-08-31 Andreas Schwab <schwab@redhat.com>
6951
6952 [BZ #7066]
6953 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
6954 shifting retval into place.
6955
69562010-09-01 Ulrich Drepper <drepper@redhat.com>
6957
6958 * nis/rpcsvc/nis.h: Update copyright notice.
6959 * nis/rpcsvc/nis.x: Likewise.
6960 * nis/rpcsvc/nis_callback.h: Likewise.
6961 * nis/rpcsvc/nis_callback.x: Likewise.
6962 * nis/rpcsvc/nis_object.x: Likewise.
6963 * nis/rpcsvc/nis_tags.h: Likewise.
6964 * nis/rpcsvc/yp.h: Likewise.
6965 * nis/rpcsvc/yp.x: Likewise.
6966 * nis/rpcsvc/ypupd.h: Likewise.
6967 * nis/yp_xdr.c: Likewise.
6968 * nis/ypupdate_xdr.c: Likewise.
6969
6970 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
6971 mainly the body of pmap_getport. Add parameters to specify timeouts.
6972 (pmap_getport): Use __libc_rpc_getport.
6973 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
6974 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
6975 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
6976
69772010-08-31 Andreas Schwab <schwab@linux-m68k.org>
6978
6979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
6980 fanotify_mark.
6981
69822010-08-27 Roland McGrath <roland@redhat.com>
6983
6984 * sysdeps/i386/i686/multiarch/Makefile
6985 (CFLAGS-varshift.c): New variable.
6986
69872010-08-27 Ulrich Drepper <drepper@redhat.com>
6988
6989 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
6990 * sysdeps/i386/i686/multiarch/varshift.c: New file.
6991
6992 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
6993
6994 * sysdeps/x86_64/strlen.S: Minimal code improvement.
6995
69962010-08-26 H.J. Lu <hongjiu.lu@intel.com>
6997
6998 * sysdeps/x86_64/strlen.S: Unroll the loop.
6999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7000 strlen-sse2 strlen-sse2-bsf.
7001 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
7002 __strlen_no_bsf if bit_Slow_BSF is set.
7003 (__strlen_sse42): Removed.
7004 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
7005 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
7006
70072010-08-25 Roland McGrath <roland@redhat.com>
7008
7009 * sysdeps/x86_64/multiarch/varshift.S: File removed.
7010 * sysdeps/x86_64/multiarch/varshift.c: New file.
7011 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
7012 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
7013 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
7014 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7015
70162010-08-25 H.J. Lu <hongjiu.lu@intel.com>
7017
7018 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7019 strlen-sse2 strlen-sse2-bsf.
7020 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
7021 __strlen_sse2_bsf if bit_Slow_BSF is unset.
7022 (__strlen_sse2): Removed.
7023 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
7024 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
7025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7026 bit_Slow_BSF for Atom.
7027 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
7028 (index_Slow_BSF): Define.
7029 (HAS_SLOW_BSF): Define.
7030
70312010-08-25 Ulrich Drepper <drepper@redhat.com>
7032
7033 [BZ #10851]
7034 * resolv/res_init.c (__res_vinit): When no server address at all
7035 is given default to loopback.
7036
70372010-08-24 Roland McGrath <roland@redhat.com>
7038
7039 * configure.in: Remove config-name.h generation.
7040 * configure: Regenerated.
7041 * config-name.in: File removed.
7042 * scripts/config-uname.sh: New file.
7043 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
7044 ($(objdir)config-name.h): New target.
7045
7046 * sunrpc/rpc_parse.h: Avoid nested comment.
7047
70482010-08-24 Richard Henderson <rth@redhat.com>
7049 Ulrich Drepper <drepper@redhat.com>
7050 H.J. Lu <hongjiu.lu@intel.com>
7051
7052 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
7053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
7054 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
7055 Replace _mm_srli_si128 with __m128i_shift_right. Replace
7056 _mm_alignr_epi8 with _mm_loadu_si128.
7057 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
7058 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
7059 (__m128i_shift_right): Removed.
7060 * sysdeps/i386/i686/multiarch/varshift.h: New file.
7061 * sysdeps/i386/i686/multiarch/varshift.S: New file.
7062 * sysdeps/x86_64/multiarch/varshift.h: New file.
7063 * sysdeps/x86_64/multiarch/varshift.S: New file.
7064
70652010-08-21 Mike Frysinger <vapier@gentoo.org>
7066
7067 * configure.in: Move assembler checks to before sysdep dir checking.
7068
70692010-08-20 Petr Baudis <pasky@suse.cz>
7070
7071 * LICENSES: Sync the sunrpc license.
7072
70732010-08-19 Ulrich Drepper <drepper@redhat.com>
7074
7075 * sunrpc/auth_des.c: Update copyright notice once again.
7076 * sunrpc/auth_none.c: Likewise.
7077 * sunrpc/auth_unix.c: Likewise.
7078 * sunrpc/authdes_prot.c: Likewise.
7079 * sunrpc/authuxprot.c: Likewise.
7080 * sunrpc/bindrsvprt.c: Likewise.
7081 * sunrpc/clnt_gen.c: Likewise.
7082 * sunrpc/clnt_perr.c: Likewise.
7083 * sunrpc/clnt_raw.c: Likewise.
7084 * sunrpc/clnt_simp.c: Likewise.
7085 * sunrpc/clnt_tcp.c: Likewise.
7086 * sunrpc/clnt_udp.c: Likewise.
7087 * sunrpc/clnt_unix.c: Likewise.
7088 * sunrpc/des_crypt.c: Likewise.
7089 * sunrpc/des_soft.c: Likewise.
7090 * sunrpc/get_myaddr.c: Likewise.
7091 * sunrpc/getrpcport.c: Likewise.
7092 * sunrpc/key_call.c: Likewise.
7093 * sunrpc/key_prot.c: Likewise.
7094 * sunrpc/openchild.c: Likewise.
7095 * sunrpc/pm_getmaps.c: Likewise.
7096 * sunrpc/pm_getport.c: Likewise.
7097 * sunrpc/pmap_clnt.c: Likewise.
7098 * sunrpc/pmap_prot.c: Likewise.
7099 * sunrpc/pmap_prot2.c: Likewise.
7100 * sunrpc/pmap_rmt.c: Likewise.
7101 * sunrpc/rpc/auth.h: Likewise.
7102 * sunrpc/rpc/auth_unix.h: Likewise.
7103 * sunrpc/rpc/clnt.h: Likewise.
7104 * sunrpc/rpc/des_crypt.h: Likewise.
7105 * sunrpc/rpc/key_prot.h: Likewise.
7106 * sunrpc/rpc/netdb.h: Likewise.
7107 * sunrpc/rpc/pmap_clnt.h: Likewise.
7108 * sunrpc/rpc/pmap_prot.h: Likewise.
7109 * sunrpc/rpc/pmap_rmt.h: Likewise.
7110 * sunrpc/rpc/rpc.h: Likewise.
7111 * sunrpc/rpc/rpc_des.h: Likewise.
7112 * sunrpc/rpc/rpc_msg.h: Likewise.
7113 * sunrpc/rpc/svc.h: Likewise.
7114 * sunrpc/rpc/svc_auth.h: Likewise.
7115 * sunrpc/rpc/types.h: Likewise.
7116 * sunrpc/rpc/xdr.h: Likewise.
7117 * sunrpc/rpc_clntout.c: Likewise.
7118 * sunrpc/rpc_cmsg.c: Likewise.
7119 * sunrpc/rpc_common.c: Likewise.
7120 * sunrpc/rpc_cout.c: Likewise.
7121 * sunrpc/rpc_dtable.c: Likewise.
7122 * sunrpc/rpc_hout.c: Likewise.
7123 * sunrpc/rpc_main.c: Likewise.
7124 * sunrpc/rpc_parse.c: Likewise.
7125 * sunrpc/rpc_parse.h: Likewise.
7126 * sunrpc/rpc_prot.c: Likewise.
7127 * sunrpc/rpc_sample.c: Likewise.
7128 * sunrpc/rpc_scan.c: Likewise.
7129 * sunrpc/rpc_scan.h: Likewise.
7130 * sunrpc/rpc_svcout.c: Likewise.
7131 * sunrpc/rpc_tblout.c: Likewise.
7132 * sunrpc/rpc_util.c: Likewise.
7133 * sunrpc/rpc_util.h: Likewise.
7134 * sunrpc/rpcinfo.c: Likewise.
7135 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
7136 * sunrpc/rpcsvc/key_prot.x: Likewise.
7137 * sunrpc/rpcsvc/klm_prot.x: Likewise.
7138 * sunrpc/rpcsvc/mount.x: Likewise.
7139 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
7140 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
7141 * sunrpc/rpcsvc/rex.x: Likewise.
7142 * sunrpc/rpcsvc/rstat.x: Likewise.
7143 * sunrpc/rpcsvc/rusers.x: Likewise.
7144 * sunrpc/rpcsvc/sm_inter.x: Likewise.
7145 * sunrpc/rpcsvc/spray.x: Likewise.
7146 * sunrpc/rpcsvc/yppasswd.x: Likewise.
7147 * sunrpc/rtime.c: Likewise.
7148 * sunrpc/svc.c: Likewise.
7149 * sunrpc/svc_auth.c: Likewise.
7150 * sunrpc/svc_authux.c: Likewise.
7151 * sunrpc/svc_raw.c: Likewise.
7152 * sunrpc/svc_run.c: Likewise.
7153 * sunrpc/svc_simple.c: Likewise.
7154 * sunrpc/svc_tcp.c: Likewise.
7155 * sunrpc/svc_udp.c: Likewise.
7156 * sunrpc/svc_unix.c: Likewise.
7157 * sunrpc/svcauth_des.c: Likewise.
7158 * sunrpc/xcrypt.c: Likewise.
7159 * sunrpc/xdr.c: Likewise.
7160 * sunrpc/xdr_array.c: Likewise.
7161 * sunrpc/xdr_float.c: Likewise.
7162 * sunrpc/xdr_mem.c: Likewise.
7163 * sunrpc/xdr_rec.c: Likewise.
7164 * sunrpc/xdr_ref.c: Likewise.
7165 * sunrpc/xdr_sizeof.c: Likewise.
7166 * sunrpc/xdr_stdio.c: Likewise.
7167
7168 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
7169 handling.
7170
71712010-08-19 Andreas Schwab <schwab@redhat.com>
7172
7173 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
7174
71752010-08-19 Luis Machado <luisgpm@br.ibm.com>
7176
7177 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
7178 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
7179 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
7180 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
7181 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
7182 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
7183 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
7184 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
7185 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
7186 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
7187 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
7188 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
7189 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
7190 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
7191
71922010-07-26 Anton Blanchard <anton@samba.org>
7193
7194 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
7195 * malloc/arena.c (heap_trim): Likewise.
7196
71972010-08-16 Ulrich Drepper <drepper@redhat.com>
7198
7199 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
7200 here. Not...
7201 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
7202 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
7203
72042010-08-12 H.J. Lu <hongjiu.lu@intel.com>
7205
7206 * sysdeps/i386/elf/Makefile: New file.
7207
72082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
7209
7210 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
7211 from fanotify_init.
7212 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7214
72152010-08-15 Ulrich Drepper <drepper@redhat.com>
7216
7217 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
7218 of strncasecmp_l.
7219 * sysdeps/multiarch/strcmp.S: Likewise.
7220
72212010-08-14 Ulrich Drepper <drepper@redhat.com>
7222
7223 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7224 strncase_l-nonascii.
7225 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
7226 Add strncase_l-ssse3.
7227 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
7228 * sysdeps/x86_64/strcmp.S: Likewise.
7229 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
7230 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
7231 * sysdeps/x86_64/strncase.S: New file.
7232 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
7233 * sysdeps/x86_64/strncase_l.S: New file.
7234 * string/Makefile (strop-tests): Add strncasecmp.
7235 * string/test-strncasecmp.c: New file.
7236
7237 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
7238 warning.
7239
7240 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
7241 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
7242
72432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
7244
7245 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
7246
72472010-08-12 Ulrich Drepper <drepper@redhat.com>
7248
7249 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
7250 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7251 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7252
72532010-05-01 Alan Modra <amodra@gmail.com>
7254
7255 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
7256 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
7257 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
7258 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
7259 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
7260 tidying. Don't tail-call __sigjmp_save for static lib.
7261 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
7262 save location.
7263 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
7264 (CALL_MCOUNT): Add eh info, and nop after bl.
7265 (TAIL_CALL_SYSCALL_ERROR): New macro.
7266 (PSEUDO_RET): Use it.
7267 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7268 Correct save location of integer regs and cr.
7269 (_dl_profile_resolve): Correct cr save location. Delete nops
7270 after bl when SHARED. Reduce cfi size a little by better
7271 placement of cfi directives.
7272 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
7273 make a stack frame. Instead use parm save area as a temp.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
7275 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
7276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7277 Don't make a stack frame for parent, use parm save area.
7278 Increase child stack frame to 112 bytes. Don't save unused reg,
7279 and adjust reg usage. Set up cfi on error recovery and
7280 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
7281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7282 (__makecontext): Add dummy nop after jump to exit.
7283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
7284 Use correct parm save area and cr save, reduce stack frame.
7285 Correct cfi for possible PSEUDO_RET frame setup.
7286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
7287 Branch to local label emitted by PSEUDO_RET rather than
7288 __syscall_error.
7289
72902010-08-12 Andreas Schwab <schwab@redhat.com>
7291
7292 [BZ #11904]
7293 * locale/programs/locale.c (print_assignment): New function.
7294 (show_locale_vars): Use it.
7295
72962010-08-11 Ulrich Drepper <drepper@redhat.com>
7297
7298 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
7299 field.
7300 (struct statfs64): Likewise.
7301 (_STATFS_F_FLAGS): Define.
7302 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
7303 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7304 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
7305 (ST_VALID): Define locally.
7306 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
7307 __statvfs_getflags, use the provided value.
7308 * sysdeps/unix/sysv/linux/kernel-features.h: Define
7309 __ASSUME_STATFS_F_FLAGS.
7310
7311 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
7312
7313 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
7314 Add sys/fanotify.h.
7315 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
7316 fanotify_mask for GLIBC_2.13.
7317 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
7318 fanotify_init and fanotify_mark.
7319 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7320 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
7321
7322 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
7323 Add prlimit.
7324 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
7325 prlimit64 for GLIBC_2.13.
7326 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
7327 prlimit64.
7328 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
7329 syscall.
7330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7331 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7332 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
7333 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
7334 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
7335 add prlimit alias.
7336 * sysdeps/unix/sysv/linux/prlimit.c: New file.
7337
7338 [BZ #11903]
7339 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
7340 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
7341
7342 * nss/Makefile: Add rules to build and run tst-nss-test1.
7343 * shlib-versions: Add entry for libnss_test1.
7344 * nss/nss_test1.c: New file.
7345 * nss/tst-nss-test1.c: New file.
7346
7347 * nss/nsswitch.c (__nss_database_custom): Define new variable.
7348 (__nss_configure_lookup): Set appropriate entry in
7349 __nss_configure_lookup to true.
7350 * nss/nsswitch.h: Define enum with indeces of databases in
7351 databases and __nss_database_custom arrays. Declare
7352 __nss_database_custom.
7353 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
7354 to avoid using nscd when custom rules are installed.
7355 * nss/getXXbyYY_r.c: Likewise.
7356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7357
7358 * nss/nss_files/files-parse.c: Whitespace fixes.
7359
73602010-08-09 Ulrich Drepper <drepper@redhat.com>
7361
7362 [BZ #11883]
7363 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
7364 * posix/fnmatch_loop.c: Likewise.
7365
73662010-07-17 Andi Kleen <ak@linux.intel.com>
7367
7368 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
7369 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
7370 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
7371 * Versions.def [GLIBC_2.13]: Add.
7372
73732010-08-06 Ulrich Drepper <drepper@redhat.com>
7374
7375 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7376 Also fail if tpwd after pwuid call is NULL.
7377
73782010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7379
7380 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
7381 when converting to ms.
7382
73832010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7384
7385 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
7386 EOPNOTSUPP errors with ENOTTY.
7387 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
7388 EOPNOTSUPP errors with ENOTTY.
7389
73902010-07-31 Ulrich Drepper <drepper@redhat.com>
7391
7392 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
7393 Add strcasecmp_l-ssse3.
7394 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
7395 strcasecmp.
7396 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
7397 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
7398 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
7399
74002010-07-30 Ulrich Drepper <drepper@redhat.com>
7401
7402 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
7403
7404 * string/Makefile (strop-tests): Add strcasecmp.
7405 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7406 strcasecmp_l-nonascii.
7407 (gen-as-const-headers): Add locale-defines.sym.
7408 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
7409 * sysdeps/x86_64/strcasecmp.S: New file.
7410 * sysdeps/x86_64/strcasecmp_l.S: New file.
7411 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
7412 * sysdeps/x86_64/locale-defines.sym: New file.
7413 * string/test-strcasecmp.c: New file.
7414
7415 * string/test-strcasestr.c: Test both ends of the range of characters.
7416 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
7417
74182010-07-29 Roland McGrath <roland@redhat.com>
7419
7420 [BZ #11856]
7421 * manual/locale.texi (Yes-or-No Questions): Fix example code.
7422
74232010-07-27 Ulrich Drepper <drepper@redhat.com>
7424
7425 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
7426 for ld.so.
7427
74282010-07-27 Andreas Schwab <schwab@redhat.com>
7429
7430 * manual/memory.texi (Malloc Tunable Parameters): Document
7431 M_PERTURB.
7432
74332010-07-26 Roland McGrath <roland@redhat.com>
7434
7435 [BZ #11840]
7436 * configure.in (-fgnu89-inline check): Set and substitute
7437 gnu89_inline, not libc_cv_gnu89_inline.
7438 * configure: Regenerated.
7439 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
7440
74412010-07-26 Ulrich Drepper <drepper@redhat.com>
7442
7443 * string/test-strnlen.c: New file.
7444 * string/Makefile (strop-tests): Add strnlen.
7445 * string/tester.c (test_strnlen): Add a few more test cases.
7446 * string/tst-strlen.c: Better error reporting.
7447
7448 * sysdeps/x86_64/strnlen.S: New file.
7449
74502010-07-24 Ulrich Drepper <drepper@redhat.com>
7451
7452 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
7453 lower-latency instructions.
7454
74552010-07-23 Ulrich Drepper <drepper@redhat.com>
7456
7457 * string/test-strcasestr.c: New file.
7458 * string/test-strstr.c: New file.
7459 * string/Makefile (strop-tests): Add strstr and strcasestr.
7460 * string/str-two-way.h: Don't undefine MAX.
7461 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
7462
74632010-07-21 Andreas Schwab <schwab@redhat.com>
7464
7465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7466 strcasestr-nonascii.
7467 (CFLAGS-strcasestr-nonascii.c): Define.
7468 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
7469 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
7470 Remove unused attribute.
7471
74722010-07-20 Roland McGrath <roland@redhat.com>
7473
7474 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
7475 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
7476 ld.so.cache was broken. With it, there is no way to disable dsocaps
7477 like LD_HWCAP_MASK can disable hwcaps.
7478
74792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
7480
7481 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
7482
74832010-07-16 Ulrich Drepper <drepper@redhat.com>
7484
7485 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
7486 call in strcasestr.
7487 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
7488 __strcasestr_sse42_nonascii.
7489 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
7490 strcasestr-nonascii.c.
7491 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
7492
74932010-06-15 Luis Machado <luisgpm@br.ibm.com>
7494
7495 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
7496 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
7497 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
7498 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
7499
75002010-07-09 Ulrich Drepper <drepper@redhat.com>
7501
7502 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
7503 fcntl.
7504
75052010-07-06 Andreas Schwab <schwab@redhat.com>
7506
7507 [BZ #11577]
7508 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
7509 dl_signal_cerror.
7510
75112010-07-06 Ulrich Drepper <drepper@redhat.com>
7512
7513 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
7514 _PC_PIPE_BUF using F_GETPIPE_SZ.
7515
75162010-07-05 Roland McGrath <roland@redhat.com>
7517
7518 * manual/arith.texi (Rounding Functions): Fix rint description
7519 implicit in round description.
7520
75212010-07-02 Ulrich Drepper <drepper@redhat.com>
7522
7523 * elf/Makefile: Fix linking for a few tests to make recent linker
7524 happy.
7525
75262010-06-30 Andreas Schwab <schwab@redhat.com>
7527
7528 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7529 $(common-objpfx)libc_nonshared.a.
7530
75312010-06-21 Luis Machado <luisgpm@br.ibm.com>
7532
7533 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
7534 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
7535 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
7536 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
7537 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
7538 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
7539 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
7540 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
7542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
7543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
7544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
7545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
7546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
7547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
7549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
7550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
7551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
7552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
7553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
7555 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
7556 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
7557 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
7558 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
7559 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
7560 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
7561 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
7562 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
7563 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
7564 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
7565 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
7566 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
7567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
7568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
7569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
7570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
7571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
7573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
7574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
7575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
7576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
7577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
7578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
7579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
7580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
7581
75822010-06-25 H.J. Lu <hongjiu.lu@intel.com>
7583
7584 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
7585 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
7586 * string/memmove.c (memmove): Renamed to ...
7587 (MEMMOVE): ...this. Default to memmove.
7588 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
7589 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
7590 (END_CHK): Define.
7591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7592 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
7593 mempcpy-ssse3-back memmove-ssse3-back.
7594 * sysdeps/x86_64/multiarch/bcopy.S: New file .
7595 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
7596 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
7597 * sysdeps/x86_64/multiarch/memcpy.S: New file.
7598 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
7599 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
7600 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
7601 * sysdeps/x86_64/multiarch/memmove.c: New file.
7602 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
7603 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
7604 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
7605 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
7606 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
7607 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
7608 Define.
7609 (index_Fast_Copy_Backward): Define.
7610 (HAS_ARCH_FEATURE): Define.
7611 (HAS_FAST_REP_STRING): Define.
7612 (HAS_FAST_COPY_BACKWARD): Define.
7613
76142010-06-21 Andreas Schwab <schwab@redhat.com>
7615
7616 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7617 Restore proper fallback handling.
7618
76192010-06-19 Ulrich Drepper <drepper@redhat.com>
7620
7621 [BZ #11701]
7622 * posix/group_member.c (__group_member): Correct checking loop.
7623
7624 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
7625 OOM in getpwuid_r correctly. Return error number when the caller
7626 should return, otherwise -1.
7627 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
7628 call returning > 0 value.
7629 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
7630
76312010-06-07 Andreas Schwab <schwab@redhat.com>
7632
7633 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
7634 libc_nonshared.a from targets in modules-names.
7635
76362010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
7637
7638 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
7639 requires it.
7640
76412010-06-10 Luis Machado <luisgpm@br.ibm.com>
7642
7643 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
7644 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
7645 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
7646 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
7647
76482010-06-02 Andreas Schwab <schwab@redhat.com>
7649
7650 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
7651
76522010-06-14 Ulrich Drepper <drepper@redhat.com>
7653
7654 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
7655 and F_GETPIPE_SZ.
7656 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7657 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7659 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7660 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7661 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
7662
76632010-06-14 Roland McGrath <roland@redhat.com>
7664
7665 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
7666
76672010-06-07 Jakub Jelinek <jakub@redhat.com>
7668
7669 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
7670 __REDIRECT followed by __THROW.
7671 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
7672 * posix/getopt.h (getopt): Likewise.
7673
76742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
7675
7676 * hurd/lookup-at.c (__file_name_lookup_at): Accept
7677 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
7678 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
7679 in AT_FLAGS.
7680 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
7681 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
7682
76832010-05-28 Luis Machado <luisgpm@br.ibm.com>
7684
7685 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
7686
76872010-05-26 H.J. Lu <hongjiu.lu@intel.com>
7688
7689 [BZ #11640]
7690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7691 Properly check family and model.
7692
76932010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
7694
7695 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
7696
76972010-05-24 Luis Machado <luisgpm@br.ibm.com>
7698
7699 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
7700
77012010-05-21 Ulrich Drepper <drepper@redhat.com>
7702
7703 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
7704 symbol reference.
7705
77062010-05-19 Andreas Schwab <schwab@redhat.com>
7707
7708 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
7709 symbol reference.
7710
77112010-05-21 Andreas Schwab <schwab@redhat.com>
7712
7713 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
7714 and internal_recvmmsg.
7715 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
7716 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
7717 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
7718 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
7719
7720 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
7721 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7722 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7723
77242010-05-20 Andreas Schwab <schwab@redhat.com>
7725
7726 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
7727
77282010-05-17 Luis Machado <luisgpm@br.ibm.com>
7729
7730 POWER7 optimizations.
7731 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
7732 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
7733
77342010-05-19 Ulrich Drepper <drepper@redhat.com>
7735
7736 * version.h: Update for 2.13 development version.
7737
77382010-05-12 Andrew Stubbs <ams@codesourcery.com>
7739
7740 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
7741 exceptions. Return 0.
7742
77432010-05-07 Roland McGrath <roland@redhat.com>
7744
7745 * elf/ldconfig.c (main): Add a const.
7746
77472010-05-06 Ulrich Drepper <drepper@redhat.com>
7748
7749 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
7750 (args_options): Add no-idn option.
7751 (ahosts_keys_int): Add idn_flags to ai_flags.
7752 (parse_option): Handle 'i' option to clear idn_flags.
7753
7754 * malloc/malloc.c (_int_free): Possible race in the most recently
7755 added check. Only act on the data if no current modification
7756 happened.
7757
7758See ChangeLog.17 for earlier changes.