]> sourceware.org Git - glibc.git/blame - ChangeLog
Clean up FMA use
[glibc.git] / ChangeLog
CommitLineData
c8b3296b
UD
12011-10-23 Ulrich Drepper <drepper@gmail.com>
2
3 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4 * sysdeps/x86_64/dla.h: ...here. New file.
5 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14
246ad57a
AS
152011-10-23 Andreas Schwab <schwab@linux-m68k.org>
16
17 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18 __ynl_finite aliases.
19
a1a87169
UD
202011-10-22 Ulrich Drepper <drepper@gmail.com>
21
0d355eb7
UD
22 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23
a1a87169
UD
24 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25 define DLA_FMA.
26 [DLA_FMA] (EMULV): Use DLA_FMA.
27 [DLA_FMA] (MUL12): Use EMULV.
28 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29 that are not needed.
30 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37
ee2aafe0
AS
382011-10-22 Andreas Schwab <schwab@linux-m68k.org>
39
40 * math/s_nan.c: Undef __nan.
41 * math/s_nanf.c: Undef __nanf.
42 * math/s_nanl.c: Undef __nanl.
43 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44 "math_private.h".
45
bc62c2fb
UD
462011-10-22 Ulrich Drepper <drepper@gmail.com>
47
77425c63
UD
48 * math/s_catan.c: Add branch predictions.
49 * math/s_catanf.c: Likewise.
50 * math/s_catanh.c: Likewise.
51 * math/s_catanhf.c: Likewise.
52 * math/s_catanhl.c: Likewise.
53 * math/s_catanl.c: Likewise.
54 * math/s_cexp.c: Likewise.
55 * math/s_cexpf.c: Likewise.
56 * math/s_cexpl.c: Likewise.
57 * math/s_clog.c: Likewise.
58 * math/s_clog10.c: Likewise.
59 * math/s_clog10f.c: Likewise.
60 * math/s_clog10l.c: Likewise.
61 * math/s_clogf.c: Likewise.
62 * math/s_clogl.c: Likewise.
63 * math/s_csqrt.c: Likewise.
64 * math/s_csqrtf.c: Likewise.
65 * math/s_csqrtl.c: Likewise.
66 * math/s_ctanf.c: Likewise.
67 * math/s_ctanh.c: Likewise.
68 * math/s_ctanhf.c: Likewise.
69 * math/s_ctanhl.c: Likewise.
70 * math/s_ctanl.c: Likewise.
71
bc62c2fb
UD
72 * math/math_private.h: Define __nan, __nanf, __nanl.
73 * math/s_cacosh.c: Include <math_private.h>.
74 * math/s_cacoshl.c: Likewise.
75 * math/s_casinh.c: Likewise.
76 * math/s_casinhf.c: Likewise.
77 * math/s_casinhl.c: Likewise.
78 * math/s_ccos.c: Rely entire on ccosh.
79 * math/s_ccosf.c: Rely entire on ccoshf.
80 * math/s_ccosl.c: Rely entirely on ccoshl.
81 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
82 Remove tests for FE_INVALID.
83 * math/s_ccoshf.c: Likewise.
84 * math/s_ccoshl.c: Likewise.
85 * math/s_csin.c: Likewise.
86 * math/s_csinf.c: Likewise.
87 * math/s_csinh.c Likewise.
88 * math/s_csinhf.c: Likewise.
89 * math/s_csinhl.c: Likewise.
90 * math/s_csinl.c: Likewise.
91 * math/s_ctan.c: Likewise.
92 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
93 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
94 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
95
8ec250a4
UD
962011-10-21 Ulrich Drepper <drepper@gmail.com>
97
c196fed8
UD
98 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
99 compilation problems.
100
8ec250a4
UD
101 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
102 __builtin_expect.
103
8d4f46c6
UD
1042011-10-20 Ulrich Drepper <drepper@gmail.com>
105
ed72b654
UD
106 * sysdeps/i386/configure.in: Test for -mfma4 option.
107 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
108 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
109 COMMON_CPUID_INDEX_80000001.
110 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
111 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
112 use it if FMA3 is not supported.
113 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
114
8d4f46c6
UD
115 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
116 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
117
d45c60c2
AS
1182011-10-20 Andreas Schwab <schwab@redhat.com>
119
120 [BZ #12892]
121 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
122 it would create a cycle with a link time dependency.
123
d9a4d2ab
UD
1242011-10-19 Ulrich Drepper <drepper@gmail.com>
125
855d1560
UD
126 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
127 instruction.
128 * string/Makefile (strop-tests): Add rawmemchr.
129 * string/test-rawmemchr.c: New file.
130
d9a4d2ab
UD
131 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
132 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
133 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
134 when compiling str{,n}casecmp and when AVX is available. Hook up
135 new optimized code in initializers.
136
8f3b1ffe
AS
1372011-10-19 Andreas Schwab <schwab@redhat.com>
138
139 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
140 __feraiseexcept instead of feraiseexcept.
141
d38f1dba
UD
1422011-10-18 Ulrich Drepper <drepper@gmail.com>
143
d9a8d0ab
UD
144 * math/math_private.h: Define defaults for libc_fetestexcept and
145 libc_feupdateenv.
146 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
147 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
148 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
149 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
150 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
151 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
152 libc_fetestexcept and libc_feupdateenv.
153
4855e3dd
UD
154 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
155 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
156 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
157 * sysdeps/x86_64/fpu/math_private.h: Define special version of
158 libc_feholdexcept_setround.
159
581d30e3
UD
160 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
161 Add s_nearbyint-c and s_nearbyintf-c.
162 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
163 nearbyintf inlines.
164 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
165 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
166 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
167 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
168
d38f1dba
UD
169 * math/math_private.h: Define defaults for libc_fegetround,
170 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
171 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
172 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
173 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
174 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
175 standard functions.
176 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
177 Remove comments and hacks for old compiler versions.
178 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
179 libc_fegetround, libc_fesetround, libc_feholdexcept, and
180 libc_feholdexceptl.
181
caa6c9d8
AS
1822011-10-18 Andreas Schwab <schwab@redhat.com>
183
184 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
185 (__feraiseexcept_renamed): Add __NTH.
186 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
187 namespace violations.
188
97c066e6
UD
1892011-10-17 Ulrich Drepper <drepper@gmail.com>
190
99ce7b04
UD
191 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
192
1004d182
UD
193 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
194
228a984d
UD
195 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
196 recently added interfaces.
197 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
198
c8553a6a
UD
199 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
200 about macro parameter expansion.
201
ed22dcf6
UD
202 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
203 __NO_MATH_INLINES is defined. Cleanups.
204
205 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
206 and __floorf is target has SSE4.1.
207 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
208 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
209 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
210 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
211
b171c137
UD
212 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
213 name.
214 (floorf): Likewise.
215
97c066e6
UD
216 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
217
629f62ef
AS
2182011-10-17 Andreas Schwab <schwab@redhat.com>
219
49a43d80
AS
220 * misc/sys/cdefs.h: Fix last change.
221
629f62ef
AS
222 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
223 database lookup.
224
e453f6cd
UD
2252011-10-16 Ulrich Drepper <drepper@gmail.com>
226
aa78043a
UD
227 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
228
ad0f5cad
UD
229 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
230 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
231 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
232 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
234 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
235 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
236 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
237 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
238 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
239 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
240 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
241 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
242 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
243 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
244 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
245 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
246 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
247 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
248 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
249 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
250 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
251
252 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
253 ceil, ceilf, floor, floorf.
254
255 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
256 Perform IRELATIVE relocations last.
257
e453f6cd
UD
258 * elf/do-rel.h: Add another parameter nrelative, replacing the
259 local variable with the same name. Change name of the function
260 to end in Rel or Rela (uppercase).
261 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
262 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
263 elf_dynamic_do_##reloc function.
264
fd5bdc09
UD
2652011-10-15 Ulrich Drepper <drepper@gmail.com>
266
79b195b5
UD
267 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
268 is sufficient, at least on modern CPUs.
269
d4a28569
UD
270 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
271
b61099b5
UD
272 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
273 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
274
bcf01e6d
UD
275 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
276 __expl_finite.
277 * math/bits/math-finite.h: Add entries for exp.
278 * math/e_expl.c: Add __*_finite alias.
279 * sysdeps/i386/fpu/e_exp.S: Likewise.
280 * sysdeps/i386/fpu/e_expf.S: Likewise.
281 * sysdeps/i386/fpu/e_expl.c: Likewise.
282 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
283 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
284 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
286 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
287 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
288 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
289
ba1a0d59
UD
290 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
291 is sufficient, at least on modern CPUs.
292
fd5bdc09
UD
293 * ctype/ctype-info.c (__ctype_init): Define.
294 * include/ctype.h (__ctype_init): Declare.
295 (__ctype_b_loc): The variable is always initialized.
296 (__ctype_toupper_loc): Likewise.
297 (__ctype_tolower_loc): Likewise.
298 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
299 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
300
7872cfb0
AS
3012011-10-15 Andreas Schwab <schwab@linux-m68k.org>
302
b468825a
AS
303 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
304
7872cfb0
AS
305 * configure.in: Also look in $cxxmachine/include for C++ system
306 headers.
307
be13f7bf
LD
3082011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
309
310 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
311 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
312 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
313 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
314 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
315 (USE_AS_WMEMCMP): New macro.
316 Fixing indents.
317 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
318 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
319 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
320 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
322 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
323 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
324 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
325 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
326 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
327 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
328 (USE_AS_WMEMCMP): New macro.
329 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
330 * sysdeps/string/test-memcmp.c: Update.
331 Fix simple_wmemcmp.
332 Add new tests.
333 * wcsmbs/wmemcmp.c: Update.
334 (WMEMCMP): New macro.
335 Fix overflow bug.
336
556a2007
AJ
3372011-10-12 Andreas Jaeger <aj@suse.de>
338
339 [BZ #13268]
340 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
341
538faaa7
UD
3422011-10-15 Ulrich Drepper <drepper@gmail.com>
343
ab6737ff
UD
344 * libio/iofwide.c (do_length): Avoid warning.
345
538faaa7
UD
346 * ctype/ctype.h (__isctype_f): Add missing __THROW.
347
396a21b1
UD
3482011-10-14 Ulrich Drepper <drepper@gmail.com>
349
cdf2901f
UD
350 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
351
38ad40ce
UD
352 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
353 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
354 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
355 * sysdeps/i386/i686/fpu/e_log.S: New file.
356 * sysdeps/i386/i686/fpu/e_logf.S: New file.
357 * sysdeps/i386/i686/fpu/e_logl.S: New file.
358
396a21b1
UD
359 * ctype/ctype.h: Add support for inlined isXXX functions when
360 compiling C++ code.
361
6b1f68c9
AS
3622011-10-14 Andreas Schwab <schwab@redhat.com>
363
349290c0
AS
364 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
365
6b1f68c9
AS
366 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
367
f2282d42
RM
3682011-10-13 Roland McGrath <roland@hack.frob.com>
369
370 [BZ #13291]
371 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
372
5298ffa8
AS
3732011-10-13 Andreas Schwab <schwab@redhat.com>
374
714fad23
AS
375 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
376 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
377 feraiseexcept.
378
81dcc7fb
AS
379 * sysdeps/x86_64/memrchr.S: Check for zero size.
380
5298ffa8
AS
381 * string/stratcliff.c: Add memrchr tests.
382
951fbcec
LD
3832011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
384
385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
386 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
387 rawmemchr-sse2 rawmemchr-sse2-bsf.
388 * sysdeps/i386/i686/multiarch/memchr.S: New file.
389 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
390 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
391 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
392 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
393 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
394 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
395 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
396 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
397 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
398 * string/memrchr.c (MEMRCHR): New macro.
399
0ac5ae23
UD
4002011-10-12 Ulrich Drepper <drepper@gmail.com>
401
402 Add integration with gcc's -ffinite-math-only and optimize wrapper
403 functions in libm.
404 * Versions.def: Define GLIBC_2.15 version for libm.
405 * math/Makefile (headers): Add bits/math-finite.h.
406 * math/bits/math-finite.h: New file.
407 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
408 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
409 * math/e_acoshl.c: Add __*_finite alias.
410 * math/e_acosl.c: Likewise.
411 * math/e_asinl.c: Likewise.
412 * math/e_atan2l.c: Likewise.
413 * math/e_atanhl.c: Likewise.
414 * math/e_coshl.c: Likewise.
415 * math/e_exp10.c: Likewise.
416 * math/e_exp10f.c: Likewise.
417 * math/e_exp10l.c: Likewise.
418 * math/e_exp2l.c: Likewise.
419 * math/e_fmodl.c: Likewise.
420 * math/e_gammal_r.c: Likewise.
421 * math/e_hypotl.c: Likewise.
422 * math/e_j0l.c: Likewise.
423 * math/e_j1l.c: Likewise.
424 * math/e_jnl.c: Likewise.
425 * math/e_lgammal_r.c: Likewise.
426 * math/e_log10l.c: Likewise.
427 * math/e_log2l.c: Likewise.
428 * math/e_logl.c: Likewise.
429 * math/e_powl.c: Likewise.
430 * math/e_sinhl.c: Likewise.
431 * math/e_sqrtl.c: Likewise.
432 * math/e_scalb.c: Completely rewritten and optimized.
433 * math/e_scalbf.c: Likewise.
434 * math/e_scalbl.c: Likewise.
435 * math/w_acos.c: Likewise.
436 * math/w_acosf.c: Likewise.
437 * math/w_acosl.c: Likewise.
438 * math/w_acosh.c: Likewise.
439 * math/w_acoshf.c: Likewise.
440 * math/w_acoshl.c: Likewise.
441 * math/w_asin.c: Likewise.
442 * math/w_asinf.c: Likewise.
443 * math/w_asinl.c: Likewise.
444 * math/w_atan2.c: Likewise.
445 * math/w_atan2f.c: Likewise.
446 * math/w_atan2l.c: Likewise.
447 * math/w_atanh.c: Likewise.
448 * math/w_atanhf.c: Likewise.
449 * math/w_atanhl.c: Likewise.
450 * math/w_exp10.c: Likewise.
451 * math/w_exp10f.c: Likewise.
452 * math/w_exp10l.c: Likewise.
453 * math/w_fmod.c: Likewise.
454 * math/w_fmodf.c: Likewise.
455 * math/w_fmodl.c: Likewise.
456 * math/w_j0.c: Likewise.
457 * math/w_j0f.c: Likewise.
458 * math/w_j0l.c: Likewise.
459 * math/w_j1.c: Likewise.
460 * math/w_j1f.c: Likewise.
461 * math/w_j1l.c: Likewise.
462 * math/w_jn.c: Likewise.
463 * math/w_jnf.c: Likewise.
464 * math/w_log.c: Likewise.
465 * math/w_logf.c: Likewise.
466 * math/w_logl.c: Likewise.
467 * math/w_log10.c: Likewise.
468 * math/w_log10f.c: Likewise.
469 * math/w_log10l.c: Likewise.
470 * math/w_log2.c: Likewise.
471 * math/w_log2f.c: Likewise.
472 * math/w_log2l.c: Likewise.
473 * math/w_pow.c: Likewise.
474 * math/w_powf.c: Likewise.
475 * math/w_powl.c: Likewise.
476 * math/w_remainder.c: Likewise.
477 * math/w_remainderf.c: Likewise.
478 * math/w_remainderl.c: Likewise.
479 * math/w_scalb.c: Likewise.
480 * math/w_scalbf.c: Likewise.
481 * math/w_scalbl.c: Likewise.
482 * math/w_sqrt.c: Likewise.
483 * math/w_sqrtf.c: Likewise.
484 * math/w_sqrtl.c: Likewise.
485 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
486 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
487 used.
488 * math/math_private.h: Declare __kernel_standard_f.
489 * math/w_cosh.c: Remove cruft and optimize a bit.
490 * math/w_coshf.c: Likewise.
491 * math/w_coshl.c: Likewise.
492 * math/w_exp2.c: Likewise.
493 * math/w_exp2f.c: Likewise.
494 * math/w_exp2l.c: Likewise.
495 * math/w_hypot.c: Likewise.
496 * math/w_hypotf.c: Likewise.
497 * math/w_hypotl.c: Likewise.
498 * math/w_lgamma.c: Likewise.
499 * math/w_lgamma_r.c: Likewise.
500 * math/w_lgammaf.c: Likewise.
501 * math/w_lgammaf_r.c: Likewise.
502 * math/w_lgammal.c: Likewise.
503 * math/w_lgammal_r.c: Likewise.
504 * math/w_sinh.c: Likewise.
505 * math/w_sinhf.c: Likewise.
506 * math/w_sinhl.c: Likewise.
507 * math/w_tgamma.c: Likewise.
508 * math/w_tgammaf.c: Likewise.
509 * math/w_tgammal.c: Likewise.
510 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
511 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
512 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
513 Minor optimizations. Pretty printing. Remove cruft.
514 * sysdeps/i386/fpu/e_acosf.S: Likewise.
515 * sysdeps/i386/fpu/e_acosh.S: Likewise.
516 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
517 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
518 * sysdeps/i386/fpu/e_acosl.c: Likewise.
519 * sysdeps/i386/fpu/e_asin.S: Likewise.
520 * sysdeps/i386/fpu/e_asinf.S: Likewise.
521 * sysdeps/i386/fpu/e_atan2.S: Likewise.
522 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
523 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
524 * sysdeps/i386/fpu/e_atanh.S: Likewise.
525 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
526 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
527 * sysdeps/i386/fpu/e_exp10.S: Likewise.
528 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
529 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
530 * sysdeps/i386/fpu/e_exp2.S: Likewise.
531 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
532 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
533 * sysdeps/i386/fpu/e_fmod.S: Likewise.
534 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
535 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
536 * sysdeps/i386/fpu/e_hypot.S: Likewise.
537 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
538 * sysdeps/i386/fpu/e_log.S: Likewise.
539 * sysdeps/i386/fpu/e_log10.S: Likewise.
540 * sysdeps/i386/fpu/e_log10f.S: Likewise.
541 * sysdeps/i386/fpu/e_log10l.S: Likewise.
542 * sysdeps/i386/fpu/e_log2.S: Likewise.
543 * sysdeps/i386/fpu/e_log2f.S: Likewise.
544 * sysdeps/i386/fpu/e_log2l.S: Likewise.
545 * sysdeps/i386/fpu/e_logf.S: Likewise.
546 * sysdeps/i386/fpu/e_logl.S: Likewise.
547 * sysdeps/i386/fpu/e_pow.S: Likewise.
548 * sysdeps/i386/fpu/e_powf.S: Likewise.
549 * sysdeps/i386/fpu/e_powl.S: Likewise.
550 * sysdeps/i386/fpu/e_remainder.S: Likewise.
551 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
552 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
553 * sysdeps/i386/fpu/e_scalb.S: Likewise.
554 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
555 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
556 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
557 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
558 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
559 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
560 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
562 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
563 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
564 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
565 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
566 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
567 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
568 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
569 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
570 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
571 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
572 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
573 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
575 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
576 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
577 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
578 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
579 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
580 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
581 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
582 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
583 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
584 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
585 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
586 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
587 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
588 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
589 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
590 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
591 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
592 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
593 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
594 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
595 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
596 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
597 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
598 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
599 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
600 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
601 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
602 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
603 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
604 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
605 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
606 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
607 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
608 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
609 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
610 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
611 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
612 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
613 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
614 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
615 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
616 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
617 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
618 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
619 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
620 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
621 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
622 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
623 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
624 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
625 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
626 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
627 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
628 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
629 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
630 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
631 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
633 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
634 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
635 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
636 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
637 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
638 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
639 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
640 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
641 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
642 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
643 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
644 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
645 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
646 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
647 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
648 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
649 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
650 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
651 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
652 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
653 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
654 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
655 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
656 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
657 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
658 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
659 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
660 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
661 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
662 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
663 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
664 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
665 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
666 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
667 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
668 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
669 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
670 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
671 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
672 (__isnanf): Likewise.
673 (__isinf_ns): Likewise.
674 (__isinf_nsf): Likewise.
675 (__finite): Likewise.
676 (__finitef): Likewise.
677 (__ieee754_sqrt): Define as macro.
678 (__ieee754_sqrtf): Define as macro.
679 (__ieee754_sqrtl): Define as macro.
680 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
681 inlined copy.
682 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
683 __FINITE_MATH_ONLY__ consistent.
684 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
685
12cc2fcd
AS
6862011-10-10 Andreas Schwab <schwab@linux-m68k.org>
687
a843a204
AS
688 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
689 of rawmemchr.
690
12cc2fcd
AS
691 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
692
c853acd5
UD
6932011-10-09 Ulrich Drepper <drepper@gmail.com>
694
695 * po/ja.po: Update from translation team.
696
c658d255
RM
6972011-10-08 Roland McGrath <roland@hack.frob.com>
698
110946e4
RM
699 * locale/programs/locarchive.c (prepare_address_space): New function.
700 (create_archive, enlarge_archive, open_archive): Use it.
701
50604220
RM
702 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
703 inside [SHARED], where it is used.
704
c658d255
RM
705 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
706
707 * nss/getent.c (netgroup_keys): Remove unused variable.
708 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
709
6a621eb7
UD
7102011-10-08 Ulrich Drepper <drepper@gmail.com>
711
7edb55ce
UD
712 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
713 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
714 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
715 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
716 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
717 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
718 * math/Makefile (libm-calls): Add s_isinf_ns.
719 * math/divtc3.c: Use __isinf_nsl instead of isinf.
720 * math/multc3.c: Likewise.
721 * math/s_casin.c: Likewise.
722 * math/s_casinf.c: Likewise.
723 * math/s_casinl.c: Likewise.
724 * math/s_ccos.c: Likewise.
725 * math/s_ccosf.c: Likewise.
726 * math/s_ccosl.c: Likewise.
727 * math/s_ctan.c: Likewise.
728 * math/s_ctanf.c: Likewise.
729 * math/s_ctanh.c: Likewise.
730 * math/s_ctanhf.c: Likewise.
731 * math/s_ctanhl.c: Likewise.
732 * math/s_ctanl.c: Likewise.
733 * math/w_fmod.c: Likewise.
734 * math/w_fmodf.c: Likewise.
735 * math/w_fmodl.c: Likewise.
736 * math/w_remainder.c: Likewise.
737 * math/w_remainderf.c: Likewise.
738 * math/w_remainderl.c: Likewise.
739 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
740 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
741 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
742 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
743 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
744 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
745 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
746 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
747
187da0ae
UD
748 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
749 of the number.
750 * stdio-common/printf_fphex.c: Likewise.
751 * stdio-common/printf_size.c: Likewise.
752
9277c064
UD
753 * math/e_exp10.c: Include math_private.h using <...> not "...".
754 * math/e_exp10f.c: Likewise.
755 * math/e_exp10l.c: Likewise.
756 * math/e_exp2l.c: Likewise.
757 * math/e_j0l.c: Likewise.
758 * math/e_j1l.c: Likewise.
759 * math/e_jnl.c: Likewise.
760 * math/e_lgammal_r.c: Likewise.
761 * math/e_rem_pio2l.c: Likewise.
762 * math/e_scalb.c: Likewise.
763 * math/e_scalbf.c: Likewise.
764 * math/e_scalbl.c: Likewise.
765 * math/k_cosl.c: Likewise.
766 * math/k_sinl.c: Likewise.
767 * math/k_tanl.c: Likewise.
768 * math/s_cacoshf.c: Likewise.
769 * math/s_catan.c: Likewise.
770 * math/s_catanf.c: Likewise.
771 * math/s_catanh.c: Likewise.
772 * math/s_catanhf.c: Likewise.
773 * math/s_catanhl.c: Likewise.
774 * math/s_catanl.c: Likewise.
775 * math/s_ccosh.c: Likewise.
776 * math/s_ccoshf.c: Likewise.
777 * math/s_ccoshl.c: Likewise.
778 * math/s_cexp.c: Likewise.
779 * math/s_cexpf.c: Likewise.
780 * math/s_cexpl.c: Likewise.
781 * math/s_clog.c: Likewise.
782 * math/s_clog10.c: Likewise.
783 * math/s_clog10f.c: Likewise.
784 * math/s_clog10l.c: Likewise.
785 * math/s_clogf.c: Likewise.
786 * math/s_clogl.c: Likewise.
787 * math/s_csin.c: Likewise.
788 * math/s_csinf.c: Likewise.
789 * math/s_csinh.c: Likewise.
790 * math/s_csinhf.c: Likewise.
791 * math/s_csinhl.c: Likewise.
792 * math/s_csinl.c: Likewise.
793 * math/s_csqrt.c: Likewise.
794 * math/s_csqrtf.c: Likewise.
795 * math/s_csqrtl.c: Likewise.
796 * math/s_ctan.c: Likewise.
797 * math/s_ctanf.c: Likewise.
798 * math/s_ctanh.c: Likewise.
799 * math/s_ctanhf.c: Likewise.
800 * math/s_ctanhl.c: Likewise.
801 * math/s_ctanl.c: Likewise.
802 * math/s_ldexp.c: Likewise.
803 * math/s_ldexpf.c: Likewise.
804 * math/s_ldexpl.c: Likewise.
805 * math/s_significand.c: Likewise.
806 * math/s_significandf.c: Likewise.
807 * math/s_significandl.c: Likewise.
808 * math/w_acos.c: Likewise.
809 * math/w_acosf.c: Likewise.
810 * math/w_acosh.c: Likewise.
811 * math/w_acoshf.c: Likewise.
812 * math/w_acoshl.c: Likewise.
813 * math/w_acosl.c: Likewise.
814 * math/w_asin.c: Likewise.
815 * math/w_asinf.c: Likewise.
816 * math/w_asinl.c: Likewise.
817 * math/w_atan2.c: Likewise.
818 * math/w_atan2f.c: Likewise.
819 * math/w_atan2l.c: Likewise.
820 * math/w_atanh.c: Likewise.
821 * math/w_atanhf.c: Likewise.
822 * math/w_atanhl.c: Likewise.
823 * math/w_cosh.c: Likewise.
824 * math/w_coshf.c: Likewise.
825 * math/w_coshl.c: Likewise.
826 * math/w_dremf.c: Likewise.
827 * math/w_exp10.c: Likewise.
828 * math/w_exp10f.c: Likewise.
829 * math/w_exp10l.c: Likewise.
830 * math/w_exp2.c: Likewise.
831 * math/w_exp2f.c: Likewise.
832 * math/w_fmod.c: Likewise.
833 * math/w_fmodf.c: Likewise.
834 * math/w_fmodl.c: Likewise.
835 * math/w_hypot.c: Likewise.
836 * math/w_hypotf.c: Likewise.
837 * math/w_hypotl.c: Likewise.
838 * math/w_j0.c: Likewise.
839 * math/w_j0f.c: Likewise.
840 * math/w_j0l.c: Likewise.
841 * math/w_j1.c: Likewise.
842 * math/w_j1f.c: Likewise.
843 * math/w_j1l.c: Likewise.
844 * math/w_jn.c: Likewise.
845 * math/w_jnf.c: Likewise.
846 * math/w_jnl.c: Likewise.
847 * math/w_lgamma.c: Likewise.
848 * math/w_lgamma_r.c: Likewise.
849 * math/w_lgammaf.c: Likewise.
850 * math/w_lgammaf_r.c: Likewise.
851 * math/w_lgammal.c: Likewise.
852 * math/w_lgammal_r.c: Likewise.
853 * math/w_log.c: Likewise.
854 * math/w_log10.c: Likewise.
855 * math/w_log10f.c: Likewise.
856 * math/w_log10l.c: Likewise.
857 * math/w_log2.c: Likewise.
858 * math/w_log2f.c: Likewise.
859 * math/w_log2l.c: Likewise.
860 * math/w_logf.c: Likewise.
861 * math/w_logl.c: Likewise.
862 * math/w_pow.c: Likewise.
863 * math/w_powf.c: Likewise.
864 * math/w_powl.c: Likewise.
865 * math/w_remainder.c: Likewise.
866 * math/w_remainderf.c: Likewise.
867 * math/w_remainderl.c: Likewise.
868 * math/w_scalb.c: Likewise.
869 * math/w_scalbf.c: Likewise.
870 * math/w_scalbl.c: Likewise.
871 * math/w_sinh.c: Likewise.
872 * math/w_sinhf.c: Likewise.
873 * math/w_sinhl.c: Likewise.
874 * math/w_sqrt.c: Likewise.
875 * math/w_sqrtf.c: Likewise.
876 * math/w_sqrtl.c: Likewise.
877 * math/w_tgamma.c: Likewise.
878 * math/w_tgammaf.c: Likewise.
879 * math/w_tgammal.c: Likewise.
880
6a621eb7
UD
881 * po/ja.po: Update from translation team.
882
bf582445
AJ
8832011-09-29 Andreas Jaeger <aj@suse.de>
884
f9efbf3a
AJ
885 [BZ #13179]
886 * sunrpc/netname.c (netname2host): Fix logic.
887
bf582445
AJ
888 [BZ #6779]
889 [BZ #6783]
890 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
891 correctly.
892 * math/w_remainder.c (__remainder): Likewise.
893 * math/w_remainderf.c (__remainderf): Likewise.
894 * math/libm-test.inc (remainder_test): Add test cases.
895
48693bea
AK
8962011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
897
898 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
899 sdiv_qrnnd.
900
42622229
LD
9012011-10-07 Ulrich Drepper <drepper@gmail.com>
902
903 * string/test-memcmp.c: Avoid unncessary #defines.
904 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
905
093ecf92
LD
9062011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
907
908 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
909 Use new sse2 version for core i3 - i7 as it's faster
910 than sse42 version.
911 (bit_Prefer_PMINUB_for_stringop): New.
912 * sysdeps/x86_64/rawmemchr.S: Update.
913 Replace with faster SSE2 version.
914 * sysdeps/x86_64/memrchr.S: New file.
915 * sysdeps/x86_64/memchr.S: Update.
916 Replace with faster SSE2 version.
917
fde56e5c
MP
9182011-09-12 Marek Polacek <mpolacek@redhat.com>
919
920 * elf/dl-load.c (lose): Add cast to avoid warning.
921
21fd49a9
UD
9222011-10-07 Ulrich Drepper <drepper@gmail.com>
923
5a06e643
UD
924 * po/ca.po: Update from translation team.
925
684ae515
UD
926 * inet/getnetgrent_r.c: Hook up nscd.
927 * nscd/Makefile (routines): Add nscd_netgroup.
928 (nscd-modules): Add netgroupcache.
929 (CFLAGS-netgroupcache.c): Define.
930 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
931 (cache_search): Add const to second parameter.
932 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
933 INNETGR.
934 (dbs): Add netgrdb entry.
935 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
936 (verify_persistent_db): Handle netgrdb.
937 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
938 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
939 GETFDNETGR.
940 (netgroup_response_header): Define.
941 (innetgroup_response_header): Define.
942 (datahead): Add netgroup_response_header and innetgroup_response_header
943 elements.
944 * nscd/nscd.conf: Add entries for netgroup cache.
945 * nscd/nscd.h (dbtype): Add netgrdb.
946 (_PATH_NSCD_NETGROUP_DB): Define.
947 (netgroup_iov_disabled): Declare.
948 (xmalloc, xcalloc, xrealloc): Move declarations here.
949 (cache_search): Adjust prototype.
950 Add netgroup-related prototypes.
951 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
952 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
953 (__nscd_innetgr): Declare.
954 * nscd/selinux.c (perms): Use access_vector_t as element type and
955 add netgroup-related initializers.
956 * nscd/netgroupcache.c: New file.
957 * nscd/nscd_netgroup.c: New file.
958 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
959 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
960 For four parameters use innetgr.
961 * nss/nss_files/files-init.c: Add definition and callback for netgr.
962 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
963 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
964 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
965
21fd49a9
UD
966 * nscd/connections.c (register_traced_file): Don't register file
967 for disabled databases.
968
054c0457
UD
9692011-10-06 Ulrich Drepper <drepper@gmail.com>
970
32b63198
UD
971 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
972
054c0457
UD
973 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
974 from tree and freeing node.
975
64031225
JO
9762011-09-25 Jiri Olsa <jolsa@redhat.com>
977
978 * nss/nsswitch.c (__nss_database_lookup): Handle
979 nss_parse_service_list out of memory case.
980
0490345c
JO
9812011-09-15 Jiri Olsa <jolsa@redhat.com>
982
983 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
984 out of memory case.
985
3a62d00d
AS
9862011-10-04 Andreas Schwab <schwab@redhat.com>
987
988 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
989 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
990 pass it down.
991 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
992 elf_machine_rela, elf_machine_lazy_rel.
993 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
994 (ELF_DYNAMIC_DO_REL): Likewise.
995 (ELF_DYNAMIC_DO_RELA): Likewise.
996 (ELF_DYNAMIC_RELOCATE): Likewise.
997 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
998 to ELF_DYNAMIC_DO_REL.
999 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
1000 (dl_main): In trace mode always set __RTLD_NOIFUNC.
1001 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
1002 elf_machine_rela.
1003 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
1004 skip_ifunc, don't call ifunc function if non-zero.
1005 (elf_machine_rela): Likewise.
1006 (elf_machine_lazy_rel): Likewise.
1007 (elf_machine_lazy_rela): Likewise.
1008 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
1009 (elf_machine_lazy_rel): Likewise.
1010 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
1011 Likewise.
1012 (elf_machine_lazy_rel): Likewise.
1013 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1014 Likewise.
1015 (elf_machine_lazy_rel): Likewise.
1016 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
1017 (elf_machine_lazy_rel): Likewise.
1018 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
1019 (elf_machine_lazy_rel): Likewise.
1020 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1021 (elf_machine_lazy_rel): Likewise.
1022 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1023 (elf_machine_lazy_rel): Likewise.
1024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1025 (elf_machine_lazy_rel): Likewise.
1026 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1027 (elf_machine_lazy_rel): Likewise.
1028
68577918
UD
10292011-09-28 Ulrich Drepper <drepper@gmail.com>
1030
1031 * nss/nss_files/files-init.c (_nss_files_init): Use static
1032 initialization for all the *_traced_file variables.
1033
68822d74
AS
10342011-09-28 Andreas Schwab <schwab@redhat.com>
1035
1036 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1037
2056100b
RM
10382011-09-27 Roland McGrath <roland@hack.frob.com>
1039
1040 [BZ #13226]
1041 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
1042
32c76b63
AS
10432011-09-27 Andreas Schwab <schwab@redhat.com>
1044
1045 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
1046 Reread the line before reparsing it.
1047
bf972c9d
AS
10482011-09-26 Andreas Schwab <schwab@redhat.com>
1049
1050 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
1051
e057a1b5
JM
10522011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
1053 Maxim Kuvyrkov <maxim@codesourcery.com>
1054 Joseph Myers <joseph@codesourcery.com>
1055
1056 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
1057 if needed for __stack_chk_guard.
1058
bc7e1c36
RM
10592011-09-19 Roland McGrath <roland@hack.frob.com>
1060
ecb1482f
RM
1061 * sysdeps/posix/spawni.c (script_execute): Always define it.
1062 It will be optimized away if unused.
1063 (maybe_script_execute): New function.
1064 (__spawni): Call it.
1065
bc7e1c36
RM
1066 * Makerules: Don't include tls.make.
1067 (config-tls): Always set to thread.
1068 * tls.make.c: File removed.
1069
1c3b002b
MF
10702011-09-19 Mike Frysinger <vapier@gentoo.org>
1071
1072 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
1073 * config.make.in (CPPFLAGS-config): New substituted variable.
1074
2840865d
UD
10752011-09-15 Ulrich Drepper <drepper@gmail.com>
1076
88738eb6
UD
1077 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
1078
cbf645a6 1079 [BZ #13192]
2840865d
UD
1080 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
1081 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
1082
b402e91a
RM
10832011-09-15 Roland McGrath <roland@hack.frob.com>
1084
1085 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
1086 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
1087 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
1088 (CALL_FAIL): Likewise.
1089 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
1090 (CALL_FAIL): Macro removed.
1091 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
1092
4c1a1f71
UD
10932011-09-15 Ulrich Drepper <drepper@gmail.com>
1094
1095 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
1096 for __FINITE_MATH_ONLY__ == 1.
1097
edc121be
AS
10982011-09-15 Andreas Schwab <schwab@redhat.com>
1099
1100 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
1101 __ieee754_sqrt instead of sqrt.
1102 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
1103 __ieee754_sqrtf instead of sqrtf.
1104 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1105 __floorf instead of floorf.
1106 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
1107 __floorf, __truncf instead of floorf, truncf.
1108
cd205654
UD
11092011-09-14 Ulrich Drepper <drepper@gmail.com>
1110
ee4d0315
UD
1111 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
1112
cd205654
UD
1113 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
1114 __extern_always_inline.
1115 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
1116 32-bit.
1117
48b67d71
AS
11182011-09-14 Andreas Schwab <schwab@redhat.com>
1119
1120 * elf/rtld.c (dl_main): Also relocate in dependency order when
1121 doing symbol dependency testing.
1122
1ae12c75
AS
11232011-09-13 Andreas Schwab <schwab@linux-m68k.org>
1124
1125 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1126 Always define `refsym'.
1127
995a80df
AS
11282011-09-13 Andreas Schwab <schwab@redhat.com>
1129
e529793b
AS
1130 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
1131 (__FD_ELT): Renamed from __FDELT.
1132 * misc/bits/select2.h (__FD_ELT): Likewise.
1133 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
1134 __FD_MASK instead of __FDELT, __FDMASK.
1135 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
1136 Likewise.
1137 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
1138 Likewise.
1139
52d4fef8
AS
1140 * elf/Makefile (gen-ldd): Fix pattern.
1141
995a80df
AS
1142 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
1143 (init_tls): Likewise.
1144
8682f8b0
UD
11452011-09-12 Ulrich Drepper <drepper@gmail.com>
1146
1147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
1148
de82006d
AS
11492011-09-12 Andreas Schwab <schwab@redhat.com>
1150
a7c8e6a1
AS
1151 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
1152 `struct cmsghdr *' instead of `void *'.
1153 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
1154 Likewise.
1155
0f31fe77
AS
11562011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1157
1158 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
1159 if non-absolute.
1160 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
1161 ldd_rewrite_script.
0f31fe77 1162
32b4c839
UD
11632011-09-11 Ulrich Drepper <drepper@gmail.com>
1164
83cd1420
UD
1165 * configure.in: Remove --with-tls option.
1166 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
1167 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
1168 out in case it is missing.
1169 * sysdeps/ia64/elf/configure.in: Likewise.
1170 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
1171 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
1172 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
1173 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
1174 * sysdeps/sh/elf/configure.in: Likewise.
1175 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
1176 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1177 * sysdeps/x86_64/elf/configure.in: Likewise.
1178 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
1179 * sysdeps/mach/hurd/tls.h: Likewise.
1180
633f745d
UD
1181 [BZ #13067]
1182 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
1183
f318beb8
UD
1184 [BZ #13090]
1185 * configure.in: Fix use of AC_INIT.
1186
32b4c839
UD
1187 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
1188
3ce1f295
UD
11892011-09-10 Ulrich Drepper <drepper@gmail.com>
1190
bb016596
UD
1191 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
1192 __set_errno.
8e58439c
UD
1193 * malloc/hooks.c: Likewise.
1194
02d46fc4
UD
1195 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
1196 variables statically.
1197 (narenas): Initialize.
1198 (list_lock): Initialize.
bb016596
UD
1199 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
1200 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
1201 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
1202 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
1203 Add initializers to main_arena and mp_.
1204 (malloc_state): Remove pagesize member. Change all users to use
1205 GLRO(dl_pagesize).
1206
1207 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
1208 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
1209 is always initialized.
1210
22a89187
UD
1211 * malloc/malloc.c: Removed unused configurations and dead code.
1212 * malloc/arena.c: Likewise.
1213 * malloc/hooks.c: Likewise.
02d46fc4 1214 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 1215
d063d164
UD
1216 * include/tls.h: Removed. USE___THREAD must always be defined.
1217 * bits/libc-tsd.h: Don't handle !USE___THREAD.
1218 * elf/dl-libc.c: Likewise.
1219 * elf/dl-tsd.c: Likewise.
1220 * include/errno.h: Likewise.
1221 * include/netdb.h: Likewise.
1222 * include/resolv.h: Likewise.
1223 * inet/herrno-loc.c: Likewise.
1224 * inet/herrno.c: Likewise.
1225 * malloc/arena.c: Likewise.
1226 * malloc/hooks.c: Likewise.
1227 * malloc/malloc.c: Likewise.
1228 * resolv/res-state.c: Likewise.
1229 * resolv/res_libc.c: Likewise.
1230 * sysdeps/i386/dl-machine.h: Likewise.
1231 * sysdeps/ia64/dl-machine.h: Likewise.
1232 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1233 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1234 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1235 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1236 * sysdeps/sh/dl-machine.h: Likewise.
1237 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1238 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1239 * sysdeps/unix/i386/sysdep.S: Likewise.
1240 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1241 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1245 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1246 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1247 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1250 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1251 * sysdeps/x86_64/dl-machine.h: Likewise.
1252 * tls.make.c: Likewise.
1253
3ce1f295
UD
1254 * configure.in: Remove --with-__thread option. Make tests for
1255 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
1256 tls_model attribute fail if no support is available. Remove
1257 USE_IN_LIBIO.
1258 * Makeconfig: Adjust for dropped configure option. All features are
1259 now mandatory.
1260 * Makerules: Likewise.
1261 * Versions.def: Likewise.
1262 * argp/argp-fmtstream.c: Likewise.
1263 * argp/argp-fmtstream.h: Likewise.
1264 * argp/argp-help.c: Likewise.
1265 * assert/assert.c: Likewise.
1266 * config.h.in: Likewise.
1267 * config.make.in: Likewise.
1268 * configure: Likewise.
1269 * configure.in: Likewise.
1270 * csu/Versions: Likewise.
1271 * csu/init.c: Likewise.
1272 * elf/tst-audit2.c: Likewise.
1273 * elf/tst-tls10.c: Likewise.
1274 * elf/tst-tls10.h: Likewise.
1275 * elf/tst-tls11.c: Likewise.
1276 * elf/tst-tls12.c: Likewise.
1277 * elf/tst-tls14.c: Likewise.
1278 * elf/tst-tlsmod11.c: Likewise.
1279 * elf/tst-tlsmod12.c: Likewise.
1280 * elf/tst-tlsmod13.c: Likewise.
1281 * elf/tst-tlsmod13a.c: Likewise.
1282 * elf/tst-tlsmod14a.c: Likewise.
1283 * elf/tst-tlsmod15b.c: Likewise.
1284 * elf/tst-tlsmod16a.c: Likewise.
1285 * elf/tst-tlsmod16b.c: Likewise.
1286 * elf/tst-tlsmod7.c: Likewise.
1287 * elf/tst-tlsmod8.c: Likewise.
1288 * elf/tst-tlsmod9.c: Likewise.
1289 * gmon/gmon.c: Likewise.
1290 * grp/fgetgrent_r.c: Likewise.
1291 * grp/putgrent.c: Likewise.
1292 * hurd/fopenport.c: Likewise.
1293 * include/libc-symbols.h: Likewise.
1294 * include/tls.h: Likewise.
1295 * intl/gettextP.h: Likewise.
1296 * intl/loadinfo.h: Likewise.
1297 * locale/global-locale.c: Likewise.
1298 * locale/localeinfo.h: Likewise.
1299 * mach/devstream.c: Likewise.
1300 * malloc/arena.c: Likewise.
1301 * malloc/set-freeres.c: Likewise.
1302 * misc/err.c: Likewise.
1303 * misc/getttyent.c: Likewise.
1304 * misc/mntent_r.c: Likewise.
1305 * posix/getopt.c: Likewise.
1306 * posix/wordexp.c: Likewise.
1307 * pwd/fgetpwent_r.c: Likewise.
1308 * resolv/Versions: Likewise.
1309 * resolv/res_hconf.c: Likewise.
1310 * shadow/fgetspent_r.c: Likewise.
1311 * shadow/putspent.c: Likewise.
1312 * stdio-common/printf_fphex.c: Likewise.
1313 * stdio-common/tmpfile.c: Likewise.
1314 * stdlib/abort.c: Likewise.
1315 * stdlib/fmtmsg.c: Likewise.
1316 * sunrpc/auth_unix.c: Likewise.
1317 * sunrpc/clnt_perr.c: Likewise.
1318 * sunrpc/clnt_tcp.c: Likewise.
1319 * sunrpc/clnt_udp.c: Likewise.
1320 * sunrpc/clnt_unix.c: Likewise.
1321 * sunrpc/openchild.c: Likewise.
1322 * sunrpc/svc_simple.c: Likewise.
1323 * sunrpc/svc_tcp.c: Likewise.
1324 * sunrpc/svc_udp.c: Likewise.
1325 * sunrpc/svc_unix.c: Likewise.
1326 * sunrpc/xdr.c: Likewise.
1327 * sunrpc/xdr_array.c: Likewise.
1328 * sunrpc/xdr_rec.c: Likewise.
1329 * sunrpc/xdr_ref.c: Likewise.
1330 * sunrpc/xdr_stdio.c: Likewise.
1331
1248c1c4
PB
13322011-09-09 Ulrich Drepper <drepper@gmail.com>
1333
1334 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1335
13362011-07-03 Andreas Jaeger <aj@suse.de>
1337
1338 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
1339 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
1340 regenerate with gen-libm-tests.pl.
1341
13422010-05-12 Petr Baudis <pasky@suse.cz>
1343
1344 [BZ #11589]
1345 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
1346 around j0() zero points by switching to j1().
1347 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1350 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1351
f22e1074
UD
13522011-09-09 Ulrich Drepper <drepper@gmail.com>
1353
f19009c1
UD
1354 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
1355 instead of 0.
1356 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
1357 instead of 0. .
1358 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1359 Patch in part by Pavel Roskin <proski@gnu.org>.
1360
3f8cc204
UD
1361 [BZ #13138]
1362 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
1363 realloc.
1364 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
1365 Free memory block if necessary.
1366
f22e1074
UD
1367 [BZ #12847]
1368 * libio/genops.c (INTDEF): For string streams the _lock pointer can
1369 be NULL. Don't lock in this case.
1370
0a2349f9
RM
13712011-09-09 Roland McGrath <roland@hack.frob.com>
1372
1373 * elf/elf.h (ELFOSABI_GNU): New macro.
1374 (ELFOSABI_LINUX): Define to that.
1375
f3cdd467
DZ
13762011-07-29 Denis Zaitceff <zaitceff@gmail.com>
1377
1378 * string/strncat.c (strncat): Undef the symbol in case it has been
1379 defined in bits/string.h.
1380
74718d13
UD
13812011-09-09 Ulrich Drepper <drepper@gmail.com>
1382
633e9e0f
UD
1383 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
1384
0a2349f9 1385 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
1386 link map.
1387
f9924780
AJ
13882011-08-17 Andreas Jaeger <aj@suse.de>
1389
1390 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
1391
7f5517aa
PP
13922011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1393 Ian Lance Taylor <iant@google.com>
1394
1395 * math/libm-test.inc (lround_test): New testcase.
1396 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
1397
762011fe
UD
13982011-09-08 Ulrich Drepper <drepper@gmail.com>
1399
92963737
UD
1400 * Makefile: Remove support for automatic cvs check-ins.
1401 * Makerules: Likewise.
1402 * config.make.in: Likewise.
1403 * configure.in: Likewise.
1404 * intl/Makefile: Likewise.
1405 * locale/Makefile: Likewise.
1406 * po/Makefile: Likewise.
1407 * posix/Makefile: Likewise.
1408 * sysdeps/gnu/Makefile: Likewise.
1409 * sysdeps/mach/hurd/Makefile: Likewise.
1410 * sysdeps/sparc/sparc32/Makefile: Likewise.
1411
b0727fd8
JS
1412 [BZ #13118]
1413 * posix/Makefile (bug-regex32-ENV): Define.
1414 Patch by John Stanley <jpsinthemix@verizon.net>.
1415
a0f33f99
UD
1416 * misc/Makefile (headers): Add bits/select2.h.
1417 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
1418 * misc/bits/select2.h: New file.
1419 * include/bits/select2.h: New file.
1420 * debug/Makefile (routines): Add fdelt_chk.
1421 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
1422 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
1423 FD_ISSET.
1424 * debug/fdelt_chk.c: New file.
1425
762011fe
UD
1426 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
1427 * wcsmbs/test-wmemcmp.c: Likewise.
1428 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 1429 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
1430
14312011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1432
1433 * string/Makefile (strop-tests): Add memcmp.
1434 * string/test-wmemcmp.c: New file.
1435 * string/test-memcmp.c: Add wmemcmp support.
1436
7f513ec8
RM
14372011-09-08 Roland McGrath <roland@hack.frob.com>
1438
0442afb4
RM
1439 [BZ #13153]
1440 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
1441 2011-07-19 change.
1442
7f513ec8
RM
1443 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
1444 garbage value in a __mach_port_mod_refs call in the cases of the
1445 task-self and thread-self ports.
1446
a12b2239
ST
14472011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1448
1449 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
1450
610f9ab4
AS
14512011-09-08 Andreas Schwab <schwab@redhat.com>
1452
7f513ec8 1453 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 1454
48882a1a
LD
14552011-09-07 Ulrich Drepper <drepper@gmail.com>
1456
b49865be
UD
1457 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
1458
fdc86bc9
UD
1459 * elf/dl-libc.c (dlerror_run): Pass back error code from
1460 dl_catch_error.
1461
c966526a
UD
1462 [BZ #13123]
1463 * elf/dl-load.c (lose): Free l_origin if it is valid.
1464
48882a1a
LD
1465 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
1466 names.
1467 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1468 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1469 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1470 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1471 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1472 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
1473
77a2a8b4
AZ
14742011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1475
1476 * sysdeps/powerpc/fpu/e_hypot.c: New file.
1477 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
1478 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
1479 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
1480 * sysdeps/powerpc/fpu/k_cosf.c: New file.
1481 * sysdeps/powerpc/fpu/k_sinf.c: New file.
1482 * sysdeps/powerpc/fpu/s_cosf.c: New file.
1483 * sysdeps/powerpc/fpu/s_sinf.c: New file.
1484 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
1485 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
1486
24f579d8
AM
14872011-08-15 Alan Modra <amodra@gmail.com>
1488
1489 [BZ #13092]
1490 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
1491 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
1492 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
1493 ppc_mcount to static-only-routines.
1494 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
1495 __mcount_internal.
1496 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
1497 __mcount_internal with usual JUMPTARGET. Remove useless nop.
1498
3d4837df
UD
14992011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
1500
1501 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
1502 for finite and infinity parameters.
1503
22700377
WS
15042011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1505
1506 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
1507 and add nop instructions for throughput optimization.
1508 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1509
5025581e
WS
15102011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
1511
1512 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
1513 aligned copy for power7 with vector-scalar instructions.
1514 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1515
08a300c9
L
15162011-07-24 H.J. Lu <hongjiu.lu@intel.com>
1517
1518 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
1519 AVX check.
1520
59178ef9
AS
15212011-09-07 Andreas Schwab <schwab@redhat.com>
1522
1523 [BZ #13144]
1524 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
1525 last change.
1526
e38ba7ab
UD
15272011-09-07 Ulrich Drepper <drepper@gmail.com>
1528
1529 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1530 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
1531 syscall wrapper around clock_gettime in __vdso_clock_gettime.
1532 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
1533 clock_gettime.
1534
d53a73ac
UD
15352011-09-06 Ulrich Drepper <drepper@gmail.com>
1536
fc8bffcc
UD
1537 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
1538 Forgot to demangle the pointer.
1539
ceaa0c5d
UD
1540 * sysdeps/i386/sysdep.h: Define atom_text_section.
1541 * sysdeps/x86_64/sysdep.h: Likewise.
1542 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
1543 section with atom_text_section.
1544 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1545 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1546 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1547 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
1548 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
1549
a77d3c17
UD
1550 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
1551 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
1552 already be defined. Change to take two parameters and don't assign
1553 result to variable. Adjust all users.
1554 Define INTERNAL_GETTIME if not already defined.
1555 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
1556 call.
1557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
1558 HAVE_CLOCK_GETTIME_VSYSCALL.
1559 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
1560
d53a73ac
UD
1561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
1562 gettimeofday vsyscall, just use time.
1563
a8f84144
AS
15642011-09-06 Andreas Schwab <schwab@redhat.com>
1565
1566 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
1567 <errno.h>.
1568
ef606249
UD
15692011-09-06 Ulrich Drepper <drepper@gmail.com>
1570
1571 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
1572 syscall on x86-64.
1573 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
1574 syscall.
1575 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1576 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
1577 syscall if possible.
1578
6585cb60
UD
15792011-09-05 Ulrich Drepper <drepper@gmail.com>
1580
1581 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
1582 e_ident. Don't pass to find_mapsXX.
1583 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
1584
a5f524e4
LD
15852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1586
1587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1588 strchr-sse2-no-bsf strrchr-sse2-no-bsf
1589 * sysdeps/x86_64/multiarch/strchr.S: Update.
1590 Check bit_slow_BSF bit.
1591 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1592 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
1593 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
1594
554881ef
UD
15952011-09-05 Ulrich Drepper <drepper@gmail.com>
1596
d96de963
UD
1597 [BZ #13134]
1598 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
1599 before glibc 2.15.
1600 (tryshell): Define.
1601 (__spawni): Change last parameter to be flag. Test
1602 SPAWN_XFLAGS_USE_PATH flag to use path or not.
1603 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
1604 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
1605 * posix/spawni.c: Likewise.
1606 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
1607 * posix/spawnp.c: Likewise. Change normal version to use
1608 SPAWN_XFLAGS_USE_PATH.
1609 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
1610 SPAWN_XFLAGS_TRY_SHELL.
1611
d48e5868
UD
1612 [BZ #13150]
1613 * posix/glob.h: Remove gcc 1.x support.
1614
554881ef
UD
1615 [BZ #13068]
1616 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
1617
693fb948
LD
16182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1619
1620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1621 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
1622 strrchr-sse2-bsf
1623 * sysdeps/i386/i686/multiarch/strchr.S: New file.
1624 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
1625 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
1626 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
1627 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
1628 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
1629
1b48c537
UD
16302011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1631
49d42c37
UD
1632 * sysdeps/x86_64/wcscmp.S: New file.
1633
1b48c537
UD
1634 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
1635 wcscmp-c wcscmp-sse2
1636 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
1637 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
1638 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
1639 * wcsmbs/wcscmp.c: Allow renaming.
1640
15c95c5d
DM
16412011-09-05 David S. Miller <davem@davemloft.net>
1642
1643 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
1644 stack slot, rather than the struct return pointer slot.
1645 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
1646 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
1647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
1648 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
1649
2f0ad8f3
UD
16502011-09-05 Ulrich Drepper <drepper@gmail.com>
1651
d88ae418
UD
1652 * po/ja.po: Update from translation team.
1653
2f0ad8f3
UD
1654 [BZ #13144]
1655 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
1656 kernel in 64-bit binaries.
1657
5f4318d1
DM
16582011-09-01 David S. Miller <davem@davemloft.net>
1659
1660 * elf/elf.h (HWCAP_SPARC_*): Move to..
1661 * sysdeps/sparc/sysdep.h: this new file and add new values.
1662 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
1663 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
1664 _DL_HWCAP_COUNT to 24.
1665 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1666 entries.
1667 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
1668 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
1669 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
1670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
1671 instead of magic constants.
1672 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1673
3ba57516
DM
16742011-08-31 David S. Miller <davem@davemloft.net>
1675
1676 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
1677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
1678 Reimplement to do errno handling inline.
1679 (SYSCALL_ERROR_HANDLER): New macro.
1680 (__SYSCALL_STRING): Do not do errno handling in asm.
1681 (__CLONE_SYSCALL_STRING): Delete.
1682 (__INTERNAL_SYSCALL_STRING): Delete.
1683 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
1684 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
1685 (PSEUDO): Reimplement to do errno handling inline.
1686 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
1687 (SYSCALL_ERROR_HANDLER): New macro.
1688 (__SYSCALL_STRING): Do not do errno handling in asm.
1689 (__CLONE_SYSCALL_STRING): Delete.
1690 (__INTERNAL_SYSCALL_STRING): Delete.
1691 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
1692 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
1693 i386.
1694 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
1695 (inline_syscall*): Add 'err' argument.
1696 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
1697 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
1698 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
1699 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
1700
1701 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
1702 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1703
2bc17433
AS
17042011-08-30 Andreas Schwab <schwab@redhat.com>
1705
1706 * elf/rtld.c (dl_main): Relocate objects in dependency order.
1707
fbeb5f4d
JO
17082011-08-29 Jiri Olsa <jolsa@redhat.com>
1709
1710 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
1711 directive.
1712
ad69cc26
DM
17132011-08-24 David S. Miller <davem@davemloft.net>
1714
1715 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
1716
39dd69df
AS
17172011-08-24 Andreas Schwab <schwab@redhat.com>
1718
1719 * elf/Makefile: Add rules to build and run unload8 test.
1720 * elf/unload8.c: New file.
1721 * elf/unload8mod1.c: New file.
1722 * elf/unload8mod1x.c: New file.
1723 * elf/unload8mod2.c: New file.
1724 * elf/unload8mod3.c: New file.
1725
1726 * elf/dl-close.c (_dl_close_worker): Reset private search list if
1727 it wasn't used.
1728
2c0b250a
DM
17292011-08-23 David S. Miller <davem@davemloft.net>
1730
1731 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
1732 subtract stack bias.
1733 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
1734 %sp not %fp in calculations.
1735 (_JMPBUF_UNWINDS_ADJ): Likewise.
1736
22044b48
DM
1737 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
1738 (aio_suspend): Call it to force an exception region around the
1739 AIO_MISC_WAIT() invocation.
1740
2cae4995
AS
17412011-08-23 Andreas Schwab <schwab@redhat.com>
1742
1743 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
1744 backslash.
1745
873a772e
AJ
17462011-07-04 Aurelien Jarno <aurelien@aurel32.net>
1747
1748 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
1749 protection macro.
1750 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
1751 and <dl-machine.h>.
1752 (Elf64_FuncDesc): Remove.
1753
25ad0df1
DM
17542011-08-22 David S. Miller <davem@davemloft.net>
1755
1756 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
1757 sigaltstack check, add missing cfi directives.
1758 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
1759 missing cfi directives, and sigaltstack handling.
1760
e888bcbe
AS
17612011-08-16 Andreas Schwab <schwab@redhat.com>
1762
1763 [BZ #11724]
1764 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
1765 object is seen twice.
1766 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1767
1768 * elf/Makefile (distribute): Add tst-initorder2.c.
1769 (tests): Add tst-initorder2.
1770 (modules-names): Add tst-initorder2a tst-initorder2b
1771 tst-initorder2c tst-initorder2d. Add rules to build them.
1772 ($(objpfx)tst-initorder2.out): New rule.
1773 * elf/tst-initorder2.c: New file.
1774 * elf/tst-initorder2.exp: New file.
1775
87162f46
AS
17762011-08-22 Andreas Schwab <schwab@redhat.com>
1777
70538b7f
AS
1778 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
1779
f55ffe58
AS
1780 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
1781 dependencies back to end of function.
1782
87162f46
AS
1783 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
1784 $(elfobjdir)/ld.so.
1785
91b392a4
UD
17862011-08-21 Ulrich Drepper <drepper@gmail.com>
1787
1788 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
1789 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
1790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
1791 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
1792 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
1793 of __vdso_gettimeofday.
1794 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
1795 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
1796 attribute_hidden.
1797 (_libc_vdso_platform_setup): Remove initialization of
1798 __vdso_gettimeofday and __vdso_time.
1799
5c43483f
UD
18002011-08-20 Ulrich Drepper <drepper@gmail.com>
1801
775a77e7
UD
1802 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
1803 and fgetc_unlocked.
1804 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
1805 getc_unlocked.
89f447ed 1806
49c74ba9
UD
1807 * elf/dl-open.c (add_to_global): Report additions to the global scope
1808 for LD_DEBUG=scopes.
1809 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 1810 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 1811
5c43483f
UD
1812 [BZ #13114]
1813 * stdio-common/Makefile (tests): Add bug24.
1814 * stdio-common/bug24.c: New file.
1815
a101b025
AJ
18162011-08-19 Andreas Jaeger <aj@suse.de>
1817
1818 [BZ #13114]
1819 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
1820 non-existant file when using close-on-exec mode.
1821
c88f1766
UD
18222011-08-20 Ulrich Drepper <drepper@gmail.com>
1823
0276a718
UD
1824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
1825 the very first instruction.
1826
c88f1766
UD
1827 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
1828 the CFI state in the end.
1829 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
1830 inclusion of dl-trampoline.h.
1831 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
1832
51ccffa0
AS
18332011-08-19 Andreas Schwab <schwab@redhat.com>
1834
94d7165f
AS
1835 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
1836 expectations for long double.
1837
51ccffa0
AS
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
1839 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
1840
fd708658 18412011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
1842
1843 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
1844 artificual limit depends upon the system page size.
1845
44f0a71e
UD
18462011-08-17 Ulrich Drepper <drepper@gmail.com>
1847
1848 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
1849 * resolv/Makefile: Define CFLAGS-libresolv.
1850
8de79a24
AS
18512011-08-17 Andreas Schwab <schwab@redhat.com>
1852
1853 * nss/makedb.c (compute_tables): Make variables used in nested
1854 function static.
1855
27724598
UD
18562011-08-17 Ulrich Drepper <drepper@gmail.com>
1857
c5305d88
UD
1858 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
1859 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
1860 if buffer was too small.
1861
27724598
UD
1862 * elf/pldd.c (main): Attach to all threads in the process.
1863 Rewrite /proc handling to use *at functions.
1864
076fe015
UD
18652011-08-16 Ulrich Drepper <drepper@gmail.com>
1866
174baab3
UD
1867 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
1868 specifies first scope to show.
1869 (dl_open_worker): Update callers. Move printing scope of new
1870 object to before the relocation.
44f0a71e 1871 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
1872 * sysdeps/generic/ldsodefs.h: Update declaration.
1873
076fe015
UD
1874 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
1875 string for the scope number.
1876
a60df2c3
UD
18772011-08-14 Ulrich Drepper <drepper@gmail.com>
1878
1879 * nscd/servicescache.c (cache_addserv): Make sure written is always
1880 initialized.
1881
5e4287d1
RM
18822011-08-14 Roland McGrath <roland@hack.frob.com>
1883
85ae0589
RM
1884 * sysdeps/i386/i486/bits/atomic.h
1885 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
1886 statement expression, so as to suppress "set but not used" warning.
1887 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
1888
69f63097
RM
1889 * string/strncat.c (STRNCAT): Use prototype definition.
1890
675456ef
RM
1891 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
1892 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
1893 -Iprograms here.
1894 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
1895 (localedef-modules): Add localedef.
1896 (locale-modules): Add locale.
1897
5e4287d1
RM
1898 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
1899 * elf/rtld.c (dl_main): Invert order of assignment in last change,
1900 to avoid a warning.
1901
9c96ff23
DM
19022011-08-14 David S. Miller <davem@davemloft.net>
1903
1904 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
1905 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
1906
f9ddf089
UD
19072011-08-13 Ulrich Drepper <drepper@gmail.com>
1908
44f0a71e 1909 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
1910 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
1911 * elf/rtld.c (dl_main): Set l_name of vDSO.
1912 Call _dl_show_scope when DL_DEBUG_SCOPES.
1913 (process_dl_debug): Recognize scopes flag and also set it for all.
1914 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
1915 Declare _dl_show_scope.
1916
1dc27704
UD
1917 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
1918 (do_dlopen): Pass caller_dlopen to dl_open.
1919 (__libc_dlopen_mode): Initialize caller_dlopen.
1920
f9ddf089
UD
1921 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
1922 of libc. Make tolower call locale-independent. Optimize a bit by
1923 using isdigit instead of isalnum.
1924 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
1925
9ac533d3
UD
19262011-08-12 Ulrich Drepper <drepper@gmail.com>
1927
1928 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
1929 was a dependency or dynamically loaded.
1930
89edf2e9
UD
19312011-08-11 Ulrich Drepper <drepper@gmail.com>
1932
8e999d29
UD
1933 * intl/l10nflist.c: Allow architecture-specific pop function.
1934 * sysdeps/x86_64/l10nflist.c: New file.
1935
89edf2e9
UD
1936 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
1937 classification.
1938
14d96785
AS
19392011-08-10 Andreas Schwab <schwab@redhat.com>
1940
1941 * include/dirent.h: Add libc_hidden_proto for scandirat and
1942 scandirat64. Don't declare __scandirat64.
1943 * dirent/scandirat.c: Add libc_hidden_def.
1944 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
1945 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
1946
6761ac04
DM
19472011-08-10 David S. Miller <davem@davemloft.net>
1948
1949 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
1950 enum.
1951 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1952 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1953 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1954
c55fbd1e
UD
19552011-08-09 Ulrich Drepper <drepper@gmail.com>
1956
1957 * Versions.def [libc]: Add GLIBC_2.15.
1958 * dirent/Makefile (routines): Add scandirat and scandirat64.
1959 * dirent/Versions [libc]: Export scandirat and scandirat64 for
1960 GLIBC_2.15.
1961 * dirent/dirent.h: Declare scandirat and scandirat64.
1962 * dirent/scandirat.c: New file.
1963 * dirent/scandirat64.c: New file.
1964 * sysdeps/wordsize-64/scandirat.c: New file.
1965 * sysdeps/wordsize-64/scandirat64.c: New file.
1966 * dirent/opendir.c: Define opendirat.
1967 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
1968 using scandirat.
1969 * dirent/scandir64.c: Adjust for scandir.c change.
1970 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
1971 __scandirat64, and __scandir_cancel_handler.
1972 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
1973 additional parameter and use openat instead of open (outside of ld.so).
1974 Add new __opendir as wrapper around __opendirat.
1975 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
1976 here without requiring old scandirat implementation.
1977
879165f2
UD
19782011-08-08 Ulrich Drepper <drepper@gmail.com>
1979
1980 * dirent/scandir.c (cancel_handler): Renamed to
1981 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
1982 defined. Adjust users.
1983 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
1984 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
1985
cb7e923b
UD
19862011-08-04 Ulrich Drepper <drepper@gmail.com>
1987
16292edd
UD
1988 * string/test-string.h (IMPL): Use __STRING to expand name and then
1989 stringify it.
1990
cb7e923b
UD
1991 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
1992 of cleanups.
1993
cff82933
LD
19942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1995
1996 * string/Makefile: Update.
1997 (strop-tests): Append strncat.
1998 * string/test-wcscmp.c: New file.
1999 New comprehensive test for wcscmp.
2000 * string/test-strcmp.c: Update.
2001 (WIDE): New define.
2002
9be9bfcc
AS
20032011-07-22 Andreas Schwab <schwab@redhat.com>
2004
2005 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
2006 line.
2007
2e96f1c7
AS
20082011-07-26 Andreas Schwab <schwab@redhat.com>
2009
2010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
2011 encoding to ACE if AI_IDN.
2012
85188888
JJ
20132011-08-01 Jakub Jelinek <jakub@redhat.com>
2014
2015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
2016 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
2017
5fa16e9b
LD
20182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2019
2020 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
2021 Fix overflow bug in strncat.
2022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2023
2024 * string/test-strncat.c: Update.
2025 Add new tests for checking overflow bugs.
2026
20272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2028
2029 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2030 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
2031 * sysdeps/i386/i686/multiarch/strcat.S: New file.
2032 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
2033 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
2034 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
2035 * sysdeps/i386/i686/multiarch/strncat.S: New file.
2036 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
2037 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
2038
2039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
2040 (USE_AS_STRCAT): Define.
2041 Add strcat and strncat support.
2042 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2043
8c1a459f
AS
20442011-07-25 Andreas Schwab <schwab@redhat.com>
2045
2046 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
2047 __n bigger than INT_MAX+1.
2048 (__strncmp_g): Likewise.
2049
bba33c28
UD
20502011-07-23 Ulrich Drepper <drepper@gmail.com>
2051
798be72d
UD
2052 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
2053 * libio/stido.h: Likewise.
2054
8accd4dc
UD
2055 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
2056 (AF_NFC): Define.
2057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
2058 (AF_NFC): Define.
2059
cbff0d96
UD
2060 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
2061 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2063 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2064 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2065
9191c04a
UD
2066 [BZ #13021]
2067 * scripts/test-installation.pl: Don't expect libnss_test1 to be
2068 installed.
2069
bba33c28
UD
2070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
2071 typo.
2072 (_dl_x86_64_save_sse): Likewise.
2073
90f139dd
UD
20742011-07-22 Ulrich Drepper <drepper@gmail.com>
2075
1aae088a
UD
2076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
2077 OSXSAVE.
2078 (_dl_x86_64_save_sse): Likewise.
2079
8e2045f5
UD
2080 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
2081
90f139dd
UD
2082 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
2083
1d002f25
AS
20842011-07-21 Andreas Schwab <schwab@redhat.com>
2085
2086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
2087 change.
2088 (_dl_x86_64_save_sse): Use correct AVX check.
2089
21137f89
UD
20902011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2091
2092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
2093 bug in strncpy/strncat.
2094 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2095
a65c0b7a
UD
20962011-07-21 Ulrich Drepper <drepper@gmail.com>
2097
2098 * string/tester.c (test_strcat): Add tests for different alignments
2099 of source and destination.
2100 (test_strncat): Likewise.
2101
6986b98a
UD
21022011-07-20 Ulrich Drepper <drepper@gmail.com>
2103
90bb2039
UD
2104 [BZ #12852]
2105 * posix/glob.c (glob): Check passed in values before using them in
2106 expressions to avoid some overflows.
2107 (glob_in_dir): Likewise.
2108
5644ef54
UD
2109 [BZ #13007]
2110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
2111 check for AVX enablement so that we don't crash with old kernels and
2112 new hardware.
2113 * elf/tst-audit4.c: Add same checks here.
2114 * elf/tst-audit6.c: Likewise.
2115
2116 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 2117
bfc9dc9b
AS
21182011-07-09 Andreas Schwab <schwab@linux-m68k.org>
2119
2120 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
2121
702e64bb
UD
21222011-07-20 Ulrich Drepper <drepper@gmail.com>
2123
2124 * po/cs.po: Update from translation team.
2125 * po/bg.po: Likewise.
2126
295e904f
MP
21272011-07-12 Marek Polacek <mpolacek@redhat.com>
2128
2129 * misc/sys/cdefs.h: Add support for const attribute.
2130 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
2131 to gnu_dev_{major,minor,makedev} functions.
2132
3ff94596
MP
21332011-07-20 Marek Polacek <mpolacek@redhat.com>
2134
2135 * intl/dcigettext.c (get_output_charset): Add missing bracket.
2136
28b59fca
AS
21372011-07-20 Andreas Schwab <schwab@redhat.com>
2138
2139 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
2140 strlen results.
2141
19df733e
AK
21422011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2143
2144 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2145 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
2146 register in order to avoid conflicts with the soft frame pointer
2147 being held in r11 when necessary.
2148 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2149 (INTERNAL_VSYSCALL_NCS): Likewise.
2150
c8835729
MP
21512011-07-14 Marek Polacek <mpolacek@redhat.com>
2152
2153 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
2154 * elf/dl-fini.c (_dl_fini): Adjust caller.
2155 * elf/dl-close.c (_dl_close_worker): Likewise.
2156 * sysdeps/generic/ldsodefs.h: Adjust declaration.
2157
b902330c
MP
21582011-07-15 Marek Polacek <mpolacek@redhat.com>
2159
8991e135
MP
2160 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
2161 "aux_cache->nlibs < 0".
2162
b902330c
MP
2163 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
2164 in the reload-count case.
2165
99710781
LD
21662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2167
2168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2169 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
2170 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
2171 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
2172 * sysdeps/x86_64/multiarch/strcat.S: New file.
2173 * sysdeps/x86_64/multiarch/strncat.S: New file.
2174 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
2175 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
2176 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
2177 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
2178 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
2179 (USE_AS_STRCAT): Define.
2180 Add strcat and strncat support.
2181 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
2182 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2183 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
2184 * string/strncat.c: Update.
2185 (USE_AS_STRNCAT): Define.
2186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2187 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
2188 and i7.
2189 * sysdeps/x86_64/multiarch/init-arch.h
2190 (bit_Prefer_PMINUB_for_stringop): New.
2191 (index_Prefer_PMINUB_for_stringop): Likewise.
2192 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
2193 bit_Prefer_PMINUB_for_stringop.
2194
7dc6bd90
UD
21952011-07-19 Ulrich Drepper <drepper@gmail.com>
2196
2197 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
2198 buffer64.
2199 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
2200 of casting of buffer.
2201 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
2202 buffer32 and buffer64.
2203 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
2204 writes instead of casting of buffer.
2205 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
2206 buffer32.
2207 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
2208 casting of buffer.
2209
e0e72284
AS
22102011-07-19 Andreas Schwab <schwab@redhat.com>
2211
2212 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
2213
feb1eb0b
UD
22142011-07-19 Ulrich Drepper <drepper@gmail.com>
2215
2216 * nscd/nscd.c (termination_handler): Don't do anything for a database
2217 if it has not yet been initialized.
2218
298711ff
UD
22192011-07-18 Ulrich Drepper <drepper@gmail.com>
2220
2221 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
2222
22232011-07-15 Marek Polacek <mpolacek@redhat.com>
2224
2225 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
2226
f9d68389
UD
22272011-07-18 Ulrich Drepper <drepper@gmail.com>
2228
2229 * po/nl.po: Update from translation team.
2230 * po/sv.po: Likewise.
2231
db290cf5
RM
22322011-07-16 Roland McGrath <roland@hack.frob.com>
2233
2234 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
2235 now disallowed by GCC.
5c550700 2236
fd5e21c7
RM
2237 * configure.in (use-default-link): Default to yes if a test -shared
2238 link meets our qualifications.
2239 * configure: Regenerated.
2240
5c550700
RM
2241 * config.make.in (output-format): New variable.
2242 * configure.in: Check for ld --print-output-format support.
2243 * configure: Regenerated.
2244 * Makerules ($(common-objpfx)format.lds)
2245 [$(output-format) != unknown]: Just use $(output-format),
2246 instead of the linker-script munging.
2247
9fa2c032
RM
22482011-07-14 Roland McGrath <roland@hack.frob.com>
2249
a6928d51
RM
2250 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
2251 of $(common-objpfx)shlib.lds.
2252 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
2253
661607b3
RM
2254 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
2255 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
2256
9fa2c032
RM
2257 * configure.in (-z relro check): Adjust test code to add a large
2258 writable data section after it.
2259 * configure: Regenerated.
2260
defe9061
RM
22612011-07-11 Roland McGrath <roland@hack.frob.com>
2262
2263 * configure.in (-z relro check): Fix test code to make the variable
2264 truly const.
2265 * configure: Regenerated.
2266
319b9ad4
UD
22672011-07-11 Ulrich Drepper <drepper@gmail.com>
2268
2269 * nscd/nscd.h (struct traced_file): Define.
2270 (struct database_dyn): Remove inotify_descr, reset_res, and filename
2271 elements. Add traced_files.
2272 (inotify_fd): Declare.
2273 (register_traced_file): Declare.
2274 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
2275 (inotify_fd): Export.
2276 (resolv_conf_descr): Remove.
2277 (nscd_init): Move inotify descriptor creation to main.
2278 Don't register files for notification here.
2279 (register_traced_file): New function.
2280 (invalidate_cache): Don't use reset_res to determine whether to call
2281 res_init, go through the list of registered files.
2282 (main_loop_poll): The inotify descriptors are now stored in the
2283 structures for the traced files.
2284 (main_loop_epoll): Likewise
2285 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
2286 to __nss_disable_nscd.
2287 * nscd/cache.c (prune_cache): There is no single inotify descriptor
2288 for a database anymore. Check the records for all the registered
2289 files instead.
2290 * nss/Makefile (libnss_files-routines): Add files-init.
2291 (libnss_db-routines): Add db-init.
2292 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
2293 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
2294 * nss/nss_db/db-init.c: New file.
2295 * nss/nss_files/files-init.c: New file.
2296 * nss/nsswitch.c (nss_load_library): New function. Broken out of
2297 __nss_lookup_function.
2298 (__nss_lookup_function): Call nss_load_library.
2299 (nss_load_all_libraries): New function.
2300 (__nss_disable_nscd): Take parameter with callback function for files
2301 to register. Set is_nscd. Load all the DSOs for the NSS modules
2302 used for the cached services.
2303 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
2304 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
2305 options for features to all the files in nscd.
2306
2307 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
2308
23bee3e8
RM
23092011-07-10 Roland McGrath <roland@hack.frob.com>
2310
2311 * csu/elf-init.c (__libc_csu_init): Comment typo.
2312
46a5b7f0
UD
23132011-07-09 Ulrich Drepper <drepper@gmail.com>
2314
2315 * po/pl.po: Update from translation team.
2316 * po/ja.po: Likewise.
2317 * po/ru.po: Likewise.
2318 * po/ko.po: Likewise.
2319 * po/fr.po: Likewise.
2320
d30cf5bb
RM
23212011-07-09 Roland McGrath <roland@hack.frob.com>
2322
113ddea4
RM
2323 * configure.in (.ctors/.dtors header and trailer check):
2324 Use an empirical test on a built program.
2325 * configure: Regenerated.
2326
574920b4
RM
2327 * configure.in (-z relro check): Use an empirical test on a built DSO.
2328 Detect, but do not require, on ia64.
2329 * configure: Regenerated.
2330
d30cf5bb
RM
2331 * configure.in (READELF): Find it with AC_CHECK_TOOL.
2332 Update tests that use readelf to use $READELF instead.
2333 * configure: Regenerated.
2334
8538fdb3
UD
23352011-07-08 Ulrich Drepper <drepper@gmail.com>
2336
2337 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
2338 if the result is not used.
2339
04d08991
AJ
23402011-07-05 Andreas Jaeger <aj@suse.de>
2341
2342 [BZ#9696]
2343 * stdlib/tst-strtod.c: Add testcase.
2344
de283087
AD
23452011-07-07 Ulrich Drepper <drepper@gmail.com>
2346
4e5f31c8 2347 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 2348 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
2349 The latter has a higher limit. Take additional parameter to pass to
2350 the new function.
2351 (__pathconf): Pass file to __statfs_link_max.
2352 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
2353 __statfs_link_max.
2354 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
2355 __statfs_link_max.
2356
de283087
AD
2357 [BZ #12868]
2358 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
2359 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2360 Handle Lustre.
2361 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
2362 (__statfs_filesize_max): Likewise.
2363 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
2364
c75fa153
AJ
23652011-07-05 Andreas Jaeger <aj@suse.de>
2366
2367 * resolv/res_comp.c (dn_skipname): Remove unused variable.
2368
1a544854
UD
23692011-07-06 Marek Polacek <mpolacek@redhat.com>
2370
2371 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
2372 `status' variable.
2373 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
2374 Likewise.
2375
6f0eec67
UD
23762011-07-04 H.J. Lu <hongjiu.lu@intel.com>
2377
2378 * Makefile (strop-tests): Add strncat.
2379 * string/test-strncat.c: New file.
2380
aae30307
UD
23812011-06-30 Marek Polacek <mpolacek@redhat.com>
2382
2383 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
2384
c0cfb5eb
UD
23852011-06-21 Andreas Jaeger <aj@suse.de>
2386
2387 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
2388 Copy rule from iconvdata/Makefile.
2389
01636b21
UD
23902011-07-06 Ulrich Drepper <drepper@gmail.com>
2391
2392 [BZ #12922]
2393 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
2394 but no long options are defined, just return 'W'.
2395
9895c8bc
UD
23962011-06-22 Marek Polacek <mpolacek@redhat.com>
2397
2398 [BZ #9696]
2399 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
2400
5d4cf042
UD
24012011-07-06 Ulrich Drepper <drepper@gmail.com>
2402
2403 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
2404 netgroups to read.
960e5535 2405 (innetgr): Likewise.
5d4cf042 2406
751eb97e
RM
24072011-07-05 Roland McGrath <roland@hack.frob.com>
2408
2409 * config.make.in (install_root): Default to $(DESTDIR).
2410
f15f1e45
UD
24112011-07-05 Ulrich Drepper <drepper@gmail.com>
2412
2413 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
2414
4e34ac6a
RM
24152011-07-02 Roland McGrath <roland@hack.frob.com>
2416
5e9b6af4
RM
2417 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
2418
84f9ea0f
RM
2419 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
2420 containing directory rather than embedding absolute directory names.
2421
ea5ee9f7
RM
2422 * scripts/check-local-headers.sh: Rewritten using awk.
2423 Match by word, not by line. Print error messages for matches.
2424 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
2425
1b74661a
RM
2426 * Makerules [shlib-lds-flags empty]:
2427 ($(common-objpfx)libc_pic.opts): New target.
2428 ($(common-objpfx)libc_pic.os.clean): New target.
2429 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
2430
2431 * config.make.in (OBJCOPY): New variable.
2432 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
2433 * configure: Regenerated.
2434
f781ef40
RM
2435 * config.make.in (use-default-link): New variable.
2436 * configure.in (use_default_link): Grok --with-default-link to set it.
2437 * configure: Regenerated.
2438 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
2439 (shlib-lds, shlib-lds-flags): Define to empty.
2440
2d4fa81e
RM
2441 * Makerules (shlib-lds): New variable.
2442 (shlib-lds-flags): New variable.
2443 (build-shlib, build-moduile, build-module-asneeded): Use it.
2444 ($(common-objpfx)libc.so): Use $(shlib-lds).
2445 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
2446 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
2447
31fffa6b
RM
2448 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
2449 DT_FLAGS/DT_FLAGS_1 with zero flags.
2450
4e34ac6a
RM
2451 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
2452 linker script munging.
2453
fcfc776b
UD
24542011-07-02 Ulrich Drepper <drepper@gmail.com>
2455
2456 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
2457 as 128-bit value.
2458 * crypt/sha512.c (sha512_process_block): Perform total addition using
2459 128-bit if possible.
2460 (__sha512_finish_ctx): Likewise.
2461 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
2462 as 64-bit value.
2463 * crypt/sha256.c (SWAP64): Define.
2464 (sha256_process_block): Perform total addition using 64-bit if
2465 possible.
2466 (__sha256_finish_ctx): Likewise.
2467
99231d9a
UD
24682011-07-01 Ulrich Drepper <drepper@gmail.com>
2469
2470 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
2471 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2472 * nscd/hstcache.c (cache_addhst): Likewise.
2473 * nscd/grpcache.c (cache_addgr): Likewise.
2474 * nscd/aicache.c (addhstaiX): Likewise
2475 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
2476
445b4a53
TK
24772011-07-01 Thorsten Kukuk <kukuk@suse.de>
2478
2479 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
2480 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2481 * nscd/hstcache.c (cache_addhst): Likewise.
2482 * nscd/grpcache.c (cache_addgr): Likewise.
2483 * nscd/aicache.c (addhstaiX): Likewise
2484
6d4d8e8e
AS
24852011-07-01 Andreas Schwab <schwab@redhat.com>
2486
2487 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
2488 domain only when needed.
2489
89f654c5
AS
24902011-06-30 Andreas Schwab <schwab@redhat.com>
2491
2492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
2493 is always restored.
2494
cf3b23ff
UD
24952011-06-29 Ulrich Drepper <drepper@gmail.com>
2496
2497 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
2498 are re-adding the entry.
2499 * nscd/servicescache.c (cache_addserv): Likewise.
2500
751626f9
AJ
25012011-06-30 Aurelien Jarno <aurelien@aurel32.net>
2502
2503 * sysdeps/generic/dl-irel.h: fix protection against multiple
2504 inclusions.
2505 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
2506
9113ea1f
UD
25072011-06-28 Ulrich Drepper <drepper@gmail.com>
2508
5c0b8d90
UD
2509 [BZ #12935]
2510 * malloc/memusage.sh: Fix quoting in message.
2511 * debug/xtrace.sh: Likewise.
2512
9113ea1f
UD
2513 * configure.in: Remove support for --experimental-malloc option, make
2514 it the default.
2515 * config.make.in: Likewise.
2516 * malloc/Makefile: Likewise.
2517
a4172181
AS
25182011-06-27 Andreas Schwab <schwab@redhat.com>
2519
2520 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
2521 two-byte characters.
2522
78a7eee7
RM
25232011-06-27 Roland McGrath <roland@hack.frob.com>
2524
62bede13
RM
2525 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
2526 AC_CACHE_CHECK invocation.
2527 * configure: Regenerated.
2528
78a7eee7
RM
2529 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
2530
5ce33a62
UD
25312011-06-27 Ulrich Drepper <drepper@gmail.com>
2532
034807a9
UD
2533 [BZ #12350]
2534 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
2535 bit from old_res_options.
2536
4902da17
UD
2537 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
2538
5ce33a62
UD
2539 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
2540 value type for setfct.
2541
c2344f56
L
25422011-06-23 H.J. Lu <hongjiu.lu@intel.com>
2543
2544 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
2545 __gettimeofday instead of gettimeofday.
2546
68468076
UD
25472011-06-26 Ulrich Drepper <drepper@gmail.com>
2548
2549 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
2550
acb0d739
L
25512011-06-24 H.J. Lu <hongjiu.lu@intel.com>
2552
2553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
2554
2555 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
2556 info.
2557
8912479f
L
25582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
2559
2560 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2561 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
2562 strcpy-sse2-unaligned strncpy-sse2-unaligned
2563 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
2564 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
2565 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
2566 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
2567 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
2568 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
2569 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
2570 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
2571 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
2572 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
2573 (STRCPY): Support SSE2 and SSSE3 versions.
2574
d5495a11
UD
25752011-06-24 Ulrich Drepper <drepper@gmail.com>
2576
2577 [BZ #12874]
2578 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
2579 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
2580 kernels which artificially limit size of requests.
2581
0b1cbaae
L
25822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
2583
2584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2585 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
2586 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
2587 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
2588 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
2589 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
2590 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
2591 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
2592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
2593 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
2594 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
2595 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
2596 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
2597 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
2598 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
2599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2600 Enable unaligned load optimization for Intel Core i3, i5 and i7
2601 processors.
2602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
2603 Define.
2604 (index_Fast_Unaligned_Load): Define.
2605 (HAS_FAST_UNALIGNED_LOAD): Define.
2606
07f494a0
MP
26072011-06-23 Marek Polacek <mpolacek@redhat.com>
2608
2609 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
2610
fa3fc0fe
UD
26112011-06-22 Ulrich Drepper <drepper@gmail.com>
2612
2613 [BZ #12907]
2614 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
2615 until it is clear that the information is realy needed.
2616 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
2617
e12df166
AS
26182011-06-22 Andreas Schwab <schwab@redhat.com>
2619
2620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
2621
852eb34d
UD
26222011-06-22 Ulrich Drepper <drepper@gmail.com>
2623
84e2a551
UD
2624 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
2625 /sys/devices/system/cpu/online if it is usable.
2626
852eb34d
UD
2627 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
2628 reading the information from the /proc filesystem to once a second.
2629
6e502e19
UD
26302011-06-21 Andreas Jaeger <aj@suse.de>
2631
2632 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
2633 NULL after inclusion of kernel headers.
2634
75d39ff2
UD
26352011-06-21 Ulrich Drepper <drepper@gmail.com>
2636
51f9aa6a
UD
2637 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
2638 calls to internal_setent.
2639
c0244a9d
UD
2640 [BZ #12885]
2641 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
2642 addresses using gethostbyname4_r ignore IPv4 addresses.
2643
c5e3c2ae
UD
2644 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
2645 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
2646
75d39ff2
UD
2647 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
2648
42675c6f
DM
26492011-06-20 David S. Miller <davem@davemloft.net>
2650
2651 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
2652 inclusions.
2653 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
2654
2655 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
2656 (elf_irel): Use it.
2657 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
2658 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
2659 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
2660 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
2661 * sysdeps/x86_64/dl-irel.h: Likewise.
2662
2663 * elf/dl-runtime.c: Use elf_ifunc_invoke.
2664 * elf/dl-sym.c: Likewise.
2665
57912a71
UD
26662011-06-15 Ulrich Drepper <drepper@gmail.com>
2667
2668 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
2669 need to dereference resplen2.
2670
ee22793d
AS
26712011-06-14 Andreas Schwab <schwab@redhat.com>
2672
2673 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
2674
a9e836b0
UD
26752011-06-15 Ulrich Drepper <drepper@gmail.com>
2676
77fb9117
UD
2677 * Makeconfig: Define vardbdir and inst_vardbdir.
2678 * nss/Makefile: Add rules to install db-Makefile.
2679
40c1b22c
UD
2680 * nss/nss_db/db-XXX.c: Cleanup.
2681
9f2da732
UD
2682 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
2683 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
2684 GLIBC_PRIVATE.
2685 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
2686 * nss/makedb.c: Implement -g option to specify that value strings
2687 are generated and should not be added to table iterated over for
2688 get*ent calls.
2689 * nss/nss_db/db-initgroups.c: New file.
2690
82e9a1f7
UD
2691 * nss/getent.c: Add support for initgroups lookups through getgrouplist
2692 interface.
2693
c41af17e
UD
2694 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
2695 (internal_getgrouplist): Adjust to name change.
2696 Update use_initgroups_entry if this is not the first call.
2697 * nss/databases.def: Add initgroups entry.
2698
a9e836b0
UD
2699 * nss/makedb.c (compute_tables): Check result of multiple hash table
2700 sizes to minimize maximum chain length.
2701
2666d441
UD
27022011-06-14 Ulrich Drepper <drepper@gmail.com>
2703
2704 * Versions.def: Add entry for libnss_db.
2705 * shlib-versions: Likewise.
2706 * nss/Makefile: Add rules to build libnss_db.
2707 * nss/Versions: Add libnss_db information. Organize libnss_files
2708 entries better.
2709 * nss/db-Makefile: Add gshadow support. Change rules for the new
2710 makedb progra. Some minor improvements to generate smaller files.
2711 * nss/nss_db/nss_db.h: Move NSS database header data structures to
2712 here from...
2713 * nss/makedb.c: ...here.
2714 Improve database format to be smaller and require less memory at
2715 runtime.
2716 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
2717 db anymore.
2718 * nss/nss_db/db-netgrp.c: Likewise.
2719 * nss/nss_db/db-open.c: Likewise.
2720 * nss/nss_files/flies-XXX.x: Adjust comments.
2721 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
2722 * nss/nss_files/files-grp.c: Likewise.
2723 * nss/nss_files/files-hosts.c: Likewise.
2724 * nss/nss_files/files-network.c: Likewise.
2725 * nss/nss_files/files-proto.c: Likewise.
2726 * nss/nss_files/files-pwd.c: Likewise.
2727 * nss/nss_files/files-rpc.c: Likewise.
2728 * nss/nss_files/files-service.c: Likewise.
2729 * nss/nss_files/files-sgrp.c: Likewise.
2730 * nss/nss_files/files-spwd.c: Likewise.
2731 * nss/nss_db/db-alias.c: Removed.
2732 * nss/nss_db/dummy-db.h: Removed.
2733
9ee76b5a
UD
27342011-06-02 Ulrich Drepper <drepper@gmail.com>
2735
2736 * nss/makedb.c: Rewritten to not use database library.
2737 * nss/Makefile: Update to build new makedb program.
2738
c71ca1f8
AJ
27392011-06-14 Andreas Jaeger <aj@suse.de>
2740
2741 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
2742 memset declaration.
2743
3154bfb8
UD
27442011-06-10 Andreas Schwab <schwab@redhat.com>
2745
2746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
2747 tmpbuf.
2748
b350afab
RM
27492011-06-10 Roland McGrath <roland@hack.frob.com>
2750
decd4e50
RM
2751 * Makerules (shlib.lds): Fail if the linker script comes out empty.
2752 * elf/Makefile ($(objpfx)ld.so): Likewise.
2753
5615eaf2
RM
2754 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
2755 Don't list ld.so twice in dependencies.
2756
2757 * posix/bug-regex31.c: Include <stdlib.h>.
2758
2759 * nscd/hstcache.c (cache_addhst): Remove unused variable.
2760
2761 * nis/nss_compat/compat-spwd.c
2762 (getspent_next_nss_netgr): Remove unused variable.
2763 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2764
2765 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
2766 nonmembers" output to use the right array.
2767
2768 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
2769
2770 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
2771
2772 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
2773 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
2774 * catgets/gencat.c (read_input_file): Likewise.
2775 * locale/programs/locarchive.c (enlarge_archive): Likewise.
2776
2777 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
2778 variable definition inside #if's controlling its use.
2779
2780 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
2781
2782 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
2783
2784 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
2785
2786 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
2787 unreachable code.
2788
2789 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
2790
b68e08db
RM
2791 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
2792 * configure: Regenerated.
2793
b350afab
RM
2794 * Makerules: Revert last change.
2795 * elf/Makefile: Likewise.
2796
28368601
RM
27972011-06-09 Roland McGrath <roland@hack.frob.com>
2798
2799 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
2800 * elf/Makefile ($(objpfx)librtld.os): Likewise.
2801 (reloc-link): Likewise.
2802
11988f8f
UD
28032011-06-09 Ulrich Drepper <drepper@gmail.com>
2804
2805 * elf/Makefile: Add rules to build pldd.
2806 * elf/pldd.c: New file.
2807 * elf/pldd-xx.c: New file.
2808
e80fab37
UD
28092011-06-07 Ulrich Drepper <drepper@gmail.com>
2810
2811 * version.h: Update for 2.15 development version.
2812
9b849836
DM
28132011-06-07 David S. Miller <davem@davemloft.net>
2814
2815 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
2816 ifuncs.
2817 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
2818 elf_machine_lazy_rel): Likewise.
2819 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
2820 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
2821 elf_machine_lazy_rel): Likewise.
2822 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
2823 dl_hwcap via passed in argument.
2824 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
2825 Likewise.
2826
5a31b283
AK
28272011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2828
2829 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
2830
069e52f8
RM
28312011-06-06 Roland McGrath <roland@hack.frob.com>
2832
2833 [BZ #12849]
2834 * manual/fdl-1.1.texi: New file, verbatim from:
2835 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
2836 * manual/lgpl-2.1.texi: New file, verbatim from:
2837 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
2838 * manual/Makefile (licenses): New variable, list those new file names.
2839 (texis): Use it.
2840 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
2841
2842 * manual/fdl.texi: File removed.
2843 * manual/lesser.texi: File removed.
2844 * manual/libc.texinfo (Copying, Documentation License):
2845 Use new @include file names, put @appendix directive before @include.
2846
f16846a5
JJ
28472011-06-04 Jakub Jelinek <jakub@redhat.com>
2848
2849 [BZ #12841]
2850 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
2851 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
2852 (mq_open): Add __NTH.
2853
3d29045b
L
28542011-06-02 H.J. Lu <hongjiu.lu@intel.com>
2855
2856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2857 Assume Intel Core i3/i5/i7 processor if AVX is available.
2858
8c297311
UD
28592011-05-31 Ulrich Drepper <drepper@gmail.com>
2860
2861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2862 typo.
2863
c8fc0c91
UD
28642011-05-31 Andreas Schwab <schwab@redhat.com>
2865
2866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
2867 memory. Use alloca_account. Fix memory leak when retrying.
2868
5b27a807
UD
28692011-05-31 Ulrich Drepper <drepper@gmail.com>
2870
356f8bc6
UD
2871 * version.h (RELEASE): Bump for 2.14 release.
2872 * include/features.h (__GLIBC_MINOR__): Bump to 14.
2873
5b27a807
UD
2874 * config.make.in (RANLIB): Remove entry.
2875
01f16ab0
UD
28762011-05-30 Ulrich Drepper <drepper@gmail.com>
2877
41fce8bd
UD
2878 * po/Makefile (po-sed-cmd): Add ksh to extensions.
2879 (libc.pot): Work around missing support for .ksh extension in xgettext.
2880
4769ae77
UD
2881 [BZ #12684]
2882 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
2883 if both request failed.
2884 (send_dg): In case of server errors clear resplen or *resplen2.
2885
6b1e7d19
UD
2886 [BZ #12454]
2887 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
2888 when there are multiple maps.
2889 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
2890 (_dl_fini): Remove test here.
2891
01f16ab0
UD
2892 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
2893
b1ebd700
UD
28942011-05-29 Ulrich Drepper <drepper@gmail.com>
2895
7ae22829
UD
2896 [BZ #12350]
2897 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
2898 bit from old_res_options.
2899 (gaih_inet): Likewise.
2900
553149f6 2901 [BZ #11099]
18a84741 2902 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
2903 as signed.
2904
652ffab1
UD
2905 * resolv/res_init.c (res_setoptions): Make the code more compact.
2906
16985fd0
UD
2907 [BZ #11558]
2908 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
2909 set RES_USEVC.
2910
0464f746
UD
2911 [BZ #11634]
2912 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
2913
7d17596c
UD
2914 * malloc/malloc.h: Mark malloc hook variables as deprecated.
2915
cf6bbbd7
UD
2916 [BZ #11781]
2917 * malloc/malloc.h: Declare malloc hook variables as volatile.
2918
13f1ab36
UD
2919 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
2920 in last patch.
2921
b1ebd700
UD
2922 [BZ #11799]
2923 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 2924 raise in the comment.
80e2212d
UD
2925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2926 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2927 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 2928
ce67228d
UD
29292011-05-28 Ulrich Drepper <drepper@gmail.com>
2930
8887a920
UD
2931 [BZ #12811]
2932 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
2933 grow the buffers more if it already has to be sufficient.
2934 (build_wcs_upper_buffer): Likewise.
2935 * posix/regexec.c (check_matching): Likewise.
2936 (clean_state_log_if_needed): Likewise.
2937 (extend_buffers): Don't enlarge buffers beyond size of the input
2938 buffer.
2939 Patches mostly by Emil Wojak <emil@wojak.eu>.
2940 * posix/bug-regex32.c: New file.
2941 * posix/Makefile (tests): Add bug-regex32.
2942
4f031072
UD
2943 * locale/findlocale.c (_nl_find_locale): Return right away if
2944 _nl_explode_name failed.
2945 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2946
d0478f0c
UD
2947 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
2948
de81b246
UD
2949 * debug/xtrace.sh: Unify messages.
2950 * malloc/memusage.sh: Likewise.
2951
c738465a
UD
2952 [BZ #12813]
2953 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
2954 time symbol from vDSO. Substitute with vsyscall if not available.
2955 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
2956 __vdso_time.
2957
f1f929d7
UD
2958 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
2959 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
2960 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
2961 Add sendmmsg and internal_sendmmsg.
2962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
2963 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
2964 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
2965
ce67228d
UD
2966 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
2967 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
2968 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
2969
e57420c6
UD
29702011-05-27 Ulrich Drepper <drepper@gmail.com>
2971
a8509ca5
UD
2972 [BZ #12813]
2973 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
2974 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
2975 available.
2976 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
2977 __vdso_getcpu.
2978
e57420c6
UD
2979 [BZ #12814]
2980 * iconvdata/Makefile (tests): Add bug-iconv9.
2981 * iconvdata/bug-iconv9.c: New file.
2982
4d07db15
AS
29832011-05-27 Andreas Schwab <schwab@redhat.com>
2984
2985 [BZ #12814]
2986 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
2987
ea486f69
JJ
29882011-05-25 Jakub Jelinek <jakub@redhat.com>
2989
2990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
2991 (struct user_regs_struct): Change intcs field back to cs.
2992
6f038433
UD
29932011-05-25 Ulrich Drepper <drepper@gmail.com>
2994
2995 * po/ja.po: Update from translation team.
2996
67f86a25
UD
29972011-05-23 Ulrich Drepper <drepper@gmail.com>
2998
2999 [BZ #12795]
3000 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
3001 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
3002
def7fbd6
AS
30032011-05-20 Andreas Schwab <schwab@redhat.com>
3004
3005 * stdlib/longlong.h: Update from GCC.
3006
f50ef8f1
AS
30072011-05-23 Andreas Schwab <schwab@redhat.com>
3008
3009 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
3010 parameter name.
3011 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
3012 Add parameter name.
3013 (__sysconf): Pass it down.
3014
de7ce8f1
UD
30152011-05-22 Ulrich Drepper <drepper@gmail.com>
3016
f2962a71
UD
3017 [BZ #12671]
3018 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
3019 some situations.
3020 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3021 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
3022 add in in __libc_use_alloca calls. Adjust callers.
3023 (glob): Use malloc in some situations.
3024
de7ce8f1
UD
3025 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
3026 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
3027 pltexit.
3028
aec84f53
UD
30292011-05-21 Ulrich Drepper <drepper@gmail.com>
3030
05bb4a68
UD
3031 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
3032 and CLOCK_BOOTTIME_ALARM.
3033
7ea72f99
UD
3034 [BZ #12782]
3035 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
3036 is returned.
3037
7e4afad5
UD
3038 * string/_strerror.c (__strerror_r): Print negative errors as signed
3039 numbers.
3040
8e211fec
UD
3041 [BZ #12777]
3042 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
3043 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
3044 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
3045
f7d82dc9
UD
3046 * configure.in: Fix typo in redirection and correct removal of test
3047 files in two cases.
3048
cc9e536d
UD
3049 [BZ #12788]
3050 * locale/setlocale.c (new_composite_name): Fix test to check for
3051 identical name of all categories.
3052
aec84f53
UD
3053 [BZ #12792]
3054 * libio/filedoalloc.c (local_isatty): New function.
3055 (_IO_file_doallocate): Use local_isatty.
3056 * stdio-common/perror.c (perror): In case a new stream is used
3057 forward the stream error.
3058 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
3059 error flag.
3060
78e64fdc
RT
30612011-05-20 Ulrich Drepper <drepper@gmail.com>
3062
34a9094f
UD
3063 [BZ #11869]
3064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
3065 alloca.
3066 * include/alloca.h (extend_alloca_account): Define.
3067
78e64fdc
RT
3068 [BZ #11857]
3069 * posix/regex.h: Fix comments with documentation of user-accessible
3070 fields after compilation and describe correct free'ing of pattern
3071 after re_compile_pattern.
3072 Patch by Reuben Thomas <rrt@sc3d.org>.
3073
457bddfc
RA
30742011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
3075
3076 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
3077 and -mno-altivec to prevent the compiler from using Altivec and/or
3078 VSX instructions when the corresponding registers are not available.
3079
a4527b51
AS
30802011-05-19 Andreas Schwab <schwab@redhat.com>
3081
3082 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
3083
ed690b2f
UD
30842011-05-19 Ulrich Drepper <drepper@gmail.com>
3085
3086 * libio/freopen.c (freopen): Use __dup2, not dup2.
3087 * libio/freopen64.c (freopen64): Likewise.
3088
8db73634
L
30892011-05-17 H.J. Lu <hongjiu.lu@intel.com>
3090
3091 [BZ #12775]
3092 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
3093 * math/Makefile (tests): Add test-powl.
3094 (CFLAGS-test-powl.c): Define.
3095 * math/test-powl.c: New file.
3096
0a197a9d
L
30972011-05-16 H.J. Lu <hongjiu.lu@intel.com>
3098
3099 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
3100
ee30c380
UD
31012011-05-17 Ulrich Drepper <drepper@gmail.com>
3102
3103 [BZ #11837]
3104 * iconvdata/gb18030.c: Update to GB18020-2005.
3105
6ce75379
UD
31062011-05-16 Ulrich Drepper <drepper@gmail.com>
3107
a4b89fd8
AR
3108 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
3109 RE_SYNTAX_POSIX_AWK): Update to match recent development.
3110 Patch by Aharon Robbins <arnold@skeeve.com>.
3111
ea389b12
UD
3112 [BZ #11892]
3113 * stdlib/putenv.c (putenv): Don't always create copy of the variable
3114 on the stack.
3115
68a3f91f
UD
3116 [BZ #11895]
3117 * misc/pselect.c (__pselect): Handle timeout value errors hidden
3118 through underflows.
3119
15cc7dd1
UD
3120 [BZ #12766]
3121 * misc/error.c (error_at_line): Ensure file_name and old_file_name
3122 point to strings before performing equality test for error_one_per_line
3123 mode.
3124
f3799213
UD
3125 [BZ #11697]
3126 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
3127
d79a9c94
UD
3128 [BZ #11820]
3129 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
3130 (struct user_fpregs_struct): Avoid __uint*_t types.
3131
56e5eb46
UD
3132 [BZ #6420]
3133 * malloc/mtrace.c (tr_where): Add additional parameter to point to
3134 symbol info. Use it instead of calling _dl_addr locally.
3135 (lock_and_info): New function.
3136 (tr_freehook): Call lock_and_info and pass symbol info as additional
3137 parameter to tr_where.
3138 (tr_mallochook): Likewise.
3139 (tr_reallochook): Likewise.
3140 (tr_memalignhook): Likewise.
3141
6ce75379
UD
3142 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
3143 used and couldn't be at all thread-safe.
3144
f8a3b5bf
UD
31452011-05-15 Ulrich Drepper <drepper@gmail.com>
3146
94b7cc37
UD
3147 * libio/freopen.c (freopen): Don't close old file descriptor
3148 before the new one is opened. Instead dup the new file descriptor
3149 to the old one after the new stream is created.
3150 * libio/freopen64.c (freopen64): Likewise.
3151 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
3152 * libio/fileops.c (_IO_new_file_close_it): Handle new
3153 _IO_FLAGS2_NOCLOSE flag.
3154 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
3155 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
3156 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
3157 _IO_FLAGS2_NOCLOSE flag.
3158 * include/unistd.h: Add hidden_proto for dup3.
3159 Define __have_dup3.
3160 * io/dup3.c: Define hidden symbol.
3161 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
3162
bd25564e
UD
3163 [BZ #7101]
3164 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
3165 when an incomplete long option is used.
3166 * posix/tst-getopt_long1.c: New file.
3167 * posix/Makefile (tests): Add tst-getopt_long1.
3168
c84cfef4
UD
3169 [BZ #10138]
3170 * scripts/config.guess: Update from autoconf-2.68.
3171 * scripts/config.sub: Likewise.
3172
3b85df27
UD
3173 [BZ #10157]
3174 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
3175 tests into ...
3176 (has_cpuclock): ...this. New function.
3177 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
3178 macro here based on has_cpuclock code.
3179
15a856b1
UD
3180 [BZ #10149]
3181 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3182 First byte (not low byte) is now always NUL.
3183 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
3184
05f399e6
UD
3185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3186 Use non-cancelable interfaces.
3187
10a52685 3188 [BZ #9809]
94ecc67d
UD
3189 * locale/iso-639.def: Add entry for Sorani.
3190
f8a3b5bf
UD
3191 [BZ #11901]
3192 * include/stdlib.h: Move include protection to the right place.
3193 Define abort_msg_s. Declare __abort_msg with it.
3194 * stdlib/abort.c (__abort_msg): Adjust type.
3195 * assert/assert.c (__assert_fail_base): New function. Majority
3196 of code from __assert_fail. Allocate memory for __abort_msg with
3197 mmap.
3198 (__assert_fail): Now call __assert_fail_base.
3199 * assert/assert-perr.c: Remove bulk of implementation. Use
3200 __assert_fail_base.
3201 * include/assert.hL Declare __assert_fail_base.
3202 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
3203 mmap.
3204 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
3205
1af4e298
UD
32062011-05-14 Ulrich Drepper <drepper@gmail.com>
3207
f8a3b5bf 3208 [BZ #11952]
d26dfc60
MG
3209 [BZ #12453]
3210 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
3211 until all modules are registered in the DTV.
3212 * elf/Makefile: Add rules to build and run tst-tls19.
3213 * elf/tst-tls19.c: New file.
3214 * elf/tst-tls19mod1.c: New file.
3215 * elf/tst-tls19mod2.c: New file.
3216 * elf/tst-tls19mod3.c: New file.
3217 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
3218
2fc54d6f
UD
3219 [BZ #12083]
3220 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
3221 correctly.
3222
98d76b46
UD
3223 [BZ #12601]
3224 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
3225 two-byte sequence errors.
3226 * iconvdata/Makefile (tests): Add bug-iconv8.
3227 * iconvdata/bug-iconv8.c: New file.
3228
da3c19ef
UD
3229 [BZ #12626]
3230 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
3231 buf2 definition.
3232
ca408c15
UD
3233 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
3234
d6f67f7d
UD
3235 [BZ #12432]
3236 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
3237 (dummy_getcfa): New function.
3238 (init): Get _Unwind_GetCFA address, use dummy if not found.
3239 (backtrace_helper): In recursion check, also check whether CFA changes.
3240 (__backtrace): Completely initialize arg.
3241
1af4e298 3242 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
3243 storing incomplete byte sequence in state object. Avoid testing for
3244 guaranteed too small input if we know there is enough data available.
1af4e298 3245
da62f81b
AS
32462011-05-11 Andreas Schwab <schwab@redhat.com>
3247
3248 * Makeconfig (+link-pie): Indent.
3249 * Rules (binaries-pie): Define if $(have-fpie) and
3250 $(build-shared).
3251 (binaries-shared): Also filter out $(binaries-pie).
3252 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
3253 * nscd/Makefile (others-pie): Add nscd.
3254 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
3255 ($(objpfx)nscd): Remove command override.
3256 * login/Makefile (others-pie): Add pt_chown.
3257 ($(objpfx)pt_chown): Remove command override.
3258 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
3259 remove command overrides.
3260
fcabc0f8
UD
32612011-05-13 Ulrich Drepper <drepper@gmail.com>
3262
20030ae6
UD
3263 * libio/tst_putwc.c: Fix error messages.
3264
fcabc0f8
UD
3265 [BZ #12724]
3266 * libio/fileops.c (_IO_new_file_close_it): Always flush when
3267 currently writing and seek to current position when not.
3268 * libio/Makefile (tests): Add bug-fclose1.
3269 * libio/bug-fclose1.c: New file.
3270
320a5dc0
PB
32712011-05-12 Ulrich Drepper <drepper@gmail.com>
3272
3273 [BZ #12511]
3274 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
3275 don't set DF_1_NODELETE here.
3276 (do_lookup_x): When entering new entry test for copy relocation
3277 and if necessary set DF_1_NODELETE flag.
3278 * elf/tst-unique4.cc: New file.
3279 * elf/tst-unique4.h: New file.
3280 * elf/tst-unique4lib.cc: New file.
3281 * elf/Makefile: Add rules to build and run tst-unique4.
3282 Patch by Piotr Bury <pbury@goahead.com>.
3283
22836f52
UD
32842011-05-11 Ulrich Drepper <drepper@gmail.com>
3285
f574184a
UD
3286 [BZ #12052]
3287 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
3288
e1fb097f
UD
3289 [BZ #12625]
3290 * misc/mntent_r.c (addmntent): Flush the stream after the output
3291
22836f52
UD
3292 [BZ #12393]
3293 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
3294 (is_trusted_path_normalize): Skip initial colon. Append slash
3295 to empty buffer. Duplicate is_trusted_path code but allow
3296 constructed patch to be prefix.
3297 (is_dst): Allow $ORIGIN followed by /.
3298 (_dl_dst_substitute): Correct clearing of check_for_trusted.
3299 Correct testing of result of is_trusted_path_normalize
3300 (decompose_rpath): Fix warning.
3301
7b3b0b2a
UD
33022011-05-10 Ulrich Drepper <drepper@gmail.com>
3303
3304 [BZ #11257]
3305 * grp/initgroups.c (internal_getgrouplist): When we found the service
3306 list through the initgroups entry in nsswitch.conf do not always
3307 continue on a successful lookup. Don't always use the
eac80ce2 3308 __nss_group_database value if it is set.
7b3b0b2a
UD
3309 * nss/nsswitch.conf (initgroups): Change action for successful db
3310 lookup to continue for compatibility.
3311
2a81eaa5
UD
33122011-05-09 Ulrich Drepper <drepper@gmail.com>
3313
be97a69e
UD
3314 [BZ #11532]
3315 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
3316 and CP774 modules.
3317 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
3318 and CP774 modules.
3319 * iconvdata/tst-tables.sh: Likewise.
3320 * iconvdata/cp770.c: New file.
3321 * iconvdata/cp771.c: New file.
3322 * iconvdata/cp772.c: New file.
3323 * iconvdata/cp773.c: New file.
3324 * iconvdata/cp774.c: New file.
3325 * iconvdata/testdata/CP770: New file.
3326 * iconvdata/testdata/CP770..UTF8: New file.
3327 * iconvdata/testdata/CP771: New file.
3328 * iconvdata/testdata/CP771..UTF8: New file.
3329 * iconvdata/testdata/CP772: New file.
3330 * iconvdata/testdata/CP772..UTF8: New file.
3331 * iconvdata/testdata/CP773: New file.
3332 * iconvdata/testdata/CP773..UTF8: New file.
3333 * iconvdata/testdata/CP774: New file.
3334 * iconvdata/testdata/CP774..UTF8: New file.
3335
3336 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
3337 END CHARMAP line.
3338 * iconvdata/gen-8bit-gap.sh: Likewise.
3339 * iconvdata/gen-8bit.sh: Likewise.
3340
c1e9e399
UD
3341 * locale/iso-639.def: Add ary entry.
3342
24c55fb3 3343 [BZ #11258]
96b4b1b0
UD
3344 * locale/C-translit.h.in: Add U20A1 transliteration.
3345
bdc2f971
KB
3346 [BZ #12178]
3347 * locale/iso-639.def: Add wae entry.
3348 Patch by Kevin Bortis <bortis@translate-wae.ch>.
3349
2952b117
UD
3350 [BZ #12545]
3351 * locale/programs/localedef.c (construct_output_path): Use ssize_t
3352 for n.
3353
2a81eaa5
UD
3354 [BZ #12711]
3355 * locale/C-translit.h.in: Add entry for U20B9.
3356 Patch by pravin.d.s@gmail.com.
3357
28377d1b
UD
33582011-05-08 Ulrich Drepper <drepper@gmail.com>
3359
7fb90fb8
UD
3360 [BZ #12713]
3361 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
3362 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
3363 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
3364 in rtld. Use *stat64.
7fb90fb8 3365 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 3366 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 3367 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
3368 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
3369 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
3370 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
3371 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
3372 __fstatat64 macros.
7fb90fb8
UD
3373 * include/dirent.h: Add libc_hidden_proto for rewinddir.
3374 * dirent/rewinddir.c: Add libc_hidden_def.
3375 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 3376 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 3377
28377d1b
UD
3378 * include/dirent.h (__alloc_dir): Add flags parameter.
3379 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
3380 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
3381 __alloc_dir.
3382 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
3383 from fdopendir if O_CLOEXEC is already set.
3384
66bdbaa4
AM
33852011-03-15 Alan Modra <amodra@gmail.com>
3386
3387 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
3388 l_tls_firstbyte_offset non-zero. Save padding offset in
3389 l_tls_firstbyte_offset for later use.
3390 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
3391 freeing static tls block.
3392
95721191
JN
33932011-03-05 Jonathan Nieder <jrnieder@gmail.com>
3394
3395 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
3396 where #ifdef was intended. The intent is to prevent ARG_MAX from
3397 being defined by the kernel headers.
3398
f87dfb1f
UD
33992011-05-07 Ulrich Drepper <drepper@gmail.com>
3400
3401 [BZ #12734]
3402 * resolv/resolv.h: Define RES_NOTLDQUERY.
3403 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
3404 no-tld-query and set RES_NOTLDQUERY.
3405 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
3406 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
3407 modern BIND to search name as TLD unless forbidden.
3408
47c3cd7a
UD
34092011-05-07 Petr Baudis <pasky@suse.cz>
3410 Ulrich Drepper <drepper@gmail.com>
3411
3412 [BZ #12393]
3413 * elf/dl-load.c (fillin_rpath): Move trusted path check...
3414 (is_trusted_path): ...to here.
c1e9ea35 3415 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 3416 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 3417 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 3418
8a35c912
PP
34192011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3420
3421 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
3422 __BEGIN/__END_DECLS.
3423
acd41f47
UD
34242011-05-06 Ulrich Drepper <drepper@gmail.com>
3425
3426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
3427 NSS_STATUS_NOTFOUND if no record was found.
3428
597df647
AS
34292011-05-05 Andreas Schwab <schwab@redhat.com>
3430
3431 * sunrpc/Makefile (headers): Add rpc/netdb.h.
3432 (headers-not-in-tirpc): Remove rpc/netdb.h
3433 * resolv/netdb.h: Revert last change.
3434
b9af1301
PP
34352011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3436
3437 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
3438 circular dependency between libgcc.a and libc.a.
3439
4e34d5f5
AS
34402011-05-05 Andreas Schwab <schwab@redhat.com>
3441
3442 * resolv/netdb.h: Don't include <rpc/netdb.h>.
3443 * nis/Makefile: Don't install rpcsvc/*.
3444 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
3445 instead of <rpc/types.h>.
3446 (MAXHOSTNAMELEN): Define.
3447
00ee369c
AS
34482011-05-03 Andreas Schwab <schwab@redhat.com>
3449
3450 * elf/ldconfig.c (add_dir): Don't crash on empty path.
3451
0b592a30
MB
34522011-04-28 Maciej Babinski <mbabinski@google.com>
3453
3454 [BZ #12714]
3455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
3456 gethostbyname4_r when IPv6 results are possible.
3457
6e04cbbe
UD
34582011-05-02 Ulrich Drepper <drepper@gmail.com>
3459
3460 [BZ #12723]
3461 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
3462 _PC_PIPE_BUF handling.
3463
e4ecafe0
BH
34642011-04-30 Bruno Haible <bruno@clisp.org>
3465
3466 [BZ #12717]
3467 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
3468 * resolv/netdb.h (getnameinfo): Change type of flags parameter
3469 to 'int'.
3470 * inet/getnameinfo.c (getnameinfo): Likewise.
3471
125ee683
UD
34722011-04-29 Ulrich Drepper <drepper@gmail.com>
3473
3474 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
3475 to groups setting in database lookup.
3476 * nss/nsswitch.conf: Add initgroups entry.
3477
b722481a
EB
34782011-04-22 Ulrich Drepper <drepper@gmail.com>
3479
3480 [BZ #12685]
3481 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
3482 mode string.
3483 Patch by Eric Blake <eblake@redhat.com>.
3484
4df46dbd
L
34852011-04-20 H.J. Lu <hongjiu.lu@intel.com>
3486
3487 * sunrpc/Makefile (need-export-routines): Add svc_run.
3488 (routines): Remove svc_run.
3489 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
3490 * sunrpc/clnt_perr.c (clnt_perrno): Export.
3491 * sunrpc/svc_run.c (svc_run): Likewise.
3492 * sunrpc/svc_udp.c (svcudp_create): Likewise.
3493
e84142d2
UD
34942011-04-21 Ulrich Drepper <drepper@gmail.com>
3495
3496 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
3497 problem in reallocation in last patch.
3498
877175d8
UD
34992011-04-20 Ulrich Drepper <drepper@gmail.com>
3500
3501 * sunrpc/Makefile: Move inclusion of Rules.
3502
ab8eed78
UD
35032011-04-19 Ulrich Drepper <drepper@gmail.com>
3504
3505 * nss/nss_files/files-initgroups.c: New file.
3506 * nss/Makefile (libnss_files-routines): Add files-initgroups.
3507 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
3508 _nss_files_initgroups_dyn.
3509
e3d8f584
RS
35102011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
3511
3512 * elf/elf.h (R_ARM_IRELATIVE): Define.
3513
af190f45
UD
35142011-04-19 Ulrich Drepper <drepper@gmail.com>
3515
3516 * po/ru.po: Update from translation team.
3517
53cf59ef
UD
35182011-04-17 Ulrich Drepper <drepper@gmail.com>
3519
3520 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
3521 dependencies.
3522
4c559bcd
MF
35232011-02-06 Mike Frysinger <vapier@gentoo.org>
3524
3525 [BZ #12653]
3526 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
3527 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
3528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3530 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3531
4420675c
AS
35322011-03-28 Andreas Schwab <schwab@linux-m68k.org>
3533
3534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
3535 differing bytes.
3536 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3537 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3538 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3539
75ea32ab
UD
35402011-04-17 Ulrich Drepper <drepper@gmail.com>
3541
3542 [BZ #12420]
3543 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
3544 storing it.
3545 * stdlib/bug-getcontext.c: New file.
3546 * stdlib/Makefile: Add rules to build and run bug-getcontext.
3547
27390476
AK
35482011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3549
3550 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
3551 instructions into .machine "z9-109".
3552 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3553 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3554
10442705
AK
35552011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3556
3557 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
3558 between environment variables and auxiliary vector.
3559
7b57bfe5
UD
35602011-04-16 Ulrich Drepper <drepper@gmail.com>
3561
3562 * Makefile: Add rules to build linkobj/libc.so.
3563 * include/libc-symbols.h: Define libc_hidden_nolink.
3564 * include/rpc/auth.h: Mark functions which are to be hidden.
3565 * include/rpc/auth_des.h: Likewise.
3566 * include/rpc/auth_unix.h: Likewise.
3567 * include/rpc/clnt.h: Likewise.
3568 * include/rpc/des_crypt.h: Likewise.
3569 * include/rpc/key_prot.h: Likewise.
3570 * include/rpc/pmap_clnt.h: Likewise.
3571 * include/rpc/pmap_prot.h: Likewise.
3572 * include/rpc/pmap_rmt.h: Likewise.
3573 * include/rpc/rpc_msg.h: Likewise.
3574 * include/rpc/svc.h: Likewise.
3575 * include/rpc/svc_auth.h: Likewise.
3576 * include/rpc/xdr.h: Likewise.
3577 * nis/Makefile: Link all DSOs against linkobj/libc.so.
3578 * nss/Makefile: Likewise.
3579 * sunrpc/Makefile: Don't install headers. Build library with normal
3580 entry points. Don't build rpcinfo. Link RPC tests appropriately.
3581 * sunrpc/auth_des.c: Hide exported symbols by default, export some
3582 for the compat linking library. Remove use of INTDEF/INTUSE.
3583 * sunrpc/auth_none.c: Likewise.
3584 * sunrpc/auth_unix.c: Likewise.
3585 * sunrpc/authdes_prot.c: Likewise.
3586 * sunrpc/authuxprot.c: Likewise.
3587 * sunrpc/clnt_gen.c: Likewise.
3588 * sunrpc/clnt_perr.c: Likewise.
3589 * sunrpc/clnt_raw.c: Likewise.
3590 * sunrpc/clnt_simp.c: Likewise.
3591 * sunrpc/clnt_tcp.c: Likewise.
3592 * sunrpc/clnt_udp.c: Likewise.
3593 * sunrpc/clnt_unix.c: Likewise.
3594 * sunrpc/des_crypt.c: Likewise.
3595 * sunrpc/des_soft.c: Likewise.
3596 * sunrpc/get_myaddr.c: Likewise.
3597 * sunrpc/key_call.c: Likewise.
3598 * sunrpc/key_prot.c: Likewise.
3599 * sunrpc/netname.c: Likewise.
3600 * sunrpc/pm_getmaps.c: Likewise.
3601 * sunrpc/pm_getport.c: Likewise.
3602 * sunrpc/pmap_clnt.c: Likewise.
3603 * sunrpc/pmap_prot.c: Likewise.
3604 * sunrpc/pmap_prot2.c: Likewise.
3605 * sunrpc/pmap_rmt.c: Likewise.
3606 * sunrpc/publickey.c: Likewise.
3607 * sunrpc/rpc_cmsg.c: Likewise.
3608 * sunrpc/rpc_common.c: Likewise.
3609 * sunrpc/rpc_dtable.c: Likewise.
3610 * sunrpc/rpc_prot.c: Likewise.
3611 * sunrpc/rpc_thread.c: Likewise.
3612 * sunrpc/rtime.c: Likewise.
3613 * sunrpc/svc.c: Likewise.
3614 * sunrpc/svc_auth.c: Likewise.
3615 * sunrpc/svc_authux.c: Likewise.
3616 * sunrpc/svc_raw.c: Likewise.
3617 * sunrpc/svc_run.c: Likewise.
3618 * sunrpc/svc_simple.c: Likewise.
3619 * sunrpc/svc_tcp.c: Likewise.
3620 * sunrpc/svc_udp.c: Likewise.
3621 * sunrpc/svc_unix.c: Likewise.
3622 * sunrpc/svcauth_des.c: Likewise.
3623 * sunrpc/xcrypt.c: Likewise.
3624 * sunrpc/xdr.c: Likewise.
3625 * sunrpc/xdr_array.c: Likewise.
3626 * sunrpc/xdr_float.c: Likewise.
3627 * sunrpc/xdr_intXX_t.c: Likewise.
3628 * sunrpc/xdr_mem.c: Likewise.
3629 * sunrpc/xdr_rec.c: Likewise.
3630 * sunrpc/xdr_ref.c: Likewise.
3631 * sunrpc/xdr_sizeof.c: Likewise.
3632 * sunrpc/xdr_stdio.c: Likewise.
3633
e6c61494
UD
36342011-04-10 Ulrich Drepper <drepper@gmail.com>
3635
3636 [BZ #12650]
3637 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
3638 * sysdeps/ia64/dl-tls.h: Likewise.
3639 * sysdeps/powerpc/dl-tls.h: Likewise.
3640 * sysdeps/s390/dl-tls.h: Likewise.
3641 * sysdeps/sh/dl-tls.h: Likewise.
3642 * sysdeps/sparc/dl-tls.h: Likewise.
3643 * sysdeps/x86_64/dl-tls.h: Likewise.
3644 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
3645
34fe483e
AS
36462011-03-14 Andreas Schwab <schwab@redhat.com>
3647
3648 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
3649 rpath element also skip the following colon.
3650 (expand_dynamic_string_token): Add is_path parameter and pass
3651 down to DL_DST_REQUIRED and _dl_dst_substitute.
3652 (decompose_rpath): Call expand_dynamic_string_token with
3653 non-zero is_path. Ignore empty rpaths.
3654 (_dl_map_object_from_fd): Call expand_dynamic_string_token
3655 with zero is_path.
3656
f12a32e6
AS
36572011-04-08 Andreas Schwab <schwab@linux-m68k.org>
3658
3659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3660 Make cancelable.
3661
38a7d692
UD
36622011-04-09 Ulrich Drepper <drepper@gmail.com>
3663
3664 [BZ #12655]
3665 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
3666 Patch by Filipe David Manana <fdmanana@apache.org>.
3667
e451d22b
AS
36682011-04-07 Andreas Schwab <schwab@redhat.com>
3669
3670 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
3671 Maintain aligned stack.
3672 (CHECK_RSP): Remove unused macro.
3673
dedc7c7b
UD
36742011-04-03 Ulrich Drepper <drepper@gmail.com>
3675
3676 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
3677 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
3678
94521213
UD
36792011-04-02 Ulrich Drepper <drepper@gmail.com>
3680
3681 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
3682
8cb700c0 3683 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 3684
0354e355
L
36852011-03-26 H.J. Lu <hongjiu.lu@intel.com>
3686
3687 [BZ #12518]
3688 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
3689 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
3690 * sysdeps/x86_64/memmove.c: New file.
3691 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
3692 (memcpy): Renamed to ...
3693 (__new_memcpy): This.
3694 (memcpy): Provide GLIBC_2_14 memcpy.
3695 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
3696 (memcpy): Provide GLIBC_2_2_5 memcpy.
3697
8593482f
UD
36982011-04-01 Ulrich Drepper <drepper@gmail.com>
3699
3700 [BZ #12631]
3701 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
3702
81a5726b
AS
37032011-03-30 Andreas Schwab <schwab@redhat.com>
3704
3705 * misc/syncfs.c: New file.
3706 * misc/Makefile (routines): Add syncfs.
3707 * posix/unistd.h: Declare syncfs.
3708 * sysdeps/unix/syscalls.list: Add syncfs.
3709
00e5419f
AS
37102011-04-01 Andreas Schwab <schwab@redhat.com>
3711
3712 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
3713 open_by_handle_at.
3714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3716 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3719 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3721
748876bf
UD
37222011-04-01 Ulrich Drepper <drepper@gmail.com>
3723
658e451d
UD
3724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
3725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3726 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
3727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3728 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3731
748876bf
UD
3732 * io/Makefile: Compile fallocate.c, fallocate64.c, and
3733 sync_file_range.c with -fexceptions.
3734 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
3735 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
3736 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3737 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3738 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3739 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3740 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
3741 sync_file_range as cancellation point
3742 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
3743 now a wrapper around __call_sync_file_range with cancellation handling.
3744 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
3745 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
3746 function name to __call_sync_file_range.
3747 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
3748 Add call_sync_file_range.
748876bf 3749
6e63d5e1
AS
37502011-04-01 Andreas Schwab <schwab@redhat.com>
3751
3752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 3753 bits/timex.h.
6e63d5e1 3754
46998f74
UD
37552011-04-01 Ulrich Drepper <drepper@gmail.com>
3756
4c1423ed
UD
3757 * iconv/iconv.h: Fix typo in comment.
3758 * io/fcntl.h: Likewise.
3759 * libio/stdio.h: Likewise.
3760 * posix/spawn.h: Likewise.
3761 * posix/unistd.h: Likewise.
3762 * stdlib/stdlib.h: Likewise.
3763 * time/time.h: Likewise.
3764 * wcsmbs/wchar.h: Likewise.
3765
158648c0
UD
3766 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
3767 open_by_handle): Add.
3768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
3769 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
3770 Augment a few comments.
3771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3772 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3773 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3776 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
3777 open_by_handle.
3778
46998f74
UD
3779 * io/fcntl.h (AT_EMPTY_PATH): Define.
3780
83fe108b
UD
37812011-03-30 Ulrich Drepper <drepper@gmail.com>
3782
3783 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
3784 * sysdeps/unix/sysv/linux/bits/time.h: New file.
3785 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
3786 to...
3787 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
3788 * Versions.def: Add GLIBC_2.14.
3789 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
3790 Export.
83fe108b 3791
bb242059
UD
37922011-03-22 Ulrich Drepper <drepper@gmail.com>
3793
3794 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
3795 round counter.
3796 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
3797
c97a1282
L
37982011-03-20 H.J. Lu <hongjiu.lu@intel.com>
3799
3800 [BZ #12597]
3801 * string/test-strncmp.c (do_page_test): New function.
3802 (check2): Likewise.
3803 (test_main): Call check2.
3804 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
3805
2a115601
UD
38062011-03-20 Ulrich Drepper <drepper@gmail.com>
3807
3808 [BZ #12587]
3809 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
3810 Handle cache information in CPU leaf 4.
3811 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
3812
8126d904
UD
38132011-03-18 Ulrich Drepper <drepper@gmail.com>
3814
042c49c6 3815 [BZ #12583]
8126d904
UD
3816 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
3817 character representation.
3818 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
3819
ccfe366e
RA
38202011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
3821
3822 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
3823 END(__isnan) to END(__isnanf) to match function entry point/label
3824 EALIGN(__isnanf,...).
3825
c6e13027
JJ
38262011-03-10 Jakub Jelinek <jakub@redhat.com>
3827
3828 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
3829
33f85a3f
UD
38302011-03-10 Ulrich Drepper <drepper@gmail.com>
3831
028478fa
UD
3832 [BZ #12510]
3833 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
3834 copy from the symbol referenced in the relocation to initialize the
3835 used variable.
3836 Patch by Piotr Bury <pbury@goahead.com>.
3837 * elf/Makefile: Add rules to build and tst-unique3.
3838 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
3839 * elf/tst-unique3.cc: New file.
3840 * elf/tst-unique3.h: New file.
3841 * elf/tst-unique3lib.cc: New file.
3842 * elf/tst-unique3lib2.cc: New file.
3843
33f85a3f
UD
3844 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
3845
03592fc7
MF
38462011-03-10 Mike Frysinger <vapier@gentoo.org>
3847
3848 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
3849 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
3850 to _start.
03592fc7 3851
6a5ee102
UD
38522011-03-06 Ulrich Drepper <drepper@gmail.com>
3853
3854 * elf/dl-load.c (_dl_map_object): If we are looking for the first
3855 to-be-loaded object along a path to loader is ld.so.
3856
7e4ba49c
HJ
38572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
3858 Ulrich Drepper <drepper@gmail.com>
3859
3860 * sysdeps/x86_64/memset.S: After aligning destination, code
3861 branches to different locations depending on the value of
3862 misalignment, when multiarch is enabled. Fix this.
3863
38642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
3865
3866 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
3867 Set _x86_64_preferred_memory_instruction for AMD processsors.
3868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3869 Set bit_Prefer_SSE_for_memop for AMD processors.
3870
13a804de
UD
38712011-03-04 Ulrich Drepper <drepper@gmail.com>
3872
3873 * libio/fmemopen.c (fmemopen): Optimize a bit.
3874
9d25c392
AS
38752011-03-03 Andreas Schwab <schwab@redhat.com>
3876
3877 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
3878
a5543c6a
RM
38792011-03-03 Roland McGrath <roland@redhat.com>
3880
3881 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
3882
012d35f7
DM
38832011-02-28 Aurelien Jarno <aurelien@aurel32.net>
3884
7e4ba49c 3885 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
3886 __bzero_ultra1 instead of __memset_ultra1.
3887
4bff6e01
AS
38882011-02-23 Andreas Schwab <schwab@redhat.com>
3889 Ulrich Drepper <drepper@gmail.com>
3890
3891 [BZ #12509]
3892 * include/link.h (struct link_map): Add l_orig_initfini.
3893 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
3894 returning unsuccessfully.
3895 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
3896 close of a file loaded at startup, restore the original l_initfini
3897 list.
3898 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
3899 list, store the pointer.
3900 * elf/Makefile ($(objpfx)noload-mem): New rule.
3901 (noload-ENV): Define.
3902 (tests): Add $(objpfx)noload-mem.
3903 * elf/noload.c: Include <memcheck.h>.
3904 (main): Call mtrace. Close all opened handles.
3905
f2092faf
AS
39062011-02-17 Andreas Schwab <schwab@redhat.com>
3907
3908 [BZ #12454]
3909 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
3910 dependencies are missing.
3911
6c8a2e88
ST
39122011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3913
f2092faf 3914 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
3915 Hurd needs munmap.
3916 * sysdeps/mach/hurd/ifreq.h: New file.
3917
84a42118
PB
39182011-01-27 Petr Baudis <pasky@suse.cz>
3919 Ulrich Drepper <drepper@gmail.com>
3920
071f805e 3921 [BZ 12445]#
84a42118
PB
3922 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
3923 to extend_alloca().
3924 * stdio-common/bug23.c: New file.
3925 * stdio-common/Makefile (tests): Add bug23.
3926
e23fe25b
AS
39272010-09-28 Andreas Schwab <schwab@redhat.com>
3928 Ulrich Drepper <drepper@gmail.com>
3929
3930 [BZ #12489]
3931 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
3932 before performing relro protection. At old place add assertion
3933 to make sure nothing changed.
3934
d3f02e10
NS
39352011-02-17 Nathan Sidwell <nathan@codesourcery.com>
3936 Glauber de Oliveira Costa <glommer@gmail.com>
3937
3938 * elf/elf.h: Add new ARM TLS relocs.
3939
d55fd7a5
RA
39402011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
3941
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3943 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
3944 cast from r3.
3945 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
3946 'tests' variable.
3947 * sysdeps/wordsize-64/tst-writev.c: New file.
3948
2206397e
RA
39492011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
3950
3951 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
3952 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
3953 insns in _dl_start to prevent a TOC reference before relocs are
3954 resolved.
3955
e9433893
UD
39562011-02-15 Ulrich Drepper <drepper@gmail.com>
3957
3958 [BZ #12469]
3959 * Makeconfig: Remove RANLIB definition.
3960 * Makerules: Don't use RANLIB.
3961 * aclocal.m4: Remove ranlib test.
3962 * configure.in: No need to check for ranlib.
3963 * elf/rtld-Rules: Don't use RANLIB.
3964
f75286c6
ST
39652011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3966
8e31c82d
ST
3967 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
3968 protection macro.
3969 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
3970 inclusion protection macro.
3971
f75286c6
ST
3972 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
3973 SIGRTMIN and SIGRTMAX and print information in that case only when
3974 SIGRTMIN is defined.
3975
c1d0e639
JJ
39762011-02-11 Jakub Jelinek <jakub@redhat.com>
3977
3978 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
3979 arginfo fn returning -1.
3980
3981 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
3982 and thousands string is zero terminated.
3983
edf9294e
AS
39842011-02-03 Andreas Schwab <schwab@redhat.com>
3985
3986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
3987 sysdeps/unix/sysv/linux/bits/socket.h.
3988
2b7e92df
ST
39892011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
3990
edf9294e
AS
3991 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
3992 (__CPU_COUNT): Remove old macros.
3993 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
3994 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
3995 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
3996 (__sched_cpualloc, __sched_cpufree): Add declarations.
3997
a4c7ea7b
UD
39982011-02-05 Ulrich Drepper <drepper@gmail.com>
3999
4000 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
4001 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
4002 * nscd/aicache.c (addhstaiX): Return timeout of added value.
4003 (readdhstai): Return value of addhstaiX call.
4004 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
4005 (addgrbyX): Return value returned by cache_addgr.
4006 (readdgrbyname): Return value returned by addgrbyX.
4007 (readdgrbygid): Likewise.
4008 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
4009 (addpwbyX): Return value returned by cache_addpw.
4010 (readdpwbyname): Return value returned by addhstbyX.
4011 (readdpwbyuid): Likewise.
4012 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
4013 (addservbyX): Return value returned by cache_addserv.
4014 (readdservbyname): Return value returned by addservbyX:
4015 (readdservbyport): Likewise.
4016 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
4017 (addhstbyX): Return value returned by cache_addhst.
4018 (readdhstbyname): Return value returned by addhstbyX.
4019 (readdhstbyaddr): Likewise.
4020 (readdhstbynamev6): Likewise.
4021 (readdhstbyaddrv6): Likewise.
4022 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
4023 (readdinitgroups): Return value returned by addinitgroupsX.
4024 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
4025 (prune_cache): Keep track of timeout value of re-added entries.
4026 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
4027 * nscd/nscd.h: Adjust prototypes of readd* functions.
4028
a0bf67cc
RM
40292011-02-04 Roland McGrath <roland@redhat.com>
4030
4031 * nis/nis_server.c (nis_servstate): Use the right name for 0.
4032 (nis_stats): Likewise.
4033 * nis/nis_modify.c (nis_modify): Likewise.
4034 * nis/nis_remove.c (nis_remove): Likewise.
4035 * nis/nis_add.c (nis_add): Likewise.
4036
4037 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
4038
4039 * posix/fnmatch_loop.c: Add some consts.
4040
4041 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
4042
435b95eb
L
40432011-02-02 H.J. Lu <hongjiu.lu@intel.com>
4044
4045 [BZ #12460]
4046 * config.make.in (config-cflags-novzeroupper): Define.
4047 * configure.in: Substitute libc_cv_cc_novzeroupper.
4048 * elf/Makefile (AVX-CFLAGS): Define.
4049 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
4050 (CFLAGS-tst-auditmod4a.c): Likewise.
4051 (CFLAGS-tst-auditmod4b.c): Likewise.
4052 (CFLAGS-tst-auditmod6b.c): Likewise.
4053 (CFLAGS-tst-auditmod6c.c): Likewise.
4054 (CFLAGS-tst-auditmod7b.c): Likewise.
4055 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
4056
8517b15e
UD
40572011-02-02 Ulrich Drepper <drepper@gmail.com>
4058
4059 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
4060 function to the callback.
4061 Patch partly by Jiri Olsa <jolsa@redhat.com>.
4062
10a656fe
AS
40632011-02-02 Andreas Schwab <schwab@redhat.com>
4064
4065 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
4066 of errno.
4067
968dad0a
UD
40682011-01-19 Ulrich Drepper <drepper@gmail.com>
4069
9f94d2ea 4070 [BZ #11724]
968dad0a
UD
4071 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
4072 of constructors.
4073 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
4074 of destructors.
4075 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
4076
4077 [BZ #11724]
4078 * elf/Makefile: Add rules to build and run new test.
4079 * elf/tst-initorder.c: New file.
4080 * elf/tst-initorder.exp: New file.
4081 * elf/tst-initordera1.c: New file.
4082 * elf/tst-initordera2.c: New file.
4083 * elf/tst-initordera3.c: New file.
4084 * elf/tst-initordera4.c: New file.
4085 * elf/tst-initorderb1.c: New file.
4086 * elf/tst-initorderb2.c: New file.
4087 * elf/tst-order-a1.c: New file.
4088 * elf/tst-order-a2.c: New file.
4089 * elf/tst-order-a3.c: New file.
4090 * elf/tst-order-a4.c: New file.
4091 * elf/tst-order-b1.c: New file.
4092 * elf/tst-order-b2.c: New file.
4093 * elf/tst-order-main.c: New file.
4094 New test case by George Gensure <werkt0@gmail.com>.
4095
86e92359
UD
40962010-10-01 Andreas Schwab <schwab@redhat.com>
4097
4098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
4099 decoding ACE if AI_CANONIDN.
4100
5d5732b0
UD
41012011-01-18 Ulrich Drepper <drepper@gmail.com>
4102
4103 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
4104
a77e8cbc
UD
41052011-01-17 Ulrich Drepper <drepper@gmail.com>
4106
6392473f
UD
4107 * version.h (RELEASE): Bump for 2.13 release.
4108 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
4109
620a0529
UD
4110 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
4111
18ba70a5
UD
4112 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
4113 MADV_NOHUGEPAGE.
32465c3e
UD
4114 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
4115 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4116 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4117 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4119 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
4120
c0dafcf1
UD
4121 * posix/getconf.c: Update copyright year.
4122 * catgets/gencat.c: Likewise.
4123 * csu/version.c: Likewise.
4124 * debug/catchsegv.sh: Likewise.
4125 * debug/xtrace.sh: Likewise.
4126 * elf/ldconfig.c: Likewise.
4127 * elf/ldd.bash.in: Likewise.
4128 * elf/sprof.c (print_version): Likewise.
4129 * iconv/iconv_prog.c: Likewise.
4130 * iconv/iconvconfig.c: Likewise.
4131 * locale/programs/locale.c: Likewise.
4132 * locale/programs/localedef.c: Likewise.
4133 * malloc/memusage.sh: Likewise.
4134 * malloc/mtrace.pl: Likewise.
4135 * nscd/nscd.c (print_version): Likewise.
4136 * nss/getent.c: Likewise.
4137
a77e8cbc
UD
4138 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
4139 PF_CAIF, and PF_ALG.
4140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4141
77e8bddf
AS
41422011-01-16 Andreas Schwab <schwab@linux-m68k.org>
4143
1f20b93a
AS
4144 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
4145 (modules-names): Use them.
4146 (ifunc-test-modules, ifunc-pie-tests): Define.
4147 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
4148 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
4149 (test-extras): Likewise.
4150 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
4151 $(compile-command.c).
4152 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
4153 (all-built-dso): Define.
4154 (check-textrel.out, check-execstack.out): Depend on it.
4155
77e8bddf
AS
4156 * configure.in: Don't override --enable-multi-arch.
4157
bc425b33
UD
41582011-01-15 Ulrich Drepper <drepper@gmail.com>
4159
4160 [BZ #6812]
4161 * nscd/hstcache.c (tryagain): Define.
4162 (cache_addhst): Return tryagain not notfound for temporary errors.
4163 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
4164 failed.
4165
794c3ad3
UD
41662011-01-14 Ulrich Drepper <drepper@gmail.com>
4167
70181fdd
UD
4168 [BZ #10563]
4169 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
4170 to make the syscall.
4171 * sysdeps/unix/sysv/linux/setgroups.c: New file.
4172
794c3ad3
UD
4173 [BZ #12378]
4174 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
4175 and fall back to matching as normal character if the string ends before
4176 the matching ']' is found. This is what POSIX requires.
4177 * posix/testfnm.c: Adjust test result.
4178 * posix/globtest.sh: Adjust test result. Add new test.
4179 * posix/tst-fnmatch.input: Likewise.
4180 * posix/tst-fnmatch2.c: Add new test.
4181
68dc9497
AS
41822010-12-28 Andreas Schwab <schwab@linux-m68k.org>
4183
4184 * elf/Makefile (check-execstack): Revert last change. Depend on
4185 check-execstack.h.
4186 (check-execstack.h): New target.
4187 (generated): Add check-execstack.h.
4188 * elf/check-execstack.c: Include "check-execstack.h".
4189 (main): Revert last change.
4190 (handle_file): Return zero if GNU_STACK is absent and
4191 DEFAULT_STACK_PERMS doesn't include PF_X.
4192
451f001b
UD
41932011-01-13 Ulrich Drepper <drepper@gmail.com>
4194
cfa28e56
UD
4195 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
4196 in child fails because the descriptor is already closed.
8cf8ce17
UD
4197 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
4198 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
4199 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 4200
1086d70d
UD
4201 [BZ #12397]
4202 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
4203 syscall.
4204
451f001b
UD
4205 [BZ #10484]
4206 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
4207 temporary buffer used to handle multi lookups locally.
a85b5cb4 4208 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 4209
08769175
UD
42102011-01-12 Ulrich Drepper <drepper@gmail.com>
4211
4212 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
4213 loader is ld.so.
4214
5e49c52e
UD
42152011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
4216
4217 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
4218 alignment for SSE2.
4219
60522a5f
UD
42202011-01-12 Ulrich Drepper <drepper@gmail.com>
4221
4222 [BZ #12394]
4223 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
4224 characters. When rounding increased number of integer digits recompute
4225 number of groups.
4226 * stdio-common/tst-grouping.c: New file.
4227 * stdio-common/Makefile: Add rules to build and run tst-grouping.
4228
f257bbd7
UD
42292011-01-09 Ulrich Drepper <drepper@gmail.com>
4230
4231 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
4232 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
4233
4234 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
4235 void.
4236 * bits/select.h: Likewise.
4237
fa9c15cb
UD
42382011-01-08 Ulrich Drepper <drepper@gmail.com>
4239
4240 * po/ja.po: Update from translation team.
4241
16c2895f
DM
42422011-01-04 David S. Miller <davem@sunset.davemloft.net>
4243
4244 [BZ #11155]
4245 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
4246 implementation just like for lxstat, fxstatat, et al.
4247
2543fef2
JM
42482010-12-27 Jim Meyering <meyering@redhat.com>
4249
4250 [BZ #12348]
4251 * posix/regexec.c (build_trtable): Return failure indication upon
4252 calloc failure. Otherwise, re_search_internal could infloop on OOM.
4253
98727dbe
UD
42542010-12-25 Ulrich Drepper <drepper@gmail.com>
4255
5bd6dc5c
UD
4256 [BZ #12201]
4257 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
4258 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
4259 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
4260 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
4261
97983464
UD
4262 [BZ #12207]
4263 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
4264
98727dbe
UD
4265 [BZ #12204]
4266 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
4267 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
4268
4a531bb0
L
42692010-12-15 H.J. Lu <hongjiu.lu@intel.com>
4270
4271 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
4272 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
4273 script has SORT_BY_INIT_PRIORITY.
4274 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
4275 NO_CTORS_DTORS_SECTIONS is defined.
4276 * elf/soinit.c: Likewise.
4277 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
4278 NO_CTORS_DTORS_SECTIONS is defined.
4279 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4280 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
4281 * sysdeps/sh/init-first.c: Likewise.
4282 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4283
07eb4b71
UD
42842010-12-24 Ulrich Drepper <drepper@gmail.com>
4285
4286 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
4287 always use the slow path.
4288
30950a5f
RA
42892010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
4290
4291 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
4292 similar rule which adds the sysdep directories to the header search in
4293 order to pick up the correct platform stackinfo.h.
4294 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
4295 perform test if it is, otherwise return successfully without testing.
4296 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
4297 DEFAULT_STACK_PERMS define in stackinfo.h.
4298 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
4299 defined in stackinfo.h.
4300 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
4301 DEFAULT_STACK_PERMS defined in stackinfo.h.
4302 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
4303 * sysdeps/ia64/stackinfo.h: Likewise.
4304 * sysdeps/s390/stackinfo.h: Likewise.
4305 * sysdeps/sh/stackinfo.h: Likewise.
4306 * sysdeps/sparc/stackinfo.h: Likewise.
4307 * sysdeps/x86_64/stackinfo.h: Likewise.
4308 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
4309 PF_X for powerpc64. Retain PF_X for powerpc32.
4310
db753e2c
UD
43112010-12-19 Ulrich Drepper <drepper@gmail.com>
4312
14b697f7
UD
4313 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
4314 accurately.
db753e2c
UD
4315 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
4316 GETDENTS_64BIT_ALIGNED.
4317
28300719
UD
43182010-12-14 Ulrich Drepper <dreper@gmail.com>
4319
14b697f7 4320 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 4321
4f197237
AS
43222010-12-10 Andreas Schwab <schwab@redhat.com>
4323
dbb0472f
AS
4324 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
4325 _GNU_SOURCE.
4326
4f197237
AS
4327 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
4328 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
4329 Remove __restrict.
4330 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
4331 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
4332
fb88ac72
UD
43332010-12-09 Ulrich Drepper <drepper@gmail.com>
4334
4335 [BZ #11655]
4336 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
4337 are initialized.
4338
42acbb92
JJ
43392010-12-09 Jakub Jelinek <jakub@redhat.com>
4340
4341 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
4342
c038d98d
UD
43432010-12-03 Ulrich Drepper <drepper@gmail.com>
4344
4345 * po/it.po: Update from translation team.
4346
3a4a2499
L
43472010-12-01 H.J. Lu <hongjiu.lu@intel.com>
4348
4349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
4350 unused codes.
4351
1e24cf6e
UD
43522010-11-30 Ulrich Drepper <drepper@gmail.com>
4353
4354 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
4355
a7690819
AS
43562010-11-24 Andreas Schwab <schwab@redhat.com>
4357
4358 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
4359 specially.
4360 (gaih_getanswer_slice): Likewise.
4361
3bf8d1b1
JJ
43622010-10-20 Jakub Jelinek <jakub@redhat.com>
4363
4364 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
4365
6db52fbb
PB
43662010-05-31 Petr Baudis <pasky@suse.cz>
4367
4368 [BZ #11149]
4369 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
4370 silently even in the chroot mode.
4371
eaca7569
UD
43722010-11-22 Ulrich Drepper <drepper@gmail.com>
4373
4374 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
4375 last patch a bit. Pretty printing
4376
3056dcdb
UD
43772010-05-31 Petr Baudis <pasky@suse.cz>
4378
4379 [BZ #10085]
4380 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
4381 initialization of skip_initgroups_dyn.
4382
cf7c9078
UD
43832010-11-19 Ulrich Drepper <drepper@gmail.com>
4384
4385 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
4386 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
4387
a1fb5e3e
UD
43882010-11-16 Ulrich Drepper <drepper@gmail.com>
4389
4390 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
4391
3540d66b
AS
43922010-11-11 Andreas Schwab <schwab@redhat.com>
4393
4394 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
4395 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
4396 (tst-fnmatch-ENV): Set MALLOC_TRACE.
4397 ($(objpfx)tst-fnmatch-mem): New rule.
4398 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
4399 * posix/tst-fnmatch.c (main): Call mtrace.
4400
13b69574
L
44012010-11-11 H.J. Lu <hongjiu.lu@intel.com>
4402
4403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4404 Support Intel processor model 6 and model 0x2c.
4405
da93d214
LM
44062010-11-10 Luis Machado <luisgpm@br.ibm.com>
4407
4408 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
4409 signed comparison.
4410
8ca52c6e
L
44112010-11-09 H.J. Lu <hongjiu.lu@intel.com>
4412
4413 [BZ #12205]
4414 * string/test-strncasecmp.c (check_result): New function.
4415 (do_one_test): Use it.
4416 (check1): New function.
4417 (test_main): Use it.
4418 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
4419 Support strcasecmp and strncasecmp.
4420
69da074d
UD
44212010-11-08 Ulrich Drepper <drepper@gmail.com>
4422
4423 [BZ #12194]
4424 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
4425 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4426
ff02d528
L
44272010-11-07 H.J. Lu <hongjiu.lu@intel.com>
4428
4429 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
4430 IFUNC support.
4431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4432 memset-x86-64.
4433 * sysdeps/x86_64/multiarch/bzero.S: New file.
4434 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
4435 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
4436 * sysdeps/x86_64/multiarch/memset.S: New file.
4437 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
4438 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4439 Set bit_Prefer_SSE_for_memop for Intel processors.
4440 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
4441 Define.
4442 (index_Prefer_SSE_for_memop): Define.
4443 (HAS_PREFER_SSE_FOR_MEMOP): Define.
4444
344d0b54
LM
44452010-11-04 Luis Machado <luisgpm@br.ibm.com>
4446
4447 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
4448 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
4449
c0dde15b
UD
44502010-11-03 H.J. Lu <hongjiu.lu@intel.com>
4451
4452 [BZ #12191]
4453 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
4454 (__x86_64_raw_data_cache_size_half): Likewise.
4455 (__x86_64_raw_shared_cache_size): Likewise.
4456 (__x86_64_raw_shared_cache_size_half): Likewise.
4457
4458 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
4459 (__x86_64_raw_data_cache_size_half): Likewise.
4460 (__x86_64_raw_shared_cache_size): Likewise.
4461 (__x86_64_raw_shared_cache_size_half): Likewise.
4462 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
4463 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
4464 and __x86_64_raw_shared_cache_size_half. Round
4465 __x86_64_data_cache_size_half, __x86_64_data_cache_size
4466 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
4467 to multiple of 256 bytes.
4468
0e516e0e
MS
44692010-11-03 Ulrich Drepper <drepper@gmail.com>
4470
4471 [BZ #12167]
4472 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
4473 of inacessible symlinks. Verify result of symlink before returning it.
4474 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4475 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
4476
0e012e87
ER
44772010-10-28 Erich Ritz <erichritz@gmail.com>
4478
4479 * math/math.h (isinf): Fix typo in comment.
4480
de0ff7bc
UD
44812010-11-01 Ulrich Drepper <drepper@gmail.com>
4482
4483 * po/da.po: Update from translation team.
4484
fa41c84d
UD
44852010-10-26 Ulrich Drepper <drepper@gmail.com>
4486
4487 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
4488 is added to the list.
4489
f0967738
AK
44902010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4491 Ulrich Drepper <drepper@gmail.com>
4492
4493 * elf/dl-object.c (_dl_new_object): Don't append the new object to
4494 the global list here. Move code to...
4495 (_dl_add_to_namespace_list): ...here. New function.
4496 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
4497 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
4498 * elf/dl-load.c (lose): Don't remove the element from the list.
4499 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
4500 (_dl_map_object): Likewise.
4501
45022010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
4503
4504 [BZ #12159]
4505 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
4506 into all bytes of SSE register.
4507 Patch by Richard Li <richardpku@gmail.com>.
4508
f0967738 45092010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
4510
4511 [BZ #12140]
4512 * malloc/malloc.c (_int_free): Fill correct number of bytes when
4513 perturbing.
4514
d0b9e94f
MB
45152010-10-20 Michael B. Brutman <brutman@us.ibm.com>
4516
4517 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
4518 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
4519 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
4520 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
4522 submachine.
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
4524
8e9f92e9
AS
45252010-10-22 Andreas Schwab <schwab@redhat.com>
4526
4527 * include/dlfcn.h (__RTLD_SECURE): Define.
4528 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
4529 mode & __RTLD_SECURE instead.
4530 (open_path): Rename preloaded parameter to secure.
4531 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
4532 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
4533 * elf/dl-deps.c (openaux): Likewise.
4534 * elf/rtld.c (struct map_args): Remove is_preloaded.
4535 (map_doit): Don't use it.
4536 (dl_main): Likewise.
4537 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
4538 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
4539
bc96fbda
AS
45402010-09-09 Andreas Schwab <schwab@redhat.com>
4541
4542 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
4543 (sysd-rules-targets): Remove duplicates.
4544 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
4545 rtld-%.$o dependency.
4546
22cd1c9b
AS
45472010-10-18 Andreas Schwab <schwab@redhat.com>
4548
4549 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
4550 _dl_map_object do it.
4551
18edac48
UD
45522010-10-19 Ulrich Drepper <drepper@gmail.com>
4553
4554 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
4555 fast fma builtins, define the macros in the C99 standard.
4556 (FP_FAST_FMAF): Likewise.
4557 (FP_FAST_FMAL): Likewise.
4558 * sysdeps/x86_64/bits/mathdef.h: Likewise.
4559
4560 * bits/mathdef.h: Update copyright year.
4561 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4562
d2050124
MM
45632010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
4564
4565 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
4566 builtins, define the macros in the C99 standard.
4567 (FP_FAST_FMAF): Likewise.
4568 (FP_FAST_FMAL): Likewise.
4569 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
4570 multiply/add.
4571 (FP_FAST_FMAF): Likewise.
4572
475facd1
JJ
45732010-10-15 Jakub Jelinek <jakub@redhat.com>
4574
4575 [BZ #3268]
4576 * math/libm-test.inc (fma_test): Some new testcases.
4577 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
4578 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
4579 y and infinite z. Do multiplication by C already in long double.
4580 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
4581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
4582 y and infinite z. Do bitwise or of inexact bit into u.d.
4583 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
4584 * sysdeps/i386/fpu/s_fmaf.S: Removed.
4585 * sysdeps/i386/fpu/s_fma.S: Removed.
4586 * sysdeps/i386/fpu/s_fmal.S: Removed.
4587
7c08a05c
JJ
45882010-10-16 Jakub Jelinek <jakub@redhat.com>
4589
4590 [BZ #3268]
4591 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
4592 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
4593 computation is not scheduled after fetestexcept. Fix value
4594 of minimum denormal long double.
4595
f3f7372d
JJ
45962010-10-14 Jakub Jelinek <jakub@redhat.com>
4597
4598 [BZ #3268]
4599 * math/libm-test.inc (fma_test): Add some more tests.
4600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
4601 correctly.
4602
14d43591
AS
46032010-10-15 Andreas Schwab <schwab@redhat.com>
4604
4605 * scripts/data/localplt-s390-linux-gnu.data: New file.
4606 * scripts/data/localplt-s390x-linux-gnu.data: New file.
4607
5e908464
JJ
46082010-10-13 Jakub Jelinek <jakub@redhat.com>
4609
4610 [BZ #3268]
4611 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
4612 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
4613 instead of dbl-64.
4614 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
4615 inlines.
4616 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
4617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
4618 if one of x and y is very large and the other is subnormal.
4619 * sysdeps/s390/fpu/s_fmaf.c: New file.
4620 * sysdeps/s390/fpu/s_fma.c: New file.
4621 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
4622 * sysdeps/powerpc/fpu/s_fma.S: New file.
4623 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
4624 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
4625 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
4626
46272010-10-12 Jakub Jelinek <jakub@redhat.com>
4628
4629 [BZ #3268]
4630 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
4631 fma tests.
4632 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
4633 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
4634 * sysdeps/i386/i686/multiarch/s_fma.c: Include
4635 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
4636 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
4637 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
4638 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
4639
b833d51f
UD
46402010-10-12 Ulrich Drepper <drepper@redhat.com>
4641
4642 [BZ #12078]
4643 * posix/regcomp.c (parse_branch): One more memory leak plugged.
4644 * posix/bug-regex31.input: Add test case.
4645
1751705d
UD
46462010-10-11 Ulrich Drepper <drepper@gmail.com>
4647
e9b9cbf5
UD
4648 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
4649 * posix/bug-regex31.input: New file.
4650
4651 [BZ #12078]
4652 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
4653 (parse_sub_exp): Fix last change, use postorder.
4654
ef06edbe
UD
4655 * posix/bug-regex31.c: New file.
4656 * posix/Makefile: Add rules to build and run bug-regex31.
4657
a129c80d
UD
4658 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
4659
4660 [BZ #12078]
4661 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
4662
b76b818e
UD
4663 [BZ #12108]
4664 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
4665 to have entries in sys_siglist.
4666
1751705d
UD
4667 [BZ #12093]
4668 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
4669 be NULL.
4670
9ff8d36f
JJ
46712010-10-07 Jakub Jelinek <jakub@redhat.com>
4672
4673 [BZ #3268]
4674 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
4675 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
4676 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
4677 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
4678 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4679 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
4680 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
4681 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
4682 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
4683 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
4684 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
4685 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
4686 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4687 * math/ftestexcept.c (fetestexcept): Likewise.
4688 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
4689 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
4690 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
4691 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
4692 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
4693 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
4694 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4695
af325969
UD
46962010-10-11 Ulrich Drepper <drepper@gmail.com>
4697
c579b202 4698 [BZ #12107]
af325969
UD
4699 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
4700 newline.
4701
67a67b95
UD
47022010-10-06 Ulrich Drepper <drepper@gmail.com>
4703
4704 * string/bug-strstr1.c: New file.
4705 * string/Makefile: Add rules to build and run bug-strstr1.
4706
5fb308bc
EB
47072010-10-05 Eric Blake <eblake@redhat.com>
4708
4709 [BZ #12092]
4710 * string/str-two-way.h (two_way_long_needle): Always clear memory
4711 when skipping input due to the shift table.
4712
45db99c7
UD
47132010-10-03 Ulrich Drepper <drepper@gmail.com>
4714
3b111893
UD
4715 [BZ #12005]
4716 * malloc/mcheck.c: Handle large requests.
4717
45db99c7
UD
4718 [BZ #12077]
4719 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
4720 for strncmp and strncasecmp.
4721 * string/stratcliff.c: Add tests for strcmp and strncmp.
4722 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
4723
cf7a1eb8
NI
47242010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4725
4726 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
4727 __set_fpscr.
4728
6484ba5e
AJ
47292010-09-30 Andreas Jaeger <aj@suse.de>
4730
4731 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
4732 (CGROUP_SUPER_MAGIC): Define.
4733 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4734 Handle btrfs and cgroup file systems.
4735 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4736 Likewise.
4737
91c42559
LM
47382010-09-27 Luis Machado <luisgpm@br.ibm.com>
4739
4740 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
4741 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
4742
87a97932
AK
47432010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4744
4745 [BZ #12067]
4746 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
4747 trying to locate the ELF header.
4748
c21cc9bc
AS
47492010-09-27 Andreas Schwab <schwab@redhat.com>
4750
4751 [BZ #11611]
4752 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
4753 Mask out sign-bit copies when constructing f_fsid.
4754
315970f6
PB
47552010-09-24 Petr Baudis <pasky@suse.cz>
4756
4757 * debug/stack_chk_fail_local.c: Add missing licence exception.
4758 * debug/warning-nop.c: Likewise.
4759
1ac7a2c7
JM
47602010-09-15 Joseph Myers <joseph@codesourcery.com>
4761
4762 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
4763 implementing getdents64 using getdents syscall, set d_type if
4764 __ASSUME_GETDENTS32_D_TYPE.
4765
56801c50
AS
47662010-09-16 Andreas Schwab <schwab@redhat.com>
4767
4768 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
4769 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
4770
dda51327
UD
47712010-09-21 Ulrich Drepper <drepper@redhat.com>
4772
4773 [BZ #12037]
4774 * posix/unistd.h: Undo change of feature selection for ftruncate from
4775 2010-01-11.
4776
8ffcee4a
UD
47772010-09-20 Ulrich Drepper <drepper@redhat.com>
4778
a545ecd9 4779 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
4780 detection.
4781
e24f0a8b
AS
47822010-09-20 Andreas Schwab <schwab@redhat.com>
4783
4784 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
4785 fanotify_mark.
4786 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4787
7291c56f
AS
47882010-09-14 Andreas Schwab <schwab@redhat.com>
4789
4790 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
4791 variables after CHECK_SP call.
4792 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
4793
bc5fb037
AS
47942010-09-13 Andreas Schwab <schwab@redhat.com>
4795 Ulrich Drepper <drepper@redhat.com>
4796
4797 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
4798 re-relocationg ld.so.
4799 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
4800 _dl_init_paths call.
4801 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
4802 here anymore.
4803
e66e7419
UD
48042010-09-14 Ulrich Drepper <drepper@redhat.com>
4805
4806 * resolv/res_init.c (__res_vinit): Count the default server we added.
4807
c044aa75
CLT
48082010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
4809 Ulrich Drepper <drepper@redhat.com>
4810
4811 [BZ #11968]
4812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4813 (____longjmp_chk): Use %ebx for saving value across system call.
4814 Add unwind info.
4815
32cf4069
AS
48162010-09-06 Andreas Schwab <schwab@redhat.com>
4817
4818 * manual/Makefile: Don't mix pattern rules with normal rules.
4819
817328ee
AS
48202010-09-05 Andreas Schwab <schwab@linux-m68k.org>
4821
4822 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
4823 operation.
4824 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4825 * libio/iofopncook.c (_IO_cookie_init): Likewise.
4826 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4827 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4828 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4829 Likewise.
4830
29fddf61
UD
48312010-09-04 Ulrich Drepper <drepper@redhat.com>
4832
4833 [BZ #11979]
4834 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
4835 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
4836
0959ffc9
UD
48372010-09-02 Ulrich Drepper <drepper@redhat.com>
4838
4839 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
4840 * sysdeps/x86_64/addmul_1.S: Likewise.
4841 * sysdeps/x86_64/lshift.S: Likewise.
4842 * sysdeps/x86_64/mul_1.S: Likewise.
4843 * sysdeps/x86_64/rshift.S: Likewise.
4844 * sysdeps/x86_64/sub_n.S: Likewise.
4845 * sysdeps/x86_64/submul_1.S: Likewise.
4846
ece29840
ST
48472010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
4848
0959ffc9
UD
4849 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
4850 Define __sched_param instead of SCHED_* and sched_param when
ece29840 4851 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 4852 * bits/sched.h [__need_schedparam]
ece29840 4853 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
4854 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
4855 (__defined_schedparam): Define to 1.
ece29840
ST
4856 (__sched_param): New structure, identical to sched_param.
4857 (__need_schedparam): Undefine.
4858
e53a31fe
MF
48592010-08-31 Mike Frysinger <vapier@gentoo.org>
4860
fdc0c10d
MF
4861 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
4862 (epoll_create1): Declare.
4863
e53a31fe
MF
4864 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
4865
a726d796
AS
48662010-08-31 Andreas Schwab <schwab@redhat.com>
4867
4868 [BZ #7066]
4869 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
4870 shifting retval into place.
4871
2f3e3dc7
UD
48722010-09-01 Ulrich Drepper <drepper@redhat.com>
4873
f2933da9
UD
4874 * nis/rpcsvc/nis.h: Update copyright notice.
4875 * nis/rpcsvc/nis.x: Likewise.
4876 * nis/rpcsvc/nis_callback.h: Likewise.
4877 * nis/rpcsvc/nis_callback.x: Likewise.
4878 * nis/rpcsvc/nis_object.x: Likewise.
4879 * nis/rpcsvc/nis_tags.h: Likewise.
4880 * nis/rpcsvc/yp.h: Likewise.
4881 * nis/rpcsvc/yp.x: Likewise.
4882 * nis/rpcsvc/ypupd.h: Likewise.
4883 * nis/yp_xdr.c: Likewise.
4884 * nis/ypupdate_xdr.c: Likewise.
4885
2f3e3dc7
UD
4886 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
4887 mainly the body of pmap_getport. Add parameters to specify timeouts.
4888 (pmap_getport): Use __libc_rpc_getport.
4889 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
4890 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
4891 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
4892
f3dcc2f9
AS
48932010-08-31 Andreas Schwab <schwab@linux-m68k.org>
4894
4895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
4896 fanotify_mark.
4897
6d34eb5b
RM
48982010-08-27 Roland McGrath <roland@redhat.com>
4899
4900 * sysdeps/i386/i686/multiarch/Makefile
4901 (CFLAGS-varshift.c): New variable.
4902
9ea3de11
UD
49032010-08-27 Ulrich Drepper <drepper@redhat.com>
4904
c96d23fc
UD
4905 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
4906 * sysdeps/i386/i686/multiarch/varshift.c: New file.
4907
9ea3de11
UD
4908 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
4909
4910 * sysdeps/x86_64/strlen.S: Minimal code improvement.
4911
623aac7f
L
49122010-08-26 H.J. Lu <hongjiu.lu@intel.com>
4913
4914 * sysdeps/x86_64/strlen.S: Unroll the loop.
4915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4916 strlen-sse2 strlen-sse2-bsf.
4917 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
4918 __strlen_no_bsf if bit_Slow_BSF is set.
4919 (__strlen_sse42): Removed.
4920 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
4921 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
4922
8b2b7715
RM
49232010-08-25 Roland McGrath <roland@redhat.com>
4924
4925 * sysdeps/x86_64/multiarch/varshift.S: File removed.
4926 * sysdeps/x86_64/multiarch/varshift.c: New file.
4927 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
4928 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
4929 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
4930 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4931
e73015f2
L
49322010-08-25 H.J. Lu <hongjiu.lu@intel.com>
4933
4934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4935 strlen-sse2 strlen-sse2-bsf.
4936 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
4937 __strlen_sse2_bsf if bit_Slow_BSF is unset.
4938 (__strlen_sse2): Removed.
4939 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
4940 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
4941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4942 bit_Slow_BSF for Atom.
4943 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
4944 (index_Slow_BSF): Define.
4945 (HAS_SLOW_BSF): Define.
4946
df24a73e
UD
49472010-08-25 Ulrich Drepper <drepper@redhat.com>
4948
4949 [BZ #10851]
4950 * resolv/res_init.c (__res_vinit): When no server address at all
4951 is given default to loopback.
4952
f2ac4868
RM
49532010-08-24 Roland McGrath <roland@redhat.com>
4954
09055553
RM
4955 * configure.in: Remove config-name.h generation.
4956 * configure: Regenerated.
4957 * config-name.in: File removed.
4958 * scripts/config-uname.sh: New file.
4959 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
4960 ($(objdir)config-name.h): New target.
4961
f2ac4868
RM
4962 * sunrpc/rpc_parse.h: Avoid nested comment.
4963
73f27d5e
RH
49642010-08-24 Richard Henderson <rth@redhat.com>
4965 Ulrich Drepper <drepper@redhat.com>
4966 H.J. Lu <hongjiu.lu@intel.com>
4967
4968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
4969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
4970 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
4971 Replace _mm_srli_si128 with __m128i_shift_right. Replace
4972 _mm_alignr_epi8 with _mm_loadu_si128.
4973 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
4974 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
4975 (__m128i_shift_right): Removed.
4976 * sysdeps/i386/i686/multiarch/varshift.h: New file.
4977 * sysdeps/i386/i686/multiarch/varshift.S: New file.
4978 * sysdeps/x86_64/multiarch/varshift.h: New file.
4979 * sysdeps/x86_64/multiarch/varshift.S: New file.
4980
84b9230c
MF
49812010-08-21 Mike Frysinger <vapier@gentoo.org>
4982
4983 * configure.in: Move assembler checks to before sysdep dir checking.
4984
9bbd0ddc
PB
49852010-08-20 Petr Baudis <pasky@suse.cz>
4986
4987 * LICENSES: Sync the sunrpc license.
4988
9da4bb31
UD
49892010-08-19 Ulrich Drepper <drepper@redhat.com>
4990
a7ab6ec8
UD
4991 * sunrpc/auth_des.c: Update copyright notice once again.
4992 * sunrpc/auth_none.c: Likewise.
4993 * sunrpc/auth_unix.c: Likewise.
4994 * sunrpc/authdes_prot.c: Likewise.
4995 * sunrpc/authuxprot.c: Likewise.
4996 * sunrpc/bindrsvprt.c: Likewise.
4997 * sunrpc/clnt_gen.c: Likewise.
4998 * sunrpc/clnt_perr.c: Likewise.
4999 * sunrpc/clnt_raw.c: Likewise.
5000 * sunrpc/clnt_simp.c: Likewise.
5001 * sunrpc/clnt_tcp.c: Likewise.
5002 * sunrpc/clnt_udp.c: Likewise.
5003 * sunrpc/clnt_unix.c: Likewise.
5004 * sunrpc/des_crypt.c: Likewise.
5005 * sunrpc/des_soft.c: Likewise.
5006 * sunrpc/get_myaddr.c: Likewise.
5007 * sunrpc/getrpcport.c: Likewise.
5008 * sunrpc/key_call.c: Likewise.
5009 * sunrpc/key_prot.c: Likewise.
5010 * sunrpc/openchild.c: Likewise.
5011 * sunrpc/pm_getmaps.c: Likewise.
5012 * sunrpc/pm_getport.c: Likewise.
5013 * sunrpc/pmap_clnt.c: Likewise.
5014 * sunrpc/pmap_prot.c: Likewise.
5015 * sunrpc/pmap_prot2.c: Likewise.
5016 * sunrpc/pmap_rmt.c: Likewise.
5017 * sunrpc/rpc/auth.h: Likewise.
5018 * sunrpc/rpc/auth_unix.h: Likewise.
5019 * sunrpc/rpc/clnt.h: Likewise.
5020 * sunrpc/rpc/des_crypt.h: Likewise.
5021 * sunrpc/rpc/key_prot.h: Likewise.
5022 * sunrpc/rpc/netdb.h: Likewise.
5023 * sunrpc/rpc/pmap_clnt.h: Likewise.
5024 * sunrpc/rpc/pmap_prot.h: Likewise.
5025 * sunrpc/rpc/pmap_rmt.h: Likewise.
5026 * sunrpc/rpc/rpc.h: Likewise.
5027 * sunrpc/rpc/rpc_des.h: Likewise.
5028 * sunrpc/rpc/rpc_msg.h: Likewise.
5029 * sunrpc/rpc/svc.h: Likewise.
5030 * sunrpc/rpc/svc_auth.h: Likewise.
5031 * sunrpc/rpc/types.h: Likewise.
5032 * sunrpc/rpc/xdr.h: Likewise.
5033 * sunrpc/rpc_clntout.c: Likewise.
5034 * sunrpc/rpc_cmsg.c: Likewise.
5035 * sunrpc/rpc_common.c: Likewise.
5036 * sunrpc/rpc_cout.c: Likewise.
5037 * sunrpc/rpc_dtable.c: Likewise.
5038 * sunrpc/rpc_hout.c: Likewise.
5039 * sunrpc/rpc_main.c: Likewise.
5040 * sunrpc/rpc_parse.c: Likewise.
5041 * sunrpc/rpc_parse.h: Likewise.
5042 * sunrpc/rpc_prot.c: Likewise.
5043 * sunrpc/rpc_sample.c: Likewise.
5044 * sunrpc/rpc_scan.c: Likewise.
5045 * sunrpc/rpc_scan.h: Likewise.
5046 * sunrpc/rpc_svcout.c: Likewise.
5047 * sunrpc/rpc_tblout.c: Likewise.
5048 * sunrpc/rpc_util.c: Likewise.
5049 * sunrpc/rpc_util.h: Likewise.
5050 * sunrpc/rpcinfo.c: Likewise.
5051 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
5052 * sunrpc/rpcsvc/key_prot.x: Likewise.
5053 * sunrpc/rpcsvc/klm_prot.x: Likewise.
5054 * sunrpc/rpcsvc/mount.x: Likewise.
5055 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
5056 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
5057 * sunrpc/rpcsvc/rex.x: Likewise.
5058 * sunrpc/rpcsvc/rstat.x: Likewise.
5059 * sunrpc/rpcsvc/rusers.x: Likewise.
5060 * sunrpc/rpcsvc/sm_inter.x: Likewise.
5061 * sunrpc/rpcsvc/spray.x: Likewise.
5062 * sunrpc/rpcsvc/yppasswd.x: Likewise.
5063 * sunrpc/rtime.c: Likewise.
5064 * sunrpc/svc.c: Likewise.
5065 * sunrpc/svc_auth.c: Likewise.
5066 * sunrpc/svc_authux.c: Likewise.
5067 * sunrpc/svc_raw.c: Likewise.
5068 * sunrpc/svc_run.c: Likewise.
5069 * sunrpc/svc_simple.c: Likewise.
5070 * sunrpc/svc_tcp.c: Likewise.
5071 * sunrpc/svc_udp.c: Likewise.
5072 * sunrpc/svc_unix.c: Likewise.
5073 * sunrpc/svcauth_des.c: Likewise.
5074 * sunrpc/xcrypt.c: Likewise.
5075 * sunrpc/xdr.c: Likewise.
5076 * sunrpc/xdr_array.c: Likewise.
5077 * sunrpc/xdr_float.c: Likewise.
5078 * sunrpc/xdr_mem.c: Likewise.
5079 * sunrpc/xdr_rec.c: Likewise.
5080 * sunrpc/xdr_ref.c: Likewise.
5081 * sunrpc/xdr_sizeof.c: Likewise.
5082 * sunrpc/xdr_stdio.c: Likewise.
5083
9da4bb31
UD
5084 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
5085 handling.
5086
bdaa77bc
AS
50872010-08-19 Andreas Schwab <schwab@redhat.com>
5088
5089 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
5090
fe2f79db
LM
50912010-08-19 Luis Machado <luisgpm@br.ibm.com>
5092
5093 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
5094 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
5095 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
5096 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
5097 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
5098 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
5099 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
5100 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
5101 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
5102 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
5103 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
5104 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
5105 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
5106 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
5107
b9b42ee0
AB
51082010-07-26 Anton Blanchard <anton@samba.org>
5109
5110 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
5111 * malloc/arena.c (heap_trim): Likewise.
5112
1c06ba31
UD
51132010-08-16 Ulrich Drepper <drepper@redhat.com>
5114
5115 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
5116 here. Not...
5117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
5118 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
5119
f8392f40
L
51202010-08-12 H.J. Lu <hongjiu.lu@intel.com>
5121
5122 * sysdeps/i386/elf/Makefile: New file.
5123
3162f12e
AS
51242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
5125
5126 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
5127 from fanotify_init.
5128 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5129 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5130
28c90b2c
UD
51312010-08-15 Ulrich Drepper <drepper@redhat.com>
5132
5133 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
5134 of strncasecmp_l.
1feccb6c 5135 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 5136
ca6bb004
UD
51372010-08-14 Ulrich Drepper <drepper@redhat.com>
5138
e9f82e0d
UD
5139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
5140 strncase_l-nonascii.
5141 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
5142 Add strncase_l-ssse3.
5143 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
5144 * sysdeps/x86_64/strcmp.S: Likewise.
5145 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
5146 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
5147 * sysdeps/x86_64/strncase.S: New file.
5148 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
5149 * sysdeps/x86_64/strncase_l.S: New file.
5150 * string/Makefile (strop-tests): Add strncasecmp.
5151 * string/test-strncasecmp.c: New file.
5152
5153 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
5154 warning.
5155
ca6bb004
UD
5156 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
5157 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
5158
052fa7b3
AS
51592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
5160
5161 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
5162
962dba78
UD
51632010-08-12 Ulrich Drepper <drepper@redhat.com>
5164
5165 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
5166 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5167 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5168
bebff237
AM
51692010-05-01 Alan Modra <amodra@gmail.com>
5170
5171 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
5172 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
5173 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
5174 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
5175 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
5176 tidying. Don't tail-call __sigjmp_save for static lib.
5177 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
5178 save location.
5179 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
5180 (CALL_MCOUNT): Add eh info, and nop after bl.
5181 (TAIL_CALL_SYSCALL_ERROR): New macro.
5182 (PSEUDO_RET): Use it.
5183 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5184 Correct save location of integer regs and cr.
5185 (_dl_profile_resolve): Correct cr save location. Delete nops
5186 after bl when SHARED. Reduce cfi size a little by better
5187 placement of cfi directives.
5188 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
5189 make a stack frame. Instead use parm save area as a temp.
5190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
5191 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5193 Don't make a stack frame for parent, use parm save area.
5194 Increase child stack frame to 112 bytes. Don't save unused reg,
5195 and adjust reg usage. Set up cfi on error recovery and
5196 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
5197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5198 (__makecontext): Add dummy nop after jump to exit.
5199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
5200 Use correct parm save area and cr save, reduce stack frame.
5201 Correct cfi for possible PSEUDO_RET frame setup.
5202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
5203 Branch to local label emitted by PSEUDO_RET rather than
5204 __syscall_error.
5205
02637374
AS
52062010-08-12 Andreas Schwab <schwab@redhat.com>
5207
5208 [BZ #11904]
5209 * locale/programs/locale.c (print_assignment): New function.
5210 (show_locale_vars): Use it.
5211
c3e2f19b
UD
52122010-08-11 Ulrich Drepper <drepper@redhat.com>
5213
3cdaa6ad
UD
5214 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
5215 field.
5216 (struct statfs64): Likewise.
5217 (_STATFS_F_FLAGS): Define.
5218 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
5219 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5220 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
5221 (ST_VALID): Define locally.
5222 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
5223 __statvfs_getflags, use the provided value.
5224 * sysdeps/unix/sysv/linux/kernel-features.h: Define
5225 __ASSUME_STATFS_F_FLAGS.
5226
754f7da3
UD
5227 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
5228
10b3bedc
UD
5229 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
5230 Add sys/fanotify.h.
5231 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
5232 fanotify_mask for GLIBC_2.13.
5233 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
5234 fanotify_init and fanotify_mark.
5235 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5236 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
5237
c08fb0d7
UD
5238 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
5239 Add prlimit.
5240 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
5241 prlimit64 for GLIBC_2.13.
5242 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
5243 prlimit64.
5244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
5245 syscall.
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5247 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5248 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
5249 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
5250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
5251 add prlimit alias.
5252 * sysdeps/unix/sysv/linux/prlimit.c: New file.
5253
15bac72b
UD
5254 [BZ #11903]
5255 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
5256 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
5257
c3e2f19b
UD
5258 * nss/Makefile: Add rules to build and run tst-nss-test1.
5259 * shlib-versions: Add entry for libnss_test1.
5260 * nss/nss_test1.c: New file.
5261 * nss/tst-nss-test1.c: New file.
5262
5263 * nss/nsswitch.c (__nss_database_custom): Define new variable.
5264 (__nss_configure_lookup): Set appropriate entry in
5265 __nss_configure_lookup to true.
5266 * nss/nsswitch.h: Define enum with indeces of databases in
5267 databases and __nss_database_custom arrays. Declare
5268 __nss_database_custom.
5269 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
5270 to avoid using nscd when custom rules are installed.
5271 * nss/getXXbyYY_r.c: Likewise.
5272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5273
5274 * nss/nss_files/files-parse.c: Whitespace fixes.
5275
f15ce4d8
UD
52762010-08-09 Ulrich Drepper <drepper@redhat.com>
5277
5278 [BZ #11883]
5279 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
5280 * posix/fnmatch_loop.c: Likewise.
5281
d22e4cc9
AK
52822010-07-17 Andi Kleen <ak@linux.intel.com>
5283
5284 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
5285 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
5286 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
5287 * Versions.def [GLIBC_2.13]: Add.
5288
805bc17d
UD
52892010-08-06 Ulrich Drepper <drepper@redhat.com>
5290
5291 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5292 Also fail if tpwd after pwuid call is NULL.
5293
5a42321d
ST
52942010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5295
5296 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
5297 when converting to ms.
5298
fd3ebeda
ST
52992010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5300
5301 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
5302 EOPNOTSUPP errors with ENOTTY.
5303 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
5304 EOPNOTSUPP errors with ENOTTY.
5305
73507d3a
UD
53062010-07-31 Ulrich Drepper <drepper@redhat.com>
5307
5308 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
5309 Add strcasecmp_l-ssse3.
5310 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
5311 strcasecmp.
5312 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
5313 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
5314 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
5315
fe36dd02
UD
53162010-07-30 Ulrich Drepper <drepper@redhat.com>
5317
66f6765a
UD
5318 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
5319
42e08a54
UD
5320 * string/Makefile (strop-tests): Add strcasecmp.
5321 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
5322 strcasecmp_l-nonascii.
5323 (gen-as-const-headers): Add locale-defines.sym.
5324 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
5325 * sysdeps/x86_64/strcasecmp.S: New file.
5326 * sysdeps/x86_64/strcasecmp_l.S: New file.
5327 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
5328 * sysdeps/x86_64/locale-defines.sym: New file.
5329 * string/test-strcasecmp.c: New file.
5330
fe36dd02
UD
5331 * string/test-strcasestr.c: Test both ends of the range of characters.
5332 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
5333
48cbc0d6
RM
53342010-07-29 Roland McGrath <roland@redhat.com>
5335
76e6d6bc 5336 [BZ #11856]
48cbc0d6
RM
5337 * manual/locale.texi (Yes-or-No Questions): Fix example code.
5338
880113d9
UD
53392010-07-27 Ulrich Drepper <drepper@redhat.com>
5340
5341 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
5342 for ld.so.
5343
deb9cabb
AS
53442010-07-27 Andreas Schwab <schwab@redhat.com>
5345
5346 * manual/memory.texi (Malloc Tunable Parameters): Document
5347 M_PERTURB.
5348
1c7570ff
RM
53492010-07-26 Roland McGrath <roland@redhat.com>
5350
5351 [BZ #11840]
5352 * configure.in (-fgnu89-inline check): Set and substitute
5353 gnu89_inline, not libc_cv_gnu89_inline.
5354 * configure: Regenerated.
5355 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
5356
24fb0f88
UD
53572010-07-26 Ulrich Drepper <drepper@redhat.com>
5358
5359 * string/test-strnlen.c: New file.
5360 * string/Makefile (strop-tests): Add strnlen.
5361 * string/tester.c (test_strnlen): Add a few more test cases.
5362 * string/tst-strlen.c: Better error reporting.
5363
5364 * sysdeps/x86_64/strnlen.S: New file.
5365
8e96b93a
UD
53662010-07-24 Ulrich Drepper <drepper@redhat.com>
5367
5368 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
5369 lower-latency instructions.
5370
dbc676d4
UD
53712010-07-23 Ulrich Drepper <drepper@redhat.com>
5372
5373 * string/test-strcasestr.c: New file.
5374 * string/test-strstr.c: New file.
5375 * string/Makefile (strop-tests): Add strstr and strcasestr.
5376 * string/str-two-way.h: Don't undefine MAX.
5377 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
5378
f6a31e0e
AS
53792010-07-21 Andreas Schwab <schwab@redhat.com>
5380
5381 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5382 strcasestr-nonascii.
5383 (CFLAGS-strcasestr-nonascii.c): Define.
5384 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
5385 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
5386 Remove unused attribute.
5387
5dbc3b6c
RM
53882010-07-20 Roland McGrath <roland@redhat.com>
5389
5390 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
5391 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
5392 ld.so.cache was broken. With it, there is no way to disable dsocaps
5393 like LD_HWCAP_MASK can disable hwcaps.
5394
23d101d8
EPM
53952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
5396
5397 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
5398
cc9f2e47
UD
53992010-07-16 Ulrich Drepper <drepper@redhat.com>
5400
5401 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
5402 call in strcasestr.
5403 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
5404 __strcasestr_sse42_nonascii.
5405 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
5406 strcasestr-nonascii.c.
5407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
5408
77c1b069
LM
54092010-06-15 Luis Machado <luisgpm@br.ibm.com>
5410
5411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
5412 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
5413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
5414 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
5415
440566c3
UD
54162010-07-09 Ulrich Drepper <drepper@redhat.com>
5417
5418 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
5419 fcntl.
5420
5be9d05d
AS
54212010-07-06 Andreas Schwab <schwab@redhat.com>
5422
c30b7ee2 5423 [BZ #11577]
5be9d05d
AS
5424 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
5425 dl_signal_cerror.
5426
8a492a67
UD
54272010-07-06 Ulrich Drepper <drepper@redhat.com>
5428
5429 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
5430 _PC_PIPE_BUF using F_GETPIPE_SZ.
5431
713df3d5
RM
54322010-07-05 Roland McGrath <roland@redhat.com>
5433
5434 * manual/arith.texi (Rounding Functions): Fix rint description
5435 implicit in round description.
5436
702e8f14
UD
54372010-07-02 Ulrich Drepper <drepper@redhat.com>
5438
5439 * elf/Makefile: Fix linking for a few tests to make recent linker
5440 happy.
5441
52ed8be9
AS
54422010-06-30 Andreas Schwab <schwab@redhat.com>
5443
5444 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5445 $(common-objpfx)libc_nonshared.a.
5446
f47c9a11
LM
54472010-06-21 Luis Machado <luisgpm@br.ibm.com>
5448
5449 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
5450 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
5451 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
5452 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
5453 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
5454 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
5455 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
5456 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
5461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
5463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
5466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
5469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
5471 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
5472 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
5473 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
5474 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
5475 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
5476 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
5477 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
5478 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
5479 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
5480 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
5481 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
5482 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
5486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
5487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
5489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
5491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
5492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
5493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
5494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
5496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
5497
6fb8cbcb
L
54982010-06-25 H.J. Lu <hongjiu.lu@intel.com>
5499
5500 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
5501 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
5502 * string/memmove.c (memmove): Renamed to ...
5503 (MEMMOVE): ...this. Default to memmove.
5504 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
5505 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
5506 (END_CHK): Define.
5507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5508 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
5509 mempcpy-ssse3-back memmove-ssse3-back.
5510 * sysdeps/x86_64/multiarch/bcopy.S: New file .
5511 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
5512 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
5513 * sysdeps/x86_64/multiarch/memcpy.S: New file.
5514 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
5515 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
5516 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
5517 * sysdeps/x86_64/multiarch/memmove.c: New file.
5518 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
5519 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
5520 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
5521 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
5522 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
5523 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
5524 Define.
5525 (index_Fast_Copy_Backward): Define.
5526 (HAS_ARCH_FEATURE): Define.
5527 (HAS_FAST_REP_STRING): Define.
5528 (HAS_FAST_COPY_BACKWARD): Define.
5529
4e733bac 55302010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
5531
5532 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5533 Restore proper fallback handling.
5534
63c4ed22
UD
55352010-06-19 Ulrich Drepper <drepper@redhat.com>
5536
ac2b484c
UD
5537 [BZ #11701]
5538 * posix/group_member.c (__group_member): Correct checking loop.
5539
63c4ed22
UD
5540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
5541 OOM in getpwuid_r correctly. Return error number when the caller
5542 should return, otherwise -1.
5543 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
5544 call returning > 0 value.
5545 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
5546
765ade4b
AS
55472010-06-07 Andreas Schwab <schwab@redhat.com>
5548
5549 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
5550 libc_nonshared.a from targets in modules-names.
5551
80da2e09
KS
55522010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
5553
5554 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
5555 requires it.
5556
158db122
LM
55572010-06-10 Luis Machado <luisgpm@br.ibm.com>
5558
5559 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
5560 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
5561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
5562 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
5563
caa78cf8
AS
55642010-06-02 Andreas Schwab <schwab@redhat.com>
5565
5566 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
5567
b2ef2c01
UD
55682010-06-14 Ulrich Drepper <drepper@redhat.com>
5569
5570 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
5571 and F_GETPIPE_SZ.
5572 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5575 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5576 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5577 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
5578
fbd643b6
RM
55792010-06-14 Roland McGrath <roland@redhat.com>
5580
5581 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
5582
f32f2869
JJ
55832010-06-07 Jakub Jelinek <jakub@redhat.com>
5584
5585 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
5586 __REDIRECT followed by __THROW.
5587 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
5588 * posix/getopt.h (getopt): Likewise.
5589
2a50c078
EPM
55902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
5591
5592 * hurd/lookup-at.c (__file_name_lookup_at): Accept
5593 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
5594 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
5595 in AT_FLAGS.
5596 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
5597 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
5598
eb5ad2eb
LM
55992010-05-28 Luis Machado <luisgpm@br.ibm.com>
5600
5601 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
5602
3c88fe1e
L
56032010-05-26 H.J. Lu <hongjiu.lu@intel.com>
5604
5605 [BZ #11640]
5606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5607 Properly check family and model.
5608
d2f73151
TY
56092010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
5610
5611 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
5612
ebd2e13d
LM
56132010-05-24 Luis Machado <luisgpm@br.ibm.com>
5614
5615 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
5616
b32b8b45
UD
56172010-05-21 Ulrich Drepper <drepper@redhat.com>
5618
5619 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
5620 symbol reference.
5621
9acbe24d
AS
56222010-05-19 Andreas Schwab <schwab@redhat.com>
5623
5624 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
5625 symbol reference.
5626
f0ccf6ea
AS
56272010-05-21 Andreas Schwab <schwab@redhat.com>
5628
3d04ff3a
AS
5629 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
5630 and internal_recvmmsg.
5631 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
5632 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
5633 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
5634 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
5635
f0ccf6ea
AS
5636 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
5637 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5638 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5639
5b08ac57
AS
56402010-05-20 Andreas Schwab <schwab@redhat.com>
5641
5642 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
5643
4828935d
LM
56442010-05-17 Luis Machado <luisgpm@br.ibm.com>
5645
5646 POWER7 optimizations.
5647 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
5648 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
5649
373d545e
UD
56502010-05-19 Ulrich Drepper <drepper@redhat.com>
5651
5652 * version.h: Update for 2.13 development version.
5653
21a2b1ae
AS
56542010-05-12 Andrew Stubbs <ams@codesourcery.com>
5655
5656 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
5657 exceptions. Return 0.
5658
3f7dcb2b
RM
56592010-05-07 Roland McGrath <roland@redhat.com>
5660
5661 * elf/ldconfig.c (main): Add a const.
5662
5f24d53a 56632010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 5664
a160f8d8
UD
5665 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
5666 (args_options): Add no-idn option.
5667 (ahosts_keys_int): Add idn_flags to ai_flags.
5668 (parse_option): Handle 'i' option to clear idn_flags.
5669
5f24d53a
UD
5670 * malloc/malloc.c (_int_free): Possible race in the most recently
5671 added check. Only act on the data if no current modification
5672 happened.
265bb1ce
UD
5673
5674See ChangeLog.17 for earlier changes.
This page took 0.699096 seconds and 5 git commands to generate.