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