]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Create and use SET_RESTORE_ROUND{,_NOEX,_53BIT}{,F,L}.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4851a949
RH
12012-03-19 Richard Henderson <rth@twiddle.net>
2
eb92c487
RH
3 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
4 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6 (libc_feresetround_noex): New.
7 (libc_feresetround_noexf): New.
8 (libc_feresetround_noexl): New.
9 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
11 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
12 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13 SET_RESTORE_ROUND.
14 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16 (__cos): Likewise.
17 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19 SET_RESTORE_ROUND_NOEX.
20 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21 SET_RESTORE_ROUND_NOEXF.
22 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24 (libc_feholdsetroundf): New.
25 (libc_feresetround, libc_feresetroundf): New.
26
7d2e8012
RH
27 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
30
b4dabbb4
RH
31 * sysdeps/generic/math_private.h: Include <fenv.h>.
32 (default_libc_feholdexcept): New.
33 (default_libc_feholdexcept_setround): New.
34 (default_libc_fesetenv, default_libc_feupdateenv): New.
35 (libc_feholdexcept): Only define if undefined.
36 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38 (libc_feholdexcept_setroundl): Likewise.
39 (libc_feholdexcept_setround_53bit): Likewise.
40 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43 (libc_feupdateenv_53bit): Likewise.
44 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45 (libc_feholdexcept): Convert from macro to inline function.
46 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47 (libc_fesetenv, libc_feupdateenv): Likewise.
48
4851a949
RH
49 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50 not previously defined.
51 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55 * sysdeps/ieee754/flt-32/math_private.h: New file.
56 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
57 math_private.h below SET_FLOAT_WORD.
58 (__isnan, __isinf_ns, __finite): Remove.
59 (__isnanf, __isinf_nsf, __finitef): Remove.
60
e79d442e
AS
612012-03-18 Andreas Schwab <schwab@linux-m68k.org>
62
63 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64
90b80344
DM
652012-03-17 David S. Miller <davem@davemloft.net>
66
67 [BZ #6471]
68 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69 for 2.16.
70
edc21804
DM
712012-03-16 David S. Miller <davem@davemloft.net>
72
77e927af
DM
73 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74 warnings.
75
374976dd
DM
76 [BZ #6471]
77 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
78 properly.
79 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
80 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
81 sysdep_routines when subdir is sysvipc.
82 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
83 __getshmlba helper.
84
edc21804
DM
85 * sysdeps/sparc/fpu/libm-test/ulps: Update.
86
473c3ef3
L
872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
88
89 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
90 [__LP64__].
91
eb0f39b6
L
922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
93
94 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
95 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
96 (__lround): Renamed to ...
97 (__llround): This. Replace long int with long long int.
98 Define lround functions as aliases of llround functions.
99 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
100
6b6cd74b
L
1012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
102
103 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
104 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
105 adresses to uintptr_t. Replace "long int" and "unsigned long
106 int" with "greg_t" on va_arg.
107
f1a77b01
L
1082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
109
110 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
111 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
112
113 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
114 Move e_machine check before EI_CLASS check. Handle x32
115 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
116 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
117 SKIP_EM_IA_64 and include
118 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
119
120 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
121 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
122 (add_system_dir): New macro.
123
124 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
125 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
126
11b90b9f
JM
1272012-03-16 Joseph Myers <joseph@codesourcery.com>
128
c36e1d23
JM
129 [BZ #2551]
130 [BZ #2552]
131 [BZ #2553]
132 [BZ #2554]
133 [BZ #2562]
134 [BZ #2563]
135 [BZ #2565]
136 [BZ #2566]
137 [BZ #2576]
138 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
139 (y0): Likewise.
140 * math/w_j0f.c (j0f): Likewise.
141 (y0f): Likewise.
142 * math/w_j0l.c (__j0l): Likewise.
143 (__y0l): Likewise.
144 * math/w_j1.c (j1): Likewise.
145 (y1): Likewise.
146 * math/w_j1f.c (j1f): Likewise.
147 (y1f): Likewise.
148 * math/w_j1l.c (__j1l): Likewise.
149 (__y1l): Likewise.
150 * math/w_jn.c (jn): Likewise.
151 (yn): Likewise.
152 * math/w_jnf.c (jnf): Likewise.
153 (ynf): Likewise.
154 * math/w_jnl.c (__jnl): Likewise.
155 (__ynl): Likewise.
156 * math/libm-test.inc (j0_test): Add more tests.
157 (j1_test): Likewise.
158 (jn_test): Likewise. Add trailing semicolon to existing test.
159 (y0_test): Likewise.
160 (y1_test): Likewise.
161 * sysdeps/i386/fpu/libm-test-ulps: Update.
162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
163
11b90b9f
JM
164 [BZ #13851]
165 [BZ #13854]
166 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
167 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
168 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
169 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
170 (__tanl): Set errno for infinite argument.
171 * sysdeps/i386/fpu/mptan.c: Remove.
172 * sysdeps/i386/fpu/s_tan.S: Likewise.
173 * sysdeps/i386/fpu/s_tanl.S: Likewise.
174 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
175 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
176 * math/libm-test.inc (tan_test): Add more tests and enable more
177 tests for double and long double.
178 * sysdeps/i386/fpu/libm-test-ulps: Update.
179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
180
6a1bd2a1
JK
1812012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
182
183 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
184 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
185
10a803e0
RM
1862012-03-16 Roland McGrath <roland@hack.frob.com>
187
188 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
189 * configure.in: Use it for both main tree and add-ons.
190 * configure: Regenerated.
191
f196c7f7
L
1922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
193
194 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
195
8848d99d
JM
1962012-03-16 Joseph Myers <joseph@codesourcery.com>
197
96cbe7f4
JM
198 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
199 in comment.
200
8848d99d
JM
201 [BZ #13851]
202 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
203 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
204 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
205 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
206 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
207 infinite argument.
208 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
209 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
210 != 0 for prec == 2.
211 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
212 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
213 * sysdeps/i386/fpu/s_cosl.S: Likewise.
214 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
215 * sysdeps/i386/fpu/s_sinl.S: Likewise.
216 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
217 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
218 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
219 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
220 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
221 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
222 * math/libm-test.inc (cos_test): Add more tests and enable more
223 tests for long double.
224 (sin_test): Likewise.
225 (sincos_test): Likewise.
226 * sysdeps/i386/fpu/libm-test-ulps: Update.
227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
228
dd7f4703
DM
2292012-03-16 David S. Miller <davem@davemloft.net>
230
231 * sysdeps/sparc/fpu/math_private.h: New file.
232
006f1daa
DM
2332012-03-15 David S. Miller <davem@davemloft.net>
234
c0c83bc8
DM
235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
236 file.
e6a62e18 237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
239 file.
e6a62e18
DM
240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
246 sysdep routines.
247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
248
88cb87d9
DM
249 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
250 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
251
006f1daa 252 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
254 sparc-ifunc.h
006f1daa 255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
257 Likewise.
258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
259 Likewise.
006f1daa
DM
260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
264 Likewise.
006f1daa
DM
265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
270 Likewise.
271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
272 Likewise.
006f1daa
DM
273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
291 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
293 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
294 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
295 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
296 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
297
11e0098e
AS
2982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
299
300 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
301 scaling.
302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
303
e85b09d0
AJ
3042012-03-15 Andreas Jaeger <aj@suse.de>
305
306 [BZ #13852]
307 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
308 ieee754/flt-32 implementation for sin, cos and sincos.
309 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
310 * sysdeps/i386/fpu/s_cosf.S: Likewise.
311 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
312 * sysdeps/i386/fpu/s_sinf.S: Likewise.
313 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
314 ieee754/flt-32 implementation for tan.
315
316 * math/libm-test.inc (cos_test): Enable some large input tests for
317 float as well
318 (sin_test): Likewise.
319 (sincos_test): Likewise.
320 (tan_test): Add tests for large input.
321
322 * sysdeps/i386/fpu/libm-test-ulps: Update.
323
81c64153
AJ
3242012-03-15 Andreas Jaeger <aj@suse.de>
325
326 [BZ #13658]
327 * math/libm-test.inc (cos_test): Add more test cases.
328 (sin_test): Likewise.
329 (sincos_test): Likewise.
330
7bbfa5c6
AJ
3312012-03-15 Andreas Jaeger <aj@suse.de>
332
333 [BZ #13837]
334 * math/libm-test.inc (cos_test): Add a test case for large input
335 value.
336 (sin_test): Likewise.
337 (sincos_test): Likewise.
338
3392012-03-15 Andreas Jaeger <aj@suse.de>,
340 Joseph Myers <joseph@codesourcery.com>
341
342 [BZ #13658]
0671f479 343 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
344 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
345 * sysdeps/i386/fpu/branred.c: Likewise.
346 * sysdeps/i386/fpu/dosincos.c: Likewise.
347 * sysdeps/i386/fpu/mpa.c: Likewise.
348 * sysdeps/i386/fpu/s_cos.S: Likewise.
349 * sysdeps/i386/fpu/s_sin.S: Likewise.
350 * sysdeps/i386/fpu/s_sincos.S: Likewise.
351 * sysdeps/i386/fpu/sincos32.c: Likewise.
352
353 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
354 Define.
355 (libc_feupdateenv_53bit): Define.
356 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
357 Define.
358 (libc_feupdateenv_53bit): Define.
359
360 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
361 53 bit (without extend i386 double precision).
362
363 * math/libm-test.inc (sincos_test): Add tests for large input.
364 (sin): Likewise.
365 (cos): Likewise.
366
367 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
368
9cad04ea
AS
3692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
370
371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
372
f7062b9a
DM
3732012-03-15 David S. Miller <davem@davemloft.net>
374
375 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
376 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
377 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
378 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
391 file.
f7062b9a 392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
394 file.
f7062b9a 395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
397 file.
f7062b9a 398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
400 file.
f7062b9a
DM
401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
402 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
403 fmin/fmax sysdep routines.
404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
405
7bd951ff
DM
4062012-03-14 David S. Miller <davem@davemloft.net>
407
559398ab
DM
408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
410 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
411 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
412 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
413 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
414 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
415 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
416 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
417 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
420 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
421 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
422 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
423 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
428 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
429 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
430 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
432 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
433 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
434 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
435 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
437 routines.
438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
439 file.
559398ab 440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
442 file.
559398ab 443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
445 file.
559398ab 446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
448 file.
559398ab 449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
451 file.
559398ab 452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
454 file.
455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
456 file.
457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
458 file.
459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
460 file.
461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
462 New file.
463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
464 file.
465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
466 file.
559398ab 467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
469 file.
559398ab 470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
472 file.
559398ab 473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
475 file.
559398ab 476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
478 VIS3 routines.
559398ab
DM
479
480 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
481 New file.
482
5a1c1e32
DM
483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
484
eae47a36
DM
485 * sysdeps/sparc/configure.in: New file.
486 * sysdeps/sparc/configure: Generate.
487 * configure.in (libc_cv_sparc_as_vis3): Substitute.
488 * configure: Regenerate.
489 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
490 * config.make.in (have-as-vis3): New.
491 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
492 available use -Av9d instead of -Av9a.
493 * sysdeps/sparc/sparc64/Makefile: Likewise.
494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
496 New file.
497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
498 file.
499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
500 New file.
501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
502 file.
eae47a36
DM
503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
504 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
505 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
506 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
507 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
508
c0c83bc8
DM
509 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
510 fzeros/fnegs to load 0x80000000 into a float register instead of
511 using the stack.
7bd951ff
DM
512 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
513
bd951ccb
JM
5142012-03-14 Joseph Myers <joseph@codesourcery.com>
515
516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
517 bits/syscall.h.
518 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
519 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
520 ($(inst_includedir)/bits/syscall.h): Remove rule.
521 ($(objpfx)bits/syscall.d): Include instead of
522 $(objpfx)syscall-list.d.
523 (generated): Change syscall-list.h and syscall-list.d to
524 bits/syscall.h and bits/syscall.d.
525
bb4e6db2
RM
5262012-03-14 Roland McGrath <roland@hack.frob.com>
527
528 [BZ #13846]
529 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
530
aa4a2ae1
JM
5312012-03-14 Joseph Myers <joseph@codesourcery.com>
532
e456826d
JM
533 [BZ #13841]
534 * math/s_csqrt.c: Include <float.h>.
535 (__csqrt): Scale large or subnormal inputs.
536 * math/s_csqrtf.c: Likewise.
537 * math/s_csqrtl.c: Likewise.
538 * math/libm-test.inc (csqrt_test): Add more tests.
539 * sysdeps/i386/fpu/libm-test-ulps: Update.
540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
541
aa4a2ae1
JM
542 [BZ #13840]
543 * math/libm-test.inc (hypot_test): Add more tests.
544
7c10fd35
DM
5452012-03-13 David S. Miller <davem@davemloft.net>
546
547 [BZ #13840]
548 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
549 double-precision for the calculation instead of scaling.
550
f453b98b
JM
5512012-03-13 Joseph Myers <joseph@codesourcery.com>
552
553 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
554 manipulate bits before adding and subtracting TWO52[sx].
555 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
556 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
557 Likewise.
558 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
559
09a3453f
DM
5602012-03-13 David S. Miller <davem@davemloft.net>
561
8e59da90
DM
562 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
563 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
565 rtld-global-offsets.h
566 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
567
2a8ab7f2
DM
568 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
569 large parameters.
570
10f62770
DM
571 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
572
5f0bdb18
DM
573 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
574 'err' in the ifdef scope in which it is actually used.
575
09a3453f
DM
576 * nss/nss_db/db-init.c: Include string.h
577
b4b2eb5e
DM
5782012-03-12 David S. Miller <davem@davemloft.net>
579
98bb2f1c
DM
580 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
581 masking out of the most significant byte of random value used.
582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
583 Fix coding style in previous change.
584
b4b2eb5e
DM
585 * sysdeps/unix/sysv/linux/kernel-features.h
586 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
587 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
588 expression.
589 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
590 later.
591
6e226b09
DM
5922012-03-11 David S. Miller <davem@davemloft.net>
593
a1bcbd40
DM
594 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
595 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
596 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
597 for 'resultvar' otherwise things get truncated on 64-bit.
598
cb9d6174
DM
599 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
600 Fix masking out of the most significant byte of random value used.
601
6e226b09
DM
602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
603
058c132d
AS
6042012-03-10 Andreas Schwab <schwab@linux-m68k.org>
605
606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
607
2d2cd515
DM
6082012-03-09 David S. Miller <davem@davemloft.net>
609
610 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
611 variables with appropriate CPP guards.
612 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
613 frame pointer, not the stack pointer. Correct layout comments. Fix test
614 on resulting framesize and the management of the outregs buffer for pltexit.
615 Preserve floating point return values across _dl_call_pltexit call.
616 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
617 framesize and the management of the outregs buffer for pltexit.
618 Preserve floating point return values across _dl_call_pltexit
619 call.
620 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
621 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
622 (print_exit): Fix format string for return register value.
623
9a07f9d0
JM
6242012-03-10 Joseph Myers <joseph@codesourcery.com>
625
626 * sunrpc/Makefile (others): Add rpcgen.
627 ($(objpfx)rpcgen): Remove special build rule and dependency on
628 libc.
629 * sunrpc/rpcgen.c: New file.
630
547b5e30
PE
6312012-03-09 Paul Eggert <eggert@cs.ucla.edu>
632
c524201a
PE
633 [BZ #13673]
634 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
635 * stdio-common/bug-vfprintf-nargs.c: Likewise.
636 * sysdeps/i386/crti.S: Likewise.
637 * sysdeps/i386/crtn.S: Likewise.
638 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
639 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
640 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
641 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
642 * sysdeps/sh/crti.S: Likewise.
643 * sysdeps/sh/crtn.S: Likewise.
644 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
645
7b6235f2
PE
646 [BZ #13673]
647 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
648 with URL.
649 * locale/programs/locfile-kw.gperf: Likewise.
650 * locale/programs/charmap-kw.h: Regenerated.
651 * locale/programs/locfile-kw.h: Likewise.
652
547b5e30
PE
653 [BZ #13673]
654 * intl/plural.y: Replace FSF snail mail address with URL.
655 * intl/plural.c: Regenerated.
656
5f0a5dae
RH
6572012-03-09 Richard Henderson <rth@twiddle.net>
658
659 * include/math_private.h: Remove file.
660 * math/math_private.h: Move file ...
661 * sysdeps/generic/math_private.h: ... here.
662
b8c03620
RH
663 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
664 * sysdeps/powerpc/fpu/math_private.h: Likewise.
665 * sysdeps/x86_64/fpu/math_private.h: Likewise.
666
4e234f5d 667 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
668 and <math_private.h>.
669 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
670 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
671 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
672 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
673 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
674 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
675 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
676 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
677 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
678 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
679 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
680 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
681 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
683 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
684 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
685 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
686 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
687 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
688 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
690 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
691 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
692 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
693 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
694 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
695 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
696 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
697 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
698 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
699 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
700 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
701 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
702 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
703 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
704 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
705 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
706 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
707 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
708 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
709 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
710 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
711 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
712 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
713 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
714 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
715 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
716 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
717 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
718 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
719 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
720 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
721 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
722 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
723 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
724 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
725 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
726 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
727 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
728 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
729 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
730 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
732 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
733 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
734 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
735 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
736 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
737 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
738 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
739 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
740 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
741 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
742 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
743 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
744 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
747 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
748 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
749 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
750 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
751 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
752 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
753 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
754 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
755 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
756 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
757 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
758 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
759 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
760 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
761 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
762 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
763 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
764 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
765 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
766 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
767 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
768 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
769 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
770 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
771 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
772 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
773 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
774 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
775 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
776 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
777 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
778 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
779 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
780 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
781 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
782 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
783 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
784 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
785 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
786 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
787 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
788 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
789 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
790 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
791 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
792 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
793 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
794 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
795 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
796 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
797 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
798 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
799 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
800 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
801 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
802 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
803 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
804 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
805 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
806 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
807 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
808 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
809 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
810 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
811 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
812 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
813 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
814 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
815 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
816 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
817 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
818 * sysdeps/ieee754/k_standard.c: Likewise.
819 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
820 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
821 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
822 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
823 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
824 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
825 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
826 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
827 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
828 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
829 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
830 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
831 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
832 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
833 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
834 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
835 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
836 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
837 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
838 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
839 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
840 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
841 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
842 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
843 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
844 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
845 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
846 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
847 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
848 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
849 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
850 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
851 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
852 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
853 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
854 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
855 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
856 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
857 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
858 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
859 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
860 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
861 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
862 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
863 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
864 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
865 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
867 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
868 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
869 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
870 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
871 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
872 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
873 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
874 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
875 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
876 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
877 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
878 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
879 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
880 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
881 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
882 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
883 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
884 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
885 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
886 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
887 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
888 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
889 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
890 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
891 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
892 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
893 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
894 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
896 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
897 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
898 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
899 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
900 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
901 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
902 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
903 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
904 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
905 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
906 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
907 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
908 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
909 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
910 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
911 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
912 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
913 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
914 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
915 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
916 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
917 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
918 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
920 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
921 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
922 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
923 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
924 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
925 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
926 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
927 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
928 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
929 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
930 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
931 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
932 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
933 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
934 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
935 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
936 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
937 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
938 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
939 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
940 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
941 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
942 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
943 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
944 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
945 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
946 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
947 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
948 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
949 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
950 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
951 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
952 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
953 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
954 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
955 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
956 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
957 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
958 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
959 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
960 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
961 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
962 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
963 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
964 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
965 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
966 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
967 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
968 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
969 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
970 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
971 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
972 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
973 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
974 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
975 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
976 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
977 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
978 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
979 * sysdeps/ieee754/s_lib_version.c: Likewise.
980 * sysdeps/ieee754/s_matherr.c: Likewise.
981 * sysdeps/ieee754/s_signgam.c: Likewise.
982 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
983 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
984 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
985 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
986 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
987 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
988 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
989 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
990 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
991 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
992 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
993 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
994 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
995 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
996 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
997 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
998 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
999 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1000 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1001 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1002 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1003
1991fa03
JM
10042012-03-09 Joseph Myers <joseph@codesourcery.com>
1005
1006 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1007 * sunrpc/rpc_main.c: Likewise.
1008 * sunrpc/rpc_svcout.c: Likewise.
1009
60d6f5a6
DM
10102012-03-09 David S. Miller <davem@davemloft.net>
1011
1012 * include/math_private.h: New file.
1013
4962050e
JM
10142012-03-09 Joseph Myers <joseph@codesourcery.com>
1015
02a6f887
JM
1016 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1017 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1018 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1019 from <bits/socket_type.h>.
1020 (enum __socket_type): Don't define here.
1021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1023 bits/socket_type.h.
1024
c6e013c1
JM
1025 [BZ #13566]
1026 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1027 checking __USE_GNU.
1028
4962050e
JM
1029 * Makerules ($(inst_includedir)/%.h): New rule.
1030 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1031 (install-others): Remove variable setting.
1032 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1033
38842f45
RH
10342012-03-08 Richard Henderson <rth@twiddle.net>
1035
67bb6da6
RH
1036 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1037 from macro to inline function; merge with the
1038 !__LIBC_INTERNAL_MATH_INLINES version.
1039 (__ieee754_sqrtf): Likewise.
1040
15194b4b
RH
1041 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1042 to inline function.
1043 (__rintf, __floor, __floorf): Likewise.
1044
64e21ede
RH
1045 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1046 macro to inline function.
1047 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1048
38842f45
RH
1049 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1050 not <math/math_private.h>.
1051
c64bf5fe
DM
10522012-03-08 David S. Miller <davem@davemloft.net>
1053
1054 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1055 copyright year.
1056 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1057
82d86f28
TS
10582012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1059
1060 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1061 normalization.
1062 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1063 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1064
aea5d727
UD
10652012-03-08 Ulrich Drepper <drepper@gmail.com>
1066
1067 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1068 be defined individually, they must be defined as a block. Define
1069 S for printing a string instead of hidint the different by using a
1070 macro for adding the 'l'.
1071 * stdio-common/tst-fphex-wide.c: Adjust.
1072
70bca0a3
MP
10732012-03-07 Marek Polacek <polacek@redhat.com>
1074
1075 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1076
65b81130
MP
10772012-03-08 Marek Polacek <polacek@redhat.com>
1078
1079 [BZ #13806]
1080 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1081 * stdio-common/tst-fphex.c: Define a few macros to make the
1082 test reusable. Use them.
1083 * stdio-common/tst-fphex-wide.c: New file.
1084
07037eeb
JM
10852012-03-08 Joseph Myers <joseph@codesourcery.com>
1086
a7a93d50
JM
1087 [BZ #6911]
1088 * manual/macros.texi (gnusystems): New macro.
1089 (nongnusystems): Likewise.
1090 (gnulinuxhurdsystems): Likewise.
1091 (gnuhurdsystems): Likewise..
1092 (gnulinuxsystems): Likewise.
1093 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1094 variants of the GNU system, not "GNU system".
1095 * manual/conf.texi: Likewise.
1096 * manual/errno.texi: Likewise. Update example of errno macro
1097 expansion.
1098 * manual/filesys.texi: Likewise.
1099 (getumask): Document as specific to GNU/Hurd.
1100 * manual/install.texi: Likewise. Reword some references to
1101 GNU/Linux.
1102 * manual/intro.texi: Likewise.
1103 * manual/io.texi: Likewise.
1104 (File Name Portability): Detail which constraints are inapplicable
1105 to all GNU systems and which are only inapplicable to GNU/Hurd.
1106 * manual/job.texi: Likewise.
1107 * manual/llio.texi: Likewise.
1108 (O_NOCTTY): Document as present on GNU/Linux.
1109 * manual/maint.texi: Likewise.
1110 * manual/memory.texi: Likewise.
1111 * manual/pattern.texi: Likewise.
1112 * manual/pipe.texi: Likewise.
1113 * manual/process.texi: Likewise.
1114 * manual/resource.texi: Likewise.
1115 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1116 child on GNU/Hurd.
1117 * manual/setjmp.texi: Likewise.
1118 * manual/signal.texi: Likewise.
1119 * manual/startup.texi: Likewise.
1120 * manual/stdio.texi: Likewise.
1121 * manual/terminal.texi: Likewise.
1122 (ONLCR): Document as POSIX.
1123 (OXTABS): Document availability on GNU/Linux as XTABS.
1124 (ONOEOT): Document availability separately from other bits.
1125 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1126 * manual/time.texi: Likewise.
1127 * manual/users.texi: Likewise.
1128 * INSTALL: Regenerated.
1129 * sysdeps/gnu/errlist.c: Regenerated.
1130
07037eeb
JM
1131 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1132 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1133 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1134 puts.
1135 * configure: Regenerated.
1136
d1d3431a
JM
11372012-03-07 Joseph Myers <joseph@codesourcery.com>
1138
af6a1e37
JM
1139 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1140 default includes instead of AC_HEADER_CHECK.
1141 * sysdeps/i386/configure: Regenerated.
1142
d1d3431a
JM
1143 [BZ #10716]
1144 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1145 * math/s_cacoshf.c (__cacoshf): Likewise.
1146 * math/s_cacoshl.c (__cacoshl): Likewise.
1147 * math/s_casinh.c (__casinh): Set signs of result from argument.
1148 * math/s_casinhf.c (__casinhf): Likewise.
1149 * math/s_casinhl.c (__casinhl): Likewise.
1150 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1151 (casinh_test): Add more tests.
1152 * sysdeps/i386/fpu/libm-test-ulps: Update.
1153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1154
482ff4da
UD
11552012-03-07 Ulrich Drepper <drepper@gmail.com>
1156
872fda05
UD
1157 * po/zh_TW.po: Update from translation team.
1158
a4300c7a
UD
1159 * login/Makefile (distribute): Remove variable.
1160 * catgets/Makefile: Likewise.
1161 * mach/Makefile: Likewise.
1162 * malloc/Makefile: Likewise.
1163 * misc/Makefile: Likewise.
1164 * iconv/Makefile: Likewise.
1165 * nscd/Makefile: Likewise.
1166 * hurd/Makefile: Likewise.
1167 * manual/Makefile: Likewise.
1168 * locale/Makefile: Likewise.
1169 * intl/Makefile: Likewise.
1170 * conform/Makefile: Likewise.
1171 * nss/Makefile: Likewise.
1172 * time/Makefile: Likewise.
1173 * soft-fp/Makefile: Likewise.
1174 * dirent/Makefile: Likewise.
1175 * gmon/Makefile: Likewise.
1176 * po/Makefile: Likewise.
1177 * rt/Makefile: Likewise.
1178 * socket/Makefile: Likewise.
1179 * math/Makefile: Likewise.
1180 * signal/Makefile: Likewise.
1181 * debug/Makefile: Likewise.
1182 * elf/Makefile: Likewise.
1183 * timezone/Makefile: Likewise.
1184 * stdlib/Makefile: Likewise.
1185 * iconvdata/Makefile: Likewise.
1186 * sunrpc/Makefile: Likewise.
1187 * io/Makefile: Likewise.
1188 * argp/Makefile: Likewise.
1189 * inet/Makefile: Likewise.
1190 * hesiod/Makefile: Likewise.
1191 * grp/Makefile: Likewise.
1192 * csu/Makefile: Likewise.
1193 * wctype/Makefile: Likewise.
1194 * crypt/Makefile: Likewise.
1195 * libio/Makefile: Likewise.
1196 * string/Makefile: Likewise.
1197 * nis/Makefile: Likewise.
1198 * resolv/Makefile: Likewise.
1199 * stdio-common/Makefile: Likewise.
1200 * wcsmbs/Makefile: Likewise.
1201 * dlfcn/Makefile: Likewise.
1202 * posix/Makefile: Likewise.
1203
482ff4da
UD
1204 * timezone/Makefile: Don't install timezone files, just the programs
1205 and scripts.
1206
f72ed77d
UD
12072012-03-06 Ulrich Drepper <drepper@gmail.com>
1208
a000466f
UD
1209 * nss/databases.def: Add missing gshadow entry.
1210
f72ed77d
UD
1211 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1212
a53b7a4e
MP
12132012-03-06 Marek Polacek <polacek@redhat.com>
1214
1215 [BZ #13726]
1216 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1217 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1218 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1219 * stdio-common/tst-long-dbl-fphex.c: New file.
1220
e9258400
DM
12212012-03-06 David S. Miller <davem@davemloft.net>
1222
1223 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1224 (set_obp_int): New function.
1225 (get_obp_int): New function.
1226 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1227 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1228 Avoid unused variable warnings on 'val' and use builtin_expect.
1229 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1230 __builtin_expect.
e9258400
DM
1231 (INLINE_CLONE_SYSCALL): Likewise.
1232
3bd2c723
DM
12332012-03-05 David S. Miller <davem@davemloft.net>
1234
1235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1236
bbb78d03
AS
12372012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1238
884c5db4
AS
1239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1240
bbb78d03
AS
1241 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1242 only for |x| >= 40.
1243 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1244
1c9f702a 12452012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1246
1247 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1248 Replace gettimeofday with __vdso_gettimeofday.
1249
7be16f82
RM
1250 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1251 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1252 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1253
1254 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1255 time with __vdso_time.
1256
ed58a00f
JM
12572012-03-05 Joseph Myers <joseph@codesourcery.com>
1258
1259 * manual/lang.texi (size_t): Note types to which size_t may be
1260 equivalent with the GNU C Library, but do not describe when
1261 differences between them are significant.
1262
30ee4ced
AJ
12632012-03-05 Andreas Jaeger <aj@suse.de>
1264
1265 * sysdeps/i386/fpu/libm-test-ulps: Update.
1266
b7cd39e8
JM
12672012-03-05 Joseph Myers <joseph@codesourcery.com>
1268
1269 [BZ #3976]
1270 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1271 (__ieee754_pow): Save and restore rounding mode and use
1272 round-to-nearest for main computations.
1273 * math/libm-test.inc (pow_test_tonearest): New function.
1274 (pow_test_towardzero): Likewise.
1275 (pow_test_downward): Likewise.
1276 (pow_test_upward): Likewise.
1277 (main): Call the new functions.
1278 * sysdeps/i386/fpu/libm-test-ulps: Update.
1279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
1280
1281 [BZ #3976]
1282 * math/libm-test.inc (cosh_test_tonearest): New function.
1283 (cosh_test_towardzero): Likewise.
1284 (cosh_test_downward): Likewise.
1285 (cosh_test_upward): Likewise.
1286 (sinh_test_tonearest): Likewise.
1287 (sinh_test_towardzero): Likewise.
1288 (sinh_test_downward): Likewise.
1289 (sinh_test_upward): Likewise.
1290 (main): Call the new functions.
1291 * sysdeps/i386/fpu/libm-test-ulps: Update.
1292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1293
6c6a98c9
TV
12942012-03-05 Tom de Vries <tom@codesourcery.com>
1295
1296 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1297 default stack guard is set in last bytes.
1298 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1299
21bb2d2e 13002012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 1301
21bb2d2e 1302 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 1303
21bb2d2e
AJ
1304 [BZ #13656]
1305 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1306 possibly allocate from heap instead of stack.
1307 * stdio-common/bug-vfprintf-nargs.c: New file.
1308 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 1309
c6922934
AS
13102012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1311
1312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1313
bc957d53
MP
13142012-03-03 Marek Polacek <polacek@redhat.com>
1315
1316 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1317 * math/math_private.h: Likewise.
1318 * stdlib/tst-strtod.c: Likewise.
1319 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1320 * sysdeps/x86_64/bits/atomic.h: Likewise.
1321
6358490d
DM
13222012-03-02 David S. Miller <davem@davemloft.net>
1323
1324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1328 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1329 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1330 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1331 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1332
01ae168d
RM
13332012-03-02 Roland McGrath <roland@hack.frob.com>
1334
d9a17c07
RM
1335 [BZ #13792]
1336 * manual/examples/README: New file, says the example source files
1337 can be used under GPL>=2.
1338 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1339 line containing just "*/".
1340 * manual/examples/add.c: Add copyright header (GPL>=2).
1341 * manual/examples/argp-ex1.c: Likewise.
1342 * manual/examples/argp-ex2.c: Likewise.
1343 * manual/examples/argp-ex3.c: Likewise.
1344 * manual/examples/argp-ex4.c: Likewise.
1345 * manual/examples/atexit.c: Likewise.
1346 * manual/examples/db.c: Likewise.
1347 * manual/examples/dir.c: Likewise.
1348 * manual/examples/dir2.c: Likewise.
1349 * manual/examples/execinfo.c: Likewise.
1350 * manual/examples/filecli.c: Likewise.
1351 * manual/examples/filesrv.c: Likewise.
1352 * manual/examples/fmtmsgexpl.c: Likewise.
1353 * manual/examples/genpass.c: Likewise.
1354 * manual/examples/inetcli.c: Likewise.
1355 * manual/examples/inetsrv.c: Likewise.
1356 * manual/examples/isockad.c: Likewise.
1357 * manual/examples/longopt.c: Likewise.
1358 * manual/examples/memopen.c: Likewise.
1359 * manual/examples/memstrm.c: Likewise.
1360 * manual/examples/mkfsock.c: Likewise.
1361 * manual/examples/mkisock.c: Likewise.
1362 * manual/examples/mygetpass.c: Likewise.
1363 * manual/examples/pipe.c: Likewise.
1364 * manual/examples/popen.c: Likewise.
1365 * manual/examples/rprintf.c: Likewise.
1366 * manual/examples/search.c: Likewise.
1367 * manual/examples/select.c: Likewise.
1368 * manual/examples/setjmp.c: Likewise.
1369 * manual/examples/sigh1.c: Likewise.
1370 * manual/examples/sigusr.c: Likewise.
1371 * manual/examples/stpcpy.c: Likewise.
1372 * manual/examples/strdupa.c: Likewise.
1373 * manual/examples/strftim.c: Likewise.
1374 * manual/examples/strncat.c: Likewise.
1375 * manual/examples/subopt.c: Likewise.
1376 * manual/examples/swapcontext.c: Likewise.
1377 * manual/examples/termios.c: Likewise.
1378 * manual/examples/testopt.c: Likewise.
1379 * manual/examples/testpass.c: Likewise.
1380 * manual/examples/timeval_subtract.c: Likewise.
1381
01ae168d
RM
1382 [BZ #13792]
1383 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1384 function to ...
1385 * manual/timeval_subtract.c.texi: ... here, new file.
1386
49efa33d
DM
13872012-03-02 David S. Miller <davem@davemloft.net>
1388
1389 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1390
28afd92d
JM
13912012-03-02 Joseph Myers <joseph@codesourcery.com>
1392
804360ed
JM
1393 [BZ #3976]
1394 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1395 (__sin): Save and restore rounding mode and use round-to-nearest
1396 for all computations.
1397 (__cos): Save and restore rounding mode and use round-to-nearest
1398 for all computations.
1399 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1400 <fenv.h>.
1401 (tan): Save and restore rounding mode and use round-to-nearest for
1402 all computations.
1403 * math/libm-test.inc (cos_test_tonearest): New function.
1404 (cos_test_towardzero): Likewise.
1405 (cos_test_downward): Likewise.
1406 (cos_test_upward): Likewise.
1407 (sin_test_tonearest): Likewise.
1408 (sin_test_towardzero): Likewise.
1409 (sin_test_downward): Likewise.
1410 (sin_test_upward): Likewise.
1411 (tan_test_tonearest): Likewise.
1412 (tan_test_towardzero): Likewise.
1413 (tan_test_downward): Likewise.
1414 (tan_test_upward): Likewise.
1415 (main): Call the new functions.
1416 * sysdeps/i386/fpu/libm-test-ulps: Update.
1417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1418
a6d06d7b
JM
1419 [BZ #10135]
1420 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1421 small n, then large n, before computing and testing k+n.
1422 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1424 Likewise.
1425 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1426 Likewise.
1427 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1428 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1429 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1430 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1431 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1432 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1433 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1434 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1435 * math/libm-test.inc (scalbn_test): Add more tests.
1436 (scalbln_test): Likewise.
1437
07e12bb3
JM
1438 * manual/filesys.texi (mode_t): Describe constraints on size and
1439 signedness, not exact equivalence to a particular type.
1440 (ino_t): Likewise.
1441 (ino64_t): Likewise.
1442 (dev_t): Likewise.
1443 (nlink_t): Likewise.
1444 (blkcnt_t): Likewise.
1445 (blkcnt64_t): Likewise.
1446 * manual/llio.texi (off_t): Likewise.
1447
28afd92d
JM
1448 [BZ #3976]
1449 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1450 (__ieee754_exp): Save and restore rounding mode and use
1451 round-to-nearest for all computations.
1452 * math/libm-test.inc (exp_test_tonearest): New function.
1453 (exp_test_towardzero): Likewise.
1454 (exp_test_downward): Likewise.
1455 (exp_test_upward): Likewise.
1456 (main): Call the new functions.
1457 * sysdeps/i386/fpu/libm-test-ulps: Update.
1458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1459
b1eeb65d
CD
14602012-03-01 Chris Demetriou <cgd@google.com>
1461
1462 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1463 have predictable order.
1464
53362a4b
DM
14652012-03-01 David S. Miller <davem@davemloft.net>
1466
3c969083
DM
1467 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1468
759707de
DM
1469 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1470 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1471 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1472 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1473
dfdb8ff2
DM
1474 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1475 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1476 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1478 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1479 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1480 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1481 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1482 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1483
ead89f96
DM
1484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1485
7f66bd07
DM
1486 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1487 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1488 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1489
53362a4b
DM
1490 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1491 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1492 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1493 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1494 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1495 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1496 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1497 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1498 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1499 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1500 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1501 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1503 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1504 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1505 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1506 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1507 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1508 * sysdeps/sparc/elf/configure: Regenerated.
1509
7b1902cb
JM
15102012-03-01 Joseph Myers <joseph@codesourcery.com>
1511
bec039bc
JM
1512 * configure.in (AS, LD): Require binutils 2.20 or later.
1513 * configure: Regenerated.
1514 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1515 as required minimum version.
1516 * INSTALL: Regenerated.
1517
7b1902cb
JM
1518 [BZ #2541]
1519 [BZ #4108]
1520 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1521 before squaring exponent.
1522 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1523 bottom long double and 27 bits of top long double before squaring
1524 exponent.
1525 * math/libm-test.inc (erfc_test): Add more tests.
1526 * sysdeps/i386/fpu/libm-test-ulps: Update.
1527 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1529
f775c276
KT
15302012-03-01 Kai Tietz <ktietz@redhat.com>
1531
1532 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1533 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1534 containing bit-fields.
1535 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1536 * soft-fp/single.h (_FP_UNION_S): Likewise.
1537 * soft-fp/double.h (_FP_UNION_D): Likewise.
1538
5b8a4d4a
JM
15392012-02-29 Joseph Myers <joseph@codesourcery.com>
1540
0bab47b6
JM
1541 [BZ #13786]
1542 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1543 not include ../strcmp.S.
1544 [USE_AS_STRNCASECMP_L]: Likewise.
1545 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1546 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1547 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1548 (__strncasecmp_l_ia32): Define as alias to
1549 __strncasecmp_l_nonascii.
1550
0fcad3e2
JM
1551 [BZ #5794]
1552 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1553 * sysdeps/i386/fpu/libm-test-ulps: Update.
1554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1555
5b8a4d4a
JM
1556 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1558
8fdceb2e
JL
15592012-02-29 Jeff Law <law@redhat.com>
1560
1561 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1562 out of bounds read.
1563
1f393a11
MP
15642012-02-29 Marek Polacek <polacek@redhat.com>
1565
1566 [BZ #13706]
1567 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1568 * elf/Makefile: Add rules to run tst-unused-dep.out.
1569
8847f037
DM
15702012-02-28 David S. Miller <davem@davemloft.net>
1571
1572 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1573 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1574 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1575 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1576 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1577 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1578
169d7f11
JM
15792012-02-29 Joseph Myers <joseph@codesourcery.com>
1580
1581 * math/libm-test.inc (llround_test): Move one test from
1582 lround_test. Use TEST_f_L in moved test.
1583 (lround_test): Move misplaced test to llround_test. Add testcase
1584 from bug 2561.
1585
39adf059
UD
15862012-02-28 Ulrich Drepper <drepper@gmail.com>
1587
1588 * sysdeps/x86_64/fpu/e_expf.S: New file.
1589 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1590
71b5d1c5
SB
15912012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1592
1593 [BZ #13637]
1594 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1595 of remain_len that may cause incomplete multi-byte character and
1596 false match.
1597 * posix/bug-regex33.c: New file.
1598 * posix/Makefile (tests): Add bug-regex33.
1599
1f77f049
JM
16002012-02-28 Joseph Myers <joseph@codesourcery.com>
1601
1602 * manual/macros.texi: New file.
1603 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1604 * manual/libc.texinfo: Include macros.texi.
1605 * manual/creatute.texi: Likewise.
1606 * manual/install.texi: Likewise.
1607 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1608 @glibcadj{} in references to the GNU C Library.
1609 * manual/charset.texi: Likewise.
1610 * manual/conf.texi: Likewise.
1611 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1612 when not using those macros.
1613 * manual/creature.texi: Likewise.
1614 * manual/crypt.texi: Likewise.
1615 * manual/errno.texi: Likewise.
1616 * manual/filesys.texi: Likewise.
1617 * manual/header.texi: Likewise.
1618 * manual/install.texi: Likewise.
1619 * manual/intro.texi: Likewise.
1620 * manual/io.texi: Likewise.
1621 * manual/job.texi: Likewise.
1622 * manual/lang.texi: Likewise.
1623 * manual/libc.texiinfo: Likewise.
1624 * manual/llio.texi: Likewise.
1625 * manual/locale.texi: Likewise.
1626 * manual/maint.texi: Likewise.
1627 * manual/math.texi: Likewise.
1628 * manual/memory.texi: Likewise.
1629 * manual/message.texi: Likewise.
1630 * manual/nss.texi: Likewise.
1631 * manual/pattern.texi: Likewise.
1632 * manual/process.texi: Likewise.
1633 * manual/resource.texi: Likewise.
1634 * manual/search.texi: Likewise.
1635 * manual/setjmp.texi: Likewise.
1636 * manual/signal.texi: Likewise.
1637 * manual/socket.texi: Likewise.
1638 * manual/startup.texi: Likewise.
1639 * manual/stdio.texi: Likewise.
1640 * manual/string.texi: Likewise.
1641 * manual/sysinfo.texi: Likewise.
1642 * manual/syslog.texi: Likewise.
1643 * manual/terminal.texi: Likewise.
1644 * manual/time.texi: Likewise.
1645 * manual/users.texi: Likewise.
1646 * INSTALL: Regenerated.
1647 * NOTES: Regenerated.
d40c5d54 1648 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 1649
450bf206
AS
16502012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1651
1652 * include/dirent.h: Include <dirstream.h> before
1653 <dirent/dirent.h>.
1654
741a235b
DM
16552012-02-28 David S. Miller <davem@davemloft.net>
1656
1657 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1658 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1659 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1660 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1661
d6b5aa58
DM
16622012-02-27 David S. Miller <davem@davemloft.net>
1663
1aff59a3
DM
1664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1666 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1667 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1668
d6b5aa58
DM
1669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1670 frame pointer instead of stack pointer relative arg slot.
1671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1672 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1673 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1674
433f48bf
CD
16752012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1676
1677 [BZ #3992]
1678 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1679
d674b76d
DM
16802012-02-27 David S. Miller <davem@davemloft.net>
1681
1682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1686 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1687 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1688 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1689 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1690
0e7727f7
JM
16912012-02-27 Joseph Myers <joseph@codesourcery.com>
1692
1693 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1694 later. Allow versions 5-9.
43be4ca2 1695 * configure: Regenerated.
0e7727f7
JM
1696 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1697 required minimum version and 4.6 as recommended version. Do not
1698 mention bugs in GCC 2.7 and 2.8.
43be4ca2 1699 * INSTALL: Regenerated.
0e7727f7 1700
a78bc654
DM
17012012-02-27 David S. Miller <davem@davemloft.net>
1702
428d5830
DM
1703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1707 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1708 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1709 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1710 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1711
a78bc654
DM
1712 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1713 manipulate bits before adding and subtracting TWO112[sx].
1714 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1715
4579f81c
RM
17162012-02-27 Roland McGrath <roland@hack.frob.com>
1717
36c8acb4
RM
1718 [BZ #13775]
1719 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1720 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1721 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1722 being in POSIX, because they are in 1003.1-2008.
1723
84ad622b
RM
1724 * rt/tst-aio.c: Include <fcntl.h>.
1725 * rt/tst-aio7.c: Likewise.
1726 * rt/tst-aio64.c: Likewise.
1727
4579f81c
RM
1728 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1729
abd923db
JM
17302012-02-27 Joseph Myers <joseph@codesourcery.com>
1731
1732 * manual/install.texi (--with-headers): Describe headers as
1733 interface headers, not private headers.
1734 (Specific advice for GNU/Linux systems): Describe use of headers
1735 from "make headers_install", not private headers from older
1736 kernels.
43be4ca2 1737 * INSTALL: Regenerated.
abd923db
JM
1738 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1739 Change to 2.6.19.
1740 * sysdeps/unix/sysv/linux/configure: Regenerated.
1741
6664049b
JM
1742 * manual/llio.texi (fclean): Remove documentation.
1743
bb8b6697
JM
1744 * manual/Makefile (libc-texi-generated): New variable. Include
1745 version.texi.
1746 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1747 $(libc-texi-generated), not duplicated list of files.
1748 (version.texi, stamp-version): New rules.
1749 (realclean): Remove $(libc-texi-generated), not individual files
1750 from that list. Do not remove dir-add.texinfo.
1751 * manual/libc.texinfo: Comment out uses of edition numbers and
1752 references to printed manual. Remove last-updated dates.
1753 (EDITION): Comment out.
1754 (ISBN): Likewise.
1755 (VERSION, UPDATED): Remove.
1756 (version.texi): Include.
1757
12e5c3b9
AS
17582012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1759
1760 * sysdeps/posix/spawni.c: Include <signal.h>.
1761 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1762 * sysdeps/pthread/aio_fsync.c: Likewise.
1763
4efeffc1 17642012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 1765
ba63ba08
UD
1766 * conform/Makefile (tests): Run only when not cross-compiling and
1767 when fast-check is not defined.
1768
d94a4670
UD
1769 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1770 * conform/data/limits.h-data: Fixes for POSIX2008.
1771 * conform/run-conformtest.sh: Run all tests.
1772 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1773 headers.
1774 * include/bits/dlfcn.h: Likewise.
1775 * include/langinfo.h: Likewise.
1776 * include/monetary.h: Likewise.
1777 * include/sys/poll.h: Likewise.
1778
1779 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1780 for __USE_GNU.
1781 * posix/spawn.h: Define __need_sigset_t.
1782 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1783 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1784 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1785 to get sigevent_t only.
1786 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1787 only for __USE_GNU.
1788 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1789 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1790 process_vm_writev only for __USE_GNU.
1791 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
1792
1793 * conform/Makefile: For now ignore errors from run-conformtest.
1794 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1795 POSIX to avoid namespace pollution. Don't prepend headers.
1796 * conform/data/aio.h-data: Fixes for POSIX testing.
1797 * conform/data/fcntl.h-data: Likewise.
1798 * conform/data/glob.h-data: Likewise.
1799 * conform/data/grp.h-data: Likewise.
1800 * conform/data/pthread.h-data: Likewise.
1801 * conform/data/pwd.h-data: Likewise.
1802 * conform/data/signal.h-data: Likewise.
1803 * conform/data/spawn.h-data: Likewise.
1804 * conform/data/stdio.h-data: Likewise.
1805 * conform/data/stdlib.h-data: Likewise.
1806 * conform/data/stropts.h-data: Likewise.
1807 * conform/data/sys/mman.h-data: Likewise.
1808 * conform/data/sys/stat.h-data: Likewise.
1809 * conform/data/sys/types.h-data: Likewise.
1810 * conform/data/sys/wait.h-data: Likewise.
1811 * conform/data/time.h-data: Likewise.
1812 * conform/data/unistd.h-data: Likewise.
1813 * conform/data/utime.h-data: Likewise.
1814
1815 * io/sys/stat.h: fchmod was always in POSIX.
1816 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1817 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1818 * rt/aio.h: Define __need_timespec before including <time.h>.
1819 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1820 struct. Add forward declaration of pthread_attr_t and use it in
1821 sigevent.
1822 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1823 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1824 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1825 always remove CLK_TCK definition.
1826
c20105c3
AS
18272012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1828
1829 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1830
7a270350
UD
18312012-02-25 Ulrich Drepper <drepper@gmail.com>
1832
31341567
UD
1833 * conform/run-conformtest.sh: New file.
1834 * conform/Makefile: Run run-conformtest for tests.
1835 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1836 support.
1837
1838 * conform/data/uchar.h-data: New file.
1839 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1840 * conform/data/arpa/inet.h-data: Likewise.
1841 * conform/data/assert.h-data: Likewise.
1842 * conform/data/complex.h-data: Likewise.
1843 * conform/data/cpio.h-data: Likewise.
1844 * conform/data/ctype.h-data: Likewise.
1845 * conform/data/dirent.h-data: Likewise.
1846 * conform/data/dlfcn.h-data: Likewise.
1847 * conform/data/errno.h-data: Likewise.
1848 * conform/data/fcntl.h-data: Likewise.
1849 * conform/data/float.h-data: Likewise.
1850 * conform/data/fmtmsg.h-data: Likewise.
1851 * conform/data/fnmatch.h-data: Likewise.
1852 * conform/data/ftw.h-data: Likewise.
1853 * conform/data/glob.h-data: Likewise.
1854 * conform/data/grp.h-data: Likewise.
1855 * conform/data/iconv.h-data: Likewise.
1856 * conform/data/inttypes.h-data: Likewise.
1857 * conform/data/langinfo.h-data: Likewise.
1858 * conform/data/libgen.h-data: Likewise.
1859 * conform/data/limits.h-data: Likewise.
1860 * conform/data/locale.h-data: Likewise.
1861 * conform/data/math.h-data: Likewise.
1862 * conform/data/monetary.h-data: Likewise.
1863 * conform/data/mqueue.h-data: Likewise.
1864 * conform/data/ndbm.h-data: Likewise.
1865 * conform/data/net/if.h-data: Likewise.
1866 * conform/data/netdb.h-data: Likewise.
1867 * conform/data/netinet/in.h-data: Likewise.
1868 * conform/data/nl_types.h-data: Likewise.
1869 * conform/data/poll.h-data: Likewise.
1870 * conform/data/pthread.h-data: Likewise.
1871 * conform/data/pwd.h-data: Likewise.
1872 * conform/data/regex.h-data: Likewise.
1873 * conform/data/sched.h-data: Likewise.
1874 * conform/data/search.h-data: Likewise.
1875 * conform/data/semaphore.h-data: Likewise.
1876 * conform/data/setjmp.h-data: Likewise.
1877 * conform/data/signal.h-data: Likewise.
1878 * conform/data/spawn.h-data: Likewise.
1879 * conform/data/stdarg.h-data: Likewise.
1880 * conform/data/stdio.h-data: Likewise.
1881 * conform/data/stdlib.h-data: Likewise.
1882 * conform/data/string.h-data: Likewise.
1883 * conform/data/strings.h-data: Likewise.
1884 * conform/data/stropts.h-data: Likewise.
1885 * conform/data/sys/ipc.h-data: Likewise.
1886 * conform/data/sys/mman.h-data: Likewise.
1887 * conform/data/sys/msg.h-data: Likewise.
1888 * conform/data/sys/resource.h-data: Likewise.
1889 * conform/data/sys/select.h-data: Likewise.
1890 * conform/data/sys/sem.h-data: Likewise.
1891 * conform/data/sys/shm.h-data: Likewise.
1892 * conform/data/sys/socket.h-data: Likewise.
1893 * conform/data/sys/stat.h-data: Likewise.
1894 * conform/data/sys/statvfs.h-data: Likewise.
1895 * conform/data/sys/time.h-data: Likewise.
1896 * conform/data/sys/timeb.h-data: Likewise.
1897 * conform/data/sys/times.h-data: Likewise.
1898 * conform/data/sys/types.h-data: Likewise.
1899 * conform/data/sys/uio.h-data: Likewise.
1900 * conform/data/sys/un.h-data: Likewise.
1901 * conform/data/sys/utsname.h-data: Likewise.
1902 * conform/data/sys/wait.h-data: Likewise.
1903 * conform/data/syslog.h-data: Likewise.
1904 * conform/data/tar.h-data: Likewise.
1905 * conform/data/termios.h-data: Likewise.
1906 * conform/data/utime.h-data: Likewise.
1907 * conform/data/utmpx.h-data: Likewise.
1908 * conform/data/varargs.h-data: Likewise.
1909 * conform/data/wchar.h-data: Likewise.
1910 * conform/data/wctype.h-data: Likewise.
1911 * conform/data/wordexp.h-data: Likewise.
1912
1913 * include/stropts.h: New file.
1914 * include/uchar.h: New file.
1915 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1916 * include/assert.h: Likewise.
1917 * include/ctype.h: Likewise.
1918 * include/dirent.h: Likewise.
1919 * include/dlfcn.h: Likewise.
1920 * include/fcntl.h: Likewise.
1921 * include/fnmatch.h: Likewise.
1922 * include/glob.h: Likewise.
1923 * include/grp.h: Likewise.
1924 * include/libio.h: Likewise.
1925 * include/locale.h: Likewise.
1926 * include/math.h: Likewise.
1927 * include/net/if.h: Likewise.
1928 * include/netdb.h: Likewise.
1929 * include/netinet/in.h: Likewise.
1930 * include/pthread.h: Likewise.
1931 * include/pwd.h: Likewise.
1932 * include/regex.h: Likewise.
1933 * include/sched.h: Likewise.
1934 * include/search.h: Likewise.
1935 * include/setjmp.h: Likewise.
1936 * include/signal.h: Likewise.
1937 * include/stdio.h: Likewise.
1938 * include/stdlib.h: Likewise.
1939 * include/string.h: Likewise.
1940 * include/sys/cdefs.h: Likewise.
1941 * include/sys/mman.h: Likewise.
1942 * include/sys/msg.h: Likewise.
1943 * include/sys/resource.h: Likewise.
1944 * include/sys/select.h: Likewise.
1945 * include/sys/socket.h: Likewise.
1946 * include/sys/stat.h: Likewise.
1947 * include/sys/statvfs.h: Likewise.
1948 * include/sys/time.h: Likewise.
1949 * include/sys/times.h: Likewise.
1950 * include/sys/uio.h: Likewise.
1951 * include/sys/utsname.h: Likewise.
1952 * include/sys/wait.h: Likewise.
1953 * include/termios.h: Likewise.
1954 * include/time.h: Likewise.
1955 * include/ulimit.h: Likewise.
1956 * include/unistd.h: Likewise.
1957 * include/utime.h: Likewise.
1958 * include/wchar.h: Likewise.
1959 * include/wctype.h: Likewise.
1960 * include/wordexp.h: Likewise.
1961
1962 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1963
7a270350
UD
1964 * time/time.h: TIME_UTC must be a macro.
1965 Make timespec_get available for ISO C11 only as well.
1966
7724defc
UD
19672012-02-24 Ulrich Drepper <drepper@gmail.com>
1968
1969 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1970 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1971
6b1d1d46
JM
19722012-02-24 Joseph Myers <joseph@codesourcery.com>
1973
1974 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 1975
0f8bbd69
JM
19762012-02-24 Joseph Myers <joseph@codesourcery.com>
1977
1978 * manual/texinfo.tex: Update to version 2012-01-19.16.
1979
66ab80bc
JM
19802012-02-24 Joseph Myers <joseph@codesourcery.com>
1981
1982 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1983
74981cc5
RM
19842012-02-24 Roland McGrath <roland@hack.frob.com>
1985
ee968201
RM
1986 [BZ #13738]
1987 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1988 * manual/fdl-1.3.texi: New file.
1989 * manual/fdl-1.1.texi: File removed.
1990
74981cc5
RM
1991 [BZ #13738]
1992 * manual/libc.texinfo (FDL_VERSION): New @set.
1993 Use it for mention of FDL in cover text.
1994 (Documentation License): Use it in @include file name.
1995
7bb764bc
JM
19962012-02-22 Joseph Myers <joseph@codesourcery.com>
1997 Roland McGrath <roland@hack.frob.com>
1998
1999 [BZ #5461]
2000 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2001 not LONG_LONG_MAX and LONG_LONG_MIN.
2002 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2003 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2004 name.
2005 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2006
6cbeae47
JM
20072012-02-22 Joseph Myers <joseph@codesourcery.com>
2008
2009 [BZ #2547]
2010 [BZ #11365]
2011 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2012 manipulate bits before adding and subtracting TWO23[sx].
2013 * math/libm-test.inc (nearbyint_test): Add more tests.
2014
fe45ce09
JM
20152012-02-22 Joseph Myers <joseph@codesourcery.com>
2016
2017 [BZ #2548]
2018 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2019 bits before adding and subtracting TWO23[sx].
2020 * math/libm-test.inc (rint_test): Add more tests.
2021 (rint_test_tonearest): Likewise.
2022 (rint_test_towardzero): Likewise.
2023 (rint_test_downward): Likewise.
2024 (rint_test_upward: Likewise.
2025
ff3b3d82
JM
20262012-02-22 Joseph Myers <joseph@codesourcery.com>
2027
2028 [BZ #10110]
2029 * include/stdc-predef.h: New file. Extracted from features.h.
2030 * include/features.h: Include stdc-predef.h.
2031 * Makefile (headers): Add stdc-predef.h.
2032 * CONFORMANCE (Compiler limitations): Update.
2033
ef0aab35
JM
20342012-02-22 Joseph Myers <joseph@codesourcery.com>
2035
2036 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2037
58639409
DM
20382012-02-21 David S. Miller <davem@davemloft.net>
2039
2040 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2041 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2042
c0e70b25
DM
20432012-02-20 David S. Miller <davem@davemloft.net>
2044
2045 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2046 using a normal save/restore sequence, rather than allocating a
2047 dummy stack frame just to store a frame pointer and restore.
2048 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2049
fb06851d
JM
20502012-02-21 Joseph Myers <joseph@codesourcery.com>
2051
2052 * manual/install.texi: Fix stray word in line-wrapped comment.
2053
7a8b71c3
DM
20542012-02-20 David S. Miller <davem@davemloft.net>
2055
d510c123
DM
2056 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2057 both binutils and gcc support GOTDATA.
2058
0722d7c2
DM
2059 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2060 "rd %pc" in the PIC register setup sequences.
2061
3d2b3019
DM
2062 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2063 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2064 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2065 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2066 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2067 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2068 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2069 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2070 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2071 (SYSCALL_ERROR_HANDLER): Likewise.
2072 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2074 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2075 (SYSCALL_ERROR_HANDLER): Likewise.
2076
c80098a9
DM
2077 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2078 (HAVE_GCC_GOTDATA): New.
2079 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2080 relocation support in both binutils and gcc.
2081 * sysdeps/sparc/elf/configure: Regenerate.
2082
3a2545a0
DM
2083 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2084 * sysdeps/sparc/sparc32/elf/configure: Delete.
2085 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2086 * sysdeps/sparc/sparc64/elf/configure: Delete.
2087 * sysdeps/sparc/elf/configure.in: New file.
2088 * sysdeps/sparc/elf/configure: Generate.
2089
7a8b71c3
DM
2090 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2091 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2092 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2093 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2094 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2095
f1e86fca
JM
20962012-02-21 Joseph Myers <joseph@codesourcery.com>
2097
2098 * manual/install.texi: Do not mention specific glibc version
2099 numbers.
2100 * manual/libc.texinfo (VERSION, UPDATED): Update.
2101 (@copying): Use @copyright{} and range of years.
2102
0e7dfaef
JM
21032012-02-21 Joseph Myers <joseph@codesourcery.com>
2104
2105 [BZ #13695]
2106 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2107 [crti.S not in sysdirs] (generated): Do not append.
2108 [crti.S not in sysdirs] (omit-deps): Likewise.
2109 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2110 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2111 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2112 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2113 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2114 Likewise.
2115 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2116 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2117 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2118 * csu/defs.awk: Remove file.
2119 * sysdeps/generic/initfini.c: Likewise.
2120 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2121 variable.
2122 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2123 Likewise.
2124
599af3ca
JM
21252012-02-20 Joseph Myers <joseph@codesourcery.com>
2126
2127 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2128 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2129 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2130 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2131 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2132 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2133 <bits/epoll.h>.
2134 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2135 (__EPOLL_PACKED): Define to empty if not defined by
2136 <bits/epoll.h>.
2137 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2139 bits/epoll.h.
2140
0e499750
JM
21412012-02-20 Joseph Myers <joseph@codesourcery.com>
2142
2143 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2144 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2145 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2146 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2147 <bits/timerfd.h>.
2148 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2150 bits/timerfd.h.
2151
5ad91f6e
JM
21522012-02-20 Joseph Myers <joseph@codesourcery.com>
2153
2154 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2155 in C locale.
2156 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2157 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2158 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2160
06b99b02
AJ
21612012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2162
2163 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2164 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2165
7638c0fd
AS
21662012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2167
2168 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2169 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2170 defined.
2171 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2172 Likewise.
2173 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2174 entry for 2.16.
2175
92221550
AJ
21762012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2177
2178 * math/w_acos.c: Use non-signaling floating-point comparisons.
2179 * math/w_acosf.c: Likewise.
2180 * math/w_acosh.c: Likewise.
2181 * math/w_acoshf.c: Likewise.
2182 * math/w_acoshl.c: Likewise.
2183 * math/w_acosl.c: Likewise.
2184 * math/w_asin.c: Likewise.
2185 * math/w_asinf.c: Likewise.
2186 * math/w_asinl.c: Likewise.
2187 * math/w_atanh.c: Likewise.
2188 * math/w_atanhf.c: Likewise.
2189 * math/w_atanhl.c: Likewise.
2190 * math/w_exp2.c: Likewise.
2191 * math/w_exp2f.c: Likewise.
2192 * math/w_exp2l.c: Likewise.
2193 * math/w_j0.c: Likewise.
2194 * math/w_j0f.c: Likewise.
2195 * math/w_j0l.c: Likewise.
2196 * math/w_j1.c: Likewise.
2197 * math/w_j1f.c: Likewise.
2198 * math/w_j1l.c: Likewise.
2199 * math/w_jn.c: Likewise.
2200 * math/w_jnf.c: Likewise.
2201 * math/w_log.c: Likewise.
2202 * math/w_log10.c: Likewise.
2203 * math/w_log10f.c: Likewise.
2204 * math/w_log10l.c: Likewise.
2205 * math/w_log2.c: Likewise.
2206 * math/w_log2f.c: Likewise.
2207 * math/w_log2l.c: Likewise.
2208 * math/w_logf.c: Likewise.
2209 * math/w_logl.c: Likewise.
2210 * math/w_sqrt.c: Likewise.
2211 * math/w_sqrtf.c: Likewise.
2212 * math/w_sqrtl.c: Likewise.
2213 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2214 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2215 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2216 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2217 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2218
ebaf36eb
JM
22192012-02-19 Joseph Myers <joseph@codesourcery.com>
2220
2221 [BZ #9739]
2222 * manual/string.texi (strnlen): Use correct parameter name in
2223 equivalent expression.
2224
71c254a6
JM
22252012-02-19 Joseph Myers <joseph@codesourcery.com>
2226
2227 [BZ #11174]
2228 * manual/users.texi (seteuid): Consistently use neweuid for
2229 argument name.
2230
16d2c631
JM
22312012-02-19 Joseph Myers <joseph@codesourcery.com>
2232
2233 [BZ #13704]
2234 * manual/nss.texi (Services in the NSS configuration): Correct
2235 list of services in example configuration file.
2236
cd837b09
NB
22372012-02-19 Nick Bowler <nbowler@draconx.ca>
2238
2239 [BZ #11322]
2240 * manual/arith.texi: Remove statements about negative zero
2241 behaving identically to zero.
2242
02c4bbad
JM
22432012-02-18 Joseph Myers <joseph@codesourcery.com>
2244
2245 [BZ #5993]
2246 * manual/install.texi: Do not document upgrading from libc5.
2247
366842e7
JM
22482012-02-18 Joseph Myers <joseph@codesourcery.com>
2249
2250 [BZ #4596]
2251 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2252
dd54084d
DM
22532012-02-18 David S. Miller <davem@davemloft.net>
2254
2255 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2256 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2257 %o7 across the call.
2258 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2259 instead.
2260 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2261 SETUP_PIC_REG_LEAF.
2262 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2263 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2264 * sysdeps/sparc/crtn.S: Likewise.
2265
2bcc53a3
UD
22662012-02-17 Ulrich Drepper <drepper@gmail.com>
2267
2268 * aout/Makefile: Remove.
2269
09c093b5
RK
22702012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2271
2272 [BZ #13058]
2273 * manual/examples/argp-ex1.c (main): Format definition in GNU
2274 style.
2275 * manual/examples/argp-ex2.c (main): Likewise.
2276 * manual/examples/argp-ex3.c (main): Likewise.
2277 * manual/examples/argp-ex4.c (main): Likewise.
2278 * manual/examples/longopt.c (main): Use new-style prototype
2279 definition.
2280 * manual/examples/strncat.c (main): Specify return type and use
2281 (void) for arguments.
2282 * manual/examples/subopt.c (main): Use char **argv argument.
2283
2ee633a2
JM
22842012-02-17 Joseph Myers <joseph@codesourcery.com>
2285
2286 [BZ #5077]
2287 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2288 rounding modes.
2289
0520adde
FB
22902012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2291
2292 [BZ #6907]
2293 * manual/string.texi (strchr): Change when strchrnul is
2294 recommended.
2295
3f4081cd
DGM
22962012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2297
2298 [BZ #174]
2299 * manual/locale.texi (setlocale): Document LOCPATH.
2300
d1b10e78
JM
23012012-02-17 Joseph Myers <joseph@codesourcery.com>
2302
2303 [BZ #10210]
2304 * manual/process.texi (execle): Move @dots{} before last argument.
2305
79c6869c
PB
23062012-02-17 Paul Bolle <pebolle@tiscali.nl>
2307
2308 [BZ #12047]
2309 * manual/charset.texi (Generic Charset Conversion): Fix typo
2310 (LC_TYPE -> LC_CTYPE).
2311
cc6e48bc
NB
23122012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2313
2314 [BZ #5805]
2315 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2316 (scalbnf): Likewise.
2317 (scalbnl): Likewise.
2318 (scalbln): Likewise.
2319 (scalblnf): Likewise.
2320 (scalblnl): Likewise.
2321 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2322 (vwarnx): Likewise.
2323 (verr): Likewise.
2324 (verrx): Likewise.
2325 * manual/filesys.texi (telldir): Use braces around return type.
2326 * manual/llio.texi (mmap): Add space after comma.
2327 (mmap64): Likewise.
2328 * manual/math.texi (jn): Use @var{} on parameter names.
2329 (jnf): Likewise.
2330 (jnl): Likewise.
2331 (yn): Likewise.
2332 (ynf): Likewise.
2333 (ynl): Likewise.
2334 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2335 line.
2336 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2337 "...".
2338 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2339 (sched_get_priority_max): Likewise.
2340 * manual/signal.texi (sigvec): Add space after comma.
2341 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2342 names.
2343 (if_indextoname): Likewise.
2344 (if_freenameindex): Likewise.
2345 (sendto): Use ',' instead of '.' in prototype.
2346 * manual/startup.texi (syscall): Use @dots{} instead of literal
2347 "...".
2348 * manual/stdio.texi (__fpending): Separate initial words of
2349 paragraph from @deftypefun line.
2350 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2351 "...".
2352 (vsyslog): Use @var{} on parameter names.
2353 * manual/terminal.texi (stty): Use @var{} on parameter names.
2354 * manual/users.texi (getutmp): Use @var{} on parameter names.
2355 (getutmpx): Likewise.
2356
5b23062f
JM
23572012-02-17 Joseph Myers <joseph@codesourcery.com>
2358
2359 [BZ #6884]
2360 * manual/stdio.texi (fopen): Fix typos in description of
2361 ",ccs=STRING".
2362
8dee4833
AJ
23632012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2364
2365 [BZ #4026]
2366 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2367 get clock_id definition.
2368
9078ce93
TS
23692012-02-17 Thomas Schwinge <thomas@schwinge.name>
2370
2371 [BZ #4822]
2372 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2373 (madvise): Cast every argument to void on its own.
2374
3835c55f
JM
23752012-02-17 Joseph Myers <joseph@codesourcery.com>
2376
2377 [BZ #9902]
2378 * manual/startup.texi (Exit Status): Fix typo.
2379
35c47e37
JM
23802012-02-17 Joseph Myers <joseph@codesourcery.com>
2381
2382 [BZ #10140]
2383 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2384 * manual/examples/argp-ex2.c: Likewise.
2385 * manual/examples/argp-ex3.c: Likewise.
2386
e3b69ca7
RH
23872012-02-16 Richard Henderson <rth@redhat.com>
2388
2389 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2390 * sysdeps/s390/s390-32/initfini.c: Remove.
2391 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2392 * sysdeps/s390/s390-64/initfini.c: Remove.
2393
df83af67
KK
23942012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2395
2396 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2397 compiler output for sysdeps/generic/initfini.c.
2398 * sysdeps/sh/elf/initfini.c: Remove file.
2399
f63f3380
DM
24002012-02-16 David S. Miller <davem@davemloft.net>
2401
fb59b3a4
DM
2402 [BZ #11494]
2403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2404
f63f3380
DM
2405 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2406 * sysdeps/sparc/crti.S: New file.
2407 * sysdeps/sparc/crtn.S: New file.
2408 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2409 * sysdeps/sparc/sparc64/Makefile: Likewise.
2410
df6a4a4a
MF
24112012-02-15 Mike Frysinger <vapier@gentoo.org>
2412
6dd8f3dc 2413 [BZ #3335]
df6a4a4a
MF
2414 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2415
1cac7236
RM
24162012-02-15 Roland McGrath <roland@hack.frob.com>
2417
d2c736f8
RM
2418 [BZ #4822]
2419 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2420
1cac7236
RM
2421 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2422 (write, read, close): Likewise.
2423 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2424
8e475601
JM
24252012-02-15 Joseph Myers <joseph@codesourcery.com>
2426
2427 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2428 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2429 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2430 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2431 <bits/signalfd.h>.
2432 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2434 bits/signalfd.h.
2435
ed656b40
MP
24362012-02-14 Marek Polacek <polacek@redhat.com>
2437
2438 * sysdeps/x86_64/crti.S: New file.
2439 * sysdeps/x86_64/crtn.S: New file.
2440 * sysdeps/x86_64/elf/initfini.c: Remove file.
2441
2a979d3a
JM
24422012-02-13 Joseph Myers <joseph@codesourcery.com>
2443
2444 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2445 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2446 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2447 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2448 <bits/inotify.h>.
2449 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2451 bits/inotify.h.
2452
2a418ac3
JM
24532012-02-13 Joseph Myers <joseph@codesourcery.com>
2454
2455 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2456 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2457 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2458 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2459 <bits/eventfd.h>.
2460 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2462 bits/eventfd.h.
2463
fb779be7
TS
24642012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2465
e19e83c5
RM
2466 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2467 __feraiseexcept instead of feraiseexcept.
7c35ffed 2468
fb779be7
TS
2469 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2470 nanosleep invocations.
2471 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2472 strings, and add error checking for a nanosleep invocations.
2473
59ba27a6
PE
24742012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2475
2476 Replace FSF snail mail address with URLs, as per GNU coding standards.
2477 Most of the snail mail addresses were wrong anyway, and omitting
2478 them makes the source code easier to maintain. Almost all of the
2479 changes are to license notices and to locale LC_IDENTIFICATION
2480 addresses, except for this one:
2481 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2482 not its snail mail address.
2483
57b957eb
RH
24842012-02-09 Richard Henderson <rth@twiddle.net>
2485
af850b1c
RH
2486 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2487 of kernel-features.h.
2488
57b957eb
RH
2489 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2490
6b73181a
MP
24912012-02-08 Marek Polacek <polacek@redhat.com>
2492
2493 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2494 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2495 * sysdeps/gnu/_G_config.h: Likewise.
2496 * sysdeps/generic/_G_config.h: Likewise.
2497
26ecc33a
AS
24982012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2499
6c6dbc63
AS
2500 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2501 tests.
2502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2503
e216c012
AS
2504 * sysdeps/powerpc/powerpc32/crti.S: New file.
2505 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2506 * sysdeps/powerpc/powerpc64/crti.S: New file.
2507 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2508
26ecc33a
AS
2509 * Makeconfig (have-initfini): Don't set.
2510 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2511 * configure.in (nopic_initfini): Don't substitute.
2512 * config.h.in (HAVE_INITFINI): Don't #undef.
2513 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2514 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2515
3add8e13
JM
25162012-02-08 Joseph Myers <joseph@codesourcery.com>
2517
2518 Support crti.S and crtn.S provided directly by architectures.
2519 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2520 [crti.S in sysdirs] (omit-deps): Likewise.
2521 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2522 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2523 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2524 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2525 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2526 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2527 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2528 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2529 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2530 compiler output for sysdeps/generic/initfini.c.
2531 * sysdeps/i386/elf/Makefile: Remove file.
2532 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2533
a22f12b4
MP
25342012-02-07 Marek Polacek <polacek@redhat.com>
2535
2536 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2537 * sysdeps/gnu/_G_config.h: Likewise.
2538 * sysdeps/mach/hurd/_G_config.h: Likewise.
2539
148cf100
MP
25402012-02-07 Marek Polacek <polacek@redhat.com>
2541
2542 * math/Makefile (tests): Add tst-CMPLX2.
2543 * math/tst-CMPLX2.c: New file.
2544
cfdc0dd7
AS
25452012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2546
84ba42c4
AS
2547 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2548
cfdc0dd7
AS
2549 * math/libm-test.inc (jn_test): Add missing L suffix.
2550
622c86f4
MP
25512012-02-06 Marek Polacek <polacek@redhat.com>
2552
2553 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2554 * sysdeps/i386/fpu/e_powf.S: Likewise.
2555 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2556 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2557 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2558 * sysdeps/i386/fpu/e_pow.S: Likewise.
2559 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2560 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2561 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2562 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2563 * sysdeps/i386/fpu/e_log2.S: Likewise.
2564 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2565 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2566 * sysdeps/i386/fpu/e_powl.S: Likewise.
2567 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2568 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2569 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2570 * sysdeps/i386/fpu/e_logl.S: Likewise.
2571 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2572 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2573 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2574 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2575 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2576 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2577 * sysdeps/i386/fpu/e_log.S: Likewise.
2578 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2579 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2580 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2581 * sysdeps/i386/fpu/e_logf.S: Likewise.
2582 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2583 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2584 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2585 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2586 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2587 * sysdeps/i386/fpu/e_log10.S: Likewise.
2588 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2589 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2590 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2591 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2592 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2593 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2594 * sysdeps/i386/asm-syntax.h: Likewise.
2595 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2596 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2597 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2598 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2599 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2600 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2601 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2602 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2603 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2604 * sysdeps/powerpc/sysdep.h: Likewise.
2605 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2606 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2607
d4a54ac6
JM
26082012-02-06 Joseph Myers <joseph@codesourcery.com>
2609
2610 [BZ #411]
2611 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2612
314054ea
JM
26132012-02-06 Joseph Myers <joseph@codesourcery.com>
2614
2615 * sysdeps/i386/sysdep.h: Include <features.h>.
2616 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2617 version.
2618
d8e0ca50
JM
26192012-02-05 Joseph Myers <joseph@codesourcery.com>
2620
2621 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2622 Define.
2623 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2624 LOAD_PIC_REG_STR.
2625
b1da7dd9
JM
26262012-02-03 Joseph Myers <joseph@codesourcery.com>
2627
2628 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2629 (SETUP_PIC_REG): Use GET_PC_THUNK.
2630 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2631 macro.
2632
9a1d9254
JM
26332012-02-03 Joseph Myers <joseph@codesourcery.com>
2634
2635 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2636 for non-PIC compilation.
2637 (SETUP_PIC_REG): Add .p2align directive.
2638 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2639 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2640 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2641 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2642 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2643 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2644 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2645 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2646 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2647 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2648 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2649 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2650 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2651 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2652 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2653 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2654 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2655 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2656 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2657 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2658 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2659 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2660 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2661 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2662 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2663 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2664 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2665 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2666 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2667 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2668 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2669 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2670 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2671 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2672 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2673 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2674 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2675 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2676 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2677 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2678 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2679
65dc3b75
JM
26802012-02-03 Joseph Myers <joseph@codesourcery.com>
2681
2682 * math/tst-CMPLX.c: Include <stdio.h>.
2683
d55bf177
JM
26842012-01-31 Joseph Myers <joseph@codesourcery.com>
2685
2686 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2687 float.
2688 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2689 * sysdeps/sparc/bits/mathdef.h: Likewise.
2690
69db4f8f
MP
26912012-01-31 Marek Polacek <polacek@redhat.com>
2692
2693 * libio/libio.h: Don't define _PARAMS.
2694 * locale/programs/config.h: Don't define PARAMS.
2695 * stdlib/strtol_l.c: Likewise.
2696 (__strtol_l): Remove PARAMS from the prototype.
2697
41b81892
UD
26982012-01-31 Ulrich Drepper <drepper@gmail.com>
2699
3b49edc0
UD
2700 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2701 names. Just use the correct names. Remove unnecessary wrapper
2702 functions.
2703 * malloc/arena.c: Likewise.
2704 * malloc/hooks.c: Likewise.
2705
41b81892
UD
2706 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2707 ARENA_TEST says not to. Simplify test for creation of a new arena.
2708 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2709
27a25b6e
UD
27102012-01-30 Ulrich Drepper <drepper@gmail.com>
2711
2712 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2713 into tail calls.
2714 (update_get_addr): New function.
2715 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2716 GET_ADDR_MODULE parameter.
2717
c8a89e7d
JM
27182012-01-30 Joseph Myers <joseph@codesourcery.com>
2719
2720 * crypt/cert.c: Remove __STDC__ conditionals.
2721 * crypt/crypt-entry.c: Likewise.
2722 * crypt/crypt_util.c: Likewise.
2723 * libio/filedoalloc.c: Likewise.
2724 * libio/fileops.c: Likewise.
2725 * libio/genops.c: Likewise.
2726 * libio/iofclose.c: Likewise.
2727 * libio/iofdopen.c: Likewise.
2728 * libio/iofopen.c: Likewise.
2729 * libio/iofopen64.c: Likewise.
2730 * libio/iogetdelim.c: Likewise.
2731 * libio/iopopen.c: Likewise.
2732 * libio/obprintf.c: Likewise.
2733 * libio/oldfileops.c: Likewise.
2734 * libio/oldiofclose.c: Likewise.
2735 * libio/oldiofdopen.c: Likewise.
2736 * libio/oldiofopen.c: Likewise.
2737 * libio/oldiopopen.c: Likewise.
2738 * libio/wfiledoalloc.c: Likewise.
2739 * libio/wgenops.c: Likewise.
2740 * locale/programs/xmalloc.c: Likewise.
2741 * misc/syslog.c: Likewise.
2742 * stdio-common/xbug.c: Likewise.
2743 * string/memchr.c: Likewise.
2744 * string/memcmp.c: Likewise.
2745 * string/memrchr.c: Likewise.
2746 * string/rawmemchr.c: Likewise.
2747 * sysdeps/posix/getcwd.c: Likewise.
2748 * time/strftime_l.c: Likewise.
2749
3b100462
JM
27502012-01-30 Joseph Myers <joseph@codesourcery.com>
2751
2752 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
2753 * config.make.in (config-cflags-sse2avx): Define.
2754 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2755 Fix typo.
2756
607998af
CM
27572012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2758
2759 * scripts/config.guess: Update from upstream config git repository.
2760 * scripts/config.sub: Likewise.
2761
3601428f
CM
27622012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2763
3ac8b282
CM
2764 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2765 (EM_NUM): Update.
2766 (R_TILEPRO_*, R_TILEGX_*): New macros.
2767
e034841e
CM
2768 * scripts/firstversions.awk: Fix bug in version range handling.
2769
540d7568
CM
2770 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2771
3601428f
CM
2772 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2773
463de862
CM
2774 * include/sys/epoll.h: New file.
2775 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2776 libc_hidden_def.
2777
73139a76
UD
27782012-01-28 Ulrich Drepper <drepper@gmail.com>
2779
96bc5b45
UD
2780 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2781 Avoid unnecessary __WORDSIZE == 64 test.
2782 (fmaxf): Use VEX format if possible.
2783 (fmax): Likewise.
2784 (fminf): Likewise.
2785 (fmin): Likewise.
2786
56f6f6a2
UD
2787 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2788 * math/math_private.h: Remove libc_fegetround* and
2789 libc_fesetround*.
2790 * sysdeps/i386/configure.in: Check for -msse2avx.
2791 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2792 also if SSE2AVX is defined.
2793 Remove libc_fegetround* and libc_fesetround*.
2794 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2795 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2796 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2797 of HAS_YMM_USABLE.
2798 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2799 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2800 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2801 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2802 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2803
73139a76
UD
2804 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2805
d73f93a4
AZ
28062012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2807
2808 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2809 size is not set.
2810 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2811
6ee65ed6
UD
28122012-01-27 Ulrich Drepper <drepper@gmail.com>
2813
2814 [BZ #13618]
2815 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2816 relocation.
2817 * Makeconfig (libm): Define.
2818 * elf/Makefile: Add rules to build and run tst-relsort1.
2819 * elf/tst-relsort1.c: New file.
2820 * elf/tst-relsort1mod1.c: New file.
2821 * elf/tst-relsort1mod2.c: New file.
2822
8db21882
JM
28232012-01-27 Joseph Myers <joseph@codesourcery.com>
2824
2825 * math/s_ldexp.c: Remove __STDC__ conditionals.
2826 * math/s_ldexpf.c: Likewise.
2827 * math/s_ldexpl.c: Likewise.
2828 * math/s_nextafter.c: Likewise.
2829 * math/s_nexttowardf.c: Likewise.
2830 * math/s_significand.c: Likewise.
2831 * math/s_significandf.c: Likewise.
2832 * math/s_significandl.c: Likewise.
2833 * math/w_jnl.c: Likewise.
2834 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2835 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2836 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2837 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2838 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2839 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2840 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2841 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2842 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2843 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2844 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2845 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2846 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2847 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2848 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2849 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2850 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2851 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2852 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2853 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2854 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2855 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2856 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2857 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2858 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2859 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2860 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2861 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2862 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2863 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2864 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2865 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2866 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2867 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2868 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2869 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2870 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2871 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2872 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2873 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2874 * sysdeps/ieee754/k_standard.c: Likewise.
2875 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2876 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2877 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2878 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2879 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2880 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2881 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2882 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2883 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2884 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2885 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2886 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2887 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2888 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2889 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2890 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2891 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2892 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2893 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2894 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2897 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2898 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2899 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2900 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2901 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2902 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2903 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2904 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2905 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2906 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2907 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2908 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2909 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2910 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2911 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2912 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2913 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2914 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2915 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2916 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2917 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2919 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2922 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2923 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2924 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2925 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2926 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2927 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2928 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2929 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2930 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2931 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2932 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2933 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2934 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2935 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2936 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2937 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2938 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2939 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2940 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2941 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2942 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2943 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2944 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2945 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2946 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2947 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2948 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2949 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2950 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2951 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2952 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2953 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2954 * sysdeps/ieee754/s_matherr.c: Likewise.
2955 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2956 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2957 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2958 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2959
965a54a4
JM
29602012-01-26 Joseph Myers <joseph@codesourcery.com>
2961
2962 * crypt/md5.h: Remove __STDC__ conditionals.
2963 * libio/libioP.h: Likewise.
2964 * locale/programs/config.h: Likewise.
2965 * sysdeps/generic/sysdep.h: Likewise.
2966 * sysdeps/i386/asm-syntax.h: Likewise.
2967 * sysdeps/s390/asm-syntax.h: Likewise.
2968 * sysdeps/unix/sysdep.h: Likewise.
2969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2971
7071ad79
JM
29722012-01-26 Joseph Myers <joseph@codesourcery.com>
2973
2974 * libio/libio.h: Remove __STDC__ conditionals.
2975 * malloc/obstack.h: Likewise.
2976 * math/complex.h: Likewise.
2977 * math/math.h: Likewise.
2978 * sysdeps/generic/_G_config.h: Likewise.
2979 * sysdeps/gnu/_G_config.h: Likewise.
2980 * sysdeps/mach/hurd/_G_config.h: Likewise.
2981 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2982 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2983 * sysdeps/sparc/bits/mathdef.h: Likewise.
2984
afc5ed09
UD
29852012-01-26 Ulrich Drepper <drepper@gmail.com>
2986
2987 [BZ #13583]
2988 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 2989 Clean up HAS_* macros.
afc5ed09 2990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
2991 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2992 possible.
2993 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2994 HAS_AVX.
2995 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2996 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2997 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2998 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2999 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3000
bdb6de1d
JM
30012012-01-25 Joseph Myers <joseph@codesourcery.com>
3002
3003 * elf/tst-unique3.cc (gets): Remove declaration.
3004 * elf/tst-unique3lib.cc (gets): Likewise.
3005 * elf/tst-unique3lib2.cc (gets): Likewise.
3006 * elf/tst-unique4.cc (gets): Likewise.
3007
b15549e6
UD
30082012-01-24 Ulrich Drepper <drepper@gmail.com>
3009
3010 * include/stdio.h: Add C++ protection. Add gets declarations and
3011 definitions.
3012 * debug/tst-chk1.c: Don't declare gets here.
3013 * stdio-common/tst-gets.c: Likewise.
3014
a037381f
JM
30152012-01-24 Joseph Myers <joseph@codesourcery.com>
3016
3017 * posix/glob: Remove directory.
3018
f1d4aa75
JM
30192012-01-24 Joseph Myers <joseph@codesourcery.com>
3020
3021 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3022
81c0c964
PT
30232012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3024
3025 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3026 of the non-standard EPFNOSUPPORT.
3027
0ea698ae
ST
30282011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3029
3030 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3031 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3032 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3033
d220b117
UD
30342012-01-21 Ulrich Drepper <drepper@gmail.com>
3035
3036 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3037
3e1aa84e
UD
30382012-01-20 Ulrich Drepper <drepper@gmail.com>
3039
3040 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3041 transient errors.
3042 * nscd/grpcache.c (cache_addgr): Likewise.
3043 * nscd/hstcache.c (cache_addhst): Likewise.
3044 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3045 * nscd/pwdcache.c (cache_addpw): Likewise.
3046 * nscd/servicescache.c (cache_addserv): Likewise.
3047
400aa020
UD
30482012-01-16 Ulrich Drepper <drepper@gmail.com>
3049
d77e7869
UD
3050 * malloc/malloc.c: Various cleanups.
3051 * malloc/hooks.c: Likewise.
3052
400aa020
UD
3053 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3054 * stdlib/bug-fmtmsg1.c: New file.
3055
3056 * stdlib/fmtmsg.c (init): Add missing unlock.
3057 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3058
e0a309cf
MP
30592012-01-12 Marek Polacek <polacek@redhat.com>
3060
3061 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3062 and _GNU_SOURCE.
3063
929d11c7
WS
30642012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3065
3066 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3067 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3068 macro to ensure uniqueness of label name.
3069 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3070 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3071
41d0e869
UD
30722012-01-11 Ulrich Drepper <drepper@gmail.com>
3073
0cc5ed3b
UD
3074 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3075
41d0e869
UD
3076 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3077 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3078 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3079 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3080
a47a831a
UD
30812012-01-10 Ulrich Drepper <drepper@gmail.com>
3082
daa891c0
UD
3083 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3084
3085 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3086 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3087 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3088
e58ef0f2
UD
3089 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3090
a47a831a 3091 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3092 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3093 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3094 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3095
3096 * math/bits/math-finite.h: Add ldexp support.
3097
a0bfc9c7
MP
30982012-01-10 Marek Polacek <polacek@redhat.com>
3099
3100 * locale/programs/localedef.h (show_archive_content): Add noreturn
3101 attribute.
3102
d6e97a1d
UD
31032012-01-09 Ulrich Drepper <drepper@gmail.com>
3104
3105 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3106
d5835c26
UD
31072012-01-08 Ulrich Drepper <drepper@gmail.com>
3108
e5f484c6
UD
3109 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3110
d5835c26
UD
3111 * io/Makefile (headers): Add bits/poll2.h.
3112
d1f741e9
WS
31132011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3114
3115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3116 typo #include statement.
3117
ec09c1c4
UD
31182012-01-08 Ulrich Drepper <drepper@gmail.com>
3119
3120 * include/sys/cdefs.h: Define __attribute_alloc_size.
3121 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3122 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3123 * elf/pldd.c: Likewise.
3124 * iconv/iconv_charmap.c: Likewise.
3125 * iconv/iconvconfig.c: Likewise.
3126 * iconv/strtab.c: Likewise.
3127 * locale/programs/locale.c: Likewise.
3128 * locale/programs/localedef.h: Likewise.
3129 * locale/programs/simple-hash.c: Likewise.
3130 * nscd/nscd.h: Likewise.
3131 * nss/makedb.c: Likewise.
3132 * sysdeps/generic/ldconfig.h: Likewise.
3133 * locale/programs/localedef.c: Remove xmalloc prototype.
3134 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3135
20b38e03
PP
31362012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3137
3138 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3139 appropriate.
3140
a0da5fe1
UD
31412012-01-08 Ulrich Drepper <drepper@gmail.com>
3142
1d5a644a 3143 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3144 * math/tst-CMPLX.c: New file.
1d5a644a 3145
8784a6db
UD
3146 * math/complex.h (CMPLXL): Fix typo.
3147
d9a216c0
UD
3148 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3149 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3150 GLIBC_2.16.
3151 * debug/tst-chk1.c: Add poll and ppoll tests.
3152 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3153 * include/sys/poll.h: Add hidden proto for ppoll.
3154 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3155 * sysdeps/mach/hurd/ppoll.c: Likewise.
3156 * io/ppoll.c: Likewise.
3157 * debug/poll_chk.c: New file.
3158 * debug/ppoll_chk.c: New file.
3159 * include/bits/poll2.h: New file.
3160 * io/bits/poll2.h: New file.
3161
ac097f5c
UD
3162 [BZ #1350]
3163 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3164
2119dcfa
UD
3165 * configure.in: static is always set to yes. Remove.
3166 * config.make.in: Don't set build-static.
3167 * Makeconfig: Remove use of build-static.
3168 * dlfcn/Makefile: Likewise.
3169 * elf/Makefile: Likewise.
3170 * math/Makefile: Likewise.
3171 * misc/Makefile: Likewise.
3172 * nptl/Makefile: Likewise.
3173 * sysdeps/mach/hurd/Makefile: Likewise.
3174
121766a9
UD
3175 * configure.in: PWD_P is not used anymore.
3176 * config.make.in: Remove PWD_P entry.
3177
51a1d39c 3178 * configure.in: Remove last remnants of RANLIB.
8720d066 3179 No need to check for signed size_t anymore.
215f4bdc
UD
3180 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3181 and IA-64.
3857022a 3182 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3183 * aclocal.m4: Likewise.
3184
d3ed7225
UD
3185 * wcsmbs/mbrtoc16.c: Implement using towc function.
3186 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3187 * wcsmbs/wcsmbsload.c: Likewise.
3188 * iconv/gconv_simple.c: Likewise.
3189 * iconv/gconv_int.h: Likewise.
3190 * iconv/gconv_builtin.h: Likewise.
3191 * iconv/iconv_prog.c: Remove CHAR16 handling.
3192
3193 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3194
3195 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3196
a0da5fe1
UD
3197 * configure.in: Remove --with-elf and --enable-bounded options.
3198 Dont set base_machine for ia64. More non-ELF conditions removed.
3199 Remove testing and setting of leading underscore information.
3200 * config.make.in (build-bounded): Set to no.
3201 * config.h.in: Remove NO_UNDERSCORES entry.
3202 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3203 them.
3204 * csu/start.c: Remove !NO_UNDERSCORE code.
3205 * locale/localeinfo.h: Likewise.
3206 * sysdeps/generic/machine-gmon.h: Likewise.
3207 * sysdeps/generic/sysdep.h: Likewise.
3208 * sysdeps/i386/sysdep.h: Likewise.
3209 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3210 * sysdeps/mach/sysdep.h: Likewise.
3211 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3212 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3213 * sysdeps/sh/sysdep.h: Likewise.
3214 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3215 * sysdeps/unix/i386/sysdep.S: Likewise.
3216 * sysdeps/unix/sparc/start.c: Likewise.
3217 * sysdeps/unix/sparc/sysdep.S: Likewise.
3218 * sysdeps/unix/sparc/sysdep.h: Likewise.
3219 * sysdeps/unix/start.c: Likewise.
3220 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3221 * sysdeps/x86_64/sysdep.h: Likewise.
3222
df78418a
UD
32232012-01-07 Ulrich Drepper <drepper@gmail.com>
3224
a784e502
UD
3225 [BZ #13553]
3226 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3227 for non-gcc.
3228 * argp/argp-fmtstream.h: Use const instead __const.
3229 * argp/argp.h: Likewise.
3230 * assert/assert.h: Likewise.
3231 * bits/fenv.h: Likewise.
3232 * bits/sched.h: Likewise.
3233 * bits/sigset.h: Likewise.
3234 * bits/sigthread.h: Likewise.
3235 * catgets/nl_types.h: Likewise.
3236 * conform/data/pthread.h-data: Likewise.
3237 * crypt/crypt-private.h: Likewise.
3238 * crypt/crypt.h: Likewise.
3239 * crypt/crypt_util.c: Likewise.
3240 * ctype/ctype.h: Likewise.
3241 * debug/execinfo.h: Likewise.
3242 * debug/mbsnrtowcs_chk.c: Likewise.
3243 * debug/mbsrtowcs_chk.c: Likewise.
3244 * debug/wcsnrtombs_chk.c: Likewise.
3245 * debug/wcsrtombs_chk.c: Likewise.
3246 * debug/wcstombs_chk.c: Likewise.
3247 * dirent/dirent.h: Likewise.
3248 * dlfcn/dlfcn.h: Likewise.
3249 * elf/neededtest4.c: Likewise.
3250 * grp/grp.h: Likewise.
3251 * gshadow/gshadow.h: Likewise.
3252 * iconv/gconv.h: Likewise.
3253 * iconv/gconv_int.h: Likewise.
3254 * iconv/gconv_simple.c: Likewise.
3255 * iconv/iconv.h: Likewise.
3256 * iconv/loop.c: Likewise.
3257 * iconv/skeleton.c: Likewise.
3258 * include/aio.h: Likewise.
3259 * include/aliases.h: Likewise.
3260 * include/argz.h: Likewise.
3261 * include/arpa/inet.h: Likewise.
3262 * include/assert.h: Likewise.
3263 * include/dirent.h: Likewise.
3264 * include/dlfcn.h: Likewise.
3265 * include/execinfo.h: Likewise.
3266 * include/fcntl.h: Likewise.
3267 * include/fenv.h: Likewise.
3268 * include/glob.h: Likewise.
3269 * include/grp.h: Likewise.
3270 * include/libintl.h: Likewise.
3271 * include/mntent.h: Likewise.
3272 * include/netdb.h: Likewise.
3273 * include/pwd.h: Likewise.
3274 * include/rpc/netdb.h: Likewise.
3275 * include/sched.h: Likewise.
3276 * include/search.h: Likewise.
3277 * include/shadow.h: Likewise.
3278 * include/signal.h: Likewise.
3279 * include/stdio.h: Likewise.
3280 * include/stdlib.h: Likewise.
3281 * include/string.h: Likewise.
3282 * include/sys/socket.h: Likewise.
3283 * include/sys/stat.h: Likewise.
3284 * include/sys/statfs.h: Likewise.
3285 * include/sys/statvfs.h: Likewise.
3286 * include/sys/syslog.h: Likewise.
3287 * include/sys/time.h: Likewise.
3288 * include/sys/uio.h: Likewise.
3289 * include/time.h: Likewise.
3290 * include/unistd.h: Likewise.
3291 * include/utmp.h: Likewise.
3292 * include/wchar.h: Likewise.
3293 * include/wctype.h: Likewise.
3294 * inet/aliases.h: Likewise.
3295 * inet/arpa/inet.h: Likewise.
3296 * inet/netinet/ether.h: Likewise.
3297 * inet/netinet/in.h: Likewise.
3298 * intl/libintl.h: Likewise.
3299 * io/bits/fcntl2.h: Likewise.
3300 * io/fcntl.h: Likewise.
3301 * io/ftw.h: Likewise.
3302 * io/sys/poll.h: Likewise.
3303 * io/sys/stat.h: Likewise.
3304 * io/sys/statfs.h: Likewise.
3305 * io/sys/statvfs.h: Likewise.
3306 * io/utime.h: Likewise.
3307 * libio/bits/stdio.h: Likewise.
3308 * libio/bits/stdio2.h: Likewise.
3309 * libio/libio.h: Likewise.
3310 * libio/libioP.h: Likewise.
3311 * libio/stdio.h: Likewise.
3312 * locale/lc-ctype.c: Likewise.
3313 * locale/locale.h: Likewise.
3314 * login/utmp.h: Likewise.
3315 * malloc/arena.c: Likewise.
3316 * malloc/malloc.c: Likewise.
3317 * malloc/malloc.h: Likewise.
3318 * malloc/mcheck.c: Likewise.
3319 * malloc/mtrace.c: Likewise.
3320 * math/bits/mathcalls.h: Likewise.
3321 * math/fenv.h: Likewise.
3322 * math/math_private.h: Likewise.
3323 * misc/bits/error.h: Likewise.
3324 * misc/bits/syslog.h: Likewise.
3325 * misc/err.h: Likewise.
3326 * misc/error.h: Likewise.
3327 * misc/fstab.h: Likewise.
3328 * misc/mntent.h: Likewise.
3329 * misc/regexp.h: Likewise.
3330 * misc/search.h: Likewise.
3331 * misc/sgtty.h: Likewise.
3332 * misc/sys/mman.h: Likewise.
3333 * misc/sys/syslog.h: Likewise.
3334 * misc/sys/uio.h: Likewise.
3335 * misc/sys/xattr.h: Likewise.
3336 * misc/ttyent.h: Likewise.
3337 * nis/rpcsvc/ypclnt.h: Likewise.
3338 * nss/nss.h: Likewise.
3339 * posix/bits/unistd.h: Likewise.
3340 * posix/fnmatch.h: Likewise.
3341 * posix/glob.h: Likewise.
3342 * posix/sched.h: Likewise.
3343 * posix/spawn.h: Likewise.
3344 * posix/sys/wait.h: Likewise.
3345 * posix/unistd.h: Likewise.
3346 * posix/wordexp.h: Likewise.
3347 * pwd/pwd.h: Likewise.
3348 * resolv/netdb.h: Likewise.
3349 * resource/sys/resource.h: Likewise.
3350 * rt/aio.h: Likewise.
3351 * rt/bits/mqueue2.h: Likewise.
3352 * rt/mqueue.h: Likewise.
3353 * shadow/shadow.h: Likewise.
3354 * signal/signal.h: Likewise.
3355 * socket/send.c: Likewise.
3356 * socket/sendto.c: Likewise.
3357 * socket/sys/socket.h: Likewise.
3358 * stdio-common/printf.h: Likewise.
3359 * stdlib/bits/stdlib.h: Likewise.
3360 * stdlib/fmtmsg.h: Likewise.
3361 * stdlib/monetary.h: Likewise.
3362 * stdlib/stdlib.h: Likewise.
3363 * stdlib/ucontext.h: Likewise.
3364 * streams/stropts.h: Likewise.
3365 * string/argz.h: Likewise.
3366 * string/bits/string2.h: Likewise.
3367 * string/string.h: Likewise.
3368 * string/strings.h: Likewise.
3369 * sunrpc/rpc/auth.h: Likewise.
3370 * sunrpc/rpc/auth_des.h: Likewise.
3371 * sunrpc/rpc/clnt.h: Likewise.
3372 * sunrpc/rpc/netdb.h: Likewise.
3373 * sunrpc/rpc/pmap_clnt.h: Likewise.
3374 * sunrpc/rpc/xdr.h: Likewise.
3375 * sysdeps/generic/inttypes.h: Likewise.
3376 * sysdeps/generic/net/if.h: Likewise.
3377 * sysdeps/generic/sys/swap.h: Likewise.
3378 * sysdeps/gnu/net/if.h: Likewise.
3379 * sysdeps/gnu/utmpx.h: Likewise.
3380 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3381 * sysdeps/i386/i486/bits/string.h: Likewise.
3382 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3383 * sysdeps/s390/bits/string.h: Likewise.
3384 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3385 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3386 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3387 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3388 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3389 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3390 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3391 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3392 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3393 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3394 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3395 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3396 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3397 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3398 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3399 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3400 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3402 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3403 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3404 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3405 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3406 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3407 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3408 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3409 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3410 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3411 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3412 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3413 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3414 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3415 * sysvipc/sys/ipc.h: Likewise.
3416 * sysvipc/sys/msg.h: Likewise.
3417 * sysvipc/sys/sem.h: Likewise.
3418 * sysvipc/sys/shm.h: Likewise.
3419 * termios/termios.h: Likewise.
3420 * time/sys/time.h: Likewise.
3421 * time/time.h: Likewise.
3422 * wcsmbs/bits/wchar2.h: Likewise.
3423 * wcsmbs/uchar.h: Likewise.
3424 * wcsmbs/wchar.h: Likewise.
3425 * wctype/wctype.h: Likewise.
3426
0269750c
UD
3427 [BZ #13551]
3428 * Makeconfig: Remove all but ELF support including AIX support.
3429 * Makerules: Likewise.
3430 * config.h.in: Likewise.
3431 * config.make.in: Likewise.
3432 * configure: Likewise.
3433 * configure.in: Likewise.
3434 * csu/Makefile: Likewise.
3435 * csu/version.c: Likewise.
3436 * debug/Makefile: Likewise.
3437 * dlfcn/Makefile: Likewise.
3438 * elf/Makefile: Likewise.
3439 * extra-lib.mk: Likewise.
3440 * iconv/Makefile: Likewise.
3441 * include/libc-symbols.h: Likewise.
3442 * include/shlib-compat.h: Likewise.
3443 * resolv/Makefile: Likewise.
3444 * resolv/res_libc.c: Likewise.
3445 * rt/Makefile: Likewise.
3446 * sysdeps/i386/asm-syntax.h: Likewise.
3447 * sysdeps/i386/sysdep.h: Likewise.
3448 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3449 * sysdeps/mach/sysdep.h: Likewise.
3450 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3451 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3452 * sysdeps/s390/asm-syntax.h: Likewise.
3453 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3454 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3455 * sysdeps/sh/sysdep.h: Likewise.
3456 * sysdeps/unix/sparc/sysdep.h: Likewise.
3457 * sysdeps/wordsize-32/divdi3.c: Likewise.
3458 * sysdeps/x86_64/sysdep.h: Likewise.
3459
00bbd29b
UD
3460 * argp/Versions: Remove _argp_unlock_xxx.
3461
3462 [BZ #13559]
3463 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3464 * abilist/libBrokenLocale.abilist: Likewise.
3465 * abilist/libanl.abilist: Likewise.
3466 * abilist/libc.abilist: Likewise.
3467 * abilist/libcrypt.abilist: Likewise.
3468 * abilist/libdl.abilist: Likewise.
3469 * abilist/libm.abilist: Likewise.
3470 * abilist/libnsl.abilist: Likewise.
3471 * abilist/libpthread.abilist: Likewise.
3472 * abilist/libresolv.abilist: Likewise.
3473 * abilist/librt.abilist: Likewise.
3474 * abilist/libthread_db.abilist: Likewise.
3475 * abilist/libutil.abilist: Likewise.
3476 * abilist/libnss_db.abilist: New file.
3477
3478 * scripts/abilist.awk: Add support for indirect functions.
3479
a2693a0e
UD
3480 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3481
3f05895f
UD
3482 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3483
ecb6fb48
UD
3484 * shlib-versions: Remove entries for ports architectures.
3485
664f8cb9
UD
3486 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3487 files in ports.
3488 * elf/stackguard-macros.h: Remove support for IA-64.
3489 * elf/tst-auditmod1.c: Likewise.
3490 * sysdeps/generic/ldsodefs.h: Likewise.
3491
7ae81d88
UD
3492 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3493 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3494 configure files.
3495
bdeba135
UD
3496 [BZ #13552]
3497 * configure.in: Remove --enable-omitfp support.
3498 * FAQ.in: Adjust.
3499 * config.make.in: Likewise.
3500 * Makeconfig: Likewise.
3501 * manual/install.texi: Likewise.
3502
d75a0a62
UD
3503 In case anyone cares, the IA-64 architecture could move to ports.
3504 * sysdeps/ia64/*: Removed.
3505 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 3506 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 3507
dcc9756b
UD
3508 [BZ #13555]
3509 * configure.in: Remove entries for unsupported architectures.
3510
d3761ebc 3511 [BZ #13533]
9954432e
UD
3512 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3513 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3514 routines.
3515 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3516 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3517 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3518 fall back to using wcrtomb.
3519 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3520 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3521 renaming.
3522 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3523 * wcsmbs/tst-c16c32-1.c: New file.
3524
3525 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3526 local variable.
3527
c3a87236
UD
3528 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3529
28926a1b
UD
3530 * elf/tst-unique3.cc: Add explicit declaration of gets.
3531 * elf/tst-unique3lib.cc: Likewise.
3532 * elf/tst-unique3lib2.cc: Likewise.
3533 * elf/tst-unique4.cc: Likewise.
3534
df78418a
UD
3535 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3536
8ecd6b2a
JM
35372012-01-06 Joseph Myers <joseph@codesourcery.com>
3538
3539 [BZ #13566]
3540 * assert/assert.h (static_assert): Don't define for C++.
3541 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3542 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3543
9f115170
UD
35442012-01-03 Ulrich Drepper <drepper@gmail.com>
3545
5e0d0300
UD
3546 * iconv/loop.c (single loop): Fix assertion in storing of
3547 remaining bytes.
3548
9f115170
UD
3549 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3550
81fb02b0
UD
35512012-01-01 Ulrich Drepper <drepper@gmail.com>
3552
3553 * posix/getconf.c: Update copyright year.
3554 * nss/getent.c: Likewise.
a316c1f6 3555 * nss/makedb.c: Likewise.
81fb02b0
UD
3556 * iconv/iconvconfig.c: Likewise.
3557 * iconv/iconv_prog.c: Likewise.
3558 * elf/ldconfig.c: Likewise.
a316c1f6
UD
3559 * elf/pldd.c: Likewise.
3560 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
3561 * catgets/gencat.c: Likewise.
3562 * csu/version.c: Likewise.
3563 * elf/ldd.bash.in: Likewise.
3564 * elf/sprof.c (print_version): Likewise.
3565 * locale/programs/locale.c: Likewise.
3566 * locale/programs/localedef.c: Likewise.
a316c1f6 3567 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
3568 * nscd/nscd.c (print_version): Likewise.
3569 * debug/xtrace.sh: Likewise.
3570 * malloc/memusage.sh: Likewise.
3571 * malloc/mtrace.pl: Likewise.
3572 * debug/catchsegv.sh: Likewise.
3573
2ba92745
JJ
35742011-12-30 Jakub Jelinek <jakub@redhat.com>
3575
3576 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3577 pure attribute.
3578
dadebdae
UD
35792011-12-24 Ulrich Drepper <drepper@gmail.com>
3580
d3761ebc 3581 [BZ #13533]
db6af3eb
UD
3582 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3583 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3584 transformations.
3585 * iconv/gconv_int.h: Likewise.
3586 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3587 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3588 from libc for GLIBC_2.16.
3589 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3590 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3591 * wcsmbs/uchar.h: Really define mbstate_t.
3592 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3593 * wcsmbs/c16rtomb.c: New file.
3594 * wcsmbs/mbrtoc16.c: New file.
3595 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3596 for C/POSIX locale.
3597 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3598 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3599
dadebdae
UD
3600 * wcsmbs/wchar.h: Add missing __restrict.
3601
67371b56
UD
36022011-12-23 Ulrich Drepper <drepper@gmail.com>
3603
74033a25
UD
3604 [BZ #13532]
3605 * time/Makefile (routines): Add timespec_get.
3606 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3607 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3608 timespec for ISO C11.
3609 * time/timespec_get.c: New file.
3610 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3611 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3612
380d7e87
UD
3613 [BZ #13531]
3614 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3615 * stdlib/stdlib.h: Declare aligned_alloc.
3616 * Versions.def: Add GLIBC_2.16 for libc.
3617 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3618
4e9e7a35
UD
3619 [BZ 13527]
3620 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3621 ISO C11.
3622
380d7e87 3623 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
3624 code.
3625
03a71829
UD
3626 [BZ #13528]
3627 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3628
839e283e
UD
3629 [BZ #13529]
3630 * assert/assert.h (static_assert): Define.
3631
ce5294e2 3632 * version.h: Update for 2.16 development version.
90fa7312 3633
8d44e150 3634 [BZ #13526]
d7809905
UD
3635 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3636 _ISOC11_SOURCE.
3637
c0da14cd
UD
3638 * version.h (RELEASE): Bump for 2.15 release.
3639 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3640
530a3249
MP
3641 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3642 Patch by Marek Polacek <mpolacek@redhat.com>.
3643
67371b56
UD
3644 * bits/byteswap.h: Protect long long constants with __extension__.
3645 * sysdeps/i386/bits/byteswap.h: Likewise.
3646 * sysdeps/ia64/bits/byteswap.h: Likewise.
3647 * sysdeps/s390/bits/byteswap.h: Likewise.
3648 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3649
15db4de1
LD
36502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3651
3652 [BZ #13540]
bbe315ea
LD
3653 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3654 destination buffer.
15db4de1
LD
3655 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3656
2b2596b1
MP
36572011-12-23 Marek Polacek <polacek@redhat.com>
3658
3659 * elf/dl-addr.c (determine_info): Add inline keyword.
3660 * elf/tst-auditmod4b.c (check_avx): Likewise.
3661 * elf/tst-auditmod6b.c (check_avx): Likewise.
3662 * elf/tst-auditmod6c.c (check_avx): Likewise.
3663 * elf/tst-auditmod7b.c (check_avx): Likewise.
3664
70c6c246
UD
36652011-12-23 Ulrich Drepper <drepper@gmail.com>
3666
3667 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3668 !__SSE_MATH__.
3669
c044cf14
LD
36702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3671
15db4de1 3672 [BZ #13540]
c044cf14
LD
3673 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3674 processing for last bytes.
3675
6b13d9d9
BH
36762011-08-06 Bruno Haible <bruno@clisp.org>
3677
d455f537
BH
3678 [BZ #13061]
3679 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3680 U+0385, not to U+1FEE.
3681
6b13d9d9
BH
3682 [BZ #13062]
3683 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3684 entry for U+00A5 U+0301.
3685
db910efd
UD
36862011-12-22 Ulrich Drepper <drepper@gmail.com>
3687
27deeafc
UD
3688 [BZ #13166]
3689 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3690 buffer for the output is too small.
3691
aed9d171
UD
3692 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3693 optimization.
3694
db910efd
UD
3695 [BZ #13185]
3696 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3697 SSE flags if possible.
3698
2bd779ae
LD
36992011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3700
e7f9dac3 3701 [BZ #13540]
2bd779ae
LD
3702 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3703 processing for last bytes.
3704
154bfc16
JM
37052011-12-22 Joseph Myers <joseph@codesourcery.com>
3706
3707 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3708 (syscall-list-default-options, syscall-list-default-condition)
3709 (syscall-list-includes): Define.
3710 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3711 list of ABIs and options and #if conditions for each ABI. Do not
3712 handle common syscalls between ABIs specially.
3713 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3714 Remove.
3715 (syscall-list-variants, syscall-list-32bit-options)
3716 (syscall-list-32bit-condition, syscall-list-64bit-options)
3717 (syscall-list-64bit-condition): Define.
3718 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3719 (syscall-list-variants, syscall-list-32bit-options)
3720 (syscall-list-32bit-condition, syscall-list-64bit-options)
3721 (syscall-list-64bit-condition): Define.
3722 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3723 Remove.
3724 (syscall-list-variants, syscall-list-32bit-options)
3725 (syscall-list-32bit-condition, syscall-list-64bit-options)
3726 (syscall-list-64bit-condition): Define.
3727 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3728 Remove.
3729 (syscall-list-variants, syscall-list-32bit-options)
3730 (syscall-list-32bit-condition, syscall-list-64bit-options)
3731 (syscall-list-64bit-condition): Define.
3732
21eaf3a5
UD
37332011-12-22 Ulrich Drepper <drepper@gmail.com>
3734
16c6f992
UD
3735 * locale/iso-639.def: Add brx entry.
3736
41043168
UD
3737 [BZ #13328]
3738 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3739 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3740
21eaf3a5
UD
3741 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3742 __feraiseexcept_renamed.
3743
e3a851a2
UD
37442011-12-21 Ulrich Drepper <drepper@gmail.com>
3745
4920765e
UD
3746 [BZ #13538]
3747 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3748 EPOLLET with unsigned values.
3749 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3750 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3751
e3a851a2
UD
3752 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3753 to large cancellation.
3754 * math/s_cacoshf.c: Likewise.
3755 * math/s_cacoshl.c: Likewise.
3756
b27e24b8
RK
37572011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3758
3759 [BZ #13305]
aebefeee 3760 [BZ #12786]
b27e24b8
RK
3761 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3762 * math/s_cacoshf.c: Likewise.
3763 * math/s_cacoshl.c: Likewise.
3764
ee190f67
UD
37652011-12-21 Ulrich Drepper <drepper@gmail.com>
3766
3767 [BZ #13439]
3768 * iconv/gconv.h: Define __GCONV_SWAP.
3769 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3770 * iconvdata/utf-16.c: Likewise.
3771 * iconvdata/utf-32.c: Likewise.
3772
707f25df
AS
37732011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3774
3775 [BZ #13524]
3776 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3777 numerator after shifting it by one limb.
3778
d2daaa1e
RÁE
37792011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3780
3781 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3782 under [__USE_EXTERN_INLINES].
3783
a4647e72
UD
37842011-12-17 Ulrich Drepper <drepper@gmail.com>
3785
3786 [BZ #13446]
3787 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3788
f0b264f1
AZ
37892011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3790
3791 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3792 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3793 optimized code.
3794 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3795 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3796 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3797 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3798 for strncasecmp/strncasecmp_l compilation.
3799 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3800 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3801
8ef4f244
MP
38022011-12-08 Marek Polacek <mpolacek@redhat.com>
3803
3804 [BZ #13484]
3805 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3806 of __asm__.
3807
97ac2654
UD
38082011-12-17 Ulrich Drepper <drepper@gmail.com>
3809
3810 [BZ #13506]
3811 * time/tzfile.c (__tzfile_read): Check values from file header.
3812
91d2a845
WS
38132011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3814
3815 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3816 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3817 * powerpc/powerpc32/dl-start.S: Likewise.
3818 * powerpc/powerpc32/elf/start.S: Likewise.
3819 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3820 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3821 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3822 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3823 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3824 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3825 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3826 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3827 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3828 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3829 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3830 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3831 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3832 * powerpc/powerpc32/memset.S: Likewise.
3833 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3834 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3835 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3836 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3837 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3838 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3839 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3840 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3841 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3842 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3843 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3844 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3845 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3846
a1267ba1
AZ
38472011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3848
3849 * math/libm-test.inc: Added more nearbyint tests.
3850 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3851 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3852 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3853 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3854
ad8ac1bd
RL
38552011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3856
3857 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3858 FD_CLOEXEC.
3859
1d3e4b61
UD
38602011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3861
3862 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3863 Add wcscpy-ssse3 wcscpy-c.
3864 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3865 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3866 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3867 * sysdeps/x86_64/wcschr.S: New file.
3868 * sysdeps/x86_64/wcsrchr.S: New file.
3869 * string/test-strcmp.c: Remove checking of wcscmp function for
3870 wrong alignments.
3871 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3872 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3873 wcsrchr-sse2 wcsrchr-c.
3874 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3875 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3876 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3877 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3878 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3879 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3880 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3881 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3882 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3883 * wcsmbc/wcschr.c (WCSCHR): New macro.
3884
5b330a2d
UD
38852011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3886
3887 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3888 * wcsmbs/test-wcsrchr.c: New file.
3889 * string/test-strrchr.c: Add wcsrchr support.
3890 (WIDE): New macro.
3891 * wcsmbs/test-wcscpy.c: New file.
3892 * string/test-strcpy.c: Add wcscpy support.
3893 (WIDE): New macro.
26428b7c 3894
f039c043
UD
38952011-12-10 Ulrich Drepper <drepper@gmail.com>
3896
3897 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3898 the inner loop.
3899
850fb039
AS
39002011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3901
3902 [BZ #13472]
3903 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3904
4efbd5cb
UD
39052011-12-04 Ulrich Drepper <drepper@gmail.com>
3906
52ff5dd0 3907 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 3908 Minor optimizations.
52ff5dd0 3909
4efbd5cb
UD
3910 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3911 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3912 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3913
8a426e12
UD
39142011-12-03 Ulrich Drepper <drepper@gmail.com>
3915
aff2453d
UD
3916 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3917 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3918 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3919 for gcc to avoid warnings.
3920 * inet/Makefile (tests): Add tst-checks.
3921 * inet/tst-checks.c: New file.
3922
3923 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3924 warning.
3925
3926 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3927 __wmemcmp_sse2.
3928
3929 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3930 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3931
8a426e12
UD
3932 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3933
9bea3473
UD
39342011-12-02 Ulrich Drepper <drepper@gmail.com>
3935
3a965496
UD
3936 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3937 problem.
3938
9bea3473
UD
3939 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3940
f101631b
UD
39412011-11-29 Joseph Myers <joseph@codesourcery.com>
3942
3943 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3944 conditional on GCC version.
3945 (__arch_compare_and_exchange_val_8_acq)
3946 (__arch_compare_and_exchange_val_16_acq)
3947 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3948 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3949 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3950
a98275aa
UD
39512011-12-02 Joseph Myers <joseph@codesourcery.com>
3952
3953 * sysdeps/sh/backtrace.c: New file.
3954
d4cc29a2
AS
39552011-12-02 Andreas Schwab <schwab@redhat.com>
3956
3957 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3958 parenthesis.
3959
6257af2d
AS
39602011-12-01 Andreas Schwab <schwab@redhat.com>
3961
3962 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3963 falling back to utime.
3964
b5f44c1a
AS
39652011-11-30 Andreas Schwab <schwab@redhat.com>
3966
3967 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3968 expectations for float.
3969
f3a6cc0a
AS
39702011-11-29 Andreas Schwab <schwab@redhat.com>
3971
3972 * locale/weight.h (findidx): Add parameter len.
3973 * locale/weightwc.h (findidx): Likewise.
3974 * posix/fnmatch_loop.c (FCT): Adjust caller.
3975 * posix/regcomp.c (build_equiv_class): Likewise.
3976 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3977 * posix/regexec.c (check_node_accept_bytes): Likewise.
3978 * string/strcoll_l.c (STRCOLL): Likewise.
3979 * string/strxfrm_l.c (STRXFRM): Likewise.
3980
9d65ea3a
UD
39812011-11-17 Ulrich Drepper <drepper@gmail.com>
3982
3983 * Makefile.in: Remove CVSOPT handling.
3984 * configure.in: Remove use of AC_REVISION.
3985 * iconvdata/Makefile (distribute): No need to filter out CVS.
3986 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3987 handling.
3988
5583a086
AS
39892011-11-16 Andreas Schwab <schwab@redhat.com>
3990
3991 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3992 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3993 [USE_AS_STRNCASECMP_L]: Likewise.
3994 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3995 NO_TLS_DIRECT_SEG_REFS.
3996 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3997 Fix argument offsets for non-PIC.
3998 [USE_AS_STRNCASECMP_L]: Likewise.
3999 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4000 NO_TLS_DIRECT_SEG_REFS.
4001
d62a8200
UD
40022011-11-15 Ulrich Drepper <drepper@gmail.com>
4003
9d65ea3a 4004 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4005 O_CLOEXEC.
4006 * locale/loadlocale.c (_nl_load_locale): Likewise.
4007
09f93bd3
AS
40082011-11-15 Andreas Schwab <schwab@redhat.com>
4009
446514f9
AS
4010 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4011 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4012 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4013 (SYSCALL_GETTIME): Set errno on error.
4014
09f93bd3
AS
4015 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4016 count references to noai6ai_cached.
4017
312be3f9
UD
40182011-11-15 Ulrich Drepper <drepper@gmail.com>
4019
4020 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4021
4022 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4023 FD_CLOEXEC for /proc/self/maps.
4024
4025 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4026 FD_CLOEXEC for /proc/meminfo.
4027
4028 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4029 gai.conf.
4030
4031 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4032 FD_CLOEXEC for given file.
4033
4034 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4035
4036 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4037 FD_CLOEXEC for /etc/hosts.
4038 (_gethtent): Likewise.
4039
4040 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4041
4042 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4043 cancellation and set FD_CLOEXEC for /etc/netgroup.
4044
4045 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4046 reading /etc/publickey.
4047
4048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4049 allow cancellation when reading /etc/group.
4050
4051 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4052 cancellation.
4053 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4054
4055 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4056 when using data file.
4057
4058 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4059
4060 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4061 (write_nis_obj): Use "c" and "e" in fopen.
4062
4063 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4064
4065 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4066
4067 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4068
4069 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4070
4071 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4072 locale.alias.
4073
4074 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4075
4076 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4077
4078 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4079
4080 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4081 file parsing and set FD_CLOEXEC.
4082
82af0fa8
UD
40832011-11-14 Ulrich Drepper <drepper@gmail.com>
4084
4085 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4086
a5fb313c
AS
40872011-11-14 Andreas Schwab <schwab@redhat.com>
4088
4089 * malloc/arena.c (arena_get2): Don't call reused_arena when
4090 _int_new_arena failed.
4091
6abf3465
UD
40922011-11-14 Ulrich Drepper <drepper@gmail.com>
4093
4094 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4095 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4096 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4097 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4098 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4099 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4100 to compile strcasecmp and strncasecmp.
4101 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4102 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4103
4104 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4105
76e3966e
UD
41062011-11-13 Ulrich Drepper <drepper@gmail.com>
4107
4108 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4109 locale-defines.sym to gen-as-const-headers.
4110 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4111 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4112 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4113 to compile strcasecmp and strncasecmp.
4114 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4115 strcasecmp_l and strncasecmp_l.
4116 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4117 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4118 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4119 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4120 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4121 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4122 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4123 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4124 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4125 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4126 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4127
ab26144e
UD
41282011-11-12 Ulrich Drepper <drepper@gmail.com>
4129
7edb22ef
UD
4130 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4131 result of SYSDEP_GETTIME_CPU to retval.
4132 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4133 parameter list to macro. Remove trailing semicolon. Adjust users.
4134
9694fc44
UD
4135 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4136 variable.
4137
8ad89ef8
UD
4138 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4139 mantissa words.
4140 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4141
0c822ef9
UD
4142 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4143 from unused variable.
4144
874e0564
UD
4145 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4146 DWARF definitions.
4147 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4148 for assembling.
4149
3a2edc79
UD
4150 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4151 over namespaces.
4152
f3c2577f
UD
4153 * sunrpc/rpc_prot.c (rejected): Fix case value.
4154
294ce126
UD
4155 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4156 unsigned long long int to avoid warnings in shift.
4157
5e2b63c6
UD
4158 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4159 of use of trans.
4160 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4161 variable tmp.
4162
e7f4b08e
UD
4163 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4164 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4165 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4166
ab26144e
UD
4167 * nis/nis_table.c (nis_list): Use variable of correct type for
4168 result of __follow_path call.
4169
8a6d5255
AZ
41702011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4171
4172 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4173 of math functions ceil, trunc, floor, round, and sqrt, when
4174 avaliable on the platform.
4175 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4176 name clash.
4177 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4178 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4179 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4180
aaddc98c
MP
41812011-10-30 Marek Polacek <mpolacek@redhat.com>
4182
4183 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4184 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4185
95b7042b
RM
41862011-11-11 Roland McGrath <roland@hack.frob.com>
4187
4188 * include/unistd.h: Fix __readlink return type.
4189 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4190
57769839
UD
41912011-11-11 Ulrich Drepper <drepper@gmail.com>
4192
4193 * stdlib/ucontext.h: Undo last change for makecontext.
4194
edc5984d
AS
41952011-11-11 Andreas Schwab <schwab@redhat.com>
4196
98591e58
AS
4197 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4198
edc5984d
AS
4199 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4200 * setjmp/setjmp.h: Mark functions as non-leaf.
4201 * setjmp/bits/setjmp2.h: Likewise.
4202 * stdlib/ucontext.h: Likewise.
4203
77cdc054
AS
42042011-11-10 Andreas Schwab <schwab@redhat.com>
4205
4206 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4207 (reused_arena): Don't check arena limit.
4208 (arena_get2): Atomically check arena limit.
4209
fe72eebd
UD
42102011-11-08 Ulrich Drepper <drepper@gmail.com>
4211
5f078c32
UD
4212 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4213 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4214
fe72eebd
UD
4215 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4216 instructions.
4217
ae1bc2fa
AS
42182011-11-07 Andreas Schwab <schwab@redhat.com>
4219
7583a88d
AS
4220 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4221 handler when locking.
4222
ae1bc2fa
AS
4223 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4224 Fix size of allocated buffer.
4225
10fb0bfa
AS
42262011-11-04 Andreas Schwab <schwab@redhat.com>
4227
998832a4
AS
4228 [BZ #10103]
4229 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4230 declarations for long double functions.
4231 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4232
10fb0bfa
AS
4233 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4234
3d7ba52b
AS
42352011-11-03 Andreas Schwab <schwab@redhat.com>
4236
a9ae54a1
AS
4237 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4238 installed.
4239
3d7ba52b
AS
4240 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4241 is disabled.
4242
bc8db248
ST
42432011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4244
4245 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4246
45b96dd6
AS
42472011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4248
647776f6
AS
4249 * include/alloca.h (stackinfo_alloca_round): Define.
4250 (extend_alloca): Use it.
4251 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4252 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4253 here.
4254
d91a8b93
AS
4255 * scripts/check-local-headers.sh: Ignore libaudit.h.
4256
45b96dd6
AS
4257 * nscd/Makefile (extra-objs): Make recursively expanded.
4258
432d41ce
UD
42592011-11-01 Ulrich Drepper <drepper@gmail.com>
4260
34372fc6
UD
4261 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4262 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4263
fadb59f8
UD
4264 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4265 * posix/tst-rfc3484-2.c: Likewise.
4266 * posix/tst-rfc3484-3.c: Likewise.
4267
78239589
UD
4268 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4269 process_vm_writev.
4270 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4271 process_vm_writev.
4272 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4273 process_vm_writev from libc using GLIBC_2.15 version.
4274
432d41ce
UD
4275 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4276
02f9c6cf
PP
42772011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4278
4279 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4280 stack usage.
4281
3a2c0242
UD
42822011-10-31 Ulrich Drepper <drepper@gmail.com>
4283
f4ec4833
UD
4284 [BZ #13367]
4285 * nss/getent.c (initgroups_keys): Show error message in case no group
4286 names are given.
4287
3a2c0242
UD
4288 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4289 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4290 __bump_nl_timestamp.
4291 * nscd/connections (nscd_init): When host database is served open
4292 netlink socket and request notification about configuration changes.
4293 (main_loop_poll): Track netlink file descriptor and bump timestamp
4294 in case data becomes available.
4295 (main_loop_epoll): Likewise.
4296 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4297 (database_pers_head): Add extra_data fileds.
4298 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4299 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4300 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4301 Adjust caller.
4302 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4303 in6ai data, call __free_in6ai.
4304 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4305 Add -DHAVE_NETLINK.
4306 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4307 interface information. Reuse previous data if netlink timestamp
4308 is not changed.
4309 (__bump_nl_timestamp): New function.
4310 (__free_in6ai): New function.
4311
636064eb
UD
43122011-10-30 Ulrich Drepper <drepper@gmail.com>
4313
4314 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4315 close_not_cancel_no_status here.
4316 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4317
9beb2334
UD
43182011-10-29 Ulrich Drepper <drepper@gmail.com>
4319
6ef76f3b
UD
4320 [BZ #13276]
4321 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4322 return value.
4323
0ffc4f3e 4324 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
4325 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4326 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4327
cb95113e
UD
43282011-07-03 Andreas Jaeger <aj@suse.de>
4329
4330 [BZ #10709]
4331 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4332 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4333 * math/libm-test.inc (sin_test): Add test case.
4334
a1b560ff
UD
43352011-10-29 Ulrich Drepper <drepper@gmail.com>
4336
c9aaface
UD
4337 [BZ #13337]
4338 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4339 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4340
d272e7f1
UD
4341 * elf/chroot_canon.c (chroot_canon): Cleanups.
4342
1bc33071
UD
4343 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4344
1760874d
TJ
4345 [BZ #13335]
4346 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4347 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4348
51d91b18
UD
4349 * string/test-strchr.c: Make usable for strchrnul testing.
4350 * string/test-strchrnul.c: New file.
4351 * string/Makefile (strop-tests): Add strchrnul.
4352
a1b560ff 4353 * po/it.po: Update from translation team.
b611fb81 4354 * po/es.po: Likewise.
a1b560ff 4355
a5b81e1f
UD
43562011-10-28 Ulrich Drepper <drepper@gmail.com>
4357
fd52bc6d
UD
4358 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4359 the three constants needed as parameters. Drop the others.
4360 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4361 __m128i_strloadu_tolower.
52e4b9eb
UD
4362 Create and initialize variable zero and use it in all the places
4363 where _mm_setzero_si128 was used.
fd52bc6d 4364
a5b81e1f
UD
4365 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4366 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4367 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4368 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4369 anymore.
4370 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4371 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4372 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4373 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4374 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4375 __mpranred, __mptan.
4376 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4377 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4378 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4379 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4380 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4381 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4382 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4383 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4384 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4385
b4343346
AS
43862011-10-28 Andreas Schwab <schwab@redhat.com>
4387
0c92d8a8
AS
4388 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4389 redefine if SHARED.
4390 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4391
b4343346
AS
4392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4393 wide char related routines to wcsmbs subdir.
4394
3871f58f
AS
43952011-10-27 Andreas Schwab <schwab@redhat.com>
4396
4397 [BZ #13344]
4398 * misc/sys/cdefs.h (__THROWNL): Define.
4399 * posix/unistd.h: Use __THREADNL instead of __THREAD
4400 for memory synchronization functions.
4401
94d44d9f
RM
44022011-10-26 Roland McGrath <roland@hack.frob.com>
4403
21b64b15 4404 [BZ #13349]
94d44d9f
RM
4405 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4406 doesn't exist.
4407 * manual/stdio.texi (Obstack Streams): Node removed.
4408
f6ce9294
AS
44092011-10-26 Andreas Schwab <schwab@redhat.com>
4410
80479147
AS
4411 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4412 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4413 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4414
f6ce9294
AS
4415 * math/math_private.h (math_force_eval): Allow non-addressable
4416 arguments.
4417 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4418
618280a1
UD
44192011-10-25 Ulrich Drepper <drepper@gmail.com>
4420
e0016b11
UD
4421 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4422 file is not needed.
4423
4424 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4425 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4426 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4427 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4428 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4429 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4430 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4431 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4432 Add AVX variants.
4433 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4434 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4435 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4436 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4437 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4438 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4439 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4440 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4441 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4442 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4443 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4444 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4445 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4446 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4447 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4448 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4449 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4450 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4451 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4452
4453 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4454 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4455
618280a1
UD
4456 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4457 place. Use VEX encoding when compiling for AVX.
4458
37822576
AS
44592011-10-25 Andreas Schwab <schwab@redhat.com>
4460
1f1e1947
AS
4461 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4462 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4463
37822576
AS
4464 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4465
31ea014d
UD
44662011-10-25 Ulrich Drepper <drepper@gmail.com>
4467
d7826aa1 4468 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 4469 useless if() expression.
d7826aa1
UD
4470 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4471 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4472 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4473 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4474 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4475 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4476 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4478 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4479 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4480 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4481 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4482 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4483 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4484 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4485 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4486 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4487 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4488 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4489
31ea014d
UD
4490 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4491
16437fec
AS
44922011-10-25 Andreas Schwab <schwab@redhat.com>
4493
4494 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4495 condition.
4496 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4497
31d3cc00
UD
44982011-10-25 Ulrich Drepper <drepper@gmail.com>
4499
4500 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4501 .text section. Avoid duplicate constants.
4502 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4504 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4506 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4507 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4508 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4509 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4510 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4511 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4512 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4513 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4514 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4515 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4517 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4518 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4519 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4520 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4522 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4523 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4524 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4525 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4526 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4527 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4528 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4529 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4530 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4531 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4532 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4533 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4534 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4535 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4536 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4537 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4538 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4539 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4540 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4541 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4542 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4543 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4544 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4545 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4546 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4547
58985aa9
UD
45482011-10-24 Ulrich Drepper <drepper@gmail.com>
4549
202c9deb
UD
4550 * sysdeps/x86_64/dla.h: Move to ...
4551 * sysdeps/x86_64/fpu/dla.h: ...here.
4552 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4553 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 4554
af968f62
UD
4555 * config.make.in: Add have-mfma4 entry.
4556 * configure.in: Substitute libc_cv_cc_fma4.
4557 * math/Makefile (dbl-only-routines): Add sincostab.
4558 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4559 Use __sincostab not sincos.
4560 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4561 name is a macro.
4562 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4566 using __copysign.
4567 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4568 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4569 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4570 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4571 and __inv.
4572 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4573 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4574 __copysign.
4575 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4576 define aliases when function name is a macro.
4577 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4578 sysdeps/ieee754/dbl-64/sincos.tbl.
4579 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4580 fma4-enabled routines.
4581 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4582 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4583 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4584 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4585 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4586 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4587 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4588 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4589 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4590 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4591 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4592 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4593 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4594 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4595 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4596 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4597 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4598 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4599 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4600 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4601 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4602 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4603 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4604 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4605 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4606 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4607 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4608 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4609 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4610 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4611
58985aa9
UD
4612 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4613 rename.
4614 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4615 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4616 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4617 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4618 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4619 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4620 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4621 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4622
a201fbcf
AS
46232011-10-24 Andreas Schwab <schwab@redhat.com>
4624
4625 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4626
fc2ee42a
LD
46272011-10-23 Ulrich Drepper <drepper@gmail.com>
4628
bb3129bd
UD
4629 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4630
0275fff8
UD
4631 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4632 prediction.
4633 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4634
2fa2ae85
UD
4635 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4636 Remove unused variable magic_bits.
4637 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4638
fc2ee42a
LD
4639 * string/strnlen.c: Define and use STRNLEN macro.
4640 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4641 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4642 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4643 * wcsmbs/wcslen.c: Define and use WCSLEN.
4644 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4645 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4646 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4647 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4648 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4649 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4650 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4651
ce7dd29f
LD
46522011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4653
4654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4655 strnlen-sse2-no-bsf.
4656 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4657 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4658 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4659 Add strnlen support.
4660 (USE_AS_STRNLEN): New macro.
4661 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4662 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4663 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4664 * sysdeps/x86_64/wcslen.S: New file.
4665
979c70a3
MZ
46662011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4667
4668 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4669 XMM-moves are used for copying on small sizes.
4670
2d09f82f
LD
46712011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4672
4673 * wcsmbs/Makefile (strop-tests): Add wcschr.
4674 * wcsmbs/test-wcschr.c: New file.
4675 * string/test-strchr.c: Update.
4676 Add wcschr support.
4677 (WIDE): New macro.
4678
619fccca
LD
46792011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4680
2d09f82f 4681 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
4682 * wcsmbs/test-wcslen.c: New file.
4683 * string/test-strlen.c: Update.
4684 Add wcslen support.
4685 (WIDE): New macro.
4686
09f699ea
UD
46872011-10-23 Ulrich Drepper <drepper@gmail.com>
4688
4689 * po/it.po: Update from translation team.
4690
95584d3b
LD
46912011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4692
4693 * sysdeps/x86_64/wcscmp.S: Update.
4694 Fix wrong comparison semantics.
4695 wcscmp shall use signed comparison not unsigned.
4696 Don't use substraction to avoid overflow bug.
4697 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4698 * wcsmbc/wcscmp.c: Likewise.
4699 * string/test-strcmp.c: Likewise.
4700 Add new tests to check cases with negative values.
4701
c8b3296b
UD
47022011-10-23 Ulrich Drepper <drepper@gmail.com>
4703
4704 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4705 * sysdeps/x86_64/dla.h: ...here. New file.
4706 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4707 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4709 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4711 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4712 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4713 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4714 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4715
246ad57a
AS
47162011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4717
4718 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4719 __ynl_finite aliases.
4720
a1a87169
UD
47212011-10-22 Ulrich Drepper <drepper@gmail.com>
4722
0d355eb7
UD
4723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4724
a1a87169
UD
4725 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4726 define DLA_FMA.
4727 [DLA_FMA] (EMULV): Use DLA_FMA.
4728 [DLA_FMA] (MUL12): Use EMULV.
4729 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4730 that are not needed.
4731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4738
ee2aafe0
AS
47392011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4740
4741 * math/s_nan.c: Undef __nan.
4742 * math/s_nanf.c: Undef __nanf.
4743 * math/s_nanl.c: Undef __nanl.
4744 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4745 "math_private.h".
4746
bc62c2fb
UD
47472011-10-22 Ulrich Drepper <drepper@gmail.com>
4748
77425c63
UD
4749 * math/s_catan.c: Add branch predictions.
4750 * math/s_catanf.c: Likewise.
4751 * math/s_catanh.c: Likewise.
4752 * math/s_catanhf.c: Likewise.
4753 * math/s_catanhl.c: Likewise.
4754 * math/s_catanl.c: Likewise.
4755 * math/s_cexp.c: Likewise.
4756 * math/s_cexpf.c: Likewise.
4757 * math/s_cexpl.c: Likewise.
4758 * math/s_clog.c: Likewise.
4759 * math/s_clog10.c: Likewise.
4760 * math/s_clog10f.c: Likewise.
4761 * math/s_clog10l.c: Likewise.
4762 * math/s_clogf.c: Likewise.
4763 * math/s_clogl.c: Likewise.
4764 * math/s_csqrt.c: Likewise.
4765 * math/s_csqrtf.c: Likewise.
4766 * math/s_csqrtl.c: Likewise.
4767 * math/s_ctanf.c: Likewise.
4768 * math/s_ctanh.c: Likewise.
4769 * math/s_ctanhf.c: Likewise.
4770 * math/s_ctanhl.c: Likewise.
4771 * math/s_ctanl.c: Likewise.
4772
bc62c2fb
UD
4773 * math/math_private.h: Define __nan, __nanf, __nanl.
4774 * math/s_cacosh.c: Include <math_private.h>.
4775 * math/s_cacoshl.c: Likewise.
4776 * math/s_casinh.c: Likewise.
4777 * math/s_casinhf.c: Likewise.
4778 * math/s_casinhl.c: Likewise.
4779 * math/s_ccos.c: Rely entire on ccosh.
4780 * math/s_ccosf.c: Rely entire on ccoshf.
4781 * math/s_ccosl.c: Rely entirely on ccoshl.
4782 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4783 Remove tests for FE_INVALID.
4784 * math/s_ccoshf.c: Likewise.
4785 * math/s_ccoshl.c: Likewise.
4786 * math/s_csin.c: Likewise.
4787 * math/s_csinf.c: Likewise.
4788 * math/s_csinh.c Likewise.
4789 * math/s_csinhf.c: Likewise.
4790 * math/s_csinhl.c: Likewise.
4791 * math/s_csinl.c: Likewise.
4792 * math/s_ctan.c: Likewise.
4793 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4794 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4795 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4796
8ec250a4
UD
47972011-10-21 Ulrich Drepper <drepper@gmail.com>
4798
c196fed8
UD
4799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4800 compilation problems.
4801
8ec250a4
UD
4802 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4803 __builtin_expect.
4804
8d4f46c6
UD
48052011-10-20 Ulrich Drepper <drepper@gmail.com>
4806
ed72b654
UD
4807 * sysdeps/i386/configure.in: Test for -mfma4 option.
4808 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4809 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4810 COMMON_CPUID_INDEX_80000001.
4811 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4812 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4813 use it if FMA3 is not supported.
4814 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4815
8d4f46c6
UD
4816 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4817 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4818
d45c60c2
AS
48192011-10-20 Andreas Schwab <schwab@redhat.com>
4820
4821 [BZ #12892]
4822 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4823 it would create a cycle with a link time dependency.
4824
d9a4d2ab
UD
48252011-10-19 Ulrich Drepper <drepper@gmail.com>
4826
855d1560
UD
4827 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4828 instruction.
4829 * string/Makefile (strop-tests): Add rawmemchr.
4830 * string/test-rawmemchr.c: New file.
4831
d9a4d2ab
UD
4832 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4833 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4834 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4835 when compiling str{,n}casecmp and when AVX is available. Hook up
4836 new optimized code in initializers.
4837
8f3b1ffe
AS
48382011-10-19 Andreas Schwab <schwab@redhat.com>
4839
4840 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4841 __feraiseexcept instead of feraiseexcept.
4842
d38f1dba
UD
48432011-10-18 Ulrich Drepper <drepper@gmail.com>
4844
d9a8d0ab
UD
4845 * math/math_private.h: Define defaults for libc_fetestexcept and
4846 libc_feupdateenv.
4847 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4848 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4849 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4850 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4851 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4852 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4853 libc_fetestexcept and libc_feupdateenv.
4854
4855e3dd
UD
4855 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4856 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4857 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4858 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4859 libc_feholdexcept_setround.
4860
581d30e3
UD
4861 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4862 Add s_nearbyint-c and s_nearbyintf-c.
4863 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4864 nearbyintf inlines.
4865 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4866 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4867 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4868 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4869
d38f1dba
UD
4870 * math/math_private.h: Define defaults for libc_fegetround,
4871 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4872 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4873 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4874 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4875 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4876 standard functions.
4877 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4878 Remove comments and hacks for old compiler versions.
4879 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4880 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4881 libc_feholdexceptl.
4882
caa6c9d8
AS
48832011-10-18 Andreas Schwab <schwab@redhat.com>
4884
4885 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
4886 (__feraiseexcept_renamed): Add __NTH.
4887 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
4888 namespace violations.
4889
97c066e6
UD
48902011-10-17 Ulrich Drepper <drepper@gmail.com>
4891
99ce7b04
UD
4892 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4893
1004d182
UD
4894 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4895
228a984d
UD
4896 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4897 recently added interfaces.
4898 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4899
c8553a6a
UD
4900 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4901 about macro parameter expansion.
4902
ed22dcf6
UD
4903 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4904 __NO_MATH_INLINES is defined. Cleanups.
4905
4906 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4907 and __floorf is target has SSE4.1.
4908 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4909 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4910 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4911 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4912
b171c137
UD
4913 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4914 name.
4915 (floorf): Likewise.
4916
97c066e6
UD
4917 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4918
629f62ef
AS
49192011-10-17 Andreas Schwab <schwab@redhat.com>
4920
49a43d80
AS
4921 * misc/sys/cdefs.h: Fix last change.
4922
629f62ef
AS
4923 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4924 database lookup.
4925
e453f6cd
UD
49262011-10-16 Ulrich Drepper <drepper@gmail.com>
4927
aa78043a
UD
4928 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4929
ad0f5cad
UD
4930 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4931 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4932 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4933 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4934 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4935 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4936 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4937 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4938 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4939 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4940 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4941 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4942 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4943 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4944 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4945 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4946 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4947 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4948 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4949 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4950 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4951 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4952
4953 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4954 ceil, ceilf, floor, floorf.
4955
4956 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4957 Perform IRELATIVE relocations last.
4958
e453f6cd
UD
4959 * elf/do-rel.h: Add another parameter nrelative, replacing the
4960 local variable with the same name. Change name of the function
4961 to end in Rel or Rela (uppercase).
4962 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4963 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4964 elf_dynamic_do_##reloc function.
4965
fd5bdc09
UD
49662011-10-15 Ulrich Drepper <drepper@gmail.com>
4967
79b195b5
UD
4968 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4969 is sufficient, at least on modern CPUs.
4970
d4a28569
UD
4971 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4972
b61099b5
UD
4973 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4974 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4975
bcf01e6d
UD
4976 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4977 __expl_finite.
4978 * math/bits/math-finite.h: Add entries for exp.
4979 * math/e_expl.c: Add __*_finite alias.
4980 * sysdeps/i386/fpu/e_exp.S: Likewise.
4981 * sysdeps/i386/fpu/e_expf.S: Likewise.
4982 * sysdeps/i386/fpu/e_expl.c: Likewise.
4983 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4984 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4985 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4986 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4987 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4988 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4989 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4990
ba1a0d59
UD
4991 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4992 is sufficient, at least on modern CPUs.
4993
fd5bdc09
UD
4994 * ctype/ctype-info.c (__ctype_init): Define.
4995 * include/ctype.h (__ctype_init): Declare.
4996 (__ctype_b_loc): The variable is always initialized.
4997 (__ctype_toupper_loc): Likewise.
4998 (__ctype_tolower_loc): Likewise.
4999 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5000 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5001
7872cfb0
AS
50022011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5003
b468825a
AS
5004 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5005
7872cfb0
AS
5006 * configure.in: Also look in $cxxmachine/include for C++ system
5007 headers.
5008
be13f7bf
LD
50092011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5010
5011 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5012 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5013 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5014 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5015 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5016 (USE_AS_WMEMCMP): New macro.
5017 Fixing indents.
5018 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5019 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5020 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5021 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5023 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5024 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5025 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5026 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5027 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5028 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5029 (USE_AS_WMEMCMP): New macro.
5030 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5031 * sysdeps/string/test-memcmp.c: Update.
5032 Fix simple_wmemcmp.
5033 Add new tests.
5034 * wcsmbs/wmemcmp.c: Update.
5035 (WMEMCMP): New macro.
5036 Fix overflow bug.
5037
556a2007
AJ
50382011-10-12 Andreas Jaeger <aj@suse.de>
5039
5040 [BZ #13268]
5041 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5042
538faaa7
UD
50432011-10-15 Ulrich Drepper <drepper@gmail.com>
5044
ab6737ff
UD
5045 * libio/iofwide.c (do_length): Avoid warning.
5046
538faaa7
UD
5047 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5048
396a21b1
UD
50492011-10-14 Ulrich Drepper <drepper@gmail.com>
5050
cdf2901f
UD
5051 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5052
38ad40ce
UD
5053 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5054 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5055 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5056 * sysdeps/i386/i686/fpu/e_log.S: New file.
5057 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5058 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5059
396a21b1
UD
5060 * ctype/ctype.h: Add support for inlined isXXX functions when
5061 compiling C++ code.
5062
6b1f68c9
AS
50632011-10-14 Andreas Schwab <schwab@redhat.com>
5064
349290c0
AS
5065 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5066
6b1f68c9
AS
5067 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5068
f2282d42
RM
50692011-10-13 Roland McGrath <roland@hack.frob.com>
5070
5071 [BZ #13291]
5072 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5073
5298ffa8
AS
50742011-10-13 Andreas Schwab <schwab@redhat.com>
5075
714fad23
AS
5076 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5077 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5078 feraiseexcept.
5079
81dcc7fb
AS
5080 * sysdeps/x86_64/memrchr.S: Check for zero size.
5081
5298ffa8
AS
5082 * string/stratcliff.c: Add memrchr tests.
5083
951fbcec
LD
50842011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5085
5086 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5087 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5088 rawmemchr-sse2 rawmemchr-sse2-bsf.
5089 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5090 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5091 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5092 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5093 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5094 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5095 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5096 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5097 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5098 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5099 * string/memrchr.c (MEMRCHR): New macro.
5100
0ac5ae23
UD
51012011-10-12 Ulrich Drepper <drepper@gmail.com>
5102
5103 Add integration with gcc's -ffinite-math-only and optimize wrapper
5104 functions in libm.
5105 * Versions.def: Define GLIBC_2.15 version for libm.
5106 * math/Makefile (headers): Add bits/math-finite.h.
5107 * math/bits/math-finite.h: New file.
5108 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5109 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5110 * math/e_acoshl.c: Add __*_finite alias.
5111 * math/e_acosl.c: Likewise.
5112 * math/e_asinl.c: Likewise.
5113 * math/e_atan2l.c: Likewise.
5114 * math/e_atanhl.c: Likewise.
5115 * math/e_coshl.c: Likewise.
5116 * math/e_exp10.c: Likewise.
5117 * math/e_exp10f.c: Likewise.
5118 * math/e_exp10l.c: Likewise.
5119 * math/e_exp2l.c: Likewise.
5120 * math/e_fmodl.c: Likewise.
5121 * math/e_gammal_r.c: Likewise.
5122 * math/e_hypotl.c: Likewise.
5123 * math/e_j0l.c: Likewise.
5124 * math/e_j1l.c: Likewise.
5125 * math/e_jnl.c: Likewise.
5126 * math/e_lgammal_r.c: Likewise.
5127 * math/e_log10l.c: Likewise.
5128 * math/e_log2l.c: Likewise.
5129 * math/e_logl.c: Likewise.
5130 * math/e_powl.c: Likewise.
5131 * math/e_sinhl.c: Likewise.
5132 * math/e_sqrtl.c: Likewise.
5133 * math/e_scalb.c: Completely rewritten and optimized.
5134 * math/e_scalbf.c: Likewise.
5135 * math/e_scalbl.c: Likewise.
5136 * math/w_acos.c: Likewise.
5137 * math/w_acosf.c: Likewise.
5138 * math/w_acosl.c: Likewise.
5139 * math/w_acosh.c: Likewise.
5140 * math/w_acoshf.c: Likewise.
5141 * math/w_acoshl.c: Likewise.
5142 * math/w_asin.c: Likewise.
5143 * math/w_asinf.c: Likewise.
5144 * math/w_asinl.c: Likewise.
5145 * math/w_atan2.c: Likewise.
5146 * math/w_atan2f.c: Likewise.
5147 * math/w_atan2l.c: Likewise.
5148 * math/w_atanh.c: Likewise.
5149 * math/w_atanhf.c: Likewise.
5150 * math/w_atanhl.c: Likewise.
5151 * math/w_exp10.c: Likewise.
5152 * math/w_exp10f.c: Likewise.
5153 * math/w_exp10l.c: Likewise.
5154 * math/w_fmod.c: Likewise.
5155 * math/w_fmodf.c: Likewise.
5156 * math/w_fmodl.c: Likewise.
5157 * math/w_j0.c: Likewise.
5158 * math/w_j0f.c: Likewise.
5159 * math/w_j0l.c: Likewise.
5160 * math/w_j1.c: Likewise.
5161 * math/w_j1f.c: Likewise.
5162 * math/w_j1l.c: Likewise.
5163 * math/w_jn.c: Likewise.
5164 * math/w_jnf.c: Likewise.
5165 * math/w_log.c: Likewise.
5166 * math/w_logf.c: Likewise.
5167 * math/w_logl.c: Likewise.
5168 * math/w_log10.c: Likewise.
5169 * math/w_log10f.c: Likewise.
5170 * math/w_log10l.c: Likewise.
5171 * math/w_log2.c: Likewise.
5172 * math/w_log2f.c: Likewise.
5173 * math/w_log2l.c: Likewise.
5174 * math/w_pow.c: Likewise.
5175 * math/w_powf.c: Likewise.
5176 * math/w_powl.c: Likewise.
5177 * math/w_remainder.c: Likewise.
5178 * math/w_remainderf.c: Likewise.
5179 * math/w_remainderl.c: Likewise.
5180 * math/w_scalb.c: Likewise.
5181 * math/w_scalbf.c: Likewise.
5182 * math/w_scalbl.c: Likewise.
5183 * math/w_sqrt.c: Likewise.
5184 * math/w_sqrtf.c: Likewise.
5185 * math/w_sqrtl.c: Likewise.
5186 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5187 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5188 used.
5189 * math/math_private.h: Declare __kernel_standard_f.
5190 * math/w_cosh.c: Remove cruft and optimize a bit.
5191 * math/w_coshf.c: Likewise.
5192 * math/w_coshl.c: Likewise.
5193 * math/w_exp2.c: Likewise.
5194 * math/w_exp2f.c: Likewise.
5195 * math/w_exp2l.c: Likewise.
5196 * math/w_hypot.c: Likewise.
5197 * math/w_hypotf.c: Likewise.
5198 * math/w_hypotl.c: Likewise.
5199 * math/w_lgamma.c: Likewise.
5200 * math/w_lgamma_r.c: Likewise.
5201 * math/w_lgammaf.c: Likewise.
5202 * math/w_lgammaf_r.c: Likewise.
5203 * math/w_lgammal.c: Likewise.
5204 * math/w_lgammal_r.c: Likewise.
5205 * math/w_sinh.c: Likewise.
5206 * math/w_sinhf.c: Likewise.
5207 * math/w_sinhl.c: Likewise.
5208 * math/w_tgamma.c: Likewise.
5209 * math/w_tgammaf.c: Likewise.
5210 * math/w_tgammal.c: Likewise.
5211 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5212 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5213 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5214 Minor optimizations. Pretty printing. Remove cruft.
5215 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5216 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5217 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5218 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5219 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5220 * sysdeps/i386/fpu/e_asin.S: Likewise.
5221 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5222 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5223 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5224 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5225 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5226 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5227 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5228 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5229 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5230 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5231 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5232 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5233 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5234 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5235 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5236 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5237 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5238 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5239 * sysdeps/i386/fpu/e_log.S: Likewise.
5240 * sysdeps/i386/fpu/e_log10.S: Likewise.
5241 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5242 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5243 * sysdeps/i386/fpu/e_log2.S: Likewise.
5244 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5245 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5246 * sysdeps/i386/fpu/e_logf.S: Likewise.
5247 * sysdeps/i386/fpu/e_logl.S: Likewise.
5248 * sysdeps/i386/fpu/e_pow.S: Likewise.
5249 * sysdeps/i386/fpu/e_powf.S: Likewise.
5250 * sysdeps/i386/fpu/e_powl.S: Likewise.
5251 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5252 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5253 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5254 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5255 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5256 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5257 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5258 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5259 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5260 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5261 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5262 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5264 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5265 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5266 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5267 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5268 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5270 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5273 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5274 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5275 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5277 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5278 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5279 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5280 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5281 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5282 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5283 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5284 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5285 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5286 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5287 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5288 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5289 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5290 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5291 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5292 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5293 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5294 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5295 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5296 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5297 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5298 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5299 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5300 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5301 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5302 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5303 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5308 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5310 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5312 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5313 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5314 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5315 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5316 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5317 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5318 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5319 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5320 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5321 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5322 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5323 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5324 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5325 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5326 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5327 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5328 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5329 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5330 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5331 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5332 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5333 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5334 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5335 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5336 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5337 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5338 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5339 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5340 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5341 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5342 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5343 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5344 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5345 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5346 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5347 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5348 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5349 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5350 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5351 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5352 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5353 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5354 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5355 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5356 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5357 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5358 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5359 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5360 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5361 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5362 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5363 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5364 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5365 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5366 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5367 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5368 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5369 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5370 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5371 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5372 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5373 (__isnanf): Likewise.
5374 (__isinf_ns): Likewise.
5375 (__isinf_nsf): Likewise.
5376 (__finite): Likewise.
5377 (__finitef): Likewise.
5378 (__ieee754_sqrt): Define as macro.
5379 (__ieee754_sqrtf): Define as macro.
5380 (__ieee754_sqrtl): Define as macro.
5381 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5382 inlined copy.
5383 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5384 __FINITE_MATH_ONLY__ consistent.
5385 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5386
12cc2fcd
AS
53872011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5388
a843a204
AS
5389 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5390 of rawmemchr.
5391
12cc2fcd
AS
5392 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5393
c853acd5
UD
53942011-10-09 Ulrich Drepper <drepper@gmail.com>
5395
5396 * po/ja.po: Update from translation team.
5397
c658d255
RM
53982011-10-08 Roland McGrath <roland@hack.frob.com>
5399
110946e4
RM
5400 * locale/programs/locarchive.c (prepare_address_space): New function.
5401 (create_archive, enlarge_archive, open_archive): Use it.
5402
50604220
RM
5403 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5404 inside [SHARED], where it is used.
5405
c658d255
RM
5406 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5407
5408 * nss/getent.c (netgroup_keys): Remove unused variable.
5409 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5410
6a621eb7
UD
54112011-10-08 Ulrich Drepper <drepper@gmail.com>
5412
7edb55ce
UD
5413 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5414 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5415 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5416 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5417 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5418 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5419 * math/Makefile (libm-calls): Add s_isinf_ns.
5420 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5421 * math/multc3.c: Likewise.
5422 * math/s_casin.c: Likewise.
5423 * math/s_casinf.c: Likewise.
5424 * math/s_casinl.c: Likewise.
5425 * math/s_ccos.c: Likewise.
5426 * math/s_ccosf.c: Likewise.
5427 * math/s_ccosl.c: Likewise.
5428 * math/s_ctan.c: Likewise.
5429 * math/s_ctanf.c: Likewise.
5430 * math/s_ctanh.c: Likewise.
5431 * math/s_ctanhf.c: Likewise.
5432 * math/s_ctanhl.c: Likewise.
5433 * math/s_ctanl.c: Likewise.
5434 * math/w_fmod.c: Likewise.
5435 * math/w_fmodf.c: Likewise.
5436 * math/w_fmodl.c: Likewise.
5437 * math/w_remainder.c: Likewise.
5438 * math/w_remainderf.c: Likewise.
5439 * math/w_remainderl.c: Likewise.
5440 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5441 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5442 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5443 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5444 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5445 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5446 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5447 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5448
187da0ae
UD
5449 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5450 of the number.
5451 * stdio-common/printf_fphex.c: Likewise.
5452 * stdio-common/printf_size.c: Likewise.
5453
9277c064
UD
5454 * math/e_exp10.c: Include math_private.h using <...> not "...".
5455 * math/e_exp10f.c: Likewise.
5456 * math/e_exp10l.c: Likewise.
5457 * math/e_exp2l.c: Likewise.
5458 * math/e_j0l.c: Likewise.
5459 * math/e_j1l.c: Likewise.
5460 * math/e_jnl.c: Likewise.
5461 * math/e_lgammal_r.c: Likewise.
5462 * math/e_rem_pio2l.c: Likewise.
5463 * math/e_scalb.c: Likewise.
5464 * math/e_scalbf.c: Likewise.
5465 * math/e_scalbl.c: Likewise.
5466 * math/k_cosl.c: Likewise.
5467 * math/k_sinl.c: Likewise.
5468 * math/k_tanl.c: Likewise.
5469 * math/s_cacoshf.c: Likewise.
5470 * math/s_catan.c: Likewise.
5471 * math/s_catanf.c: Likewise.
5472 * math/s_catanh.c: Likewise.
5473 * math/s_catanhf.c: Likewise.
5474 * math/s_catanhl.c: Likewise.
5475 * math/s_catanl.c: Likewise.
5476 * math/s_ccosh.c: Likewise.
5477 * math/s_ccoshf.c: Likewise.
5478 * math/s_ccoshl.c: Likewise.
5479 * math/s_cexp.c: Likewise.
5480 * math/s_cexpf.c: Likewise.
5481 * math/s_cexpl.c: Likewise.
5482 * math/s_clog.c: Likewise.
5483 * math/s_clog10.c: Likewise.
5484 * math/s_clog10f.c: Likewise.
5485 * math/s_clog10l.c: Likewise.
5486 * math/s_clogf.c: Likewise.
5487 * math/s_clogl.c: Likewise.
5488 * math/s_csin.c: Likewise.
5489 * math/s_csinf.c: Likewise.
5490 * math/s_csinh.c: Likewise.
5491 * math/s_csinhf.c: Likewise.
5492 * math/s_csinhl.c: Likewise.
5493 * math/s_csinl.c: Likewise.
5494 * math/s_csqrt.c: Likewise.
5495 * math/s_csqrtf.c: Likewise.
5496 * math/s_csqrtl.c: Likewise.
5497 * math/s_ctan.c: Likewise.
5498 * math/s_ctanf.c: Likewise.
5499 * math/s_ctanh.c: Likewise.
5500 * math/s_ctanhf.c: Likewise.
5501 * math/s_ctanhl.c: Likewise.
5502 * math/s_ctanl.c: Likewise.
5503 * math/s_ldexp.c: Likewise.
5504 * math/s_ldexpf.c: Likewise.
5505 * math/s_ldexpl.c: Likewise.
5506 * math/s_significand.c: Likewise.
5507 * math/s_significandf.c: Likewise.
5508 * math/s_significandl.c: Likewise.
5509 * math/w_acos.c: Likewise.
5510 * math/w_acosf.c: Likewise.
5511 * math/w_acosh.c: Likewise.
5512 * math/w_acoshf.c: Likewise.
5513 * math/w_acoshl.c: Likewise.
5514 * math/w_acosl.c: Likewise.
5515 * math/w_asin.c: Likewise.
5516 * math/w_asinf.c: Likewise.
5517 * math/w_asinl.c: Likewise.
5518 * math/w_atan2.c: Likewise.
5519 * math/w_atan2f.c: Likewise.
5520 * math/w_atan2l.c: Likewise.
5521 * math/w_atanh.c: Likewise.
5522 * math/w_atanhf.c: Likewise.
5523 * math/w_atanhl.c: Likewise.
5524 * math/w_cosh.c: Likewise.
5525 * math/w_coshf.c: Likewise.
5526 * math/w_coshl.c: Likewise.
5527 * math/w_dremf.c: Likewise.
5528 * math/w_exp10.c: Likewise.
5529 * math/w_exp10f.c: Likewise.
5530 * math/w_exp10l.c: Likewise.
5531 * math/w_exp2.c: Likewise.
5532 * math/w_exp2f.c: Likewise.
5533 * math/w_fmod.c: Likewise.
5534 * math/w_fmodf.c: Likewise.
5535 * math/w_fmodl.c: Likewise.
5536 * math/w_hypot.c: Likewise.
5537 * math/w_hypotf.c: Likewise.
5538 * math/w_hypotl.c: Likewise.
5539 * math/w_j0.c: Likewise.
5540 * math/w_j0f.c: Likewise.
5541 * math/w_j0l.c: Likewise.
5542 * math/w_j1.c: Likewise.
5543 * math/w_j1f.c: Likewise.
5544 * math/w_j1l.c: Likewise.
5545 * math/w_jn.c: Likewise.
5546 * math/w_jnf.c: Likewise.
5547 * math/w_jnl.c: Likewise.
5548 * math/w_lgamma.c: Likewise.
5549 * math/w_lgamma_r.c: Likewise.
5550 * math/w_lgammaf.c: Likewise.
5551 * math/w_lgammaf_r.c: Likewise.
5552 * math/w_lgammal.c: Likewise.
5553 * math/w_lgammal_r.c: Likewise.
5554 * math/w_log.c: Likewise.
5555 * math/w_log10.c: Likewise.
5556 * math/w_log10f.c: Likewise.
5557 * math/w_log10l.c: Likewise.
5558 * math/w_log2.c: Likewise.
5559 * math/w_log2f.c: Likewise.
5560 * math/w_log2l.c: Likewise.
5561 * math/w_logf.c: Likewise.
5562 * math/w_logl.c: Likewise.
5563 * math/w_pow.c: Likewise.
5564 * math/w_powf.c: Likewise.
5565 * math/w_powl.c: Likewise.
5566 * math/w_remainder.c: Likewise.
5567 * math/w_remainderf.c: Likewise.
5568 * math/w_remainderl.c: Likewise.
5569 * math/w_scalb.c: Likewise.
5570 * math/w_scalbf.c: Likewise.
5571 * math/w_scalbl.c: Likewise.
5572 * math/w_sinh.c: Likewise.
5573 * math/w_sinhf.c: Likewise.
5574 * math/w_sinhl.c: Likewise.
5575 * math/w_sqrt.c: Likewise.
5576 * math/w_sqrtf.c: Likewise.
5577 * math/w_sqrtl.c: Likewise.
5578 * math/w_tgamma.c: Likewise.
5579 * math/w_tgammaf.c: Likewise.
5580 * math/w_tgammal.c: Likewise.
5581
6a621eb7
UD
5582 * po/ja.po: Update from translation team.
5583
bf582445
AJ
55842011-09-29 Andreas Jaeger <aj@suse.de>
5585
f9efbf3a
AJ
5586 [BZ #13179]
5587 * sunrpc/netname.c (netname2host): Fix logic.
5588
bf582445
AJ
5589 [BZ #6779]
5590 [BZ #6783]
5591 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5592 correctly.
5593 * math/w_remainder.c (__remainder): Likewise.
5594 * math/w_remainderf.c (__remainderf): Likewise.
5595 * math/libm-test.inc (remainder_test): Add test cases.
5596
48693bea
AK
55972011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5598
5599 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5600 sdiv_qrnnd.
5601
42622229
LD
56022011-10-07 Ulrich Drepper <drepper@gmail.com>
5603
5604 * string/test-memcmp.c: Avoid unncessary #defines.
5605 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5606
093ecf92
LD
56072011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5608
5609 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5610 Use new sse2 version for core i3 - i7 as it's faster
5611 than sse42 version.
5612 (bit_Prefer_PMINUB_for_stringop): New.
5613 * sysdeps/x86_64/rawmemchr.S: Update.
5614 Replace with faster SSE2 version.
5615 * sysdeps/x86_64/memrchr.S: New file.
5616 * sysdeps/x86_64/memchr.S: Update.
5617 Replace with faster SSE2 version.
5618
fde56e5c
MP
56192011-09-12 Marek Polacek <mpolacek@redhat.com>
5620
5621 * elf/dl-load.c (lose): Add cast to avoid warning.
5622
21fd49a9
UD
56232011-10-07 Ulrich Drepper <drepper@gmail.com>
5624
5a06e643
UD
5625 * po/ca.po: Update from translation team.
5626
684ae515
UD
5627 * inet/getnetgrent_r.c: Hook up nscd.
5628 * nscd/Makefile (routines): Add nscd_netgroup.
5629 (nscd-modules): Add netgroupcache.
5630 (CFLAGS-netgroupcache.c): Define.
5631 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5632 (cache_search): Add const to second parameter.
5633 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5634 INNETGR.
5635 (dbs): Add netgrdb entry.
5636 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5637 (verify_persistent_db): Handle netgrdb.
5638 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5639 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5640 GETFDNETGR.
5641 (netgroup_response_header): Define.
5642 (innetgroup_response_header): Define.
5643 (datahead): Add netgroup_response_header and innetgroup_response_header
5644 elements.
5645 * nscd/nscd.conf: Add entries for netgroup cache.
5646 * nscd/nscd.h (dbtype): Add netgrdb.
5647 (_PATH_NSCD_NETGROUP_DB): Define.
5648 (netgroup_iov_disabled): Declare.
5649 (xmalloc, xcalloc, xrealloc): Move declarations here.
5650 (cache_search): Adjust prototype.
5651 Add netgroup-related prototypes.
5652 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5653 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5654 (__nscd_innetgr): Declare.
5655 * nscd/selinux.c (perms): Use access_vector_t as element type and
5656 add netgroup-related initializers.
5657 * nscd/netgroupcache.c: New file.
5658 * nscd/nscd_netgroup.c: New file.
5659 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5660 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5661 For four parameters use innetgr.
5662 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5663 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5664 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5665 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5666
21fd49a9
UD
5667 * nscd/connections.c (register_traced_file): Don't register file
5668 for disabled databases.
5669
054c0457
UD
56702011-10-06 Ulrich Drepper <drepper@gmail.com>
5671
32b63198
UD
5672 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5673
054c0457
UD
5674 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5675 from tree and freeing node.
5676
64031225
JO
56772011-09-25 Jiri Olsa <jolsa@redhat.com>
5678
5679 * nss/nsswitch.c (__nss_database_lookup): Handle
5680 nss_parse_service_list out of memory case.
5681
0490345c
JO
56822011-09-15 Jiri Olsa <jolsa@redhat.com>
5683
5684 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5685 out of memory case.
5686
3a62d00d
AS
56872011-10-04 Andreas Schwab <schwab@redhat.com>
5688
5689 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5690 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5691 pass it down.
5692 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5693 elf_machine_rela, elf_machine_lazy_rel.
5694 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5695 (ELF_DYNAMIC_DO_REL): Likewise.
5696 (ELF_DYNAMIC_DO_RELA): Likewise.
5697 (ELF_DYNAMIC_RELOCATE): Likewise.
5698 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5699 to ELF_DYNAMIC_DO_REL.
5700 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5701 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5702 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5703 elf_machine_rela.
5704 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5705 skip_ifunc, don't call ifunc function if non-zero.
5706 (elf_machine_rela): Likewise.
5707 (elf_machine_lazy_rel): Likewise.
5708 (elf_machine_lazy_rela): Likewise.
5709 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5710 (elf_machine_lazy_rel): Likewise.
5711 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5712 Likewise.
5713 (elf_machine_lazy_rel): Likewise.
5714 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5715 Likewise.
5716 (elf_machine_lazy_rel): Likewise.
5717 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5718 (elf_machine_lazy_rel): Likewise.
5719 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5720 (elf_machine_lazy_rel): Likewise.
5721 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5722 (elf_machine_lazy_rel): Likewise.
5723 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5724 (elf_machine_lazy_rel): Likewise.
5725 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5726 (elf_machine_lazy_rel): Likewise.
5727 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5728 (elf_machine_lazy_rel): Likewise.
5729
68577918
UD
57302011-09-28 Ulrich Drepper <drepper@gmail.com>
5731
5732 * nss/nss_files/files-init.c (_nss_files_init): Use static
5733 initialization for all the *_traced_file variables.
5734
68822d74
AS
57352011-09-28 Andreas Schwab <schwab@redhat.com>
5736
5737 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5738
2056100b
RM
57392011-09-27 Roland McGrath <roland@hack.frob.com>
5740
5741 [BZ #13226]
5742 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5743
32c76b63
AS
57442011-09-27 Andreas Schwab <schwab@redhat.com>
5745
5746 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5747 Reread the line before reparsing it.
5748
bf972c9d
AS
57492011-09-26 Andreas Schwab <schwab@redhat.com>
5750
5751 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5752
e057a1b5
JM
57532011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5754 Maxim Kuvyrkov <maxim@codesourcery.com>
5755 Joseph Myers <joseph@codesourcery.com>
5756
5757 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5758 if needed for __stack_chk_guard.
5759
bc7e1c36
RM
57602011-09-19 Roland McGrath <roland@hack.frob.com>
5761
ecb1482f
RM
5762 * sysdeps/posix/spawni.c (script_execute): Always define it.
5763 It will be optimized away if unused.
5764 (maybe_script_execute): New function.
5765 (__spawni): Call it.
5766
bc7e1c36
RM
5767 * Makerules: Don't include tls.make.
5768 (config-tls): Always set to thread.
5769 * tls.make.c: File removed.
5770
1c3b002b
MF
57712011-09-19 Mike Frysinger <vapier@gentoo.org>
5772
5773 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5774 * config.make.in (CPPFLAGS-config): New substituted variable.
5775
2840865d
UD
57762011-09-15 Ulrich Drepper <drepper@gmail.com>
5777
88738eb6
UD
5778 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5779
cbf645a6 5780 [BZ #13192]
2840865d
UD
5781 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5782 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5783
b402e91a
RM
57842011-09-15 Roland McGrath <roland@hack.frob.com>
5785
5786 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5787 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5788 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5789 (CALL_FAIL): Likewise.
5790 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5791 (CALL_FAIL): Macro removed.
5792 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5793
4c1a1f71
UD
57942011-09-15 Ulrich Drepper <drepper@gmail.com>
5795
5796 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5797 for __FINITE_MATH_ONLY__ == 1.
5798
edc121be
AS
57992011-09-15 Andreas Schwab <schwab@redhat.com>
5800
5801 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5802 __ieee754_sqrt instead of sqrt.
5803 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5804 __ieee754_sqrtf instead of sqrtf.
5805 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5806 __floorf instead of floorf.
5807 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5808 __floorf, __truncf instead of floorf, truncf.
5809
cd205654
UD
58102011-09-14 Ulrich Drepper <drepper@gmail.com>
5811
ee4d0315
UD
5812 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5813
cd205654
UD
5814 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5815 __extern_always_inline.
5816 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5817 32-bit.
5818
48b67d71
AS
58192011-09-14 Andreas Schwab <schwab@redhat.com>
5820
5821 * elf/rtld.c (dl_main): Also relocate in dependency order when
5822 doing symbol dependency testing.
5823
1ae12c75
AS
58242011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5825
5826 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5827 Always define `refsym'.
5828
995a80df
AS
58292011-09-13 Andreas Schwab <schwab@redhat.com>
5830
e529793b
AS
5831 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5832 (__FD_ELT): Renamed from __FDELT.
5833 * misc/bits/select2.h (__FD_ELT): Likewise.
5834 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5835 __FD_MASK instead of __FDELT, __FDMASK.
5836 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5837 Likewise.
5838 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5839 Likewise.
5840
52d4fef8
AS
5841 * elf/Makefile (gen-ldd): Fix pattern.
5842
995a80df
AS
5843 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5844 (init_tls): Likewise.
5845
8682f8b0
UD
58462011-09-12 Ulrich Drepper <drepper@gmail.com>
5847
5848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5849
de82006d
AS
58502011-09-12 Andreas Schwab <schwab@redhat.com>
5851
a7c8e6a1
AS
5852 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5853 `struct cmsghdr *' instead of `void *'.
5854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5855 Likewise.
5856
0f31fe77
AS
58572011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5858
5859 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5860 if non-absolute.
5861 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5862 ldd_rewrite_script.
0f31fe77 5863
32b4c839
UD
58642011-09-11 Ulrich Drepper <drepper@gmail.com>
5865
83cd1420
UD
5866 * configure.in: Remove --with-tls option.
5867 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5868 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5869 out in case it is missing.
5870 * sysdeps/ia64/elf/configure.in: Likewise.
5871 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5872 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5873 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5874 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5875 * sysdeps/sh/elf/configure.in: Likewise.
5876 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5877 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5878 * sysdeps/x86_64/elf/configure.in: Likewise.
5879 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5880 * sysdeps/mach/hurd/tls.h: Likewise.
5881
633f745d
UD
5882 [BZ #13067]
5883 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5884
f318beb8
UD
5885 [BZ #13090]
5886 * configure.in: Fix use of AC_INIT.
5887
32b4c839
UD
5888 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5889
3ce1f295
UD
58902011-09-10 Ulrich Drepper <drepper@gmail.com>
5891
bb016596
UD
5892 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5893 __set_errno.
8e58439c
UD
5894 * malloc/hooks.c: Likewise.
5895
aebae053 5896 [BZ #11929]
02d46fc4
UD
5897 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5898 variables statically.
5899 (narenas): Initialize.
5900 (list_lock): Initialize.
bb016596
UD
5901 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5902 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
5903 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5904 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5905 Add initializers to main_arena and mp_.
5906 (malloc_state): Remove pagesize member. Change all users to use
5907 GLRO(dl_pagesize).
5908
5909 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5910 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5911 is always initialized.
5912
22a89187
UD
5913 * malloc/malloc.c: Removed unused configurations and dead code.
5914 * malloc/arena.c: Likewise.
5915 * malloc/hooks.c: Likewise.
02d46fc4 5916 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 5917
d063d164
UD
5918 * include/tls.h: Removed. USE___THREAD must always be defined.
5919 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5920 * elf/dl-libc.c: Likewise.
5921 * elf/dl-tsd.c: Likewise.
5922 * include/errno.h: Likewise.
5923 * include/netdb.h: Likewise.
5924 * include/resolv.h: Likewise.
5925 * inet/herrno-loc.c: Likewise.
5926 * inet/herrno.c: Likewise.
5927 * malloc/arena.c: Likewise.
5928 * malloc/hooks.c: Likewise.
5929 * malloc/malloc.c: Likewise.
5930 * resolv/res-state.c: Likewise.
5931 * resolv/res_libc.c: Likewise.
5932 * sysdeps/i386/dl-machine.h: Likewise.
5933 * sysdeps/ia64/dl-machine.h: Likewise.
5934 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5935 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5936 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5937 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5938 * sysdeps/sh/dl-machine.h: Likewise.
5939 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5940 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5941 * sysdeps/unix/i386/sysdep.S: Likewise.
5942 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5943 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5944 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5945 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5946 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5947 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5948 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5951 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5952 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5953 * sysdeps/x86_64/dl-machine.h: Likewise.
5954 * tls.make.c: Likewise.
5955
3ce1f295
UD
5956 * configure.in: Remove --with-__thread option. Make tests for
5957 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5958 tls_model attribute fail if no support is available. Remove
5959 USE_IN_LIBIO.
5960 * Makeconfig: Adjust for dropped configure option. All features are
5961 now mandatory.
5962 * Makerules: Likewise.
5963 * Versions.def: Likewise.
5964 * argp/argp-fmtstream.c: Likewise.
5965 * argp/argp-fmtstream.h: Likewise.
5966 * argp/argp-help.c: Likewise.
5967 * assert/assert.c: Likewise.
5968 * config.h.in: Likewise.
5969 * config.make.in: Likewise.
5970 * configure: Likewise.
5971 * configure.in: Likewise.
5972 * csu/Versions: Likewise.
5973 * csu/init.c: Likewise.
5974 * elf/tst-audit2.c: Likewise.
5975 * elf/tst-tls10.c: Likewise.
5976 * elf/tst-tls10.h: Likewise.
5977 * elf/tst-tls11.c: Likewise.
5978 * elf/tst-tls12.c: Likewise.
5979 * elf/tst-tls14.c: Likewise.
5980 * elf/tst-tlsmod11.c: Likewise.
5981 * elf/tst-tlsmod12.c: Likewise.
5982 * elf/tst-tlsmod13.c: Likewise.
5983 * elf/tst-tlsmod13a.c: Likewise.
5984 * elf/tst-tlsmod14a.c: Likewise.
5985 * elf/tst-tlsmod15b.c: Likewise.
5986 * elf/tst-tlsmod16a.c: Likewise.
5987 * elf/tst-tlsmod16b.c: Likewise.
5988 * elf/tst-tlsmod7.c: Likewise.
5989 * elf/tst-tlsmod8.c: Likewise.
5990 * elf/tst-tlsmod9.c: Likewise.
5991 * gmon/gmon.c: Likewise.
5992 * grp/fgetgrent_r.c: Likewise.
5993 * grp/putgrent.c: Likewise.
5994 * hurd/fopenport.c: Likewise.
5995 * include/libc-symbols.h: Likewise.
5996 * include/tls.h: Likewise.
5997 * intl/gettextP.h: Likewise.
5998 * intl/loadinfo.h: Likewise.
5999 * locale/global-locale.c: Likewise.
6000 * locale/localeinfo.h: Likewise.
6001 * mach/devstream.c: Likewise.
6002 * malloc/arena.c: Likewise.
6003 * malloc/set-freeres.c: Likewise.
6004 * misc/err.c: Likewise.
6005 * misc/getttyent.c: Likewise.
6006 * misc/mntent_r.c: Likewise.
6007 * posix/getopt.c: Likewise.
6008 * posix/wordexp.c: Likewise.
6009 * pwd/fgetpwent_r.c: Likewise.
6010 * resolv/Versions: Likewise.
6011 * resolv/res_hconf.c: Likewise.
6012 * shadow/fgetspent_r.c: Likewise.
6013 * shadow/putspent.c: Likewise.
6014 * stdio-common/printf_fphex.c: Likewise.
6015 * stdio-common/tmpfile.c: Likewise.
6016 * stdlib/abort.c: Likewise.
6017 * stdlib/fmtmsg.c: Likewise.
6018 * sunrpc/auth_unix.c: Likewise.
6019 * sunrpc/clnt_perr.c: Likewise.
6020 * sunrpc/clnt_tcp.c: Likewise.
6021 * sunrpc/clnt_udp.c: Likewise.
6022 * sunrpc/clnt_unix.c: Likewise.
6023 * sunrpc/openchild.c: Likewise.
6024 * sunrpc/svc_simple.c: Likewise.
6025 * sunrpc/svc_tcp.c: Likewise.
6026 * sunrpc/svc_udp.c: Likewise.
6027 * sunrpc/svc_unix.c: Likewise.
6028 * sunrpc/xdr.c: Likewise.
6029 * sunrpc/xdr_array.c: Likewise.
6030 * sunrpc/xdr_rec.c: Likewise.
6031 * sunrpc/xdr_ref.c: Likewise.
6032 * sunrpc/xdr_stdio.c: Likewise.
6033
1248c1c4
PB
60342011-09-09 Ulrich Drepper <drepper@gmail.com>
6035
6036 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6037
60382011-07-03 Andreas Jaeger <aj@suse.de>
6039
6040 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6041 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6042 regenerate with gen-libm-tests.pl.
6043
60442010-05-12 Petr Baudis <pasky@suse.cz>
6045
6046 [BZ #11589]
6047 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6048 around j0() zero points by switching to j1().
6049 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6050 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6051 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6052 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6053
f22e1074
UD
60542011-09-09 Ulrich Drepper <drepper@gmail.com>
6055
f19009c1
UD
6056 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6057 instead of 0.
6058 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6059 instead of 0. .
6060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6061 Patch in part by Pavel Roskin <proski@gnu.org>.
6062
3f8cc204
UD
6063 [BZ #13138]
6064 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6065 realloc.
6066 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6067 Free memory block if necessary.
6068
f22e1074
UD
6069 [BZ #12847]
6070 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6071 be NULL. Don't lock in this case.
6072
0a2349f9
RM
60732011-09-09 Roland McGrath <roland@hack.frob.com>
6074
6075 * elf/elf.h (ELFOSABI_GNU): New macro.
6076 (ELFOSABI_LINUX): Define to that.
6077
f3cdd467
DZ
60782011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6079
6080 * string/strncat.c (strncat): Undef the symbol in case it has been
6081 defined in bits/string.h.
6082
74718d13
UD
60832011-09-09 Ulrich Drepper <drepper@gmail.com>
6084
633e9e0f
UD
6085 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6086
0a2349f9 6087 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6088 link map.
6089
f9924780
AJ
60902011-08-17 Andreas Jaeger <aj@suse.de>
6091
6092 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6093
7f5517aa
PP
60942011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6095 Ian Lance Taylor <iant@google.com>
6096
6097 * math/libm-test.inc (lround_test): New testcase.
6098 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6099
762011fe
UD
61002011-09-08 Ulrich Drepper <drepper@gmail.com>
6101
92963737
UD
6102 * Makefile: Remove support for automatic cvs check-ins.
6103 * Makerules: Likewise.
6104 * config.make.in: Likewise.
6105 * configure.in: Likewise.
6106 * intl/Makefile: Likewise.
6107 * locale/Makefile: Likewise.
6108 * po/Makefile: Likewise.
6109 * posix/Makefile: Likewise.
6110 * sysdeps/gnu/Makefile: Likewise.
6111 * sysdeps/mach/hurd/Makefile: Likewise.
6112 * sysdeps/sparc/sparc32/Makefile: Likewise.
6113
b0727fd8
JS
6114 [BZ #13118]
6115 * posix/Makefile (bug-regex32-ENV): Define.
6116 Patch by John Stanley <jpsinthemix@verizon.net>.
6117
a0f33f99
UD
6118 * misc/Makefile (headers): Add bits/select2.h.
6119 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6120 * misc/bits/select2.h: New file.
6121 * include/bits/select2.h: New file.
6122 * debug/Makefile (routines): Add fdelt_chk.
6123 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6124 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6125 FD_ISSET.
6126 * debug/fdelt_chk.c: New file.
6127
762011fe
UD
6128 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6129 * wcsmbs/test-wmemcmp.c: Likewise.
6130 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6131 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6132
61332011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6134
6135 * string/Makefile (strop-tests): Add memcmp.
6136 * string/test-wmemcmp.c: New file.
6137 * string/test-memcmp.c: Add wmemcmp support.
6138
7f513ec8
RM
61392011-09-08 Roland McGrath <roland@hack.frob.com>
6140
0442afb4
RM
6141 [BZ #13153]
6142 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6143 2011-07-19 change.
6144
7f513ec8
RM
6145 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6146 garbage value in a __mach_port_mod_refs call in the cases of the
6147 task-self and thread-self ports.
6148
a12b2239
ST
61492011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6150
6151 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6152
610f9ab4
AS
61532011-09-08 Andreas Schwab <schwab@redhat.com>
6154
7f513ec8 6155 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6156
48882a1a
LD
61572011-09-07 Ulrich Drepper <drepper@gmail.com>
6158
b49865be
UD
6159 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6160
fdc86bc9
UD
6161 * elf/dl-libc.c (dlerror_run): Pass back error code from
6162 dl_catch_error.
6163
c966526a
UD
6164 [BZ #13123]
6165 * elf/dl-load.c (lose): Free l_origin if it is valid.
6166
48882a1a
LD
6167 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6168 names.
6169 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6170 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6171 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6172 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6173 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6174 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6175
77a2a8b4
AZ
61762011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6177
6178 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6179 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6180 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6181 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6182 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6183 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6184 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6185 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6186 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6187 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6188
24f579d8
AM
61892011-08-15 Alan Modra <amodra@gmail.com>
6190
6191 [BZ #13092]
6192 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6193 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6194 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6195 ppc_mcount to static-only-routines.
6196 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6197 __mcount_internal.
6198 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6199 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6200
3d4837df
UD
62012011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6202
6203 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6204 for finite and infinity parameters.
6205
22700377
WS
62062011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6207
6208 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6209 and add nop instructions for throughput optimization.
6210 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6211
5025581e
WS
62122011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6213
6214 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6215 aligned copy for power7 with vector-scalar instructions.
6216 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6217
08a300c9
L
62182011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6219
6220 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6221 AVX check.
6222
59178ef9
AS
62232011-09-07 Andreas Schwab <schwab@redhat.com>
6224
6225 [BZ #13144]
6226 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6227 last change.
6228
e38ba7ab
UD
62292011-09-07 Ulrich Drepper <drepper@gmail.com>
6230
6231 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6232 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6233 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6234 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6235 clock_gettime.
6236
d53a73ac
UD
62372011-09-06 Ulrich Drepper <drepper@gmail.com>
6238
fc8bffcc
UD
6239 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6240 Forgot to demangle the pointer.
6241
ceaa0c5d
UD
6242 * sysdeps/i386/sysdep.h: Define atom_text_section.
6243 * sysdeps/x86_64/sysdep.h: Likewise.
6244 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6245 section with atom_text_section.
6246 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6247 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6248 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6249 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6250 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6251
a77d3c17
UD
6252 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6253 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6254 already be defined. Change to take two parameters and don't assign
6255 result to variable. Adjust all users.
6256 Define INTERNAL_GETTIME if not already defined.
6257 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6258 call.
6259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6260 HAVE_CLOCK_GETTIME_VSYSCALL.
6261 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6262
d53a73ac
UD
6263 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6264 gettimeofday vsyscall, just use time.
6265
a8f84144
AS
62662011-09-06 Andreas Schwab <schwab@redhat.com>
6267
6268 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6269 <errno.h>.
6270
ef606249
UD
62712011-09-06 Ulrich Drepper <drepper@gmail.com>
6272
6273 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6274 syscall on x86-64.
6275 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6276 syscall.
6277 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6278 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6279 syscall if possible.
6280
6585cb60
UD
62812011-09-05 Ulrich Drepper <drepper@gmail.com>
6282
6283 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6284 e_ident. Don't pass to find_mapsXX.
6285 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6286
a5f524e4
LD
62872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6288
6289 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6290 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6291 * sysdeps/x86_64/multiarch/strchr.S: Update.
6292 Check bit_slow_BSF bit.
6293 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6294 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6295 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6296
554881ef
UD
62972011-09-05 Ulrich Drepper <drepper@gmail.com>
6298
d96de963
UD
6299 [BZ #13134]
6300 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6301 before glibc 2.15.
6302 (tryshell): Define.
6303 (__spawni): Change last parameter to be flag. Test
6304 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6305 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6306 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6307 * posix/spawni.c: Likewise.
6308 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6309 * posix/spawnp.c: Likewise. Change normal version to use
6310 SPAWN_XFLAGS_USE_PATH.
6311 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6312 SPAWN_XFLAGS_TRY_SHELL.
6313
d48e5868
UD
6314 [BZ #13150]
6315 * posix/glob.h: Remove gcc 1.x support.
6316
554881ef
UD
6317 [BZ #13068]
6318 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6319
693fb948
LD
63202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6321
6322 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6323 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6324 strrchr-sse2-bsf
6325 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6326 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6327 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6328 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6329 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6330 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6331
1b48c537
UD
63322011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6333
49d42c37
UD
6334 * sysdeps/x86_64/wcscmp.S: New file.
6335
1b48c537
UD
6336 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6337 wcscmp-c wcscmp-sse2
6338 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6339 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6340 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6341 * wcsmbs/wcscmp.c: Allow renaming.
6342
15c95c5d
DM
63432011-09-05 David S. Miller <davem@davemloft.net>
6344
6345 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6346 stack slot, rather than the struct return pointer slot.
6347 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6348 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6350 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6351
2f0ad8f3
UD
63522011-09-05 Ulrich Drepper <drepper@gmail.com>
6353
d88ae418
UD
6354 * po/ja.po: Update from translation team.
6355
2f0ad8f3
UD
6356 [BZ #13144]
6357 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6358 kernel in 64-bit binaries.
6359
5f4318d1
DM
63602011-09-01 David S. Miller <davem@davemloft.net>
6361
6362 * elf/elf.h (HWCAP_SPARC_*): Move to..
6363 * sysdeps/sparc/sysdep.h: this new file and add new values.
6364 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6365 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6366 _DL_HWCAP_COUNT to 24.
6367 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6368 entries.
6369 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6370 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6371 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6372 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6373 instead of magic constants.
6374 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6375
3ba57516
DM
63762011-08-31 David S. Miller <davem@davemloft.net>
6377
6378 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6379 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6380 Reimplement to do errno handling inline.
6381 (SYSCALL_ERROR_HANDLER): New macro.
6382 (__SYSCALL_STRING): Do not do errno handling in asm.
6383 (__CLONE_SYSCALL_STRING): Delete.
6384 (__INTERNAL_SYSCALL_STRING): Delete.
6385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6386 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6387 (PSEUDO): Reimplement to do errno handling inline.
6388 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6389 (SYSCALL_ERROR_HANDLER): New macro.
6390 (__SYSCALL_STRING): Do not do errno handling in asm.
6391 (__CLONE_SYSCALL_STRING): Delete.
6392 (__INTERNAL_SYSCALL_STRING): Delete.
6393 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6394 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6395 i386.
6396 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6397 (inline_syscall*): Add 'err' argument.
6398 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6399 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6400 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6401 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6402
6403 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6404 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6405
2bc17433
AS
64062011-08-30 Andreas Schwab <schwab@redhat.com>
6407
6408 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6409
fbeb5f4d
JO
64102011-08-29 Jiri Olsa <jolsa@redhat.com>
6411
6412 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6413 directive.
6414
ad69cc26
DM
64152011-08-24 David S. Miller <davem@davemloft.net>
6416
6417 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6418
39dd69df
AS
64192011-08-24 Andreas Schwab <schwab@redhat.com>
6420
6421 * elf/Makefile: Add rules to build and run unload8 test.
6422 * elf/unload8.c: New file.
6423 * elf/unload8mod1.c: New file.
6424 * elf/unload8mod1x.c: New file.
6425 * elf/unload8mod2.c: New file.
6426 * elf/unload8mod3.c: New file.
6427
6428 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6429 it wasn't used.
6430
2c0b250a
DM
64312011-08-23 David S. Miller <davem@davemloft.net>
6432
6433 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6434 subtract stack bias.
6435 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6436 %sp not %fp in calculations.
6437 (_JMPBUF_UNWINDS_ADJ): Likewise.
6438
22044b48
DM
6439 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6440 (aio_suspend): Call it to force an exception region around the
6441 AIO_MISC_WAIT() invocation.
6442
2cae4995
AS
64432011-08-23 Andreas Schwab <schwab@redhat.com>
6444
6445 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6446 backslash.
6447
873a772e
AJ
64482011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6449
6450 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6451 protection macro.
6452 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6453 and <dl-machine.h>.
6454 (Elf64_FuncDesc): Remove.
6455
25ad0df1
DM
64562011-08-22 David S. Miller <davem@davemloft.net>
6457
6458 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6459 sigaltstack check, add missing cfi directives.
6460 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6461 missing cfi directives, and sigaltstack handling.
6462
e888bcbe
AS
64632011-08-16 Andreas Schwab <schwab@redhat.com>
6464
6465 [BZ #11724]
6466 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6467 object is seen twice.
6468 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6469
6470 * elf/Makefile (distribute): Add tst-initorder2.c.
6471 (tests): Add tst-initorder2.
6472 (modules-names): Add tst-initorder2a tst-initorder2b
6473 tst-initorder2c tst-initorder2d. Add rules to build them.
6474 ($(objpfx)tst-initorder2.out): New rule.
6475 * elf/tst-initorder2.c: New file.
6476 * elf/tst-initorder2.exp: New file.
6477
87162f46
AS
64782011-08-22 Andreas Schwab <schwab@redhat.com>
6479
70538b7f
AS
6480 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6481
f55ffe58
AS
6482 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6483 dependencies back to end of function.
6484
87162f46
AS
6485 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6486 $(elfobjdir)/ld.so.
6487
91b392a4
UD
64882011-08-21 Ulrich Drepper <drepper@gmail.com>
6489
6490 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6491 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6492 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6493 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6494 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6495 of __vdso_gettimeofday.
6496 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6497 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6498 attribute_hidden.
6499 (_libc_vdso_platform_setup): Remove initialization of
6500 __vdso_gettimeofday and __vdso_time.
6501
5c43483f
UD
65022011-08-20 Ulrich Drepper <drepper@gmail.com>
6503
775a77e7
UD
6504 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6505 and fgetc_unlocked.
6506 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6507 getc_unlocked.
89f447ed 6508
49c74ba9
UD
6509 * elf/dl-open.c (add_to_global): Report additions to the global scope
6510 for LD_DEBUG=scopes.
6511 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 6512 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 6513
5c43483f
UD
6514 [BZ #13114]
6515 * stdio-common/Makefile (tests): Add bug24.
6516 * stdio-common/bug24.c: New file.
6517
a101b025
AJ
65182011-08-19 Andreas Jaeger <aj@suse.de>
6519
6520 [BZ #13114]
6521 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6522 non-existant file when using close-on-exec mode.
6523
c88f1766
UD
65242011-08-20 Ulrich Drepper <drepper@gmail.com>
6525
0276a718
UD
6526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6527 the very first instruction.
6528
c88f1766
UD
6529 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6530 the CFI state in the end.
6531 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6532 inclusion of dl-trampoline.h.
6533 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6534
51ccffa0
AS
65352011-08-19 Andreas Schwab <schwab@redhat.com>
6536
94d7165f
AS
6537 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6538 expectations for long double.
6539
51ccffa0
AS
6540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6541 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6542
fd708658 65432011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
6544
6545 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6546 artificual limit depends upon the system page size.
6547
44f0a71e
UD
65482011-08-17 Ulrich Drepper <drepper@gmail.com>
6549
6550 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6551 * resolv/Makefile: Define CFLAGS-libresolv.
6552
8de79a24
AS
65532011-08-17 Andreas Schwab <schwab@redhat.com>
6554
6555 * nss/makedb.c (compute_tables): Make variables used in nested
6556 function static.
6557
27724598
UD
65582011-08-17 Ulrich Drepper <drepper@gmail.com>
6559
c5305d88
UD
6560 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6561 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6562 if buffer was too small.
6563
27724598
UD
6564 * elf/pldd.c (main): Attach to all threads in the process.
6565 Rewrite /proc handling to use *at functions.
6566
076fe015
UD
65672011-08-16 Ulrich Drepper <drepper@gmail.com>
6568
174baab3
UD
6569 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6570 specifies first scope to show.
6571 (dl_open_worker): Update callers. Move printing scope of new
6572 object to before the relocation.
44f0a71e 6573 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
6574 * sysdeps/generic/ldsodefs.h: Update declaration.
6575
076fe015
UD
6576 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6577 string for the scope number.
6578
a60df2c3
UD
65792011-08-14 Ulrich Drepper <drepper@gmail.com>
6580
6581 * nscd/servicescache.c (cache_addserv): Make sure written is always
6582 initialized.
6583
5e4287d1
RM
65842011-08-14 Roland McGrath <roland@hack.frob.com>
6585
85ae0589
RM
6586 * sysdeps/i386/i486/bits/atomic.h
6587 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6588 statement expression, so as to suppress "set but not used" warning.
6589 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6590
69f63097
RM
6591 * string/strncat.c (STRNCAT): Use prototype definition.
6592
675456ef
RM
6593 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6594 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6595 -Iprograms here.
6596 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6597 (localedef-modules): Add localedef.
6598 (locale-modules): Add locale.
6599
5e4287d1
RM
6600 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6601 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6602 to avoid a warning.
6603
9c96ff23
DM
66042011-08-14 David S. Miller <davem@davemloft.net>
6605
6606 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6607 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6608
f9ddf089
UD
66092011-08-13 Ulrich Drepper <drepper@gmail.com>
6610
44f0a71e 6611 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
6612 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6613 * elf/rtld.c (dl_main): Set l_name of vDSO.
6614 Call _dl_show_scope when DL_DEBUG_SCOPES.
6615 (process_dl_debug): Recognize scopes flag and also set it for all.
6616 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6617 Declare _dl_show_scope.
6618
1dc27704
UD
6619 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6620 (do_dlopen): Pass caller_dlopen to dl_open.
6621 (__libc_dlopen_mode): Initialize caller_dlopen.
6622
f9ddf089
UD
6623 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6624 of libc. Make tolower call locale-independent. Optimize a bit by
6625 using isdigit instead of isalnum.
6626 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6627
9ac533d3
UD
66282011-08-12 Ulrich Drepper <drepper@gmail.com>
6629
6630 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6631 was a dependency or dynamically loaded.
6632
89edf2e9
UD
66332011-08-11 Ulrich Drepper <drepper@gmail.com>
6634
8e999d29
UD
6635 * intl/l10nflist.c: Allow architecture-specific pop function.
6636 * sysdeps/x86_64/l10nflist.c: New file.
6637
89edf2e9
UD
6638 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6639 classification.
6640
14d96785
AS
66412011-08-10 Andreas Schwab <schwab@redhat.com>
6642
6643 * include/dirent.h: Add libc_hidden_proto for scandirat and
6644 scandirat64. Don't declare __scandirat64.
6645 * dirent/scandirat.c: Add libc_hidden_def.
6646 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6647 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6648
6761ac04
DM
66492011-08-10 David S. Miller <davem@davemloft.net>
6650
6651 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6652 enum.
6653 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6654 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6655 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6656
c55fbd1e
UD
66572011-08-09 Ulrich Drepper <drepper@gmail.com>
6658
6659 * Versions.def [libc]: Add GLIBC_2.15.
6660 * dirent/Makefile (routines): Add scandirat and scandirat64.
6661 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6662 GLIBC_2.15.
6663 * dirent/dirent.h: Declare scandirat and scandirat64.
6664 * dirent/scandirat.c: New file.
6665 * dirent/scandirat64.c: New file.
6666 * sysdeps/wordsize-64/scandirat.c: New file.
6667 * sysdeps/wordsize-64/scandirat64.c: New file.
6668 * dirent/opendir.c: Define opendirat.
6669 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6670 using scandirat.
6671 * dirent/scandir64.c: Adjust for scandir.c change.
6672 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6673 __scandirat64, and __scandir_cancel_handler.
6674 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6675 additional parameter and use openat instead of open (outside of ld.so).
6676 Add new __opendir as wrapper around __opendirat.
6677 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6678 here without requiring old scandirat implementation.
6679
879165f2
UD
66802011-08-08 Ulrich Drepper <drepper@gmail.com>
6681
6682 * dirent/scandir.c (cancel_handler): Renamed to
6683 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6684 defined. Adjust users.
6685 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6686 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6687
cb7e923b
UD
66882011-08-04 Ulrich Drepper <drepper@gmail.com>
6689
16292edd
UD
6690 * string/test-string.h (IMPL): Use __STRING to expand name and then
6691 stringify it.
6692
cb7e923b
UD
6693 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6694 of cleanups.
6695
cff82933
LD
66962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6697
6698 * string/Makefile: Update.
6699 (strop-tests): Append strncat.
6700 * string/test-wcscmp.c: New file.
6701 New comprehensive test for wcscmp.
6702 * string/test-strcmp.c: Update.
6703 (WIDE): New define.
6704
9be9bfcc
AS
67052011-07-22 Andreas Schwab <schwab@redhat.com>
6706
6707 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6708 line.
6709
2e96f1c7
AS
67102011-07-26 Andreas Schwab <schwab@redhat.com>
6711
6712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6713 encoding to ACE if AI_IDN.
6714
85188888
JJ
67152011-08-01 Jakub Jelinek <jakub@redhat.com>
6716
6717 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6718 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6719
5fa16e9b
LD
67202011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6721
6722 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6723 Fix overflow bug in strncat.
6724 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6725
6726 * string/test-strncat.c: Update.
6727 Add new tests for checking overflow bugs.
6728
67292011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6730
6731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6732 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6733 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6734 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6735 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6736 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6737 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6738 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6739 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6740
6741 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6742 (USE_AS_STRCAT): Define.
6743 Add strcat and strncat support.
6744 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6745
8c1a459f
AS
67462011-07-25 Andreas Schwab <schwab@redhat.com>
6747
6748 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6749 __n bigger than INT_MAX+1.
6750 (__strncmp_g): Likewise.
6751
bba33c28
UD
67522011-07-23 Ulrich Drepper <drepper@gmail.com>
6753
798be72d
UD
6754 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6755 * libio/stido.h: Likewise.
6756
8accd4dc
UD
6757 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6758 (AF_NFC): Define.
6759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6760 (AF_NFC): Define.
6761
cbff0d96
UD
6762 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6763 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6764 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6765 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6766 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6767
9191c04a
UD
6768 [BZ #13021]
6769 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6770 installed.
6771
bba33c28
UD
6772 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6773 typo.
6774 (_dl_x86_64_save_sse): Likewise.
6775
90f139dd
UD
67762011-07-22 Ulrich Drepper <drepper@gmail.com>
6777
1aae088a
UD
6778 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6779 OSXSAVE.
6780 (_dl_x86_64_save_sse): Likewise.
6781
8e2045f5
UD
6782 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6783
90f139dd
UD
6784 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6785
1d002f25
AS
67862011-07-21 Andreas Schwab <schwab@redhat.com>
6787
6788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6789 change.
6790 (_dl_x86_64_save_sse): Use correct AVX check.
6791
21137f89
UD
67922011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6793
6794 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6795 bug in strncpy/strncat.
6796 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6797
a65c0b7a
UD
67982011-07-21 Ulrich Drepper <drepper@gmail.com>
6799
6800 * string/tester.c (test_strcat): Add tests for different alignments
6801 of source and destination.
6802 (test_strncat): Likewise.
6803
6986b98a
UD
68042011-07-20 Ulrich Drepper <drepper@gmail.com>
6805
90bb2039
UD
6806 [BZ #12852]
6807 * posix/glob.c (glob): Check passed in values before using them in
6808 expressions to avoid some overflows.
6809 (glob_in_dir): Likewise.
6810
5644ef54
UD
6811 [BZ #13007]
6812 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6813 check for AVX enablement so that we don't crash with old kernels and
6814 new hardware.
6815 * elf/tst-audit4.c: Add same checks here.
6816 * elf/tst-audit6.c: Likewise.
6817
6818 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 6819
bfc9dc9b
AS
68202011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6821
6822 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6823
702e64bb
UD
68242011-07-20 Ulrich Drepper <drepper@gmail.com>
6825
6826 * po/cs.po: Update from translation team.
6827 * po/bg.po: Likewise.
6828
295e904f
MP
68292011-07-12 Marek Polacek <mpolacek@redhat.com>
6830
6831 * misc/sys/cdefs.h: Add support for const attribute.
6832 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6833 to gnu_dev_{major,minor,makedev} functions.
6834
3ff94596
MP
68352011-07-20 Marek Polacek <mpolacek@redhat.com>
6836
6837 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6838
28b59fca
AS
68392011-07-20 Andreas Schwab <schwab@redhat.com>
6840
6841 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6842 strlen results.
6843
19df733e
AK
68442011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6845
6846 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6847 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6848 register in order to avoid conflicts with the soft frame pointer
6849 being held in r11 when necessary.
6850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6851 (INTERNAL_VSYSCALL_NCS): Likewise.
6852
c8835729
MP
68532011-07-14 Marek Polacek <mpolacek@redhat.com>
6854
6855 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6856 * elf/dl-fini.c (_dl_fini): Adjust caller.
6857 * elf/dl-close.c (_dl_close_worker): Likewise.
6858 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6859
b902330c
MP
68602011-07-15 Marek Polacek <mpolacek@redhat.com>
6861
8991e135
MP
6862 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6863 "aux_cache->nlibs < 0".
6864
b902330c
MP
6865 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6866 in the reload-count case.
6867
99710781
LD
68682011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6869
6870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6871 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6872 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6873 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6874 * sysdeps/x86_64/multiarch/strcat.S: New file.
6875 * sysdeps/x86_64/multiarch/strncat.S: New file.
6876 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6877 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6878 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6879 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6880 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6881 (USE_AS_STRCAT): Define.
6882 Add strcat and strncat support.
6883 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6884 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6885 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6886 * string/strncat.c: Update.
6887 (USE_AS_STRNCAT): Define.
6888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6889 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6890 and i7.
6891 * sysdeps/x86_64/multiarch/init-arch.h
6892 (bit_Prefer_PMINUB_for_stringop): New.
6893 (index_Prefer_PMINUB_for_stringop): Likewise.
6894 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6895 bit_Prefer_PMINUB_for_stringop.
6896
7dc6bd90
UD
68972011-07-19 Ulrich Drepper <drepper@gmail.com>
6898
6899 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6900 buffer64.
6901 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6902 of casting of buffer.
6903 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6904 buffer32 and buffer64.
6905 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6906 writes instead of casting of buffer.
6907 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6908 buffer32.
6909 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6910 casting of buffer.
6911
e0e72284
AS
69122011-07-19 Andreas Schwab <schwab@redhat.com>
6913
6914 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6915
feb1eb0b
UD
69162011-07-19 Ulrich Drepper <drepper@gmail.com>
6917
6918 * nscd/nscd.c (termination_handler): Don't do anything for a database
6919 if it has not yet been initialized.
6920
298711ff
UD
69212011-07-18 Ulrich Drepper <drepper@gmail.com>
6922
6923 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6924
69252011-07-15 Marek Polacek <mpolacek@redhat.com>
6926
6927 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6928
f9d68389
UD
69292011-07-18 Ulrich Drepper <drepper@gmail.com>
6930
6931 * po/nl.po: Update from translation team.
6932 * po/sv.po: Likewise.
6933
db290cf5
RM
69342011-07-16 Roland McGrath <roland@hack.frob.com>
6935
6936 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6937 now disallowed by GCC.
5c550700 6938
fd5e21c7
RM
6939 * configure.in (use-default-link): Default to yes if a test -shared
6940 link meets our qualifications.
6941 * configure: Regenerated.
6942
5c550700
RM
6943 * config.make.in (output-format): New variable.
6944 * configure.in: Check for ld --print-output-format support.
6945 * configure: Regenerated.
6946 * Makerules ($(common-objpfx)format.lds)
6947 [$(output-format) != unknown]: Just use $(output-format),
6948 instead of the linker-script munging.
6949
9fa2c032
RM
69502011-07-14 Roland McGrath <roland@hack.frob.com>
6951
a6928d51
RM
6952 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6953 of $(common-objpfx)shlib.lds.
6954 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6955
661607b3
RM
6956 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6957 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6958
9fa2c032
RM
6959 * configure.in (-z relro check): Adjust test code to add a large
6960 writable data section after it.
6961 * configure: Regenerated.
6962
defe9061
RM
69632011-07-11 Roland McGrath <roland@hack.frob.com>
6964
6965 * configure.in (-z relro check): Fix test code to make the variable
6966 truly const.
6967 * configure: Regenerated.
6968
319b9ad4
UD
69692011-07-11 Ulrich Drepper <drepper@gmail.com>
6970
6971 * nscd/nscd.h (struct traced_file): Define.
6972 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6973 elements. Add traced_files.
6974 (inotify_fd): Declare.
6975 (register_traced_file): Declare.
6976 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6977 (inotify_fd): Export.
6978 (resolv_conf_descr): Remove.
6979 (nscd_init): Move inotify descriptor creation to main.
6980 Don't register files for notification here.
6981 (register_traced_file): New function.
6982 (invalidate_cache): Don't use reset_res to determine whether to call
6983 res_init, go through the list of registered files.
6984 (main_loop_poll): The inotify descriptors are now stored in the
6985 structures for the traced files.
6986 (main_loop_epoll): Likewise
6987 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6988 to __nss_disable_nscd.
6989 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6990 for a database anymore. Check the records for all the registered
6991 files instead.
6992 * nss/Makefile (libnss_files-routines): Add files-init.
6993 (libnss_db-routines): Add db-init.
6994 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6995 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6996 * nss/nss_db/db-init.c: New file.
6997 * nss/nss_files/files-init.c: New file.
6998 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6999 __nss_lookup_function.
7000 (__nss_lookup_function): Call nss_load_library.
7001 (nss_load_all_libraries): New function.
7002 (__nss_disable_nscd): Take parameter with callback function for files
7003 to register. Set is_nscd. Load all the DSOs for the NSS modules
7004 used for the cached services.
7005 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7006 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7007 options for features to all the files in nscd.
7008
7009 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7010
23bee3e8
RM
70112011-07-10 Roland McGrath <roland@hack.frob.com>
7012
7013 * csu/elf-init.c (__libc_csu_init): Comment typo.
7014
46a5b7f0
UD
70152011-07-09 Ulrich Drepper <drepper@gmail.com>
7016
7017 * po/pl.po: Update from translation team.
7018 * po/ja.po: Likewise.
7019 * po/ru.po: Likewise.
7020 * po/ko.po: Likewise.
7021 * po/fr.po: Likewise.
7022
d30cf5bb
RM
70232011-07-09 Roland McGrath <roland@hack.frob.com>
7024
113ddea4
RM
7025 * configure.in (.ctors/.dtors header and trailer check):
7026 Use an empirical test on a built program.
7027 * configure: Regenerated.
7028
574920b4
RM
7029 * configure.in (-z relro check): Use an empirical test on a built DSO.
7030 Detect, but do not require, on ia64.
7031 * configure: Regenerated.
7032
d30cf5bb
RM
7033 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7034 Update tests that use readelf to use $READELF instead.
7035 * configure: Regenerated.
7036
8538fdb3
UD
70372011-07-08 Ulrich Drepper <drepper@gmail.com>
7038
7039 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7040 if the result is not used.
7041
04d08991
AJ
70422011-07-05 Andreas Jaeger <aj@suse.de>
7043
7044 [BZ#9696]
7045 * stdlib/tst-strtod.c: Add testcase.
7046
de283087
AD
70472011-07-07 Ulrich Drepper <drepper@gmail.com>
7048
4e5f31c8 7049 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7050 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7051 The latter has a higher limit. Take additional parameter to pass to
7052 the new function.
7053 (__pathconf): Pass file to __statfs_link_max.
7054 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7055 __statfs_link_max.
7056 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7057 __statfs_link_max.
7058
de283087
AD
7059 [BZ #12868]
7060 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7061 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7062 Handle Lustre.
7063 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7064 (__statfs_filesize_max): Likewise.
7065 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7066
c75fa153
AJ
70672011-07-05 Andreas Jaeger <aj@suse.de>
7068
7069 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7070
1a544854
UD
70712011-07-06 Marek Polacek <mpolacek@redhat.com>
7072
7073 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7074 `status' variable.
7075 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7076 Likewise.
7077
6f0eec67
UD
70782011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7079
7080 * Makefile (strop-tests): Add strncat.
7081 * string/test-strncat.c: New file.
7082
aae30307
UD
70832011-06-30 Marek Polacek <mpolacek@redhat.com>
7084
7085 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7086
c0cfb5eb
UD
70872011-06-21 Andreas Jaeger <aj@suse.de>
7088
7089 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7090 Copy rule from iconvdata/Makefile.
7091
01636b21
UD
70922011-07-06 Ulrich Drepper <drepper@gmail.com>
7093
7094 [BZ #12922]
7095 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7096 but no long options are defined, just return 'W'.
7097
9895c8bc
UD
70982011-06-22 Marek Polacek <mpolacek@redhat.com>
7099
7100 [BZ #9696]
7101 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7102
5d4cf042
UD
71032011-07-06 Ulrich Drepper <drepper@gmail.com>
7104
7105 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7106 netgroups to read.
960e5535 7107 (innetgr): Likewise.
5d4cf042 7108
751eb97e
RM
71092011-07-05 Roland McGrath <roland@hack.frob.com>
7110
7111 * config.make.in (install_root): Default to $(DESTDIR).
7112
f15f1e45
UD
71132011-07-05 Ulrich Drepper <drepper@gmail.com>
7114
7115 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7116
4e34ac6a
RM
71172011-07-02 Roland McGrath <roland@hack.frob.com>
7118
5e9b6af4
RM
7119 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7120
84f9ea0f
RM
7121 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7122 containing directory rather than embedding absolute directory names.
7123
ea5ee9f7
RM
7124 * scripts/check-local-headers.sh: Rewritten using awk.
7125 Match by word, not by line. Print error messages for matches.
7126 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7127
1b74661a
RM
7128 * Makerules [shlib-lds-flags empty]:
7129 ($(common-objpfx)libc_pic.opts): New target.
7130 ($(common-objpfx)libc_pic.os.clean): New target.
7131 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7132
7133 * config.make.in (OBJCOPY): New variable.
7134 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7135 * configure: Regenerated.
7136
f781ef40
RM
7137 * config.make.in (use-default-link): New variable.
7138 * configure.in (use_default_link): Grok --with-default-link to set it.
7139 * configure: Regenerated.
7140 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7141 (shlib-lds, shlib-lds-flags): Define to empty.
7142
2d4fa81e
RM
7143 * Makerules (shlib-lds): New variable.
7144 (shlib-lds-flags): New variable.
7145 (build-shlib, build-moduile, build-module-asneeded): Use it.
7146 ($(common-objpfx)libc.so): Use $(shlib-lds).
7147 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7148 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7149
31fffa6b
RM
7150 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7151 DT_FLAGS/DT_FLAGS_1 with zero flags.
7152
4e34ac6a
RM
7153 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7154 linker script munging.
7155
fcfc776b
UD
71562011-07-02 Ulrich Drepper <drepper@gmail.com>
7157
7158 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7159 as 128-bit value.
7160 * crypt/sha512.c (sha512_process_block): Perform total addition using
7161 128-bit if possible.
7162 (__sha512_finish_ctx): Likewise.
7163 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7164 as 64-bit value.
7165 * crypt/sha256.c (SWAP64): Define.
7166 (sha256_process_block): Perform total addition using 64-bit if
7167 possible.
7168 (__sha256_finish_ctx): Likewise.
7169
99231d9a
UD
71702011-07-01 Ulrich Drepper <drepper@gmail.com>
7171
7172 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7173 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7174 * nscd/hstcache.c (cache_addhst): Likewise.
7175 * nscd/grpcache.c (cache_addgr): Likewise.
7176 * nscd/aicache.c (addhstaiX): Likewise
7177 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7178
445b4a53
TK
71792011-07-01 Thorsten Kukuk <kukuk@suse.de>
7180
7181 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7182 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7183 * nscd/hstcache.c (cache_addhst): Likewise.
7184 * nscd/grpcache.c (cache_addgr): Likewise.
7185 * nscd/aicache.c (addhstaiX): Likewise
7186
6d4d8e8e
AS
71872011-07-01 Andreas Schwab <schwab@redhat.com>
7188
7189 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7190 domain only when needed.
7191
89f654c5
AS
71922011-06-30 Andreas Schwab <schwab@redhat.com>
7193
7194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7195 is always restored.
7196
cf3b23ff
UD
71972011-06-29 Ulrich Drepper <drepper@gmail.com>
7198
7199 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7200 are re-adding the entry.
7201 * nscd/servicescache.c (cache_addserv): Likewise.
7202
751626f9
AJ
72032011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7204
7205 * sysdeps/generic/dl-irel.h: fix protection against multiple
7206 inclusions.
7207 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7208
9113ea1f
UD
72092011-06-28 Ulrich Drepper <drepper@gmail.com>
7210
5c0b8d90
UD
7211 [BZ #12935]
7212 * malloc/memusage.sh: Fix quoting in message.
7213 * debug/xtrace.sh: Likewise.
7214
9113ea1f
UD
7215 * configure.in: Remove support for --experimental-malloc option, make
7216 it the default.
7217 * config.make.in: Likewise.
7218 * malloc/Makefile: Likewise.
7219
a4172181
AS
72202011-06-27 Andreas Schwab <schwab@redhat.com>
7221
7222 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7223 two-byte characters.
7224
78a7eee7
RM
72252011-06-27 Roland McGrath <roland@hack.frob.com>
7226
62bede13
RM
7227 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7228 AC_CACHE_CHECK invocation.
7229 * configure: Regenerated.
7230
78a7eee7
RM
7231 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7232
5ce33a62
UD
72332011-06-27 Ulrich Drepper <drepper@gmail.com>
7234
034807a9
UD
7235 [BZ #12350]
7236 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7237 bit from old_res_options.
7238
4902da17
UD
7239 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7240
5ce33a62
UD
7241 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7242 value type for setfct.
7243
c2344f56
L
72442011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7245
7246 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7247 __gettimeofday instead of gettimeofday.
7248
68468076
UD
72492011-06-26 Ulrich Drepper <drepper@gmail.com>
7250
7251 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7252
acb0d739
L
72532011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7254
7255 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7256
7257 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7258 info.
7259
8912479f
L
72602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7261
7262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7263 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7264 strcpy-sse2-unaligned strncpy-sse2-unaligned
7265 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7266 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7267 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7268 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7269 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7270 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7271 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7272 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7273 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7274 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7275 (STRCPY): Support SSE2 and SSSE3 versions.
7276
d5495a11
UD
72772011-06-24 Ulrich Drepper <drepper@gmail.com>
7278
7279 [BZ #12874]
7280 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7281 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7282 kernels which artificially limit size of requests.
7283
0b1cbaae
L
72842011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7285
7286 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7287 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7288 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7289 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7290 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7291 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7292 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7293 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7294 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7295 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7296 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7297 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7298 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7299 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7300 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7301 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7302 Enable unaligned load optimization for Intel Core i3, i5 and i7
7303 processors.
7304 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7305 Define.
7306 (index_Fast_Unaligned_Load): Define.
7307 (HAS_FAST_UNALIGNED_LOAD): Define.
7308
07f494a0
MP
73092011-06-23 Marek Polacek <mpolacek@redhat.com>
7310
7311 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7312
fa3fc0fe
UD
73132011-06-22 Ulrich Drepper <drepper@gmail.com>
7314
7315 [BZ #12907]
7316 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7317 until it is clear that the information is realy needed.
7318 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7319
e12df166
AS
73202011-06-22 Andreas Schwab <schwab@redhat.com>
7321
7322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7323
852eb34d
UD
73242011-06-22 Ulrich Drepper <drepper@gmail.com>
7325
84e2a551
UD
7326 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7327 /sys/devices/system/cpu/online if it is usable.
7328
852eb34d
UD
7329 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7330 reading the information from the /proc filesystem to once a second.
7331
6e502e19
UD
73322011-06-21 Andreas Jaeger <aj@suse.de>
7333
7334 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7335 NULL after inclusion of kernel headers.
7336
75d39ff2
UD
73372011-06-21 Ulrich Drepper <drepper@gmail.com>
7338
51f9aa6a
UD
7339 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7340 calls to internal_setent.
7341
c0244a9d
UD
7342 [BZ #12885]
7343 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7344 addresses using gethostbyname4_r ignore IPv4 addresses.
7345
c5e3c2ae
UD
7346 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7347 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7348
75d39ff2
UD
7349 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7350
42675c6f
DM
73512011-06-20 David S. Miller <davem@davemloft.net>
7352
7353 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7354 inclusions.
7355 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7356
7357 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7358 (elf_irel): Use it.
7359 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7360 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7361 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7362 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7363 * sysdeps/x86_64/dl-irel.h: Likewise.
7364
7365 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7366 * elf/dl-sym.c: Likewise.
7367
57912a71
UD
73682011-06-15 Ulrich Drepper <drepper@gmail.com>
7369
7370 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7371 need to dereference resplen2.
7372
ee22793d
AS
73732011-06-14 Andreas Schwab <schwab@redhat.com>
7374
7375 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7376
a9e836b0
UD
73772011-06-15 Ulrich Drepper <drepper@gmail.com>
7378
77fb9117
UD
7379 * Makeconfig: Define vardbdir and inst_vardbdir.
7380 * nss/Makefile: Add rules to install db-Makefile.
7381
40c1b22c
UD
7382 * nss/nss_db/db-XXX.c: Cleanup.
7383
9f2da732
UD
7384 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7385 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7386 GLIBC_PRIVATE.
7387 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7388 * nss/makedb.c: Implement -g option to specify that value strings
7389 are generated and should not be added to table iterated over for
7390 get*ent calls.
7391 * nss/nss_db/db-initgroups.c: New file.
7392
82e9a1f7
UD
7393 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7394 interface.
7395
c41af17e
UD
7396 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7397 (internal_getgrouplist): Adjust to name change.
7398 Update use_initgroups_entry if this is not the first call.
7399 * nss/databases.def: Add initgroups entry.
7400
a9e836b0
UD
7401 * nss/makedb.c (compute_tables): Check result of multiple hash table
7402 sizes to minimize maximum chain length.
7403
2666d441
UD
74042011-06-14 Ulrich Drepper <drepper@gmail.com>
7405
7406 * Versions.def: Add entry for libnss_db.
7407 * shlib-versions: Likewise.
7408 * nss/Makefile: Add rules to build libnss_db.
7409 * nss/Versions: Add libnss_db information. Organize libnss_files
7410 entries better.
7411 * nss/db-Makefile: Add gshadow support. Change rules for the new
7412 makedb progra. Some minor improvements to generate smaller files.
7413 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7414 here from...
7415 * nss/makedb.c: ...here.
7416 Improve database format to be smaller and require less memory at
7417 runtime.
7418 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7419 db anymore.
7420 * nss/nss_db/db-netgrp.c: Likewise.
7421 * nss/nss_db/db-open.c: Likewise.
7422 * nss/nss_files/flies-XXX.x: Adjust comments.
7423 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7424 * nss/nss_files/files-grp.c: Likewise.
7425 * nss/nss_files/files-hosts.c: Likewise.
7426 * nss/nss_files/files-network.c: Likewise.
7427 * nss/nss_files/files-proto.c: Likewise.
7428 * nss/nss_files/files-pwd.c: Likewise.
7429 * nss/nss_files/files-rpc.c: Likewise.
7430 * nss/nss_files/files-service.c: Likewise.
7431 * nss/nss_files/files-sgrp.c: Likewise.
7432 * nss/nss_files/files-spwd.c: Likewise.
7433 * nss/nss_db/db-alias.c: Removed.
7434 * nss/nss_db/dummy-db.h: Removed.
7435
9ee76b5a
UD
74362011-06-02 Ulrich Drepper <drepper@gmail.com>
7437
7438 * nss/makedb.c: Rewritten to not use database library.
7439 * nss/Makefile: Update to build new makedb program.
7440
c71ca1f8
AJ
74412011-06-14 Andreas Jaeger <aj@suse.de>
7442
7443 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7444 memset declaration.
7445
3154bfb8
UD
74462011-06-10 Andreas Schwab <schwab@redhat.com>
7447
7448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7449 tmpbuf.
7450
b350afab
RM
74512011-06-10 Roland McGrath <roland@hack.frob.com>
7452
decd4e50
RM
7453 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7454 * elf/Makefile ($(objpfx)ld.so): Likewise.
7455
5615eaf2
RM
7456 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7457 Don't list ld.so twice in dependencies.
7458
7459 * posix/bug-regex31.c: Include <stdlib.h>.
7460
7461 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7462
7463 * nis/nss_compat/compat-spwd.c
7464 (getspent_next_nss_netgr): Remove unused variable.
7465 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7466
7467 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7468 nonmembers" output to use the right array.
7469
7470 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7471
7472 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7473
7474 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7475 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7476 * catgets/gencat.c (read_input_file): Likewise.
7477 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7478
7479 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7480 variable definition inside #if's controlling its use.
7481
7482 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7483
7484 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7485
7486 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7487
7488 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7489 unreachable code.
7490
7491 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7492
b68e08db
RM
7493 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7494 * configure: Regenerated.
7495
b350afab
RM
7496 * Makerules: Revert last change.
7497 * elf/Makefile: Likewise.
7498
28368601
RM
74992011-06-09 Roland McGrath <roland@hack.frob.com>
7500
7501 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7502 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7503 (reloc-link): Likewise.
7504
11988f8f
UD
75052011-06-09 Ulrich Drepper <drepper@gmail.com>
7506
7507 * elf/Makefile: Add rules to build pldd.
7508 * elf/pldd.c: New file.
7509 * elf/pldd-xx.c: New file.
7510
e80fab37
UD
75112011-06-07 Ulrich Drepper <drepper@gmail.com>
7512
7513 * version.h: Update for 2.15 development version.
7514
9b849836
DM
75152011-06-07 David S. Miller <davem@davemloft.net>
7516
7517 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7518 ifuncs.
7519 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7520 elf_machine_lazy_rel): Likewise.
7521 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7522 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7523 elf_machine_lazy_rel): Likewise.
7524 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7525 dl_hwcap via passed in argument.
7526 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7527 Likewise.
7528
5a31b283
AK
75292011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7530
7531 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7532
069e52f8
RM
75332011-06-06 Roland McGrath <roland@hack.frob.com>
7534
7535 [BZ #12849]
7536 * manual/fdl-1.1.texi: New file, verbatim from:
7537 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7538 * manual/lgpl-2.1.texi: New file, verbatim from:
7539 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7540 * manual/Makefile (licenses): New variable, list those new file names.
7541 (texis): Use it.
7542 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7543
7544 * manual/fdl.texi: File removed.
7545 * manual/lesser.texi: File removed.
7546 * manual/libc.texinfo (Copying, Documentation License):
7547 Use new @include file names, put @appendix directive before @include.
7548
f16846a5
JJ
75492011-06-04 Jakub Jelinek <jakub@redhat.com>
7550
7551 [BZ #12841]
7552 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7553 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7554 (mq_open): Add __NTH.
7555
3d29045b
L
75562011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7557
7558 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7559 Assume Intel Core i3/i5/i7 processor if AVX is available.
7560
8c297311
UD
75612011-05-31 Ulrich Drepper <drepper@gmail.com>
7562
7563 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7564 typo.
7565
c8fc0c91
UD
75662011-05-31 Andreas Schwab <schwab@redhat.com>
7567
7568 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7569 memory. Use alloca_account. Fix memory leak when retrying.
7570
5b27a807
UD
75712011-05-31 Ulrich Drepper <drepper@gmail.com>
7572
356f8bc6
UD
7573 * version.h (RELEASE): Bump for 2.14 release.
7574 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7575
5b27a807
UD
7576 * config.make.in (RANLIB): Remove entry.
7577
01f16ab0
UD
75782011-05-30 Ulrich Drepper <drepper@gmail.com>
7579
41fce8bd
UD
7580 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7581 (libc.pot): Work around missing support for .ksh extension in xgettext.
7582
4769ae77
UD
7583 [BZ #12684]
7584 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7585 if both request failed.
7586 (send_dg): In case of server errors clear resplen or *resplen2.
7587
6b1e7d19
UD
7588 [BZ #12454]
7589 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7590 when there are multiple maps.
7591 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7592 (_dl_fini): Remove test here.
7593
01f16ab0
UD
7594 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7595
b1ebd700
UD
75962011-05-29 Ulrich Drepper <drepper@gmail.com>
7597
7ae22829
UD
7598 [BZ #12350]
7599 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7600 bit from old_res_options.
7601 (gaih_inet): Likewise.
7602
553149f6 7603 [BZ #11099]
18a84741 7604 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
7605 as signed.
7606
652ffab1
UD
7607 * resolv/res_init.c (res_setoptions): Make the code more compact.
7608
16985fd0
UD
7609 [BZ #11558]
7610 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7611 set RES_USEVC.
7612
0464f746
UD
7613 [BZ #11634]
7614 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7615
7d17596c
UD
7616 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7617
cf6bbbd7
UD
7618 [BZ #11781]
7619 * malloc/malloc.h: Declare malloc hook variables as volatile.
7620
13f1ab36
UD
7621 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7622 in last patch.
7623
b1ebd700
UD
7624 [BZ #11799]
7625 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 7626 raise in the comment.
80e2212d
UD
7627 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7628 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7629 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 7630
ce67228d
UD
76312011-05-28 Ulrich Drepper <drepper@gmail.com>
7632
8887a920
UD
7633 [BZ #12811]
7634 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7635 grow the buffers more if it already has to be sufficient.
7636 (build_wcs_upper_buffer): Likewise.
7637 * posix/regexec.c (check_matching): Likewise.
7638 (clean_state_log_if_needed): Likewise.
7639 (extend_buffers): Don't enlarge buffers beyond size of the input
7640 buffer.
7641 Patches mostly by Emil Wojak <emil@wojak.eu>.
7642 * posix/bug-regex32.c: New file.
7643 * posix/Makefile (tests): Add bug-regex32.
7644
4f031072
UD
7645 * locale/findlocale.c (_nl_find_locale): Return right away if
7646 _nl_explode_name failed.
7647 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7648
d0478f0c
UD
7649 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7650
de81b246
UD
7651 * debug/xtrace.sh: Unify messages.
7652 * malloc/memusage.sh: Likewise.
7653
c738465a
UD
7654 [BZ #12813]
7655 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7656 time symbol from vDSO. Substitute with vsyscall if not available.
7657 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7658 __vdso_time.
7659
f1f929d7
UD
7660 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7661 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7662 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7663 Add sendmmsg and internal_sendmmsg.
7664 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7665 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7666 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7667
ce67228d
UD
7668 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7669 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7670 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7671
e57420c6
UD
76722011-05-27 Ulrich Drepper <drepper@gmail.com>
7673
a8509ca5
UD
7674 [BZ #12813]
7675 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7676 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7677 available.
7678 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7679 __vdso_getcpu.
7680
e57420c6
UD
7681 [BZ #12814]
7682 * iconvdata/Makefile (tests): Add bug-iconv9.
7683 * iconvdata/bug-iconv9.c: New file.
7684
4d07db15
AS
76852011-05-27 Andreas Schwab <schwab@redhat.com>
7686
7687 [BZ #12814]
7688 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7689
ea486f69
JJ
76902011-05-25 Jakub Jelinek <jakub@redhat.com>
7691
7692 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7693 (struct user_regs_struct): Change intcs field back to cs.
7694
6f038433
UD
76952011-05-25 Ulrich Drepper <drepper@gmail.com>
7696
7697 * po/ja.po: Update from translation team.
7698
67f86a25
UD
76992011-05-23 Ulrich Drepper <drepper@gmail.com>
7700
7701 [BZ #12795]
7702 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7703 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7704
def7fbd6
AS
77052011-05-20 Andreas Schwab <schwab@redhat.com>
7706
7707 * stdlib/longlong.h: Update from GCC.
7708
f50ef8f1
AS
77092011-05-23 Andreas Schwab <schwab@redhat.com>
7710
7711 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7712 parameter name.
7713 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7714 Add parameter name.
7715 (__sysconf): Pass it down.
7716
de7ce8f1
UD
77172011-05-22 Ulrich Drepper <drepper@gmail.com>
7718
f2962a71
UD
7719 [BZ #12671]
7720 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7721 some situations.
7722 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7723 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7724 add in in __libc_use_alloca calls. Adjust callers.
7725 (glob): Use malloc in some situations.
7726
de7ce8f1
UD
7727 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7728 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7729 pltexit.
7730
aec84f53
UD
77312011-05-21 Ulrich Drepper <drepper@gmail.com>
7732
05bb4a68
UD
7733 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7734 and CLOCK_BOOTTIME_ALARM.
7735
7ea72f99
UD
7736 [BZ #12782]
7737 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7738 is returned.
7739
7e4afad5
UD
7740 * string/_strerror.c (__strerror_r): Print negative errors as signed
7741 numbers.
7742
8e211fec
UD
7743 [BZ #12777]
7744 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7745 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7746 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7747
f7d82dc9
UD
7748 * configure.in: Fix typo in redirection and correct removal of test
7749 files in two cases.
7750
cc9e536d
UD
7751 [BZ #12788]
7752 * locale/setlocale.c (new_composite_name): Fix test to check for
7753 identical name of all categories.
7754
aec84f53
UD
7755 [BZ #12792]
7756 * libio/filedoalloc.c (local_isatty): New function.
7757 (_IO_file_doallocate): Use local_isatty.
7758 * stdio-common/perror.c (perror): In case a new stream is used
7759 forward the stream error.
7760 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7761 error flag.
7762
78e64fdc
RT
77632011-05-20 Ulrich Drepper <drepper@gmail.com>
7764
34a9094f
UD
7765 [BZ #11869]
7766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7767 alloca.
7768 * include/alloca.h (extend_alloca_account): Define.
7769
78e64fdc
RT
7770 [BZ #11857]
7771 * posix/regex.h: Fix comments with documentation of user-accessible
7772 fields after compilation and describe correct free'ing of pattern
7773 after re_compile_pattern.
7774 Patch by Reuben Thomas <rrt@sc3d.org>.
7775
457bddfc
RA
77762011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7777
7778 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7779 and -mno-altivec to prevent the compiler from using Altivec and/or
7780 VSX instructions when the corresponding registers are not available.
7781
a4527b51
AS
77822011-05-19 Andreas Schwab <schwab@redhat.com>
7783
7784 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7785
ed690b2f
UD
77862011-05-19 Ulrich Drepper <drepper@gmail.com>
7787
7788 * libio/freopen.c (freopen): Use __dup2, not dup2.
7789 * libio/freopen64.c (freopen64): Likewise.
7790
8db73634
L
77912011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7792
7793 [BZ #12775]
7794 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7795 * math/Makefile (tests): Add test-powl.
7796 (CFLAGS-test-powl.c): Define.
7797 * math/test-powl.c: New file.
7798
0a197a9d
L
77992011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7800
7801 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7802
ee30c380
UD
78032011-05-17 Ulrich Drepper <drepper@gmail.com>
7804
7805 [BZ #11837]
7806 * iconvdata/gb18030.c: Update to GB18020-2005.
7807
6ce75379
UD
78082011-05-16 Ulrich Drepper <drepper@gmail.com>
7809
a4b89fd8
AR
7810 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7811 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7812 Patch by Aharon Robbins <arnold@skeeve.com>.
7813
ea389b12
UD
7814 [BZ #11892]
7815 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7816 on the stack.
7817
68a3f91f
UD
7818 [BZ #11895]
7819 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7820 through underflows.
7821
15cc7dd1
UD
7822 [BZ #12766]
7823 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7824 point to strings before performing equality test for error_one_per_line
7825 mode.
7826
f3799213
UD
7827 [BZ #11697]
7828 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7829
d79a9c94
UD
7830 [BZ #11820]
7831 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7832 (struct user_fpregs_struct): Avoid __uint*_t types.
7833
56e5eb46
UD
7834 [BZ #6420]
7835 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7836 symbol info. Use it instead of calling _dl_addr locally.
7837 (lock_and_info): New function.
7838 (tr_freehook): Call lock_and_info and pass symbol info as additional
7839 parameter to tr_where.
7840 (tr_mallochook): Likewise.
7841 (tr_reallochook): Likewise.
7842 (tr_memalignhook): Likewise.
7843
6ce75379
UD
7844 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7845 used and couldn't be at all thread-safe.
7846
f8a3b5bf
UD
78472011-05-15 Ulrich Drepper <drepper@gmail.com>
7848
94b7cc37
UD
7849 * libio/freopen.c (freopen): Don't close old file descriptor
7850 before the new one is opened. Instead dup the new file descriptor
7851 to the old one after the new stream is created.
7852 * libio/freopen64.c (freopen64): Likewise.
7853 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7854 * libio/fileops.c (_IO_new_file_close_it): Handle new
7855 _IO_FLAGS2_NOCLOSE flag.
7856 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7857 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7858 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7859 _IO_FLAGS2_NOCLOSE flag.
7860 * include/unistd.h: Add hidden_proto for dup3.
7861 Define __have_dup3.
7862 * io/dup3.c: Define hidden symbol.
7863 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7864
bd25564e
UD
7865 [BZ #7101]
7866 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7867 when an incomplete long option is used.
7868 * posix/tst-getopt_long1.c: New file.
7869 * posix/Makefile (tests): Add tst-getopt_long1.
7870
c84cfef4
UD
7871 [BZ #10138]
7872 * scripts/config.guess: Update from autoconf-2.68.
7873 * scripts/config.sub: Likewise.
7874
3b85df27
UD
7875 [BZ #10157]
7876 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7877 tests into ...
7878 (has_cpuclock): ...this. New function.
7879 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7880 macro here based on has_cpuclock code.
7881
15a856b1
UD
7882 [BZ #10149]
7883 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7884 First byte (not low byte) is now always NUL.
7885 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7886
05f399e6
UD
7887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7888 Use non-cancelable interfaces.
7889
10a52685 7890 [BZ #9809]
94ecc67d
UD
7891 * locale/iso-639.def: Add entry for Sorani.
7892
f8a3b5bf
UD
7893 [BZ #11901]
7894 * include/stdlib.h: Move include protection to the right place.
7895 Define abort_msg_s. Declare __abort_msg with it.
7896 * stdlib/abort.c (__abort_msg): Adjust type.
7897 * assert/assert.c (__assert_fail_base): New function. Majority
7898 of code from __assert_fail. Allocate memory for __abort_msg with
7899 mmap.
7900 (__assert_fail): Now call __assert_fail_base.
7901 * assert/assert-perr.c: Remove bulk of implementation. Use
7902 __assert_fail_base.
7903 * include/assert.hL Declare __assert_fail_base.
7904 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7905 mmap.
7906 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7907
1af4e298
UD
79082011-05-14 Ulrich Drepper <drepper@gmail.com>
7909
f8a3b5bf 7910 [BZ #11952]
d26dfc60
MG
7911 [BZ #12453]
7912 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7913 until all modules are registered in the DTV.
7914 * elf/Makefile: Add rules to build and run tst-tls19.
7915 * elf/tst-tls19.c: New file.
7916 * elf/tst-tls19mod1.c: New file.
7917 * elf/tst-tls19mod2.c: New file.
7918 * elf/tst-tls19mod3.c: New file.
7919 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7920
2fc54d6f
UD
7921 [BZ #12083]
7922 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7923 correctly.
7924
98d76b46
UD
7925 [BZ #12601]
7926 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7927 two-byte sequence errors.
7928 * iconvdata/Makefile (tests): Add bug-iconv8.
7929 * iconvdata/bug-iconv8.c: New file.
7930
da3c19ef
UD
7931 [BZ #12626]
7932 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7933 buf2 definition.
7934
ca408c15
UD
7935 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7936
d6f67f7d
UD
7937 [BZ #12432]
7938 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7939 (dummy_getcfa): New function.
7940 (init): Get _Unwind_GetCFA address, use dummy if not found.
7941 (backtrace_helper): In recursion check, also check whether CFA changes.
7942 (__backtrace): Completely initialize arg.
7943
1af4e298 7944 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
7945 storing incomplete byte sequence in state object. Avoid testing for
7946 guaranteed too small input if we know there is enough data available.
1af4e298 7947
da62f81b
AS
79482011-05-11 Andreas Schwab <schwab@redhat.com>
7949
7950 * Makeconfig (+link-pie): Indent.
7951 * Rules (binaries-pie): Define if $(have-fpie) and
7952 $(build-shared).
7953 (binaries-shared): Also filter out $(binaries-pie).
7954 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7955 * nscd/Makefile (others-pie): Add nscd.
7956 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7957 ($(objpfx)nscd): Remove command override.
7958 * login/Makefile (others-pie): Add pt_chown.
7959 ($(objpfx)pt_chown): Remove command override.
7960 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7961 remove command overrides.
7962
fcabc0f8
UD
79632011-05-13 Ulrich Drepper <drepper@gmail.com>
7964
20030ae6
UD
7965 * libio/tst_putwc.c: Fix error messages.
7966
fcabc0f8
UD
7967 [BZ #12724]
7968 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7969 currently writing and seek to current position when not.
7970 * libio/Makefile (tests): Add bug-fclose1.
7971 * libio/bug-fclose1.c: New file.
7972
320a5dc0
PB
79732011-05-12 Ulrich Drepper <drepper@gmail.com>
7974
7975 [BZ #12511]
7976 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7977 don't set DF_1_NODELETE here.
7978 (do_lookup_x): When entering new entry test for copy relocation
7979 and if necessary set DF_1_NODELETE flag.
7980 * elf/tst-unique4.cc: New file.
7981 * elf/tst-unique4.h: New file.
7982 * elf/tst-unique4lib.cc: New file.
7983 * elf/Makefile: Add rules to build and run tst-unique4.
7984 Patch by Piotr Bury <pbury@goahead.com>.
7985
22836f52
UD
79862011-05-11 Ulrich Drepper <drepper@gmail.com>
7987
f574184a
UD
7988 [BZ #12052]
7989 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7990
e1fb097f
UD
7991 [BZ #12625]
7992 * misc/mntent_r.c (addmntent): Flush the stream after the output
7993
22836f52
UD
7994 [BZ #12393]
7995 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7996 (is_trusted_path_normalize): Skip initial colon. Append slash
7997 to empty buffer. Duplicate is_trusted_path code but allow
7998 constructed patch to be prefix.
7999 (is_dst): Allow $ORIGIN followed by /.
8000 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8001 Correct testing of result of is_trusted_path_normalize
8002 (decompose_rpath): Fix warning.
8003
7b3b0b2a
UD
80042011-05-10 Ulrich Drepper <drepper@gmail.com>
8005
8006 [BZ #11257]
8007 * grp/initgroups.c (internal_getgrouplist): When we found the service
8008 list through the initgroups entry in nsswitch.conf do not always
8009 continue on a successful lookup. Don't always use the
eac80ce2 8010 __nss_group_database value if it is set.
7b3b0b2a
UD
8011 * nss/nsswitch.conf (initgroups): Change action for successful db
8012 lookup to continue for compatibility.
8013
2a81eaa5
UD
80142011-05-09 Ulrich Drepper <drepper@gmail.com>
8015
be97a69e
UD
8016 [BZ #11532]
8017 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8018 and CP774 modules.
8019 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8020 and CP774 modules.
8021 * iconvdata/tst-tables.sh: Likewise.
8022 * iconvdata/cp770.c: New file.
8023 * iconvdata/cp771.c: New file.
8024 * iconvdata/cp772.c: New file.
8025 * iconvdata/cp773.c: New file.
8026 * iconvdata/cp774.c: New file.
8027 * iconvdata/testdata/CP770: New file.
8028 * iconvdata/testdata/CP770..UTF8: New file.
8029 * iconvdata/testdata/CP771: New file.
8030 * iconvdata/testdata/CP771..UTF8: New file.
8031 * iconvdata/testdata/CP772: New file.
8032 * iconvdata/testdata/CP772..UTF8: New file.
8033 * iconvdata/testdata/CP773: New file.
8034 * iconvdata/testdata/CP773..UTF8: New file.
8035 * iconvdata/testdata/CP774: New file.
8036 * iconvdata/testdata/CP774..UTF8: New file.
8037
8038 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8039 END CHARMAP line.
8040 * iconvdata/gen-8bit-gap.sh: Likewise.
8041 * iconvdata/gen-8bit.sh: Likewise.
8042
c1e9e399
UD
8043 * locale/iso-639.def: Add ary entry.
8044
24c55fb3 8045 [BZ #11258]
96b4b1b0
UD
8046 * locale/C-translit.h.in: Add U20A1 transliteration.
8047
bdc2f971
KB
8048 [BZ #12178]
8049 * locale/iso-639.def: Add wae entry.
8050 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8051
2952b117
UD
8052 [BZ #12545]
8053 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8054 for n.
8055
2a81eaa5
UD
8056 [BZ #12711]
8057 * locale/C-translit.h.in: Add entry for U20B9.
8058 Patch by pravin.d.s@gmail.com.
8059
28377d1b
UD
80602011-05-08 Ulrich Drepper <drepper@gmail.com>
8061
7fb90fb8
UD
8062 [BZ #12713]
8063 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8064 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8065 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8066 in rtld. Use *stat64.
7fb90fb8 8067 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8068 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8069 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8070 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8071 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8072 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8073 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8074 __fstatat64 macros.
7fb90fb8
UD
8075 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8076 * dirent/rewinddir.c: Add libc_hidden_def.
8077 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8078 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8079
28377d1b
UD
8080 * include/dirent.h (__alloc_dir): Add flags parameter.
8081 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8082 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8083 __alloc_dir.
8084 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8085 from fdopendir if O_CLOEXEC is already set.
8086
66bdbaa4
AM
80872011-03-15 Alan Modra <amodra@gmail.com>
8088
8089 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8090 l_tls_firstbyte_offset non-zero. Save padding offset in
8091 l_tls_firstbyte_offset for later use.
8092 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8093 freeing static tls block.
8094
95721191
JN
80952011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8096
8097 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8098 where #ifdef was intended. The intent is to prevent ARG_MAX from
8099 being defined by the kernel headers.
8100
f87dfb1f
UD
81012011-05-07 Ulrich Drepper <drepper@gmail.com>
8102
8103 [BZ #12734]
8104 * resolv/resolv.h: Define RES_NOTLDQUERY.
8105 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8106 no-tld-query and set RES_NOTLDQUERY.
8107 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8108 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8109 modern BIND to search name as TLD unless forbidden.
8110
47c3cd7a
UD
81112011-05-07 Petr Baudis <pasky@suse.cz>
8112 Ulrich Drepper <drepper@gmail.com>
8113
8114 [BZ #12393]
8115 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8116 (is_trusted_path): ...to here.
c1e9ea35 8117 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8118 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8119 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8120
8a35c912
PP
81212011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8122
8123 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8124 __BEGIN/__END_DECLS.
8125
acd41f47
UD
81262011-05-06 Ulrich Drepper <drepper@gmail.com>
8127
8128 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8129 NSS_STATUS_NOTFOUND if no record was found.
8130
597df647
AS
81312011-05-05 Andreas Schwab <schwab@redhat.com>
8132
8133 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8134 (headers-not-in-tirpc): Remove rpc/netdb.h
8135 * resolv/netdb.h: Revert last change.
8136
b9af1301
PP
81372011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8138
8139 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8140 circular dependency between libgcc.a and libc.a.
8141
4e34d5f5
AS
81422011-05-05 Andreas Schwab <schwab@redhat.com>
8143
8144 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8145 * nis/Makefile: Don't install rpcsvc/*.
8146 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8147 instead of <rpc/types.h>.
8148 (MAXHOSTNAMELEN): Define.
8149
00ee369c
AS
81502011-05-03 Andreas Schwab <schwab@redhat.com>
8151
8152 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8153
0b592a30
MB
81542011-04-28 Maciej Babinski <mbabinski@google.com>
8155
8156 [BZ #12714]
8157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8158 gethostbyname4_r when IPv6 results are possible.
8159
6e04cbbe
UD
81602011-05-02 Ulrich Drepper <drepper@gmail.com>
8161
8162 [BZ #12723]
8163 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8164 _PC_PIPE_BUF handling.
8165
e4ecafe0
BH
81662011-04-30 Bruno Haible <bruno@clisp.org>
8167
8168 [BZ #12717]
8169 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8170 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8171 to 'int'.
8172 * inet/getnameinfo.c (getnameinfo): Likewise.
8173
125ee683
UD
81742011-04-29 Ulrich Drepper <drepper@gmail.com>
8175
8176 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8177 to groups setting in database lookup.
8178 * nss/nsswitch.conf: Add initgroups entry.
8179
b722481a
EB
81802011-04-22 Ulrich Drepper <drepper@gmail.com>
8181
8182 [BZ #12685]
8183 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8184 mode string.
8185 Patch by Eric Blake <eblake@redhat.com>.
8186
4df46dbd
L
81872011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8188
8189 * sunrpc/Makefile (need-export-routines): Add svc_run.
8190 (routines): Remove svc_run.
8191 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8192 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8193 * sunrpc/svc_run.c (svc_run): Likewise.
8194 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8195
e84142d2
UD
81962011-04-21 Ulrich Drepper <drepper@gmail.com>
8197
8198 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8199 problem in reallocation in last patch.
8200
877175d8
UD
82012011-04-20 Ulrich Drepper <drepper@gmail.com>
8202
8203 * sunrpc/Makefile: Move inclusion of Rules.
8204
ab8eed78
UD
82052011-04-19 Ulrich Drepper <drepper@gmail.com>
8206
8207 * nss/nss_files/files-initgroups.c: New file.
8208 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8209 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8210 _nss_files_initgroups_dyn.
8211
e3d8f584
RS
82122011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8213
8214 * elf/elf.h (R_ARM_IRELATIVE): Define.
8215
af190f45
UD
82162011-04-19 Ulrich Drepper <drepper@gmail.com>
8217
8218 * po/ru.po: Update from translation team.
8219
53cf59ef
UD
82202011-04-17 Ulrich Drepper <drepper@gmail.com>
8221
8222 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8223 dependencies.
8224
4c559bcd
MF
82252011-02-06 Mike Frysinger <vapier@gentoo.org>
8226
8227 [BZ #12653]
8228 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8229 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8230 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8231 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8232 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8233
4420675c
AS
82342011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8235
8236 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8237 differing bytes.
8238 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8239 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8240 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8241
75ea32ab
UD
82422011-04-17 Ulrich Drepper <drepper@gmail.com>
8243
8244 [BZ #12420]
8245 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8246 storing it.
8247 * stdlib/bug-getcontext.c: New file.
8248 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8249
27390476
AK
82502011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8251
8252 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8253 instructions into .machine "z9-109".
8254 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8255 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8256
10442705
AK
82572011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8258
8259 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8260 between environment variables and auxiliary vector.
8261
7b57bfe5
UD
82622011-04-16 Ulrich Drepper <drepper@gmail.com>
8263
8264 * Makefile: Add rules to build linkobj/libc.so.
8265 * include/libc-symbols.h: Define libc_hidden_nolink.
8266 * include/rpc/auth.h: Mark functions which are to be hidden.
8267 * include/rpc/auth_des.h: Likewise.
8268 * include/rpc/auth_unix.h: Likewise.
8269 * include/rpc/clnt.h: Likewise.
8270 * include/rpc/des_crypt.h: Likewise.
8271 * include/rpc/key_prot.h: Likewise.
8272 * include/rpc/pmap_clnt.h: Likewise.
8273 * include/rpc/pmap_prot.h: Likewise.
8274 * include/rpc/pmap_rmt.h: Likewise.
8275 * include/rpc/rpc_msg.h: Likewise.
8276 * include/rpc/svc.h: Likewise.
8277 * include/rpc/svc_auth.h: Likewise.
8278 * include/rpc/xdr.h: Likewise.
8279 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8280 * nss/Makefile: Likewise.
8281 * sunrpc/Makefile: Don't install headers. Build library with normal
8282 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8283 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8284 for the compat linking library. Remove use of INTDEF/INTUSE.
8285 * sunrpc/auth_none.c: Likewise.
8286 * sunrpc/auth_unix.c: Likewise.
8287 * sunrpc/authdes_prot.c: Likewise.
8288 * sunrpc/authuxprot.c: Likewise.
8289 * sunrpc/clnt_gen.c: Likewise.
8290 * sunrpc/clnt_perr.c: Likewise.
8291 * sunrpc/clnt_raw.c: Likewise.
8292 * sunrpc/clnt_simp.c: Likewise.
8293 * sunrpc/clnt_tcp.c: Likewise.
8294 * sunrpc/clnt_udp.c: Likewise.
8295 * sunrpc/clnt_unix.c: Likewise.
8296 * sunrpc/des_crypt.c: Likewise.
8297 * sunrpc/des_soft.c: Likewise.
8298 * sunrpc/get_myaddr.c: Likewise.
8299 * sunrpc/key_call.c: Likewise.
8300 * sunrpc/key_prot.c: Likewise.
8301 * sunrpc/netname.c: Likewise.
8302 * sunrpc/pm_getmaps.c: Likewise.
8303 * sunrpc/pm_getport.c: Likewise.
8304 * sunrpc/pmap_clnt.c: Likewise.
8305 * sunrpc/pmap_prot.c: Likewise.
8306 * sunrpc/pmap_prot2.c: Likewise.
8307 * sunrpc/pmap_rmt.c: Likewise.
8308 * sunrpc/publickey.c: Likewise.
8309 * sunrpc/rpc_cmsg.c: Likewise.
8310 * sunrpc/rpc_common.c: Likewise.
8311 * sunrpc/rpc_dtable.c: Likewise.
8312 * sunrpc/rpc_prot.c: Likewise.
8313 * sunrpc/rpc_thread.c: Likewise.
8314 * sunrpc/rtime.c: Likewise.
8315 * sunrpc/svc.c: Likewise.
8316 * sunrpc/svc_auth.c: Likewise.
8317 * sunrpc/svc_authux.c: Likewise.
8318 * sunrpc/svc_raw.c: Likewise.
8319 * sunrpc/svc_run.c: Likewise.
8320 * sunrpc/svc_simple.c: Likewise.
8321 * sunrpc/svc_tcp.c: Likewise.
8322 * sunrpc/svc_udp.c: Likewise.
8323 * sunrpc/svc_unix.c: Likewise.
8324 * sunrpc/svcauth_des.c: Likewise.
8325 * sunrpc/xcrypt.c: Likewise.
8326 * sunrpc/xdr.c: Likewise.
8327 * sunrpc/xdr_array.c: Likewise.
8328 * sunrpc/xdr_float.c: Likewise.
8329 * sunrpc/xdr_intXX_t.c: Likewise.
8330 * sunrpc/xdr_mem.c: Likewise.
8331 * sunrpc/xdr_rec.c: Likewise.
8332 * sunrpc/xdr_ref.c: Likewise.
8333 * sunrpc/xdr_sizeof.c: Likewise.
8334 * sunrpc/xdr_stdio.c: Likewise.
8335
e6c61494
UD
83362011-04-10 Ulrich Drepper <drepper@gmail.com>
8337
8338 [BZ #12650]
8339 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8340 * sysdeps/ia64/dl-tls.h: Likewise.
8341 * sysdeps/powerpc/dl-tls.h: Likewise.
8342 * sysdeps/s390/dl-tls.h: Likewise.
8343 * sysdeps/sh/dl-tls.h: Likewise.
8344 * sysdeps/sparc/dl-tls.h: Likewise.
8345 * sysdeps/x86_64/dl-tls.h: Likewise.
8346 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8347
34fe483e
AS
83482011-03-14 Andreas Schwab <schwab@redhat.com>
8349
8350 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8351 rpath element also skip the following colon.
8352 (expand_dynamic_string_token): Add is_path parameter and pass
8353 down to DL_DST_REQUIRED and _dl_dst_substitute.
8354 (decompose_rpath): Call expand_dynamic_string_token with
8355 non-zero is_path. Ignore empty rpaths.
8356 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8357 with zero is_path.
8358
f12a32e6
AS
83592011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8360
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8362 Make cancelable.
8363
38a7d692
UD
83642011-04-09 Ulrich Drepper <drepper@gmail.com>
8365
8366 [BZ #12655]
8367 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8368 Patch by Filipe David Manana <fdmanana@apache.org>.
8369
e451d22b
AS
83702011-04-07 Andreas Schwab <schwab@redhat.com>
8371
8372 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8373 Maintain aligned stack.
8374 (CHECK_RSP): Remove unused macro.
8375
dedc7c7b
UD
83762011-04-03 Ulrich Drepper <drepper@gmail.com>
8377
8378 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8379 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8380
94521213
UD
83812011-04-02 Ulrich Drepper <drepper@gmail.com>
8382
8383 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8384
8cb700c0 8385 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 8386
0354e355
L
83872011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8388
8389 [BZ #12518]
8390 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8391 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8392 * sysdeps/x86_64/memmove.c: New file.
8393 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8394 (memcpy): Renamed to ...
8395 (__new_memcpy): This.
8396 (memcpy): Provide GLIBC_2_14 memcpy.
8397 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8398 (memcpy): Provide GLIBC_2_2_5 memcpy.
8399
8593482f
UD
84002011-04-01 Ulrich Drepper <drepper@gmail.com>
8401
8402 [BZ #12631]
8403 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8404
81a5726b
AS
84052011-03-30 Andreas Schwab <schwab@redhat.com>
8406
8407 * misc/syncfs.c: New file.
8408 * misc/Makefile (routines): Add syncfs.
8409 * posix/unistd.h: Declare syncfs.
8410 * sysdeps/unix/syscalls.list: Add syncfs.
8411
00e5419f
AS
84122011-04-01 Andreas Schwab <schwab@redhat.com>
8413
8414 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8415 open_by_handle_at.
8416 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8417 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8418 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8419 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8421 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8423
748876bf
UD
84242011-04-01 Ulrich Drepper <drepper@gmail.com>
8425
658e451d
UD
8426 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8427 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8428 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8429 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8430 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8433
748876bf
UD
8434 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8435 sync_file_range.c with -fexceptions.
8436 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8437 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8438 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8439 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8440 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8441 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8442 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
8443 sync_file_range as cancellation point
8444 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8445 now a wrapper around __call_sync_file_range with cancellation handling.
8446 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8447 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8448 function name to __call_sync_file_range.
8449 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8450 Add call_sync_file_range.
748876bf 8451
6e63d5e1
AS
84522011-04-01 Andreas Schwab <schwab@redhat.com>
8453
8454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 8455 bits/timex.h.
6e63d5e1 8456
46998f74
UD
84572011-04-01 Ulrich Drepper <drepper@gmail.com>
8458
4c1423ed
UD
8459 * iconv/iconv.h: Fix typo in comment.
8460 * io/fcntl.h: Likewise.
8461 * libio/stdio.h: Likewise.
8462 * posix/spawn.h: Likewise.
8463 * posix/unistd.h: Likewise.
8464 * stdlib/stdlib.h: Likewise.
8465 * time/time.h: Likewise.
8466 * wcsmbs/wchar.h: Likewise.
8467
158648c0
UD
8468 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8469 open_by_handle): Add.
8470 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8471 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8472 Augment a few comments.
8473 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8474 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8475 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8476 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8477 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8478 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8479 open_by_handle.
8480
46998f74
UD
8481 * io/fcntl.h (AT_EMPTY_PATH): Define.
8482
83fe108b
UD
84832011-03-30 Ulrich Drepper <drepper@gmail.com>
8484
8485 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8486 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8487 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8488 to...
8489 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
8490 * Versions.def: Add GLIBC_2.14.
8491 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8492 Export.
83fe108b 8493
bb242059
UD
84942011-03-22 Ulrich Drepper <drepper@gmail.com>
8495
8496 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8497 round counter.
8498 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8499
c97a1282
L
85002011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8501
8502 [BZ #12597]
8503 * string/test-strncmp.c (do_page_test): New function.
8504 (check2): Likewise.
8505 (test_main): Call check2.
8506 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8507
2a115601
UD
85082011-03-20 Ulrich Drepper <drepper@gmail.com>
8509
8510 [BZ #12587]
8511 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8512 Handle cache information in CPU leaf 4.
8513 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8514
8126d904
UD
85152011-03-18 Ulrich Drepper <drepper@gmail.com>
8516
042c49c6 8517 [BZ #12583]
8126d904
UD
8518 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8519 character representation.
8520 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8521
ccfe366e
RA
85222011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8523
8524 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8525 END(__isnan) to END(__isnanf) to match function entry point/label
8526 EALIGN(__isnanf,...).
8527
c6e13027
JJ
85282011-03-10 Jakub Jelinek <jakub@redhat.com>
8529
8530 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8531
33f85a3f
UD
85322011-03-10 Ulrich Drepper <drepper@gmail.com>
8533
028478fa
UD
8534 [BZ #12510]
8535 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8536 copy from the symbol referenced in the relocation to initialize the
8537 used variable.
8538 Patch by Piotr Bury <pbury@goahead.com>.
8539 * elf/Makefile: Add rules to build and tst-unique3.
8540 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8541 * elf/tst-unique3.cc: New file.
8542 * elf/tst-unique3.h: New file.
8543 * elf/tst-unique3lib.cc: New file.
8544 * elf/tst-unique3lib2.cc: New file.
8545
33f85a3f
UD
8546 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8547
03592fc7
MF
85482011-03-10 Mike Frysinger <vapier@gentoo.org>
8549
8550 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8551 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8552 to _start.
03592fc7 8553
6a5ee102
UD
85542011-03-06 Ulrich Drepper <drepper@gmail.com>
8555
8556 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8557 to-be-loaded object along a path to loader is ld.so.
8558
7e4ba49c
HJ
85592011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8560 Ulrich Drepper <drepper@gmail.com>
8561
8562 * sysdeps/x86_64/memset.S: After aligning destination, code
8563 branches to different locations depending on the value of
8564 misalignment, when multiarch is enabled. Fix this.
8565
85662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8567
8568 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8569 Set _x86_64_preferred_memory_instruction for AMD processsors.
8570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8571 Set bit_Prefer_SSE_for_memop for AMD processors.
8572
13a804de
UD
85732011-03-04 Ulrich Drepper <drepper@gmail.com>
8574
8575 * libio/fmemopen.c (fmemopen): Optimize a bit.
8576
9d25c392
AS
85772011-03-03 Andreas Schwab <schwab@redhat.com>
8578
8579 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8580
a5543c6a
RM
85812011-03-03 Roland McGrath <roland@redhat.com>
8582
8583 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8584
012d35f7
DM
85852011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8586
7e4ba49c 8587 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
8588 __bzero_ultra1 instead of __memset_ultra1.
8589
4bff6e01
AS
85902011-02-23 Andreas Schwab <schwab@redhat.com>
8591 Ulrich Drepper <drepper@gmail.com>
8592
8593 [BZ #12509]
8594 * include/link.h (struct link_map): Add l_orig_initfini.
8595 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8596 returning unsuccessfully.
8597 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8598 close of a file loaded at startup, restore the original l_initfini
8599 list.
8600 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8601 list, store the pointer.
8602 * elf/Makefile ($(objpfx)noload-mem): New rule.
8603 (noload-ENV): Define.
8604 (tests): Add $(objpfx)noload-mem.
8605 * elf/noload.c: Include <memcheck.h>.
8606 (main): Call mtrace. Close all opened handles.
8607
f2092faf
AS
86082011-02-17 Andreas Schwab <schwab@redhat.com>
8609
8610 [BZ #12454]
8611 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8612 dependencies are missing.
8613
6c8a2e88
ST
86142011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8615
f2092faf 8616 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
8617 Hurd needs munmap.
8618 * sysdeps/mach/hurd/ifreq.h: New file.
8619
84a42118
PB
86202011-01-27 Petr Baudis <pasky@suse.cz>
8621 Ulrich Drepper <drepper@gmail.com>
8622
071f805e 8623 [BZ 12445]#
84a42118
PB
8624 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8625 to extend_alloca().
8626 * stdio-common/bug23.c: New file.
8627 * stdio-common/Makefile (tests): Add bug23.
8628
e23fe25b
AS
86292010-09-28 Andreas Schwab <schwab@redhat.com>
8630 Ulrich Drepper <drepper@gmail.com>
8631
8632 [BZ #12489]
8633 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8634 before performing relro protection. At old place add assertion
8635 to make sure nothing changed.
8636
d3f02e10
NS
86372011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8638 Glauber de Oliveira Costa <glommer@gmail.com>
8639
8640 * elf/elf.h: Add new ARM TLS relocs.
8641
d55fd7a5
RA
86422011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8643
8644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8645 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8646 cast from r3.
8647 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8648 'tests' variable.
8649 * sysdeps/wordsize-64/tst-writev.c: New file.
8650
2206397e
RA
86512011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8652
8653 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8654 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8655 insns in _dl_start to prevent a TOC reference before relocs are
8656 resolved.
8657
e9433893
UD
86582011-02-15 Ulrich Drepper <drepper@gmail.com>
8659
8660 [BZ #12469]
8661 * Makeconfig: Remove RANLIB definition.
8662 * Makerules: Don't use RANLIB.
8663 * aclocal.m4: Remove ranlib test.
8664 * configure.in: No need to check for ranlib.
8665 * elf/rtld-Rules: Don't use RANLIB.
8666
f75286c6
ST
86672011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8668
8e31c82d
ST
8669 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8670 protection macro.
8671 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8672 inclusion protection macro.
8673
f75286c6
ST
8674 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8675 SIGRTMIN and SIGRTMAX and print information in that case only when
8676 SIGRTMIN is defined.
8677
c1d0e639
JJ
86782011-02-11 Jakub Jelinek <jakub@redhat.com>
8679
8680 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8681 arginfo fn returning -1.
8682
8683 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8684 and thousands string is zero terminated.
8685
edf9294e
AS
86862011-02-03 Andreas Schwab <schwab@redhat.com>
8687
8688 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8689 sysdeps/unix/sysv/linux/bits/socket.h.
8690
2b7e92df
ST
86912011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8692
edf9294e
AS
8693 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8694 (__CPU_COUNT): Remove old macros.
8695 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8696 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8697 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
8698 (__sched_cpualloc, __sched_cpufree): Add declarations.
8699
a4c7ea7b
UD
87002011-02-05 Ulrich Drepper <drepper@gmail.com>
8701
8702 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8703 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8704 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8705 (readdhstai): Return value of addhstaiX call.
8706 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8707 (addgrbyX): Return value returned by cache_addgr.
8708 (readdgrbyname): Return value returned by addgrbyX.
8709 (readdgrbygid): Likewise.
8710 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8711 (addpwbyX): Return value returned by cache_addpw.
8712 (readdpwbyname): Return value returned by addhstbyX.
8713 (readdpwbyuid): Likewise.
8714 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8715 (addservbyX): Return value returned by cache_addserv.
8716 (readdservbyname): Return value returned by addservbyX:
8717 (readdservbyport): Likewise.
8718 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8719 (addhstbyX): Return value returned by cache_addhst.
8720 (readdhstbyname): Return value returned by addhstbyX.
8721 (readdhstbyaddr): Likewise.
8722 (readdhstbynamev6): Likewise.
8723 (readdhstbyaddrv6): Likewise.
8724 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8725 (readdinitgroups): Return value returned by addinitgroupsX.
8726 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8727 (prune_cache): Keep track of timeout value of re-added entries.
8728 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8729 * nscd/nscd.h: Adjust prototypes of readd* functions.
8730
a0bf67cc
RM
87312011-02-04 Roland McGrath <roland@redhat.com>
8732
8733 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8734 (nis_stats): Likewise.
8735 * nis/nis_modify.c (nis_modify): Likewise.
8736 * nis/nis_remove.c (nis_remove): Likewise.
8737 * nis/nis_add.c (nis_add): Likewise.
8738
8739 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8740
8741 * posix/fnmatch_loop.c: Add some consts.
8742
8743 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8744
435b95eb
L
87452011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8746
8747 [BZ #12460]
8748 * config.make.in (config-cflags-novzeroupper): Define.
8749 * configure.in: Substitute libc_cv_cc_novzeroupper.
8750 * elf/Makefile (AVX-CFLAGS): Define.
8751 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8752 (CFLAGS-tst-auditmod4a.c): Likewise.
8753 (CFLAGS-tst-auditmod4b.c): Likewise.
8754 (CFLAGS-tst-auditmod6b.c): Likewise.
8755 (CFLAGS-tst-auditmod6c.c): Likewise.
8756 (CFLAGS-tst-auditmod7b.c): Likewise.
8757 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8758
8517b15e
UD
87592011-02-02 Ulrich Drepper <drepper@gmail.com>
8760
8761 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8762 function to the callback.
8763 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8764
10a656fe
AS
87652011-02-02 Andreas Schwab <schwab@redhat.com>
8766
8767 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8768 of errno.
8769
968dad0a
UD
87702011-01-19 Ulrich Drepper <drepper@gmail.com>
8771
9f94d2ea 8772 [BZ #11724]
968dad0a
UD
8773 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8774 of constructors.
8775 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8776 of destructors.
8777 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8778
8779 [BZ #11724]
8780 * elf/Makefile: Add rules to build and run new test.
8781 * elf/tst-initorder.c: New file.
8782 * elf/tst-initorder.exp: New file.
8783 * elf/tst-initordera1.c: New file.
8784 * elf/tst-initordera2.c: New file.
8785 * elf/tst-initordera3.c: New file.
8786 * elf/tst-initordera4.c: New file.
8787 * elf/tst-initorderb1.c: New file.
8788 * elf/tst-initorderb2.c: New file.
8789 * elf/tst-order-a1.c: New file.
8790 * elf/tst-order-a2.c: New file.
8791 * elf/tst-order-a3.c: New file.
8792 * elf/tst-order-a4.c: New file.
8793 * elf/tst-order-b1.c: New file.
8794 * elf/tst-order-b2.c: New file.
8795 * elf/tst-order-main.c: New file.
8796 New test case by George Gensure <werkt0@gmail.com>.
8797
86e92359
UD
87982010-10-01 Andreas Schwab <schwab@redhat.com>
8799
8800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8801 decoding ACE if AI_CANONIDN.
8802
5d5732b0
UD
88032011-01-18 Ulrich Drepper <drepper@gmail.com>
8804
8805 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8806
a77e8cbc
UD
88072011-01-17 Ulrich Drepper <drepper@gmail.com>
8808
6392473f
UD
8809 * version.h (RELEASE): Bump for 2.13 release.
8810 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8811
620a0529
UD
8812 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8813
18ba70a5
UD
8814 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8815 MADV_NOHUGEPAGE.
32465c3e
UD
8816 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8817 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8818 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8819 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8820 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8821 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8822
c0dafcf1
UD
8823 * posix/getconf.c: Update copyright year.
8824 * catgets/gencat.c: Likewise.
8825 * csu/version.c: Likewise.
8826 * debug/catchsegv.sh: Likewise.
8827 * debug/xtrace.sh: Likewise.
8828 * elf/ldconfig.c: Likewise.
8829 * elf/ldd.bash.in: Likewise.
8830 * elf/sprof.c (print_version): Likewise.
8831 * iconv/iconv_prog.c: Likewise.
8832 * iconv/iconvconfig.c: Likewise.
8833 * locale/programs/locale.c: Likewise.
8834 * locale/programs/localedef.c: Likewise.
8835 * malloc/memusage.sh: Likewise.
8836 * malloc/mtrace.pl: Likewise.
8837 * nscd/nscd.c (print_version): Likewise.
8838 * nss/getent.c: Likewise.
8839
a77e8cbc
UD
8840 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8841 PF_CAIF, and PF_ALG.
8842 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8843
77e8bddf
AS
88442011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8845
1f20b93a
AS
8846 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8847 (modules-names): Use them.
8848 (ifunc-test-modules, ifunc-pie-tests): Define.
8849 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8850 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8851 (test-extras): Likewise.
8852 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8853 $(compile-command.c).
8854 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8855 (all-built-dso): Define.
8856 (check-textrel.out, check-execstack.out): Depend on it.
8857
77e8bddf
AS
8858 * configure.in: Don't override --enable-multi-arch.
8859
bc425b33
UD
88602011-01-15 Ulrich Drepper <drepper@gmail.com>
8861
8862 [BZ #6812]
8863 * nscd/hstcache.c (tryagain): Define.
8864 (cache_addhst): Return tryagain not notfound for temporary errors.
8865 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8866 failed.
8867
794c3ad3
UD
88682011-01-14 Ulrich Drepper <drepper@gmail.com>
8869
70181fdd
UD
8870 [BZ #10563]
8871 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8872 to make the syscall.
8873 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8874
794c3ad3
UD
8875 [BZ #12378]
8876 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8877 and fall back to matching as normal character if the string ends before
8878 the matching ']' is found. This is what POSIX requires.
8879 * posix/testfnm.c: Adjust test result.
8880 * posix/globtest.sh: Adjust test result. Add new test.
8881 * posix/tst-fnmatch.input: Likewise.
8882 * posix/tst-fnmatch2.c: Add new test.
8883
68dc9497
AS
88842010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8885
8886 * elf/Makefile (check-execstack): Revert last change. Depend on
8887 check-execstack.h.
8888 (check-execstack.h): New target.
8889 (generated): Add check-execstack.h.
8890 * elf/check-execstack.c: Include "check-execstack.h".
8891 (main): Revert last change.
8892 (handle_file): Return zero if GNU_STACK is absent and
8893 DEFAULT_STACK_PERMS doesn't include PF_X.
8894
451f001b
UD
88952011-01-13 Ulrich Drepper <drepper@gmail.com>
8896
cfa28e56
UD
8897 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8898 in child fails because the descriptor is already closed.
8cf8ce17
UD
8899 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8900 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8901 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 8902
1086d70d
UD
8903 [BZ #12397]
8904 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8905 syscall.
8906
451f001b
UD
8907 [BZ #10484]
8908 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8909 temporary buffer used to handle multi lookups locally.
a85b5cb4 8910 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 8911
08769175
UD
89122011-01-12 Ulrich Drepper <drepper@gmail.com>
8913
8914 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8915 loader is ld.so.
8916
5e49c52e
UD
89172011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8918
8919 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8920 alignment for SSE2.
8921
60522a5f
UD
89222011-01-12 Ulrich Drepper <drepper@gmail.com>
8923
8924 [BZ #12394]
8925 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8926 characters. When rounding increased number of integer digits recompute
8927 number of groups.
8928 * stdio-common/tst-grouping.c: New file.
8929 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8930
f257bbd7
UD
89312011-01-09 Ulrich Drepper <drepper@gmail.com>
8932
8933 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8934 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8935
8936 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8937 void.
8938 * bits/select.h: Likewise.
8939
fa9c15cb
UD
89402011-01-08 Ulrich Drepper <drepper@gmail.com>
8941
8942 * po/ja.po: Update from translation team.
8943
16c2895f
DM
89442011-01-04 David S. Miller <davem@sunset.davemloft.net>
8945
8946 [BZ #11155]
8947 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8948 implementation just like for lxstat, fxstatat, et al.
8949
2543fef2
JM
89502010-12-27 Jim Meyering <meyering@redhat.com>
8951
8952 [BZ #12348]
8953 * posix/regexec.c (build_trtable): Return failure indication upon
8954 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8955
98727dbe
UD
89562010-12-25 Ulrich Drepper <drepper@gmail.com>
8957
5bd6dc5c
UD
8958 [BZ #12201]
8959 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8960 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8961 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8962 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8963
97983464
UD
8964 [BZ #12207]
8965 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8966
98727dbe
UD
8967 [BZ #12204]
8968 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8969 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8970
4a531bb0
L
89712010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8972
8973 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8974 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8975 script has SORT_BY_INIT_PRIORITY.
8976 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8977 NO_CTORS_DTORS_SECTIONS is defined.
8978 * elf/soinit.c: Likewise.
8979 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8980 NO_CTORS_DTORS_SECTIONS is defined.
8981 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8982 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8983 * sysdeps/sh/init-first.c: Likewise.
8984 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8985
07eb4b71
UD
89862010-12-24 Ulrich Drepper <drepper@gmail.com>
8987
8988 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8989 always use the slow path.
8990
30950a5f
RA
89912010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8992
8993 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8994 similar rule which adds the sysdep directories to the header search in
8995 order to pick up the correct platform stackinfo.h.
8996 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8997 perform test if it is, otherwise return successfully without testing.
8998 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8999 DEFAULT_STACK_PERMS define in stackinfo.h.
9000 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9001 defined in stackinfo.h.
9002 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9003 DEFAULT_STACK_PERMS defined in stackinfo.h.
9004 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9005 * sysdeps/ia64/stackinfo.h: Likewise.
9006 * sysdeps/s390/stackinfo.h: Likewise.
9007 * sysdeps/sh/stackinfo.h: Likewise.
9008 * sysdeps/sparc/stackinfo.h: Likewise.
9009 * sysdeps/x86_64/stackinfo.h: Likewise.
9010 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9011 PF_X for powerpc64. Retain PF_X for powerpc32.
9012
db753e2c
UD
90132010-12-19 Ulrich Drepper <drepper@gmail.com>
9014
14b697f7
UD
9015 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9016 accurately.
db753e2c
UD
9017 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9018 GETDENTS_64BIT_ALIGNED.
9019
28300719
UD
90202010-12-14 Ulrich Drepper <dreper@gmail.com>
9021
14b697f7 9022 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9023
4f197237
AS
90242010-12-10 Andreas Schwab <schwab@redhat.com>
9025
dbb0472f
AS
9026 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9027 _GNU_SOURCE.
9028
4f197237
AS
9029 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9030 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9031 Remove __restrict.
9032 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9033 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9034
fb88ac72
UD
90352010-12-09 Ulrich Drepper <drepper@gmail.com>
9036
9037 [BZ #11655]
9038 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9039 are initialized.
9040
42acbb92
JJ
90412010-12-09 Jakub Jelinek <jakub@redhat.com>
9042
9043 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9044
c038d98d
UD
90452010-12-03 Ulrich Drepper <drepper@gmail.com>
9046
9047 * po/it.po: Update from translation team.
9048
3a4a2499
L
90492010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9050
9051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9052 unused codes.
9053
1e24cf6e
UD
90542010-11-30 Ulrich Drepper <drepper@gmail.com>
9055
9056 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9057
a7690819
AS
90582010-11-24 Andreas Schwab <schwab@redhat.com>
9059
9060 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9061 specially.
9062 (gaih_getanswer_slice): Likewise.
9063
3bf8d1b1
JJ
90642010-10-20 Jakub Jelinek <jakub@redhat.com>
9065
9066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9067
6db52fbb
PB
90682010-05-31 Petr Baudis <pasky@suse.cz>
9069
9070 [BZ #11149]
9071 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9072 silently even in the chroot mode.
9073
eaca7569
UD
90742010-11-22 Ulrich Drepper <drepper@gmail.com>
9075
9076 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9077 last patch a bit. Pretty printing
9078
3056dcdb
UD
90792010-05-31 Petr Baudis <pasky@suse.cz>
9080
9081 [BZ #10085]
9082 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9083 initialization of skip_initgroups_dyn.
9084
cf7c9078
UD
90852010-11-19 Ulrich Drepper <drepper@gmail.com>
9086
9087 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9088 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9089
a1fb5e3e
UD
90902010-11-16 Ulrich Drepper <drepper@gmail.com>
9091
9092 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9093
3540d66b
AS
90942010-11-11 Andreas Schwab <schwab@redhat.com>
9095
9096 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9097 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9098 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9099 ($(objpfx)tst-fnmatch-mem): New rule.
9100 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9101 * posix/tst-fnmatch.c (main): Call mtrace.
9102
13b69574
L
91032010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9104
9105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9106 Support Intel processor model 6 and model 0x2c.
9107
da93d214
LM
91082010-11-10 Luis Machado <luisgpm@br.ibm.com>
9109
9110 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9111 signed comparison.
9112
8ca52c6e
L
91132010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9114
9115 [BZ #12205]
9116 * string/test-strncasecmp.c (check_result): New function.
9117 (do_one_test): Use it.
9118 (check1): New function.
9119 (test_main): Use it.
9120 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9121 Support strcasecmp and strncasecmp.
9122
69da074d
UD
91232010-11-08 Ulrich Drepper <drepper@gmail.com>
9124
9125 [BZ #12194]
9126 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9127 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9128
ff02d528
L
91292010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9130
9131 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9132 IFUNC support.
9133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9134 memset-x86-64.
9135 * sysdeps/x86_64/multiarch/bzero.S: New file.
9136 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9137 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9138 * sysdeps/x86_64/multiarch/memset.S: New file.
9139 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9141 Set bit_Prefer_SSE_for_memop for Intel processors.
9142 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9143 Define.
9144 (index_Prefer_SSE_for_memop): Define.
9145 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9146
344d0b54
LM
91472010-11-04 Luis Machado <luisgpm@br.ibm.com>
9148
9149 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9150 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9151
c0dde15b
UD
91522010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9153
9154 [BZ #12191]
9155 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9156 (__x86_64_raw_data_cache_size_half): Likewise.
9157 (__x86_64_raw_shared_cache_size): Likewise.
9158 (__x86_64_raw_shared_cache_size_half): Likewise.
9159
9160 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9161 (__x86_64_raw_data_cache_size_half): Likewise.
9162 (__x86_64_raw_shared_cache_size): Likewise.
9163 (__x86_64_raw_shared_cache_size_half): Likewise.
9164 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9165 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9166 and __x86_64_raw_shared_cache_size_half. Round
9167 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9168 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9169 to multiple of 256 bytes.
9170
0e516e0e
MS
91712010-11-03 Ulrich Drepper <drepper@gmail.com>
9172
9173 [BZ #12167]
9174 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9175 of inacessible symlinks. Verify result of symlink before returning it.
9176 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9177 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9178
0e012e87
ER
91792010-10-28 Erich Ritz <erichritz@gmail.com>
9180
9181 * math/math.h (isinf): Fix typo in comment.
9182
de0ff7bc
UD
91832010-11-01 Ulrich Drepper <drepper@gmail.com>
9184
9185 * po/da.po: Update from translation team.
9186
fa41c84d
UD
91872010-10-26 Ulrich Drepper <drepper@gmail.com>
9188
9189 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9190 is added to the list.
9191
f0967738
AK
91922010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9193 Ulrich Drepper <drepper@gmail.com>
9194
9195 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9196 the global list here. Move code to...
9197 (_dl_add_to_namespace_list): ...here. New function.
9198 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9199 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9200 * elf/dl-load.c (lose): Don't remove the element from the list.
9201 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9202 (_dl_map_object): Likewise.
9203
92042010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9205
9206 [BZ #12159]
9207 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9208 into all bytes of SSE register.
9209 Patch by Richard Li <richardpku@gmail.com>.
9210
f0967738 92112010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9212
9213 [BZ #12140]
9214 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9215 perturbing.
9216
d0b9e94f
MB
92172010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9218
9219 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9220 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9221 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9222 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9224 submachine.
9225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9226
8e9f92e9
AS
92272010-10-22 Andreas Schwab <schwab@redhat.com>
9228
9229 * include/dlfcn.h (__RTLD_SECURE): Define.
9230 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9231 mode & __RTLD_SECURE instead.
9232 (open_path): Rename preloaded parameter to secure.
9233 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9234 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9235 * elf/dl-deps.c (openaux): Likewise.
9236 * elf/rtld.c (struct map_args): Remove is_preloaded.
9237 (map_doit): Don't use it.
9238 (dl_main): Likewise.
9239 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9240 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9241
bc96fbda
AS
92422010-09-09 Andreas Schwab <schwab@redhat.com>
9243
9244 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9245 (sysd-rules-targets): Remove duplicates.
9246 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9247 rtld-%.$o dependency.
9248
22cd1c9b
AS
92492010-10-18 Andreas Schwab <schwab@redhat.com>
9250
9251 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9252 _dl_map_object do it.
9253
18edac48
UD
92542010-10-19 Ulrich Drepper <drepper@gmail.com>
9255
9256 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9257 fast fma builtins, define the macros in the C99 standard.
9258 (FP_FAST_FMAF): Likewise.
9259 (FP_FAST_FMAL): Likewise.
9260 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9261
9262 * bits/mathdef.h: Update copyright year.
9263 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9264
d2050124
MM
92652010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9266
9267 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9268 builtins, define the macros in the C99 standard.
9269 (FP_FAST_FMAF): Likewise.
9270 (FP_FAST_FMAL): Likewise.
9271 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9272 multiply/add.
9273 (FP_FAST_FMAF): Likewise.
9274
475facd1
JJ
92752010-10-15 Jakub Jelinek <jakub@redhat.com>
9276
9277 [BZ #3268]
9278 * math/libm-test.inc (fma_test): Some new testcases.
9279 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9280 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9281 y and infinite z. Do multiplication by C already in long double.
9282 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9284 y and infinite z. Do bitwise or of inexact bit into u.d.
9285 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9286 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9287 * sysdeps/i386/fpu/s_fma.S: Removed.
9288 * sysdeps/i386/fpu/s_fmal.S: Removed.
9289
7c08a05c
JJ
92902010-10-16 Jakub Jelinek <jakub@redhat.com>
9291
9292 [BZ #3268]
9293 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9294 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9295 computation is not scheduled after fetestexcept. Fix value
9296 of minimum denormal long double.
9297
f3f7372d
JJ
92982010-10-14 Jakub Jelinek <jakub@redhat.com>
9299
9300 [BZ #3268]
9301 * math/libm-test.inc (fma_test): Add some more tests.
9302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9303 correctly.
9304
14d43591
AS
93052010-10-15 Andreas Schwab <schwab@redhat.com>
9306
9307 * scripts/data/localplt-s390-linux-gnu.data: New file.
9308 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9309
5e908464
JJ
93102010-10-13 Jakub Jelinek <jakub@redhat.com>
9311
9312 [BZ #3268]
9313 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9314 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9315 instead of dbl-64.
9316 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9317 inlines.
9318 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9320 if one of x and y is very large and the other is subnormal.
9321 * sysdeps/s390/fpu/s_fmaf.c: New file.
9322 * sysdeps/s390/fpu/s_fma.c: New file.
9323 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9324 * sysdeps/powerpc/fpu/s_fma.S: New file.
9325 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9326 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9327 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9328
93292010-10-12 Jakub Jelinek <jakub@redhat.com>
9330
9331 [BZ #3268]
9332 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9333 fma tests.
9334 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9335 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9336 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9337 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9338 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9339 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9340 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9341
b833d51f
UD
93422010-10-12 Ulrich Drepper <drepper@redhat.com>
9343
9344 [BZ #12078]
9345 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9346 * posix/bug-regex31.input: Add test case.
9347
1751705d
UD
93482010-10-11 Ulrich Drepper <drepper@gmail.com>
9349
e9b9cbf5
UD
9350 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9351 * posix/bug-regex31.input: New file.
9352
9353 [BZ #12078]
9354 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9355 (parse_sub_exp): Fix last change, use postorder.
9356
ef06edbe
UD
9357 * posix/bug-regex31.c: New file.
9358 * posix/Makefile: Add rules to build and run bug-regex31.
9359
a129c80d
UD
9360 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9361
9362 [BZ #12078]
9363 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9364
b76b818e
UD
9365 [BZ #12108]
9366 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9367 to have entries in sys_siglist.
9368
1751705d
UD
9369 [BZ #12093]
9370 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9371 be NULL.
9372
9ff8d36f
JJ
93732010-10-07 Jakub Jelinek <jakub@redhat.com>
9374
9375 [BZ #3268]
9376 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9377 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9378 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9379 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9380 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9381 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9382 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9383 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9384 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9385 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9386 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9387 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9388 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9389 * math/ftestexcept.c (fetestexcept): Likewise.
9390 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9391 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9392 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9393 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9394 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9395 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9396 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9397
af325969
UD
93982010-10-11 Ulrich Drepper <drepper@gmail.com>
9399
c579b202 9400 [BZ #12107]
af325969
UD
9401 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9402 newline.
9403
67a67b95
UD
94042010-10-06 Ulrich Drepper <drepper@gmail.com>
9405
9406 * string/bug-strstr1.c: New file.
9407 * string/Makefile: Add rules to build and run bug-strstr1.
9408
5fb308bc
EB
94092010-10-05 Eric Blake <eblake@redhat.com>
9410
9411 [BZ #12092]
9412 * string/str-two-way.h (two_way_long_needle): Always clear memory
9413 when skipping input due to the shift table.
9414
45db99c7
UD
94152010-10-03 Ulrich Drepper <drepper@gmail.com>
9416
3b111893
UD
9417 [BZ #12005]
9418 * malloc/mcheck.c: Handle large requests.
9419
45db99c7
UD
9420 [BZ #12077]
9421 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9422 for strncmp and strncasecmp.
9423 * string/stratcliff.c: Add tests for strcmp and strncmp.
9424 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9425
cf7a1eb8
NI
94262010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9427
9428 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9429 __set_fpscr.
9430
6484ba5e
AJ
94312010-09-30 Andreas Jaeger <aj@suse.de>
9432
9433 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9434 (CGROUP_SUPER_MAGIC): Define.
9435 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9436 Handle btrfs and cgroup file systems.
9437 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9438 Likewise.
9439
91c42559
LM
94402010-09-27 Luis Machado <luisgpm@br.ibm.com>
9441
9442 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9443 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9444
87a97932
AK
94452010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9446
9447 [BZ #12067]
9448 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9449 trying to locate the ELF header.
9450
c21cc9bc
AS
94512010-09-27 Andreas Schwab <schwab@redhat.com>
9452
9453 [BZ #11611]
9454 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9455 Mask out sign-bit copies when constructing f_fsid.
9456
315970f6
PB
94572010-09-24 Petr Baudis <pasky@suse.cz>
9458
9459 * debug/stack_chk_fail_local.c: Add missing licence exception.
9460 * debug/warning-nop.c: Likewise.
9461
1ac7a2c7
JM
94622010-09-15 Joseph Myers <joseph@codesourcery.com>
9463
9464 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9465 implementing getdents64 using getdents syscall, set d_type if
9466 __ASSUME_GETDENTS32_D_TYPE.
9467
56801c50
AS
94682010-09-16 Andreas Schwab <schwab@redhat.com>
9469
9470 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9471 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9472
dda51327
UD
94732010-09-21 Ulrich Drepper <drepper@redhat.com>
9474
9475 [BZ #12037]
9476 * posix/unistd.h: Undo change of feature selection for ftruncate from
9477 2010-01-11.
9478
8ffcee4a
UD
94792010-09-20 Ulrich Drepper <drepper@redhat.com>
9480
a545ecd9 9481 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
9482 detection.
9483
e24f0a8b
AS
94842010-09-20 Andreas Schwab <schwab@redhat.com>
9485
9486 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9487 fanotify_mark.
9488 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9489
7291c56f
AS
94902010-09-14 Andreas Schwab <schwab@redhat.com>
9491
9492 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9493 variables after CHECK_SP call.
9494 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9495
bc5fb037
AS
94962010-09-13 Andreas Schwab <schwab@redhat.com>
9497 Ulrich Drepper <drepper@redhat.com>
9498
9499 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9500 re-relocationg ld.so.
9501 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9502 _dl_init_paths call.
9503 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9504 here anymore.
9505
e66e7419
UD
95062010-09-14 Ulrich Drepper <drepper@redhat.com>
9507
9508 * resolv/res_init.c (__res_vinit): Count the default server we added.
9509
c044aa75
CLT
95102010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9511 Ulrich Drepper <drepper@redhat.com>
9512
9513 [BZ #11968]
9514 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9515 (____longjmp_chk): Use %ebx for saving value across system call.
9516 Add unwind info.
9517
32cf4069
AS
95182010-09-06 Andreas Schwab <schwab@redhat.com>
9519
9520 * manual/Makefile: Don't mix pattern rules with normal rules.
9521
817328ee
AS
95222010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9523
9524 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9525 operation.
9526 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9527 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9528 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9529 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9530 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9531 Likewise.
9532
29fddf61
UD
95332010-09-04 Ulrich Drepper <drepper@redhat.com>
9534
9535 [BZ #11979]
9536 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9537 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9538
0959ffc9
UD
95392010-09-02 Ulrich Drepper <drepper@redhat.com>
9540
9541 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9542 * sysdeps/x86_64/addmul_1.S: Likewise.
9543 * sysdeps/x86_64/lshift.S: Likewise.
9544 * sysdeps/x86_64/mul_1.S: Likewise.
9545 * sysdeps/x86_64/rshift.S: Likewise.
9546 * sysdeps/x86_64/sub_n.S: Likewise.
9547 * sysdeps/x86_64/submul_1.S: Likewise.
9548
ece29840
ST
95492010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9550
0959ffc9
UD
9551 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9552 Define __sched_param instead of SCHED_* and sched_param when
ece29840 9553 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 9554 * bits/sched.h [__need_schedparam]
ece29840 9555 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
9556 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9557 (__defined_schedparam): Define to 1.
ece29840
ST
9558 (__sched_param): New structure, identical to sched_param.
9559 (__need_schedparam): Undefine.
9560
e53a31fe
MF
95612010-08-31 Mike Frysinger <vapier@gentoo.org>
9562
fdc0c10d
MF
9563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9564 (epoll_create1): Declare.
9565
e53a31fe
MF
9566 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9567
a726d796
AS
95682010-08-31 Andreas Schwab <schwab@redhat.com>
9569
9570 [BZ #7066]
9571 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9572 shifting retval into place.
9573
2f3e3dc7
UD
95742010-09-01 Ulrich Drepper <drepper@redhat.com>
9575
f2933da9
UD
9576 * nis/rpcsvc/nis.h: Update copyright notice.
9577 * nis/rpcsvc/nis.x: Likewise.
9578 * nis/rpcsvc/nis_callback.h: Likewise.
9579 * nis/rpcsvc/nis_callback.x: Likewise.
9580 * nis/rpcsvc/nis_object.x: Likewise.
9581 * nis/rpcsvc/nis_tags.h: Likewise.
9582 * nis/rpcsvc/yp.h: Likewise.
9583 * nis/rpcsvc/yp.x: Likewise.
9584 * nis/rpcsvc/ypupd.h: Likewise.
9585 * nis/yp_xdr.c: Likewise.
9586 * nis/ypupdate_xdr.c: Likewise.
9587
2f3e3dc7
UD
9588 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9589 mainly the body of pmap_getport. Add parameters to specify timeouts.
9590 (pmap_getport): Use __libc_rpc_getport.
9591 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9592 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9593 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9594
f3dcc2f9
AS
95952010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9596
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9598 fanotify_mark.
9599
6d34eb5b
RM
96002010-08-27 Roland McGrath <roland@redhat.com>
9601
9602 * sysdeps/i386/i686/multiarch/Makefile
9603 (CFLAGS-varshift.c): New variable.
9604
9ea3de11
UD
96052010-08-27 Ulrich Drepper <drepper@redhat.com>
9606
c96d23fc
UD
9607 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9608 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9609
9ea3de11
UD
9610 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9611
9612 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9613
623aac7f
L
96142010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9615
9616 * sysdeps/x86_64/strlen.S: Unroll the loop.
9617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9618 strlen-sse2 strlen-sse2-bsf.
9619 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9620 __strlen_no_bsf if bit_Slow_BSF is set.
9621 (__strlen_sse42): Removed.
9622 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9623 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9624
8b2b7715
RM
96252010-08-25 Roland McGrath <roland@redhat.com>
9626
9627 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9628 * sysdeps/x86_64/multiarch/varshift.c: New file.
9629 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9630 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9631 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9632 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9633
e73015f2
L
96342010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9635
9636 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9637 strlen-sse2 strlen-sse2-bsf.
9638 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9639 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9640 (__strlen_sse2): Removed.
9641 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9642 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9644 bit_Slow_BSF for Atom.
9645 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9646 (index_Slow_BSF): Define.
9647 (HAS_SLOW_BSF): Define.
9648
df24a73e
UD
96492010-08-25 Ulrich Drepper <drepper@redhat.com>
9650
9651 [BZ #10851]
9652 * resolv/res_init.c (__res_vinit): When no server address at all
9653 is given default to loopback.
9654
f2ac4868
RM
96552010-08-24 Roland McGrath <roland@redhat.com>
9656
09055553
RM
9657 * configure.in: Remove config-name.h generation.
9658 * configure: Regenerated.
9659 * config-name.in: File removed.
9660 * scripts/config-uname.sh: New file.
9661 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9662 ($(objdir)config-name.h): New target.
9663
f2ac4868
RM
9664 * sunrpc/rpc_parse.h: Avoid nested comment.
9665
73f27d5e
RH
96662010-08-24 Richard Henderson <rth@redhat.com>
9667 Ulrich Drepper <drepper@redhat.com>
9668 H.J. Lu <hongjiu.lu@intel.com>
9669
9670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9672 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9673 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9674 _mm_alignr_epi8 with _mm_loadu_si128.
9675 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9676 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9677 (__m128i_shift_right): Removed.
9678 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9679 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9680 * sysdeps/x86_64/multiarch/varshift.h: New file.
9681 * sysdeps/x86_64/multiarch/varshift.S: New file.
9682
84b9230c
MF
96832010-08-21 Mike Frysinger <vapier@gentoo.org>
9684
9685 * configure.in: Move assembler checks to before sysdep dir checking.
9686
9bbd0ddc
PB
96872010-08-20 Petr Baudis <pasky@suse.cz>
9688
9689 * LICENSES: Sync the sunrpc license.
9690
9da4bb31
UD
96912010-08-19 Ulrich Drepper <drepper@redhat.com>
9692
a7ab6ec8
UD
9693 * sunrpc/auth_des.c: Update copyright notice once again.
9694 * sunrpc/auth_none.c: Likewise.
9695 * sunrpc/auth_unix.c: Likewise.
9696 * sunrpc/authdes_prot.c: Likewise.
9697 * sunrpc/authuxprot.c: Likewise.
9698 * sunrpc/bindrsvprt.c: Likewise.
9699 * sunrpc/clnt_gen.c: Likewise.
9700 * sunrpc/clnt_perr.c: Likewise.
9701 * sunrpc/clnt_raw.c: Likewise.
9702 * sunrpc/clnt_simp.c: Likewise.
9703 * sunrpc/clnt_tcp.c: Likewise.
9704 * sunrpc/clnt_udp.c: Likewise.
9705 * sunrpc/clnt_unix.c: Likewise.
9706 * sunrpc/des_crypt.c: Likewise.
9707 * sunrpc/des_soft.c: Likewise.
9708 * sunrpc/get_myaddr.c: Likewise.
9709 * sunrpc/getrpcport.c: Likewise.
9710 * sunrpc/key_call.c: Likewise.
9711 * sunrpc/key_prot.c: Likewise.
9712 * sunrpc/openchild.c: Likewise.
9713 * sunrpc/pm_getmaps.c: Likewise.
9714 * sunrpc/pm_getport.c: Likewise.
9715 * sunrpc/pmap_clnt.c: Likewise.
9716 * sunrpc/pmap_prot.c: Likewise.
9717 * sunrpc/pmap_prot2.c: Likewise.
9718 * sunrpc/pmap_rmt.c: Likewise.
9719 * sunrpc/rpc/auth.h: Likewise.
9720 * sunrpc/rpc/auth_unix.h: Likewise.
9721 * sunrpc/rpc/clnt.h: Likewise.
9722 * sunrpc/rpc/des_crypt.h: Likewise.
9723 * sunrpc/rpc/key_prot.h: Likewise.
9724 * sunrpc/rpc/netdb.h: Likewise.
9725 * sunrpc/rpc/pmap_clnt.h: Likewise.
9726 * sunrpc/rpc/pmap_prot.h: Likewise.
9727 * sunrpc/rpc/pmap_rmt.h: Likewise.
9728 * sunrpc/rpc/rpc.h: Likewise.
9729 * sunrpc/rpc/rpc_des.h: Likewise.
9730 * sunrpc/rpc/rpc_msg.h: Likewise.
9731 * sunrpc/rpc/svc.h: Likewise.
9732 * sunrpc/rpc/svc_auth.h: Likewise.
9733 * sunrpc/rpc/types.h: Likewise.
9734 * sunrpc/rpc/xdr.h: Likewise.
9735 * sunrpc/rpc_clntout.c: Likewise.
9736 * sunrpc/rpc_cmsg.c: Likewise.
9737 * sunrpc/rpc_common.c: Likewise.
9738 * sunrpc/rpc_cout.c: Likewise.
9739 * sunrpc/rpc_dtable.c: Likewise.
9740 * sunrpc/rpc_hout.c: Likewise.
9741 * sunrpc/rpc_main.c: Likewise.
9742 * sunrpc/rpc_parse.c: Likewise.
9743 * sunrpc/rpc_parse.h: Likewise.
9744 * sunrpc/rpc_prot.c: Likewise.
9745 * sunrpc/rpc_sample.c: Likewise.
9746 * sunrpc/rpc_scan.c: Likewise.
9747 * sunrpc/rpc_scan.h: Likewise.
9748 * sunrpc/rpc_svcout.c: Likewise.
9749 * sunrpc/rpc_tblout.c: Likewise.
9750 * sunrpc/rpc_util.c: Likewise.
9751 * sunrpc/rpc_util.h: Likewise.
9752 * sunrpc/rpcinfo.c: Likewise.
9753 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9754 * sunrpc/rpcsvc/key_prot.x: Likewise.
9755 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9756 * sunrpc/rpcsvc/mount.x: Likewise.
9757 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9758 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9759 * sunrpc/rpcsvc/rex.x: Likewise.
9760 * sunrpc/rpcsvc/rstat.x: Likewise.
9761 * sunrpc/rpcsvc/rusers.x: Likewise.
9762 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9763 * sunrpc/rpcsvc/spray.x: Likewise.
9764 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9765 * sunrpc/rtime.c: Likewise.
9766 * sunrpc/svc.c: Likewise.
9767 * sunrpc/svc_auth.c: Likewise.
9768 * sunrpc/svc_authux.c: Likewise.
9769 * sunrpc/svc_raw.c: Likewise.
9770 * sunrpc/svc_run.c: Likewise.
9771 * sunrpc/svc_simple.c: Likewise.
9772 * sunrpc/svc_tcp.c: Likewise.
9773 * sunrpc/svc_udp.c: Likewise.
9774 * sunrpc/svc_unix.c: Likewise.
9775 * sunrpc/svcauth_des.c: Likewise.
9776 * sunrpc/xcrypt.c: Likewise.
9777 * sunrpc/xdr.c: Likewise.
9778 * sunrpc/xdr_array.c: Likewise.
9779 * sunrpc/xdr_float.c: Likewise.
9780 * sunrpc/xdr_mem.c: Likewise.
9781 * sunrpc/xdr_rec.c: Likewise.
9782 * sunrpc/xdr_ref.c: Likewise.
9783 * sunrpc/xdr_sizeof.c: Likewise.
9784 * sunrpc/xdr_stdio.c: Likewise.
9785
9da4bb31
UD
9786 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9787 handling.
9788
bdaa77bc
AS
97892010-08-19 Andreas Schwab <schwab@redhat.com>
9790
9791 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9792
fe2f79db
LM
97932010-08-19 Luis Machado <luisgpm@br.ibm.com>
9794
9795 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9796 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9797 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9798 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9799 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9800 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9801 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9802 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9803 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9804 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9805 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9806 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9807 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9808 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9809
b9b42ee0
AB
98102010-07-26 Anton Blanchard <anton@samba.org>
9811
9812 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9813 * malloc/arena.c (heap_trim): Likewise.
9814
1c06ba31
UD
98152010-08-16 Ulrich Drepper <drepper@redhat.com>
9816
9817 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9818 here. Not...
9819 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9820 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9821
f8392f40
L
98222010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9823
9824 * sysdeps/i386/elf/Makefile: New file.
9825
3162f12e
AS
98262010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9827
9828 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9829 from fanotify_init.
9830 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9831 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9832
28c90b2c
UD
98332010-08-15 Ulrich Drepper <drepper@redhat.com>
9834
9835 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9836 of strncasecmp_l.
1feccb6c 9837 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 9838
ca6bb004
UD
98392010-08-14 Ulrich Drepper <drepper@redhat.com>
9840
e9f82e0d
UD
9841 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9842 strncase_l-nonascii.
9843 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9844 Add strncase_l-ssse3.
9845 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9846 * sysdeps/x86_64/strcmp.S: Likewise.
9847 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9848 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9849 * sysdeps/x86_64/strncase.S: New file.
9850 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9851 * sysdeps/x86_64/strncase_l.S: New file.
9852 * string/Makefile (strop-tests): Add strncasecmp.
9853 * string/test-strncasecmp.c: New file.
9854
9855 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9856 warning.
9857
ca6bb004
UD
9858 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9859 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9860
052fa7b3
AS
98612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9862
9863 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9864
962dba78
UD
98652010-08-12 Ulrich Drepper <drepper@redhat.com>
9866
9867 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9868 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9869 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9870
bebff237
AM
98712010-05-01 Alan Modra <amodra@gmail.com>
9872
9873 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9874 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9875 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9876 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9877 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9878 tidying. Don't tail-call __sigjmp_save for static lib.
9879 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9880 save location.
9881 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9882 (CALL_MCOUNT): Add eh info, and nop after bl.
9883 (TAIL_CALL_SYSCALL_ERROR): New macro.
9884 (PSEUDO_RET): Use it.
9885 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9886 Correct save location of integer regs and cr.
9887 (_dl_profile_resolve): Correct cr save location. Delete nops
9888 after bl when SHARED. Reduce cfi size a little by better
9889 placement of cfi directives.
9890 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9891 make a stack frame. Instead use parm save area as a temp.
9892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9893 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9895 Don't make a stack frame for parent, use parm save area.
9896 Increase child stack frame to 112 bytes. Don't save unused reg,
9897 and adjust reg usage. Set up cfi on error recovery and
9898 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9900 (__makecontext): Add dummy nop after jump to exit.
9901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9902 Use correct parm save area and cr save, reduce stack frame.
9903 Correct cfi for possible PSEUDO_RET frame setup.
9904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9905 Branch to local label emitted by PSEUDO_RET rather than
9906 __syscall_error.
9907
02637374
AS
99082010-08-12 Andreas Schwab <schwab@redhat.com>
9909
9910 [BZ #11904]
9911 * locale/programs/locale.c (print_assignment): New function.
9912 (show_locale_vars): Use it.
9913
c3e2f19b
UD
99142010-08-11 Ulrich Drepper <drepper@redhat.com>
9915
3cdaa6ad
UD
9916 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9917 field.
9918 (struct statfs64): Likewise.
9919 (_STATFS_F_FLAGS): Define.
9920 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9921 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9922 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9923 (ST_VALID): Define locally.
9924 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9925 __statvfs_getflags, use the provided value.
9926 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9927 __ASSUME_STATFS_F_FLAGS.
9928
754f7da3
UD
9929 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9930
10b3bedc
UD
9931 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9932 Add sys/fanotify.h.
9933 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9934 fanotify_mask for GLIBC_2.13.
9935 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9936 fanotify_init and fanotify_mark.
9937 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9938 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9939
c08fb0d7
UD
9940 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9941 Add prlimit.
9942 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9943 prlimit64 for GLIBC_2.13.
9944 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9945 prlimit64.
9946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9947 syscall.
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9949 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9950 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9951 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9952 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9953 add prlimit alias.
9954 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9955
15bac72b
UD
9956 [BZ #11903]
9957 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9958 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9959
c3e2f19b
UD
9960 * nss/Makefile: Add rules to build and run tst-nss-test1.
9961 * shlib-versions: Add entry for libnss_test1.
9962 * nss/nss_test1.c: New file.
9963 * nss/tst-nss-test1.c: New file.
9964
9965 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9966 (__nss_configure_lookup): Set appropriate entry in
9967 __nss_configure_lookup to true.
9968 * nss/nsswitch.h: Define enum with indeces of databases in
9969 databases and __nss_database_custom arrays. Declare
9970 __nss_database_custom.
9971 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9972 to avoid using nscd when custom rules are installed.
9973 * nss/getXXbyYY_r.c: Likewise.
9974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9975
9976 * nss/nss_files/files-parse.c: Whitespace fixes.
9977
f15ce4d8
UD
99782010-08-09 Ulrich Drepper <drepper@redhat.com>
9979
9980 [BZ #11883]
9981 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9982 * posix/fnmatch_loop.c: Likewise.
9983
d22e4cc9
AK
99842010-07-17 Andi Kleen <ak@linux.intel.com>
9985
9986 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9987 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9988 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9989 * Versions.def [GLIBC_2.13]: Add.
9990
805bc17d
UD
99912010-08-06 Ulrich Drepper <drepper@redhat.com>
9992
9993 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9994 Also fail if tpwd after pwuid call is NULL.
9995
5a42321d
ST
99962010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9997
9998 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9999 when converting to ms.
10000
fd3ebeda
ST
100012010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10002
10003 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10004 EOPNOTSUPP errors with ENOTTY.
10005 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10006 EOPNOTSUPP errors with ENOTTY.
10007
73507d3a
UD
100082010-07-31 Ulrich Drepper <drepper@redhat.com>
10009
10010 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10011 Add strcasecmp_l-ssse3.
10012 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10013 strcasecmp.
10014 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10015 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10016 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10017
fe36dd02
UD
100182010-07-30 Ulrich Drepper <drepper@redhat.com>
10019
66f6765a
UD
10020 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10021
42e08a54
UD
10022 * string/Makefile (strop-tests): Add strcasecmp.
10023 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10024 strcasecmp_l-nonascii.
10025 (gen-as-const-headers): Add locale-defines.sym.
10026 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10027 * sysdeps/x86_64/strcasecmp.S: New file.
10028 * sysdeps/x86_64/strcasecmp_l.S: New file.
10029 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10030 * sysdeps/x86_64/locale-defines.sym: New file.
10031 * string/test-strcasecmp.c: New file.
10032
fe36dd02
UD
10033 * string/test-strcasestr.c: Test both ends of the range of characters.
10034 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10035
48cbc0d6
RM
100362010-07-29 Roland McGrath <roland@redhat.com>
10037
76e6d6bc 10038 [BZ #11856]
48cbc0d6
RM
10039 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10040
880113d9
UD
100412010-07-27 Ulrich Drepper <drepper@redhat.com>
10042
10043 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10044 for ld.so.
10045
deb9cabb
AS
100462010-07-27 Andreas Schwab <schwab@redhat.com>
10047
10048 * manual/memory.texi (Malloc Tunable Parameters): Document
10049 M_PERTURB.
10050
1c7570ff
RM
100512010-07-26 Roland McGrath <roland@redhat.com>
10052
10053 [BZ #11840]
10054 * configure.in (-fgnu89-inline check): Set and substitute
10055 gnu89_inline, not libc_cv_gnu89_inline.
10056 * configure: Regenerated.
10057 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10058
24fb0f88
UD
100592010-07-26 Ulrich Drepper <drepper@redhat.com>
10060
10061 * string/test-strnlen.c: New file.
10062 * string/Makefile (strop-tests): Add strnlen.
10063 * string/tester.c (test_strnlen): Add a few more test cases.
10064 * string/tst-strlen.c: Better error reporting.
10065
10066 * sysdeps/x86_64/strnlen.S: New file.
10067
8e96b93a
UD
100682010-07-24 Ulrich Drepper <drepper@redhat.com>
10069
10070 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10071 lower-latency instructions.
10072
dbc676d4
UD
100732010-07-23 Ulrich Drepper <drepper@redhat.com>
10074
10075 * string/test-strcasestr.c: New file.
10076 * string/test-strstr.c: New file.
10077 * string/Makefile (strop-tests): Add strstr and strcasestr.
10078 * string/str-two-way.h: Don't undefine MAX.
10079 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10080
f6a31e0e
AS
100812010-07-21 Andreas Schwab <schwab@redhat.com>
10082
10083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10084 strcasestr-nonascii.
10085 (CFLAGS-strcasestr-nonascii.c): Define.
10086 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10087 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10088 Remove unused attribute.
10089
5dbc3b6c
RM
100902010-07-20 Roland McGrath <roland@redhat.com>
10091
10092 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10093 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10094 ld.so.cache was broken. With it, there is no way to disable dsocaps
10095 like LD_HWCAP_MASK can disable hwcaps.
10096
23d101d8
EPM
100972010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10098
10099 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10100
cc9f2e47
UD
101012010-07-16 Ulrich Drepper <drepper@redhat.com>
10102
10103 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10104 call in strcasestr.
10105 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10106 __strcasestr_sse42_nonascii.
10107 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10108 strcasestr-nonascii.c.
10109 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10110
77c1b069
LM
101112010-06-15 Luis Machado <luisgpm@br.ibm.com>
10112
10113 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10114 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10115 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10116 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10117
440566c3
UD
101182010-07-09 Ulrich Drepper <drepper@redhat.com>
10119
10120 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10121 fcntl.
10122
5be9d05d
AS
101232010-07-06 Andreas Schwab <schwab@redhat.com>
10124
c30b7ee2 10125 [BZ #11577]
5be9d05d
AS
10126 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10127 dl_signal_cerror.
10128
8a492a67
UD
101292010-07-06 Ulrich Drepper <drepper@redhat.com>
10130
10131 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10132 _PC_PIPE_BUF using F_GETPIPE_SZ.
10133
713df3d5
RM
101342010-07-05 Roland McGrath <roland@redhat.com>
10135
10136 * manual/arith.texi (Rounding Functions): Fix rint description
10137 implicit in round description.
10138
702e8f14
UD
101392010-07-02 Ulrich Drepper <drepper@redhat.com>
10140
10141 * elf/Makefile: Fix linking for a few tests to make recent linker
10142 happy.
10143
52ed8be9
AS
101442010-06-30 Andreas Schwab <schwab@redhat.com>
10145
10146 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10147 $(common-objpfx)libc_nonshared.a.
10148
f47c9a11
LM
101492010-06-21 Luis Machado <luisgpm@br.ibm.com>
10150
10151 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10152 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10153 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10154 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10155 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10156 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10157 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10158 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10173 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10174 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10175 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10176 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10177 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10178 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10179 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10180 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10181 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10182 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10183 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10184 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10199
6fb8cbcb
L
102002010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10201
10202 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10203 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10204 * string/memmove.c (memmove): Renamed to ...
10205 (MEMMOVE): ...this. Default to memmove.
10206 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10207 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10208 (END_CHK): Define.
10209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10210 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10211 mempcpy-ssse3-back memmove-ssse3-back.
10212 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10213 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10214 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10215 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10216 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10217 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10218 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10219 * sysdeps/x86_64/multiarch/memmove.c: New file.
10220 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10221 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10222 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10223 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10224 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10225 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10226 Define.
10227 (index_Fast_Copy_Backward): Define.
10228 (HAS_ARCH_FEATURE): Define.
10229 (HAS_FAST_REP_STRING): Define.
10230 (HAS_FAST_COPY_BACKWARD): Define.
10231
4e733bac 102322010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10233
10234 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10235 Restore proper fallback handling.
10236
63c4ed22
UD
102372010-06-19 Ulrich Drepper <drepper@redhat.com>
10238
ac2b484c
UD
10239 [BZ #11701]
10240 * posix/group_member.c (__group_member): Correct checking loop.
10241
63c4ed22
UD
10242 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10243 OOM in getpwuid_r correctly. Return error number when the caller
10244 should return, otherwise -1.
10245 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10246 call returning > 0 value.
10247 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10248
765ade4b
AS
102492010-06-07 Andreas Schwab <schwab@redhat.com>
10250
10251 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10252 libc_nonshared.a from targets in modules-names.
10253
80da2e09
KS
102542010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10255
10256 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10257 requires it.
10258
158db122
LM
102592010-06-10 Luis Machado <luisgpm@br.ibm.com>
10260
10261 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10262 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10263 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10264 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10265
caa78cf8
AS
102662010-06-02 Andreas Schwab <schwab@redhat.com>
10267
10268 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10269
b2ef2c01
UD
102702010-06-14 Ulrich Drepper <drepper@redhat.com>
10271
10272 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10273 and F_GETPIPE_SZ.
10274 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10275 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10277 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10278 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10279 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10280
fbd643b6
RM
102812010-06-14 Roland McGrath <roland@redhat.com>
10282
10283 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10284
f32f2869
JJ
102852010-06-07 Jakub Jelinek <jakub@redhat.com>
10286
10287 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10288 __REDIRECT followed by __THROW.
10289 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10290 * posix/getopt.h (getopt): Likewise.
10291
2a50c078
EPM
102922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10293
10294 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10295 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10296 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10297 in AT_FLAGS.
10298 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10299 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10300
eb5ad2eb
LM
103012010-05-28 Luis Machado <luisgpm@br.ibm.com>
10302
10303 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10304
3c88fe1e
L
103052010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10306
10307 [BZ #11640]
10308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10309 Properly check family and model.
10310
d2f73151
TY
103112010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10312
10313 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10314
ebd2e13d
LM
103152010-05-24 Luis Machado <luisgpm@br.ibm.com>
10316
10317 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10318
b32b8b45
UD
103192010-05-21 Ulrich Drepper <drepper@redhat.com>
10320
10321 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10322 symbol reference.
10323
9acbe24d
AS
103242010-05-19 Andreas Schwab <schwab@redhat.com>
10325
10326 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10327 symbol reference.
10328
f0ccf6ea
AS
103292010-05-21 Andreas Schwab <schwab@redhat.com>
10330
3d04ff3a
AS
10331 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10332 and internal_recvmmsg.
10333 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10334 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10335 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10336 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10337
f0ccf6ea
AS
10338 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10339 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10340 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10341
5b08ac57
AS
103422010-05-20 Andreas Schwab <schwab@redhat.com>
10343
10344 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10345
4828935d
LM
103462010-05-17 Luis Machado <luisgpm@br.ibm.com>
10347
10348 POWER7 optimizations.
10349 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10350 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10351
373d545e
UD
103522010-05-19 Ulrich Drepper <drepper@redhat.com>
10353
10354 * version.h: Update for 2.13 development version.
10355
21a2b1ae
AS
103562010-05-12 Andrew Stubbs <ams@codesourcery.com>
10357
10358 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10359 exceptions. Return 0.
10360
3f7dcb2b
RM
103612010-05-07 Roland McGrath <roland@redhat.com>
10362
10363 * elf/ldconfig.c (main): Add a const.
10364
5f24d53a 103652010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 10366
a160f8d8
UD
10367 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10368 (args_options): Add no-idn option.
10369 (ahosts_keys_int): Add idn_flags to ai_flags.
10370 (parse_option): Handle 'i' option to clear idn_flags.
10371
5f24d53a
UD
10372 * malloc/malloc.c (_int_free): Possible race in the most recently
10373 added check. Only act on the data if no current modification
10374 happened.
265bb1ce
UD
10375
10376See ChangeLog.17 for earlier changes.