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