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