]> sourceware.org Git - glibc.git/blame - ChangeLog
i386: Convert libc_{feholdexcept_setround,updateenv}_53bit to functions.
[glibc.git] / ChangeLog
CommitLineData
4851a949
RH
12012-03-19 Richard Henderson <rth@twiddle.net>
2
7d2e8012
RH
3 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
4 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6
b4dabbb4
RH
7 * sysdeps/generic/math_private.h: Include <fenv.h>.
8 (default_libc_feholdexcept): New.
9 (default_libc_feholdexcept_setround): New.
10 (default_libc_fesetenv, default_libc_feupdateenv): New.
11 (libc_feholdexcept): Only define if undefined.
12 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14 (libc_feholdexcept_setroundl): Likewise.
15 (libc_feholdexcept_setround_53bit): Likewise.
16 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
19 (libc_feupdateenv_53bit): Likewise.
20 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21 (libc_feholdexcept): Convert from macro to inline function.
22 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23 (libc_fesetenv, libc_feupdateenv): Likewise.
24
4851a949
RH
25 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26 not previously defined.
27 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31 * sysdeps/ieee754/flt-32/math_private.h: New file.
32 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33 math_private.h below SET_FLOAT_WORD.
34 (__isnan, __isinf_ns, __finite): Remove.
35 (__isnanf, __isinf_nsf, __finitef): Remove.
36
e79d442e
AS
372012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38
39 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40
90b80344
DM
412012-03-17 David S. Miller <davem@davemloft.net>
42
43 [BZ #6471]
44 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45 for 2.16.
46
edc21804
DM
472012-03-16 David S. Miller <davem@davemloft.net>
48
77e927af
DM
49 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50 warnings.
51
374976dd
DM
52 [BZ #6471]
53 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54 properly.
55 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
57 sysdep_routines when subdir is sysvipc.
58 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
59 __getshmlba helper.
60
edc21804
DM
61 * sysdeps/sparc/fpu/libm-test/ulps: Update.
62
473c3ef3
L
632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
64
65 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
66 [__LP64__].
67
eb0f39b6
L
682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
69
70 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
71 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
72 (__lround): Renamed to ...
73 (__llround): This. Replace long int with long long int.
74 Define lround functions as aliases of llround functions.
75 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
76
6b6cd74b
L
772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
78
79 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
80 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
81 adresses to uintptr_t. Replace "long int" and "unsigned long
82 int" with "greg_t" on va_arg.
83
f1a77b01
L
842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
85
86 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
87 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
88
89 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
90 Move e_machine check before EI_CLASS check. Handle x32
91 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
92 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
93 SKIP_EM_IA_64 and include
94 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
95
96 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
97 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
98 (add_system_dir): New macro.
99
100 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
101 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
102
11b90b9f
JM
1032012-03-16 Joseph Myers <joseph@codesourcery.com>
104
c36e1d23
JM
105 [BZ #2551]
106 [BZ #2552]
107 [BZ #2553]
108 [BZ #2554]
109 [BZ #2562]
110 [BZ #2563]
111 [BZ #2565]
112 [BZ #2566]
113 [BZ #2576]
114 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
115 (y0): Likewise.
116 * math/w_j0f.c (j0f): Likewise.
117 (y0f): Likewise.
118 * math/w_j0l.c (__j0l): Likewise.
119 (__y0l): Likewise.
120 * math/w_j1.c (j1): Likewise.
121 (y1): Likewise.
122 * math/w_j1f.c (j1f): Likewise.
123 (y1f): Likewise.
124 * math/w_j1l.c (__j1l): Likewise.
125 (__y1l): Likewise.
126 * math/w_jn.c (jn): Likewise.
127 (yn): Likewise.
128 * math/w_jnf.c (jnf): Likewise.
129 (ynf): Likewise.
130 * math/w_jnl.c (__jnl): Likewise.
131 (__ynl): Likewise.
132 * math/libm-test.inc (j0_test): Add more tests.
133 (j1_test): Likewise.
134 (jn_test): Likewise. Add trailing semicolon to existing test.
135 (y0_test): Likewise.
136 (y1_test): Likewise.
137 * sysdeps/i386/fpu/libm-test-ulps: Update.
138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
139
11b90b9f
JM
140 [BZ #13851]
141 [BZ #13854]
142 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
143 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
144 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
145 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
146 (__tanl): Set errno for infinite argument.
147 * sysdeps/i386/fpu/mptan.c: Remove.
148 * sysdeps/i386/fpu/s_tan.S: Likewise.
149 * sysdeps/i386/fpu/s_tanl.S: Likewise.
150 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
151 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
152 * math/libm-test.inc (tan_test): Add more tests and enable more
153 tests for double and long double.
154 * sysdeps/i386/fpu/libm-test-ulps: Update.
155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
156
6a1bd2a1
JK
1572012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
158
159 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
160 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
161
10a803e0
RM
1622012-03-16 Roland McGrath <roland@hack.frob.com>
163
164 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
165 * configure.in: Use it for both main tree and add-ons.
166 * configure: Regenerated.
167
f196c7f7
L
1682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
169
170 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
171
8848d99d
JM
1722012-03-16 Joseph Myers <joseph@codesourcery.com>
173
96cbe7f4
JM
174 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
175 in comment.
176
8848d99d
JM
177 [BZ #13851]
178 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
179 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
180 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
181 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
182 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
183 infinite argument.
184 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
185 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
186 != 0 for prec == 2.
187 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
188 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
189 * sysdeps/i386/fpu/s_cosl.S: Likewise.
190 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
191 * sysdeps/i386/fpu/s_sinl.S: Likewise.
192 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
193 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
194 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
195 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
196 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
197 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
198 * math/libm-test.inc (cos_test): Add more tests and enable more
199 tests for long double.
200 (sin_test): Likewise.
201 (sincos_test): Likewise.
202 * sysdeps/i386/fpu/libm-test-ulps: Update.
203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
204
dd7f4703
DM
2052012-03-16 David S. Miller <davem@davemloft.net>
206
207 * sysdeps/sparc/fpu/math_private.h: New file.
208
006f1daa
DM
2092012-03-15 David S. Miller <davem@davemloft.net>
210
c0c83bc8
DM
211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
212 file.
e6a62e18 213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
215 file.
e6a62e18
DM
216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
222 sysdep routines.
223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
224
88cb87d9
DM
225 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
226 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
227
006f1daa 228 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
230 sparc-ifunc.h
006f1daa 231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
233 Likewise.
234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
235 Likewise.
006f1daa
DM
236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
240 Likewise.
006f1daa
DM
241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
246 Likewise.
247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
248 Likewise.
006f1daa
DM
249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
267 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
268 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
270 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
273
11e0098e
AS
2742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
275
276 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
277 scaling.
278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
279
e85b09d0
AJ
2802012-03-15 Andreas Jaeger <aj@suse.de>
281
282 [BZ #13852]
283 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
284 ieee754/flt-32 implementation for sin, cos and sincos.
285 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
286 * sysdeps/i386/fpu/s_cosf.S: Likewise.
287 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
288 * sysdeps/i386/fpu/s_sinf.S: Likewise.
289 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
290 ieee754/flt-32 implementation for tan.
291
292 * math/libm-test.inc (cos_test): Enable some large input tests for
293 float as well
294 (sin_test): Likewise.
295 (sincos_test): Likewise.
296 (tan_test): Add tests for large input.
297
298 * sysdeps/i386/fpu/libm-test-ulps: Update.
299
81c64153
AJ
3002012-03-15 Andreas Jaeger <aj@suse.de>
301
302 [BZ #13658]
303 * math/libm-test.inc (cos_test): Add more test cases.
304 (sin_test): Likewise.
305 (sincos_test): Likewise.
306
7bbfa5c6
AJ
3072012-03-15 Andreas Jaeger <aj@suse.de>
308
309 [BZ #13837]
310 * math/libm-test.inc (cos_test): Add a test case for large input
311 value.
312 (sin_test): Likewise.
313 (sincos_test): Likewise.
314
3152012-03-15 Andreas Jaeger <aj@suse.de>,
316 Joseph Myers <joseph@codesourcery.com>
317
318 [BZ #13658]
0671f479 319 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
320 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
321 * sysdeps/i386/fpu/branred.c: Likewise.
322 * sysdeps/i386/fpu/dosincos.c: Likewise.
323 * sysdeps/i386/fpu/mpa.c: Likewise.
324 * sysdeps/i386/fpu/s_cos.S: Likewise.
325 * sysdeps/i386/fpu/s_sin.S: Likewise.
326 * sysdeps/i386/fpu/s_sincos.S: Likewise.
327 * sysdeps/i386/fpu/sincos32.c: Likewise.
328
329 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
330 Define.
331 (libc_feupdateenv_53bit): Define.
332 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
333 Define.
334 (libc_feupdateenv_53bit): Define.
335
336 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
337 53 bit (without extend i386 double precision).
338
339 * math/libm-test.inc (sincos_test): Add tests for large input.
340 (sin): Likewise.
341 (cos): Likewise.
342
343 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
344
9cad04ea
AS
3452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
346
347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
348
f7062b9a
DM
3492012-03-15 David S. Miller <davem@davemloft.net>
350
351 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
352 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
353 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
354 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
367 file.
f7062b9a 368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
370 file.
f7062b9a 371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
373 file.
f7062b9a 374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
376 file.
f7062b9a
DM
377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
378 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
379 fmin/fmax sysdep routines.
380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
381
7bd951ff
DM
3822012-03-14 David S. Miller <davem@davemloft.net>
383
559398ab
DM
384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
388 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
389 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
390 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
391 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
410 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
411 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
412 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
413 routines.
414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
415 file.
559398ab 416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
418 file.
559398ab 419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
421 file.
559398ab 422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
424 file.
559398ab 425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
427 file.
559398ab 428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
430 file.
431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
432 file.
433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
434 file.
435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
436 file.
437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
438 New file.
439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
440 file.
441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
442 file.
559398ab 443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
445 file.
559398ab 446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
448 file.
559398ab 449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
451 file.
559398ab 452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
454 VIS3 routines.
559398ab
DM
455
456 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
457 New file.
458
5a1c1e32
DM
459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
460
eae47a36
DM
461 * sysdeps/sparc/configure.in: New file.
462 * sysdeps/sparc/configure: Generate.
463 * configure.in (libc_cv_sparc_as_vis3): Substitute.
464 * configure: Regenerate.
465 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
466 * config.make.in (have-as-vis3): New.
467 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
468 available use -Av9d instead of -Av9a.
469 * sysdeps/sparc/sparc64/Makefile: Likewise.
470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
472 New file.
473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
474 file.
475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
476 New file.
477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
478 file.
eae47a36
DM
479 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
480 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
481 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
484
c0c83bc8
DM
485 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
486 fzeros/fnegs to load 0x80000000 into a float register instead of
487 using the stack.
7bd951ff
DM
488 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
489
bd951ccb
JM
4902012-03-14 Joseph Myers <joseph@codesourcery.com>
491
492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
493 bits/syscall.h.
494 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
495 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
496 ($(inst_includedir)/bits/syscall.h): Remove rule.
497 ($(objpfx)bits/syscall.d): Include instead of
498 $(objpfx)syscall-list.d.
499 (generated): Change syscall-list.h and syscall-list.d to
500 bits/syscall.h and bits/syscall.d.
501
bb4e6db2
RM
5022012-03-14 Roland McGrath <roland@hack.frob.com>
503
504 [BZ #13846]
505 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
506
aa4a2ae1
JM
5072012-03-14 Joseph Myers <joseph@codesourcery.com>
508
e456826d
JM
509 [BZ #13841]
510 * math/s_csqrt.c: Include <float.h>.
511 (__csqrt): Scale large or subnormal inputs.
512 * math/s_csqrtf.c: Likewise.
513 * math/s_csqrtl.c: Likewise.
514 * math/libm-test.inc (csqrt_test): Add more tests.
515 * sysdeps/i386/fpu/libm-test-ulps: Update.
516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
517
aa4a2ae1
JM
518 [BZ #13840]
519 * math/libm-test.inc (hypot_test): Add more tests.
520
7c10fd35
DM
5212012-03-13 David S. Miller <davem@davemloft.net>
522
523 [BZ #13840]
524 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
525 double-precision for the calculation instead of scaling.
526
f453b98b
JM
5272012-03-13 Joseph Myers <joseph@codesourcery.com>
528
529 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
530 manipulate bits before adding and subtracting TWO52[sx].
531 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
532 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
533 Likewise.
534 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
535
09a3453f
DM
5362012-03-13 David S. Miller <davem@davemloft.net>
537
8e59da90
DM
538 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
539 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
541 rtld-global-offsets.h
542 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
543
2a8ab7f2
DM
544 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
545 large parameters.
546
10f62770
DM
547 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
548
5f0bdb18
DM
549 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
550 'err' in the ifdef scope in which it is actually used.
551
09a3453f
DM
552 * nss/nss_db/db-init.c: Include string.h
553
b4b2eb5e
DM
5542012-03-12 David S. Miller <davem@davemloft.net>
555
98bb2f1c
DM
556 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
557 masking out of the most significant byte of random value used.
558 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
559 Fix coding style in previous change.
560
b4b2eb5e
DM
561 * sysdeps/unix/sysv/linux/kernel-features.h
562 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
563 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
564 expression.
565 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
566 later.
567
6e226b09
DM
5682012-03-11 David S. Miller <davem@davemloft.net>
569
a1bcbd40
DM
570 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
571 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
572 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
573 for 'resultvar' otherwise things get truncated on 64-bit.
574
cb9d6174
DM
575 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
576 Fix masking out of the most significant byte of random value used.
577
6e226b09
DM
578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
579
058c132d
AS
5802012-03-10 Andreas Schwab <schwab@linux-m68k.org>
581
582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
583
2d2cd515
DM
5842012-03-09 David S. Miller <davem@davemloft.net>
585
586 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
587 variables with appropriate CPP guards.
588 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
589 frame pointer, not the stack pointer. Correct layout comments. Fix test
590 on resulting framesize and the management of the outregs buffer for pltexit.
591 Preserve floating point return values across _dl_call_pltexit call.
592 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
593 framesize and the management of the outregs buffer for pltexit.
594 Preserve floating point return values across _dl_call_pltexit
595 call.
596 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
597 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
598 (print_exit): Fix format string for return register value.
599
9a07f9d0
JM
6002012-03-10 Joseph Myers <joseph@codesourcery.com>
601
602 * sunrpc/Makefile (others): Add rpcgen.
603 ($(objpfx)rpcgen): Remove special build rule and dependency on
604 libc.
605 * sunrpc/rpcgen.c: New file.
606
547b5e30
PE
6072012-03-09 Paul Eggert <eggert@cs.ucla.edu>
608
c524201a
PE
609 [BZ #13673]
610 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
611 * stdio-common/bug-vfprintf-nargs.c: Likewise.
612 * sysdeps/i386/crti.S: Likewise.
613 * sysdeps/i386/crtn.S: Likewise.
614 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
615 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
616 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
617 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
618 * sysdeps/sh/crti.S: Likewise.
619 * sysdeps/sh/crtn.S: Likewise.
620 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
621
7b6235f2
PE
622 [BZ #13673]
623 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
624 with URL.
625 * locale/programs/locfile-kw.gperf: Likewise.
626 * locale/programs/charmap-kw.h: Regenerated.
627 * locale/programs/locfile-kw.h: Likewise.
628
547b5e30
PE
629 [BZ #13673]
630 * intl/plural.y: Replace FSF snail mail address with URL.
631 * intl/plural.c: Regenerated.
632
5f0a5dae
RH
6332012-03-09 Richard Henderson <rth@twiddle.net>
634
635 * include/math_private.h: Remove file.
636 * math/math_private.h: Move file ...
637 * sysdeps/generic/math_private.h: ... here.
638
b8c03620
RH
639 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
640 * sysdeps/powerpc/fpu/math_private.h: Likewise.
641 * sysdeps/x86_64/fpu/math_private.h: Likewise.
642
4e234f5d 643 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
644 and <math_private.h>.
645 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
646 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
647 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
648 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
649 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
650 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
651 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
653 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
654 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
656 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
657 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
658 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
659 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
660 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
661 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
662 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
663 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
664 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
666 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
667 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
668 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
669 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
670 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
671 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
672 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
673 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
674 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
675 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
676 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
677 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
678 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
679 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
680 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
681 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
682 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
683 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
684 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
685 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
686 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
687 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
688 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
689 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
690 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
691 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
692 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
693 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
694 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
695 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
696 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
697 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
698 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
699 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
700 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
701 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
702 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
703 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
704 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
705 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
706 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
707 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
708 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
709 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
710 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
711 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
712 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
713 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
714 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
715 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
716 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
717 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
718 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
719 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
720 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
724 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
725 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
726 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
727 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
728 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
729 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
732 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
733 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
734 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
735 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
736 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
737 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
738 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
739 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
740 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
741 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
742 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
743 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
744 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
745 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
746 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
747 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
748 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
749 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
750 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
751 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
752 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
753 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
754 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
755 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
756 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
757 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
758 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
759 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
760 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
761 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
762 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
763 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
764 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
765 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
766 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
767 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
768 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
769 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
770 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
771 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
772 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
773 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
774 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
775 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
776 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
777 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
778 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
779 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
780 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
781 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
782 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
783 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
784 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
785 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
786 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
787 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
788 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
789 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
790 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
791 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
792 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
793 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
794 * sysdeps/ieee754/k_standard.c: Likewise.
795 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
796 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
797 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
798 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
799 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
800 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
801 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
802 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
803 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
804 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
805 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
806 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
807 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
808 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
809 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
810 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
811 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
812 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
813 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
814 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
815 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
816 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
817 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
818 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
819 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
820 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
821 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
822 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
823 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
824 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
825 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
826 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
827 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
828 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
829 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
830 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
831 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
832 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
833 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
834 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
835 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
836 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
837 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
838 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
839 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
840 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
841 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
842 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
843 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
844 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
845 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
846 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
847 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
848 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
849 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
850 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
851 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
852 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
853 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
854 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
855 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
856 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
857 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
858 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
859 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
860 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
861 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
862 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
863 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
864 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
865 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
866 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
867 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
868 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
869 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
870 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
871 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
872 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
873 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
874 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
875 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
876 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
877 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
878 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
879 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
880 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
881 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
882 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
883 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
884 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
885 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
886 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
887 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
888 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
889 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
890 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
891 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
892 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
893 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
894 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
895 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
896 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
897 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
898 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
899 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
900 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
901 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
902 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
903 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
904 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
905 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
906 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
907 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
908 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
909 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
910 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
911 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
912 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
913 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
914 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
915 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
916 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
917 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
918 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
919 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
920 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
921 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
922 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
923 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
924 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
925 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
926 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
927 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
928 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
929 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
930 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
931 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
932 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
933 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
934 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
935 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
936 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
937 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
938 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
939 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
940 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
941 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
942 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
943 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
944 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
945 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
946 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
947 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
948 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
949 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
950 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
951 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
952 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
953 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
954 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
955 * sysdeps/ieee754/s_lib_version.c: Likewise.
956 * sysdeps/ieee754/s_matherr.c: Likewise.
957 * sysdeps/ieee754/s_signgam.c: Likewise.
958 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
959 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
960 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
961 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
962 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
963 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
964 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
965 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
966 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
967 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
968 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
969 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
970 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
971 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
972 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
973 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
974 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
975 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
976 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
978 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 979
1991fa03
JM
9802012-03-09 Joseph Myers <joseph@codesourcery.com>
981
982 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
983 * sunrpc/rpc_main.c: Likewise.
984 * sunrpc/rpc_svcout.c: Likewise.
985
60d6f5a6
DM
9862012-03-09 David S. Miller <davem@davemloft.net>
987
988 * include/math_private.h: New file.
989
4962050e
JM
9902012-03-09 Joseph Myers <joseph@codesourcery.com>
991
02a6f887
JM
992 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
993 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
994 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
995 from <bits/socket_type.h>.
996 (enum __socket_type): Don't define here.
997 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
999 bits/socket_type.h.
1000
c6e013c1
JM
1001 [BZ #13566]
1002 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1003 checking __USE_GNU.
1004
4962050e
JM
1005 * Makerules ($(inst_includedir)/%.h): New rule.
1006 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1007 (install-others): Remove variable setting.
1008 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1009
38842f45
RH
10102012-03-08 Richard Henderson <rth@twiddle.net>
1011
67bb6da6
RH
1012 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1013 from macro to inline function; merge with the
1014 !__LIBC_INTERNAL_MATH_INLINES version.
1015 (__ieee754_sqrtf): Likewise.
1016
15194b4b
RH
1017 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1018 to inline function.
1019 (__rintf, __floor, __floorf): Likewise.
1020
64e21ede
RH
1021 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1022 macro to inline function.
1023 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1024
38842f45
RH
1025 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1026 not <math/math_private.h>.
1027
c64bf5fe
DM
10282012-03-08 David S. Miller <davem@davemloft.net>
1029
1030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1031 copyright year.
1032 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1033
82d86f28
TS
10342012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1035
1036 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1037 normalization.
1038 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1039 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1040
aea5d727
UD
10412012-03-08 Ulrich Drepper <drepper@gmail.com>
1042
1043 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1044 be defined individually, they must be defined as a block. Define
1045 S for printing a string instead of hidint the different by using a
1046 macro for adding the 'l'.
1047 * stdio-common/tst-fphex-wide.c: Adjust.
1048
70bca0a3
MP
10492012-03-07 Marek Polacek <polacek@redhat.com>
1050
1051 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1052
65b81130
MP
10532012-03-08 Marek Polacek <polacek@redhat.com>
1054
1055 [BZ #13806]
1056 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1057 * stdio-common/tst-fphex.c: Define a few macros to make the
1058 test reusable. Use them.
1059 * stdio-common/tst-fphex-wide.c: New file.
1060
07037eeb
JM
10612012-03-08 Joseph Myers <joseph@codesourcery.com>
1062
a7a93d50
JM
1063 [BZ #6911]
1064 * manual/macros.texi (gnusystems): New macro.
1065 (nongnusystems): Likewise.
1066 (gnulinuxhurdsystems): Likewise.
1067 (gnuhurdsystems): Likewise..
1068 (gnulinuxsystems): Likewise.
1069 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1070 variants of the GNU system, not "GNU system".
1071 * manual/conf.texi: Likewise.
1072 * manual/errno.texi: Likewise. Update example of errno macro
1073 expansion.
1074 * manual/filesys.texi: Likewise.
1075 (getumask): Document as specific to GNU/Hurd.
1076 * manual/install.texi: Likewise. Reword some references to
1077 GNU/Linux.
1078 * manual/intro.texi: Likewise.
1079 * manual/io.texi: Likewise.
1080 (File Name Portability): Detail which constraints are inapplicable
1081 to all GNU systems and which are only inapplicable to GNU/Hurd.
1082 * manual/job.texi: Likewise.
1083 * manual/llio.texi: Likewise.
1084 (O_NOCTTY): Document as present on GNU/Linux.
1085 * manual/maint.texi: Likewise.
1086 * manual/memory.texi: Likewise.
1087 * manual/pattern.texi: Likewise.
1088 * manual/pipe.texi: Likewise.
1089 * manual/process.texi: Likewise.
1090 * manual/resource.texi: Likewise.
1091 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1092 child on GNU/Hurd.
1093 * manual/setjmp.texi: Likewise.
1094 * manual/signal.texi: Likewise.
1095 * manual/startup.texi: Likewise.
1096 * manual/stdio.texi: Likewise.
1097 * manual/terminal.texi: Likewise.
1098 (ONLCR): Document as POSIX.
1099 (OXTABS): Document availability on GNU/Linux as XTABS.
1100 (ONOEOT): Document availability separately from other bits.
1101 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1102 * manual/time.texi: Likewise.
1103 * manual/users.texi: Likewise.
1104 * INSTALL: Regenerated.
1105 * sysdeps/gnu/errlist.c: Regenerated.
1106
07037eeb
JM
1107 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1108 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1109 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1110 puts.
1111 * configure: Regenerated.
1112
d1d3431a
JM
11132012-03-07 Joseph Myers <joseph@codesourcery.com>
1114
af6a1e37
JM
1115 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1116 default includes instead of AC_HEADER_CHECK.
1117 * sysdeps/i386/configure: Regenerated.
1118
d1d3431a
JM
1119 [BZ #10716]
1120 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1121 * math/s_cacoshf.c (__cacoshf): Likewise.
1122 * math/s_cacoshl.c (__cacoshl): Likewise.
1123 * math/s_casinh.c (__casinh): Set signs of result from argument.
1124 * math/s_casinhf.c (__casinhf): Likewise.
1125 * math/s_casinhl.c (__casinhl): Likewise.
1126 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1127 (casinh_test): Add more tests.
1128 * sysdeps/i386/fpu/libm-test-ulps: Update.
1129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1130
482ff4da
UD
11312012-03-07 Ulrich Drepper <drepper@gmail.com>
1132
872fda05
UD
1133 * po/zh_TW.po: Update from translation team.
1134
a4300c7a
UD
1135 * login/Makefile (distribute): Remove variable.
1136 * catgets/Makefile: Likewise.
1137 * mach/Makefile: Likewise.
1138 * malloc/Makefile: Likewise.
1139 * misc/Makefile: Likewise.
1140 * iconv/Makefile: Likewise.
1141 * nscd/Makefile: Likewise.
1142 * hurd/Makefile: Likewise.
1143 * manual/Makefile: Likewise.
1144 * locale/Makefile: Likewise.
1145 * intl/Makefile: Likewise.
1146 * conform/Makefile: Likewise.
1147 * nss/Makefile: Likewise.
1148 * time/Makefile: Likewise.
1149 * soft-fp/Makefile: Likewise.
1150 * dirent/Makefile: Likewise.
1151 * gmon/Makefile: Likewise.
1152 * po/Makefile: Likewise.
1153 * rt/Makefile: Likewise.
1154 * socket/Makefile: Likewise.
1155 * math/Makefile: Likewise.
1156 * signal/Makefile: Likewise.
1157 * debug/Makefile: Likewise.
1158 * elf/Makefile: Likewise.
1159 * timezone/Makefile: Likewise.
1160 * stdlib/Makefile: Likewise.
1161 * iconvdata/Makefile: Likewise.
1162 * sunrpc/Makefile: Likewise.
1163 * io/Makefile: Likewise.
1164 * argp/Makefile: Likewise.
1165 * inet/Makefile: Likewise.
1166 * hesiod/Makefile: Likewise.
1167 * grp/Makefile: Likewise.
1168 * csu/Makefile: Likewise.
1169 * wctype/Makefile: Likewise.
1170 * crypt/Makefile: Likewise.
1171 * libio/Makefile: Likewise.
1172 * string/Makefile: Likewise.
1173 * nis/Makefile: Likewise.
1174 * resolv/Makefile: Likewise.
1175 * stdio-common/Makefile: Likewise.
1176 * wcsmbs/Makefile: Likewise.
1177 * dlfcn/Makefile: Likewise.
1178 * posix/Makefile: Likewise.
1179
482ff4da
UD
1180 * timezone/Makefile: Don't install timezone files, just the programs
1181 and scripts.
1182
f72ed77d
UD
11832012-03-06 Ulrich Drepper <drepper@gmail.com>
1184
a000466f
UD
1185 * nss/databases.def: Add missing gshadow entry.
1186
f72ed77d
UD
1187 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1188
a53b7a4e
MP
11892012-03-06 Marek Polacek <polacek@redhat.com>
1190
1191 [BZ #13726]
1192 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1193 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1194 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1195 * stdio-common/tst-long-dbl-fphex.c: New file.
1196
e9258400
DM
11972012-03-06 David S. Miller <davem@davemloft.net>
1198
1199 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1200 (set_obp_int): New function.
1201 (get_obp_int): New function.
1202 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
1203 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1204 Avoid unused variable warnings on 'val' and use builtin_expect.
1205 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1206 __builtin_expect.
e9258400
DM
1207 (INLINE_CLONE_SYSCALL): Likewise.
1208
3bd2c723
DM
12092012-03-05 David S. Miller <davem@davemloft.net>
1210
1211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1212
bbb78d03
AS
12132012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1214
884c5db4
AS
1215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1216
bbb78d03
AS
1217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1218 only for |x| >= 40.
1219 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1220
1c9f702a 12212012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
1222
1223 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1224 Replace gettimeofday with __vdso_gettimeofday.
1225
7be16f82
RM
1226 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1227 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1228 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
1229
1230 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1231 time with __vdso_time.
1232
ed58a00f
JM
12332012-03-05 Joseph Myers <joseph@codesourcery.com>
1234
1235 * manual/lang.texi (size_t): Note types to which size_t may be
1236 equivalent with the GNU C Library, but do not describe when
1237 differences between them are significant.
1238
30ee4ced
AJ
12392012-03-05 Andreas Jaeger <aj@suse.de>
1240
1241 * sysdeps/i386/fpu/libm-test-ulps: Update.
1242
b7cd39e8
JM
12432012-03-05 Joseph Myers <joseph@codesourcery.com>
1244
1245 [BZ #3976]
1246 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1247 (__ieee754_pow): Save and restore rounding mode and use
1248 round-to-nearest for main computations.
1249 * math/libm-test.inc (pow_test_tonearest): New function.
1250 (pow_test_towardzero): Likewise.
1251 (pow_test_downward): Likewise.
1252 (pow_test_upward): Likewise.
1253 (main): Call the new functions.
1254 * sysdeps/i386/fpu/libm-test-ulps: Update.
1255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
1256
1257 [BZ #3976]
1258 * math/libm-test.inc (cosh_test_tonearest): New function.
1259 (cosh_test_towardzero): Likewise.
1260 (cosh_test_downward): Likewise.
1261 (cosh_test_upward): Likewise.
1262 (sinh_test_tonearest): Likewise.
1263 (sinh_test_towardzero): Likewise.
1264 (sinh_test_downward): Likewise.
1265 (sinh_test_upward): Likewise.
1266 (main): Call the new functions.
1267 * sysdeps/i386/fpu/libm-test-ulps: Update.
1268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1269
6c6a98c9
TV
12702012-03-05 Tom de Vries <tom@codesourcery.com>
1271
1272 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1273 default stack guard is set in last bytes.
1274 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1275
21bb2d2e 12762012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 1277
21bb2d2e 1278 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 1279
21bb2d2e
AJ
1280 [BZ #13656]
1281 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1282 possibly allocate from heap instead of stack.
1283 * stdio-common/bug-vfprintf-nargs.c: New file.
1284 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 1285
c6922934
AS
12862012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1287
1288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1289
bc957d53
MP
12902012-03-03 Marek Polacek <polacek@redhat.com>
1291
1292 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1293 * math/math_private.h: Likewise.
1294 * stdlib/tst-strtod.c: Likewise.
1295 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1296 * sysdeps/x86_64/bits/atomic.h: Likewise.
1297
6358490d
DM
12982012-03-02 David S. Miller <davem@davemloft.net>
1299
1300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1304 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1305 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1306 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1307 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1308
01ae168d
RM
13092012-03-02 Roland McGrath <roland@hack.frob.com>
1310
d9a17c07
RM
1311 [BZ #13792]
1312 * manual/examples/README: New file, says the example source files
1313 can be used under GPL>=2.
1314 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1315 line containing just "*/".
1316 * manual/examples/add.c: Add copyright header (GPL>=2).
1317 * manual/examples/argp-ex1.c: Likewise.
1318 * manual/examples/argp-ex2.c: Likewise.
1319 * manual/examples/argp-ex3.c: Likewise.
1320 * manual/examples/argp-ex4.c: Likewise.
1321 * manual/examples/atexit.c: Likewise.
1322 * manual/examples/db.c: Likewise.
1323 * manual/examples/dir.c: Likewise.
1324 * manual/examples/dir2.c: Likewise.
1325 * manual/examples/execinfo.c: Likewise.
1326 * manual/examples/filecli.c: Likewise.
1327 * manual/examples/filesrv.c: Likewise.
1328 * manual/examples/fmtmsgexpl.c: Likewise.
1329 * manual/examples/genpass.c: Likewise.
1330 * manual/examples/inetcli.c: Likewise.
1331 * manual/examples/inetsrv.c: Likewise.
1332 * manual/examples/isockad.c: Likewise.
1333 * manual/examples/longopt.c: Likewise.
1334 * manual/examples/memopen.c: Likewise.
1335 * manual/examples/memstrm.c: Likewise.
1336 * manual/examples/mkfsock.c: Likewise.
1337 * manual/examples/mkisock.c: Likewise.
1338 * manual/examples/mygetpass.c: Likewise.
1339 * manual/examples/pipe.c: Likewise.
1340 * manual/examples/popen.c: Likewise.
1341 * manual/examples/rprintf.c: Likewise.
1342 * manual/examples/search.c: Likewise.
1343 * manual/examples/select.c: Likewise.
1344 * manual/examples/setjmp.c: Likewise.
1345 * manual/examples/sigh1.c: Likewise.
1346 * manual/examples/sigusr.c: Likewise.
1347 * manual/examples/stpcpy.c: Likewise.
1348 * manual/examples/strdupa.c: Likewise.
1349 * manual/examples/strftim.c: Likewise.
1350 * manual/examples/strncat.c: Likewise.
1351 * manual/examples/subopt.c: Likewise.
1352 * manual/examples/swapcontext.c: Likewise.
1353 * manual/examples/termios.c: Likewise.
1354 * manual/examples/testopt.c: Likewise.
1355 * manual/examples/testpass.c: Likewise.
1356 * manual/examples/timeval_subtract.c: Likewise.
1357
01ae168d
RM
1358 [BZ #13792]
1359 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1360 function to ...
1361 * manual/timeval_subtract.c.texi: ... here, new file.
1362
49efa33d
DM
13632012-03-02 David S. Miller <davem@davemloft.net>
1364
1365 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1366
28afd92d
JM
13672012-03-02 Joseph Myers <joseph@codesourcery.com>
1368
804360ed
JM
1369 [BZ #3976]
1370 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1371 (__sin): Save and restore rounding mode and use round-to-nearest
1372 for all computations.
1373 (__cos): Save and restore rounding mode and use round-to-nearest
1374 for all computations.
1375 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1376 <fenv.h>.
1377 (tan): Save and restore rounding mode and use round-to-nearest for
1378 all computations.
1379 * math/libm-test.inc (cos_test_tonearest): New function.
1380 (cos_test_towardzero): Likewise.
1381 (cos_test_downward): Likewise.
1382 (cos_test_upward): Likewise.
1383 (sin_test_tonearest): Likewise.
1384 (sin_test_towardzero): Likewise.
1385 (sin_test_downward): Likewise.
1386 (sin_test_upward): Likewise.
1387 (tan_test_tonearest): Likewise.
1388 (tan_test_towardzero): Likewise.
1389 (tan_test_downward): Likewise.
1390 (tan_test_upward): Likewise.
1391 (main): Call the new functions.
1392 * sysdeps/i386/fpu/libm-test-ulps: Update.
1393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1394
a6d06d7b
JM
1395 [BZ #10135]
1396 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1397 small n, then large n, before computing and testing k+n.
1398 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1400 Likewise.
1401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1402 Likewise.
1403 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1404 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1405 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1406 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1407 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1408 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1410 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1411 * math/libm-test.inc (scalbn_test): Add more tests.
1412 (scalbln_test): Likewise.
1413
07e12bb3
JM
1414 * manual/filesys.texi (mode_t): Describe constraints on size and
1415 signedness, not exact equivalence to a particular type.
1416 (ino_t): Likewise.
1417 (ino64_t): Likewise.
1418 (dev_t): Likewise.
1419 (nlink_t): Likewise.
1420 (blkcnt_t): Likewise.
1421 (blkcnt64_t): Likewise.
1422 * manual/llio.texi (off_t): Likewise.
1423
28afd92d
JM
1424 [BZ #3976]
1425 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1426 (__ieee754_exp): Save and restore rounding mode and use
1427 round-to-nearest for all computations.
1428 * math/libm-test.inc (exp_test_tonearest): New function.
1429 (exp_test_towardzero): Likewise.
1430 (exp_test_downward): Likewise.
1431 (exp_test_upward): Likewise.
1432 (main): Call the new functions.
1433 * sysdeps/i386/fpu/libm-test-ulps: Update.
1434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1435
b1eeb65d
CD
14362012-03-01 Chris Demetriou <cgd@google.com>
1437
1438 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1439 have predictable order.
1440
53362a4b
DM
14412012-03-01 David S. Miller <davem@davemloft.net>
1442
3c969083
DM
1443 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1444
759707de
DM
1445 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1446 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1447 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1448 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1449
dfdb8ff2
DM
1450 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1451 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1452 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1454 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1455 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1456 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1457 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1458 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1459
ead89f96
DM
1460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1461
7f66bd07
DM
1462 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1463 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1464 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1465
53362a4b
DM
1466 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1467 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1468 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1469 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1470 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1472 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1473 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1474 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1475 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1476 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1477 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1478 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1479 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1480 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1481 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1482 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1483 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1484 * sysdeps/sparc/elf/configure: Regenerated.
1485
7b1902cb
JM
14862012-03-01 Joseph Myers <joseph@codesourcery.com>
1487
bec039bc
JM
1488 * configure.in (AS, LD): Require binutils 2.20 or later.
1489 * configure: Regenerated.
1490 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1491 as required minimum version.
1492 * INSTALL: Regenerated.
1493
7b1902cb
JM
1494 [BZ #2541]
1495 [BZ #4108]
1496 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1497 before squaring exponent.
1498 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1499 bottom long double and 27 bits of top long double before squaring
1500 exponent.
1501 * math/libm-test.inc (erfc_test): Add more tests.
1502 * sysdeps/i386/fpu/libm-test-ulps: Update.
1503 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1505
f775c276
KT
15062012-03-01 Kai Tietz <ktietz@redhat.com>
1507
1508 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1509 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1510 containing bit-fields.
1511 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1512 * soft-fp/single.h (_FP_UNION_S): Likewise.
1513 * soft-fp/double.h (_FP_UNION_D): Likewise.
1514
5b8a4d4a
JM
15152012-02-29 Joseph Myers <joseph@codesourcery.com>
1516
0bab47b6
JM
1517 [BZ #13786]
1518 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1519 not include ../strcmp.S.
1520 [USE_AS_STRNCASECMP_L]: Likewise.
1521 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1522 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1523 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1524 (__strncasecmp_l_ia32): Define as alias to
1525 __strncasecmp_l_nonascii.
1526
0fcad3e2
JM
1527 [BZ #5794]
1528 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1529 * sysdeps/i386/fpu/libm-test-ulps: Update.
1530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1531
5b8a4d4a
JM
1532 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1534
8fdceb2e
JL
15352012-02-29 Jeff Law <law@redhat.com>
1536
1537 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1538 out of bounds read.
1539
1f393a11
MP
15402012-02-29 Marek Polacek <polacek@redhat.com>
1541
1542 [BZ #13706]
1543 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1544 * elf/Makefile: Add rules to run tst-unused-dep.out.
1545
8847f037
DM
15462012-02-28 David S. Miller <davem@davemloft.net>
1547
1548 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1549 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1550 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1551 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1552 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1553 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1554
169d7f11
JM
15552012-02-29 Joseph Myers <joseph@codesourcery.com>
1556
1557 * math/libm-test.inc (llround_test): Move one test from
1558 lround_test. Use TEST_f_L in moved test.
1559 (lround_test): Move misplaced test to llround_test. Add testcase
1560 from bug 2561.
1561
39adf059
UD
15622012-02-28 Ulrich Drepper <drepper@gmail.com>
1563
1564 * sysdeps/x86_64/fpu/e_expf.S: New file.
1565 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1566
71b5d1c5
SB
15672012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1568
1569 [BZ #13637]
1570 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1571 of remain_len that may cause incomplete multi-byte character and
1572 false match.
1573 * posix/bug-regex33.c: New file.
1574 * posix/Makefile (tests): Add bug-regex33.
1575
1f77f049
JM
15762012-02-28 Joseph Myers <joseph@codesourcery.com>
1577
1578 * manual/macros.texi: New file.
1579 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1580 * manual/libc.texinfo: Include macros.texi.
1581 * manual/creatute.texi: Likewise.
1582 * manual/install.texi: Likewise.
1583 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1584 @glibcadj{} in references to the GNU C Library.
1585 * manual/charset.texi: Likewise.
1586 * manual/conf.texi: Likewise.
1587 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1588 when not using those macros.
1589 * manual/creature.texi: Likewise.
1590 * manual/crypt.texi: Likewise.
1591 * manual/errno.texi: Likewise.
1592 * manual/filesys.texi: Likewise.
1593 * manual/header.texi: Likewise.
1594 * manual/install.texi: Likewise.
1595 * manual/intro.texi: Likewise.
1596 * manual/io.texi: Likewise.
1597 * manual/job.texi: Likewise.
1598 * manual/lang.texi: Likewise.
1599 * manual/libc.texiinfo: Likewise.
1600 * manual/llio.texi: Likewise.
1601 * manual/locale.texi: Likewise.
1602 * manual/maint.texi: Likewise.
1603 * manual/math.texi: Likewise.
1604 * manual/memory.texi: Likewise.
1605 * manual/message.texi: Likewise.
1606 * manual/nss.texi: Likewise.
1607 * manual/pattern.texi: Likewise.
1608 * manual/process.texi: Likewise.
1609 * manual/resource.texi: Likewise.
1610 * manual/search.texi: Likewise.
1611 * manual/setjmp.texi: Likewise.
1612 * manual/signal.texi: Likewise.
1613 * manual/socket.texi: Likewise.
1614 * manual/startup.texi: Likewise.
1615 * manual/stdio.texi: Likewise.
1616 * manual/string.texi: Likewise.
1617 * manual/sysinfo.texi: Likewise.
1618 * manual/syslog.texi: Likewise.
1619 * manual/terminal.texi: Likewise.
1620 * manual/time.texi: Likewise.
1621 * manual/users.texi: Likewise.
1622 * INSTALL: Regenerated.
1623 * NOTES: Regenerated.
d40c5d54 1624 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 1625
450bf206
AS
16262012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1627
1628 * include/dirent.h: Include <dirstream.h> before
1629 <dirent/dirent.h>.
1630
741a235b
DM
16312012-02-28 David S. Miller <davem@davemloft.net>
1632
1633 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1634 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1635 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1636 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1637
d6b5aa58
DM
16382012-02-27 David S. Miller <davem@davemloft.net>
1639
1aff59a3
DM
1640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1642 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1643 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1644
d6b5aa58
DM
1645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1646 frame pointer instead of stack pointer relative arg slot.
1647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1648 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1649 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1650
433f48bf
CD
16512012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1652
1653 [BZ #3992]
1654 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1655
d674b76d
DM
16562012-02-27 David S. Miller <davem@davemloft.net>
1657
1658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1662 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1663 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1664 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1665 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1666
0e7727f7
JM
16672012-02-27 Joseph Myers <joseph@codesourcery.com>
1668
1669 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1670 later. Allow versions 5-9.
43be4ca2 1671 * configure: Regenerated.
0e7727f7
JM
1672 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1673 required minimum version and 4.6 as recommended version. Do not
1674 mention bugs in GCC 2.7 and 2.8.
43be4ca2 1675 * INSTALL: Regenerated.
0e7727f7 1676
a78bc654
DM
16772012-02-27 David S. Miller <davem@davemloft.net>
1678
428d5830
DM
1679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1683 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1684 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1685 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1686 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1687
a78bc654
DM
1688 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1689 manipulate bits before adding and subtracting TWO112[sx].
1690 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1691
4579f81c
RM
16922012-02-27 Roland McGrath <roland@hack.frob.com>
1693
36c8acb4
RM
1694 [BZ #13775]
1695 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1696 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1697 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1698 being in POSIX, because they are in 1003.1-2008.
1699
84ad622b
RM
1700 * rt/tst-aio.c: Include <fcntl.h>.
1701 * rt/tst-aio7.c: Likewise.
1702 * rt/tst-aio64.c: Likewise.
1703
4579f81c
RM
1704 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1705
abd923db
JM
17062012-02-27 Joseph Myers <joseph@codesourcery.com>
1707
1708 * manual/install.texi (--with-headers): Describe headers as
1709 interface headers, not private headers.
1710 (Specific advice for GNU/Linux systems): Describe use of headers
1711 from "make headers_install", not private headers from older
1712 kernels.
43be4ca2 1713 * INSTALL: Regenerated.
abd923db
JM
1714 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1715 Change to 2.6.19.
1716 * sysdeps/unix/sysv/linux/configure: Regenerated.
1717
6664049b
JM
1718 * manual/llio.texi (fclean): Remove documentation.
1719
bb8b6697
JM
1720 * manual/Makefile (libc-texi-generated): New variable. Include
1721 version.texi.
1722 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1723 $(libc-texi-generated), not duplicated list of files.
1724 (version.texi, stamp-version): New rules.
1725 (realclean): Remove $(libc-texi-generated), not individual files
1726 from that list. Do not remove dir-add.texinfo.
1727 * manual/libc.texinfo: Comment out uses of edition numbers and
1728 references to printed manual. Remove last-updated dates.
1729 (EDITION): Comment out.
1730 (ISBN): Likewise.
1731 (VERSION, UPDATED): Remove.
1732 (version.texi): Include.
1733
12e5c3b9
AS
17342012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1735
1736 * sysdeps/posix/spawni.c: Include <signal.h>.
1737 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1738 * sysdeps/pthread/aio_fsync.c: Likewise.
1739
4efeffc1 17402012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 1741
ba63ba08
UD
1742 * conform/Makefile (tests): Run only when not cross-compiling and
1743 when fast-check is not defined.
1744
d94a4670
UD
1745 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1746 * conform/data/limits.h-data: Fixes for POSIX2008.
1747 * conform/run-conformtest.sh: Run all tests.
1748 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1749 headers.
1750 * include/bits/dlfcn.h: Likewise.
1751 * include/langinfo.h: Likewise.
1752 * include/monetary.h: Likewise.
1753 * include/sys/poll.h: Likewise.
1754
1755 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1756 for __USE_GNU.
1757 * posix/spawn.h: Define __need_sigset_t.
1758 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1759 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1760 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1761 to get sigevent_t only.
1762 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1763 only for __USE_GNU.
1764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1765 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1766 process_vm_writev only for __USE_GNU.
1767 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
1768
1769 * conform/Makefile: For now ignore errors from run-conformtest.
1770 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1771 POSIX to avoid namespace pollution. Don't prepend headers.
1772 * conform/data/aio.h-data: Fixes for POSIX testing.
1773 * conform/data/fcntl.h-data: Likewise.
1774 * conform/data/glob.h-data: Likewise.
1775 * conform/data/grp.h-data: Likewise.
1776 * conform/data/pthread.h-data: Likewise.
1777 * conform/data/pwd.h-data: Likewise.
1778 * conform/data/signal.h-data: Likewise.
1779 * conform/data/spawn.h-data: Likewise.
1780 * conform/data/stdio.h-data: Likewise.
1781 * conform/data/stdlib.h-data: Likewise.
1782 * conform/data/stropts.h-data: Likewise.
1783 * conform/data/sys/mman.h-data: Likewise.
1784 * conform/data/sys/stat.h-data: Likewise.
1785 * conform/data/sys/types.h-data: Likewise.
1786 * conform/data/sys/wait.h-data: Likewise.
1787 * conform/data/time.h-data: Likewise.
1788 * conform/data/unistd.h-data: Likewise.
1789 * conform/data/utime.h-data: Likewise.
1790
1791 * io/sys/stat.h: fchmod was always in POSIX.
1792 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1793 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1794 * rt/aio.h: Define __need_timespec before including <time.h>.
1795 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1796 struct. Add forward declaration of pthread_attr_t and use it in
1797 sigevent.
1798 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1800 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1801 always remove CLK_TCK definition.
1802
c20105c3
AS
18032012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1804
1805 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1806
7a270350
UD
18072012-02-25 Ulrich Drepper <drepper@gmail.com>
1808
31341567
UD
1809 * conform/run-conformtest.sh: New file.
1810 * conform/Makefile: Run run-conformtest for tests.
1811 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1812 support.
1813
1814 * conform/data/uchar.h-data: New file.
1815 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1816 * conform/data/arpa/inet.h-data: Likewise.
1817 * conform/data/assert.h-data: Likewise.
1818 * conform/data/complex.h-data: Likewise.
1819 * conform/data/cpio.h-data: Likewise.
1820 * conform/data/ctype.h-data: Likewise.
1821 * conform/data/dirent.h-data: Likewise.
1822 * conform/data/dlfcn.h-data: Likewise.
1823 * conform/data/errno.h-data: Likewise.
1824 * conform/data/fcntl.h-data: Likewise.
1825 * conform/data/float.h-data: Likewise.
1826 * conform/data/fmtmsg.h-data: Likewise.
1827 * conform/data/fnmatch.h-data: Likewise.
1828 * conform/data/ftw.h-data: Likewise.
1829 * conform/data/glob.h-data: Likewise.
1830 * conform/data/grp.h-data: Likewise.
1831 * conform/data/iconv.h-data: Likewise.
1832 * conform/data/inttypes.h-data: Likewise.
1833 * conform/data/langinfo.h-data: Likewise.
1834 * conform/data/libgen.h-data: Likewise.
1835 * conform/data/limits.h-data: Likewise.
1836 * conform/data/locale.h-data: Likewise.
1837 * conform/data/math.h-data: Likewise.
1838 * conform/data/monetary.h-data: Likewise.
1839 * conform/data/mqueue.h-data: Likewise.
1840 * conform/data/ndbm.h-data: Likewise.
1841 * conform/data/net/if.h-data: Likewise.
1842 * conform/data/netdb.h-data: Likewise.
1843 * conform/data/netinet/in.h-data: Likewise.
1844 * conform/data/nl_types.h-data: Likewise.
1845 * conform/data/poll.h-data: Likewise.
1846 * conform/data/pthread.h-data: Likewise.
1847 * conform/data/pwd.h-data: Likewise.
1848 * conform/data/regex.h-data: Likewise.
1849 * conform/data/sched.h-data: Likewise.
1850 * conform/data/search.h-data: Likewise.
1851 * conform/data/semaphore.h-data: Likewise.
1852 * conform/data/setjmp.h-data: Likewise.
1853 * conform/data/signal.h-data: Likewise.
1854 * conform/data/spawn.h-data: Likewise.
1855 * conform/data/stdarg.h-data: Likewise.
1856 * conform/data/stdio.h-data: Likewise.
1857 * conform/data/stdlib.h-data: Likewise.
1858 * conform/data/string.h-data: Likewise.
1859 * conform/data/strings.h-data: Likewise.
1860 * conform/data/stropts.h-data: Likewise.
1861 * conform/data/sys/ipc.h-data: Likewise.
1862 * conform/data/sys/mman.h-data: Likewise.
1863 * conform/data/sys/msg.h-data: Likewise.
1864 * conform/data/sys/resource.h-data: Likewise.
1865 * conform/data/sys/select.h-data: Likewise.
1866 * conform/data/sys/sem.h-data: Likewise.
1867 * conform/data/sys/shm.h-data: Likewise.
1868 * conform/data/sys/socket.h-data: Likewise.
1869 * conform/data/sys/stat.h-data: Likewise.
1870 * conform/data/sys/statvfs.h-data: Likewise.
1871 * conform/data/sys/time.h-data: Likewise.
1872 * conform/data/sys/timeb.h-data: Likewise.
1873 * conform/data/sys/times.h-data: Likewise.
1874 * conform/data/sys/types.h-data: Likewise.
1875 * conform/data/sys/uio.h-data: Likewise.
1876 * conform/data/sys/un.h-data: Likewise.
1877 * conform/data/sys/utsname.h-data: Likewise.
1878 * conform/data/sys/wait.h-data: Likewise.
1879 * conform/data/syslog.h-data: Likewise.
1880 * conform/data/tar.h-data: Likewise.
1881 * conform/data/termios.h-data: Likewise.
1882 * conform/data/utime.h-data: Likewise.
1883 * conform/data/utmpx.h-data: Likewise.
1884 * conform/data/varargs.h-data: Likewise.
1885 * conform/data/wchar.h-data: Likewise.
1886 * conform/data/wctype.h-data: Likewise.
1887 * conform/data/wordexp.h-data: Likewise.
1888
1889 * include/stropts.h: New file.
1890 * include/uchar.h: New file.
1891 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1892 * include/assert.h: Likewise.
1893 * include/ctype.h: Likewise.
1894 * include/dirent.h: Likewise.
1895 * include/dlfcn.h: Likewise.
1896 * include/fcntl.h: Likewise.
1897 * include/fnmatch.h: Likewise.
1898 * include/glob.h: Likewise.
1899 * include/grp.h: Likewise.
1900 * include/libio.h: Likewise.
1901 * include/locale.h: Likewise.
1902 * include/math.h: Likewise.
1903 * include/net/if.h: Likewise.
1904 * include/netdb.h: Likewise.
1905 * include/netinet/in.h: Likewise.
1906 * include/pthread.h: Likewise.
1907 * include/pwd.h: Likewise.
1908 * include/regex.h: Likewise.
1909 * include/sched.h: Likewise.
1910 * include/search.h: Likewise.
1911 * include/setjmp.h: Likewise.
1912 * include/signal.h: Likewise.
1913 * include/stdio.h: Likewise.
1914 * include/stdlib.h: Likewise.
1915 * include/string.h: Likewise.
1916 * include/sys/cdefs.h: Likewise.
1917 * include/sys/mman.h: Likewise.
1918 * include/sys/msg.h: Likewise.
1919 * include/sys/resource.h: Likewise.
1920 * include/sys/select.h: Likewise.
1921 * include/sys/socket.h: Likewise.
1922 * include/sys/stat.h: Likewise.
1923 * include/sys/statvfs.h: Likewise.
1924 * include/sys/time.h: Likewise.
1925 * include/sys/times.h: Likewise.
1926 * include/sys/uio.h: Likewise.
1927 * include/sys/utsname.h: Likewise.
1928 * include/sys/wait.h: Likewise.
1929 * include/termios.h: Likewise.
1930 * include/time.h: Likewise.
1931 * include/ulimit.h: Likewise.
1932 * include/unistd.h: Likewise.
1933 * include/utime.h: Likewise.
1934 * include/wchar.h: Likewise.
1935 * include/wctype.h: Likewise.
1936 * include/wordexp.h: Likewise.
1937
1938 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1939
7a270350
UD
1940 * time/time.h: TIME_UTC must be a macro.
1941 Make timespec_get available for ISO C11 only as well.
1942
7724defc
UD
19432012-02-24 Ulrich Drepper <drepper@gmail.com>
1944
1945 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1946 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1947
6b1d1d46
JM
19482012-02-24 Joseph Myers <joseph@codesourcery.com>
1949
1950 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 1951
0f8bbd69
JM
19522012-02-24 Joseph Myers <joseph@codesourcery.com>
1953
1954 * manual/texinfo.tex: Update to version 2012-01-19.16.
1955
66ab80bc
JM
19562012-02-24 Joseph Myers <joseph@codesourcery.com>
1957
1958 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1959
74981cc5
RM
19602012-02-24 Roland McGrath <roland@hack.frob.com>
1961
ee968201
RM
1962 [BZ #13738]
1963 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1964 * manual/fdl-1.3.texi: New file.
1965 * manual/fdl-1.1.texi: File removed.
1966
74981cc5
RM
1967 [BZ #13738]
1968 * manual/libc.texinfo (FDL_VERSION): New @set.
1969 Use it for mention of FDL in cover text.
1970 (Documentation License): Use it in @include file name.
1971
7bb764bc
JM
19722012-02-22 Joseph Myers <joseph@codesourcery.com>
1973 Roland McGrath <roland@hack.frob.com>
1974
1975 [BZ #5461]
1976 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1977 not LONG_LONG_MAX and LONG_LONG_MIN.
1978 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1979 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1980 name.
1981 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1982
6cbeae47
JM
19832012-02-22 Joseph Myers <joseph@codesourcery.com>
1984
1985 [BZ #2547]
1986 [BZ #11365]
1987 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1988 manipulate bits before adding and subtracting TWO23[sx].
1989 * math/libm-test.inc (nearbyint_test): Add more tests.
1990
fe45ce09
JM
19912012-02-22 Joseph Myers <joseph@codesourcery.com>
1992
1993 [BZ #2548]
1994 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1995 bits before adding and subtracting TWO23[sx].
1996 * math/libm-test.inc (rint_test): Add more tests.
1997 (rint_test_tonearest): Likewise.
1998 (rint_test_towardzero): Likewise.
1999 (rint_test_downward): Likewise.
2000 (rint_test_upward: Likewise.
2001
ff3b3d82
JM
20022012-02-22 Joseph Myers <joseph@codesourcery.com>
2003
2004 [BZ #10110]
2005 * include/stdc-predef.h: New file. Extracted from features.h.
2006 * include/features.h: Include stdc-predef.h.
2007 * Makefile (headers): Add stdc-predef.h.
2008 * CONFORMANCE (Compiler limitations): Update.
2009
ef0aab35
JM
20102012-02-22 Joseph Myers <joseph@codesourcery.com>
2011
2012 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2013
58639409
DM
20142012-02-21 David S. Miller <davem@davemloft.net>
2015
2016 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2017 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2018
c0e70b25
DM
20192012-02-20 David S. Miller <davem@davemloft.net>
2020
2021 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2022 using a normal save/restore sequence, rather than allocating a
2023 dummy stack frame just to store a frame pointer and restore.
2024 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2025
fb06851d
JM
20262012-02-21 Joseph Myers <joseph@codesourcery.com>
2027
2028 * manual/install.texi: Fix stray word in line-wrapped comment.
2029
7a8b71c3
DM
20302012-02-20 David S. Miller <davem@davemloft.net>
2031
d510c123
DM
2032 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2033 both binutils and gcc support GOTDATA.
2034
0722d7c2
DM
2035 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2036 "rd %pc" in the PIC register setup sequences.
2037
3d2b3019
DM
2038 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2039 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2040 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2041 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2042 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2043 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2044 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2045 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2047 (SYSCALL_ERROR_HANDLER): Likewise.
2048 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2049 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2050 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2051 (SYSCALL_ERROR_HANDLER): Likewise.
2052
c80098a9
DM
2053 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2054 (HAVE_GCC_GOTDATA): New.
2055 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2056 relocation support in both binutils and gcc.
2057 * sysdeps/sparc/elf/configure: Regenerate.
2058
3a2545a0
DM
2059 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2060 * sysdeps/sparc/sparc32/elf/configure: Delete.
2061 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2062 * sysdeps/sparc/sparc64/elf/configure: Delete.
2063 * sysdeps/sparc/elf/configure.in: New file.
2064 * sysdeps/sparc/elf/configure: Generate.
2065
7a8b71c3
DM
2066 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2067 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2068 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2069 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2070 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2071
f1e86fca
JM
20722012-02-21 Joseph Myers <joseph@codesourcery.com>
2073
2074 * manual/install.texi: Do not mention specific glibc version
2075 numbers.
2076 * manual/libc.texinfo (VERSION, UPDATED): Update.
2077 (@copying): Use @copyright{} and range of years.
2078
0e7dfaef
JM
20792012-02-21 Joseph Myers <joseph@codesourcery.com>
2080
2081 [BZ #13695]
2082 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2083 [crti.S not in sysdirs] (generated): Do not append.
2084 [crti.S not in sysdirs] (omit-deps): Likewise.
2085 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2086 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2087 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2088 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2089 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2090 Likewise.
2091 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2092 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2093 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2094 * csu/defs.awk: Remove file.
2095 * sysdeps/generic/initfini.c: Likewise.
2096 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2097 variable.
2098 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2099 Likewise.
2100
599af3ca
JM
21012012-02-20 Joseph Myers <joseph@codesourcery.com>
2102
2103 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2104 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2105 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2106 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2107 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2108 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2109 <bits/epoll.h>.
2110 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2111 (__EPOLL_PACKED): Define to empty if not defined by
2112 <bits/epoll.h>.
2113 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2115 bits/epoll.h.
2116
0e499750
JM
21172012-02-20 Joseph Myers <joseph@codesourcery.com>
2118
2119 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2120 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2121 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2122 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2123 <bits/timerfd.h>.
2124 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2126 bits/timerfd.h.
2127
5ad91f6e
JM
21282012-02-20 Joseph Myers <joseph@codesourcery.com>
2129
2130 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2131 in C locale.
2132 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2133 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2134 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2136
06b99b02
AJ
21372012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2138
2139 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2140 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2141
7638c0fd
AS
21422012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2143
2144 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2145 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2146 defined.
2147 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2148 Likewise.
2149 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2150 entry for 2.16.
2151
92221550
AJ
21522012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2153
2154 * math/w_acos.c: Use non-signaling floating-point comparisons.
2155 * math/w_acosf.c: Likewise.
2156 * math/w_acosh.c: Likewise.
2157 * math/w_acoshf.c: Likewise.
2158 * math/w_acoshl.c: Likewise.
2159 * math/w_acosl.c: Likewise.
2160 * math/w_asin.c: Likewise.
2161 * math/w_asinf.c: Likewise.
2162 * math/w_asinl.c: Likewise.
2163 * math/w_atanh.c: Likewise.
2164 * math/w_atanhf.c: Likewise.
2165 * math/w_atanhl.c: Likewise.
2166 * math/w_exp2.c: Likewise.
2167 * math/w_exp2f.c: Likewise.
2168 * math/w_exp2l.c: Likewise.
2169 * math/w_j0.c: Likewise.
2170 * math/w_j0f.c: Likewise.
2171 * math/w_j0l.c: Likewise.
2172 * math/w_j1.c: Likewise.
2173 * math/w_j1f.c: Likewise.
2174 * math/w_j1l.c: Likewise.
2175 * math/w_jn.c: Likewise.
2176 * math/w_jnf.c: Likewise.
2177 * math/w_log.c: Likewise.
2178 * math/w_log10.c: Likewise.
2179 * math/w_log10f.c: Likewise.
2180 * math/w_log10l.c: Likewise.
2181 * math/w_log2.c: Likewise.
2182 * math/w_log2f.c: Likewise.
2183 * math/w_log2l.c: Likewise.
2184 * math/w_logf.c: Likewise.
2185 * math/w_logl.c: Likewise.
2186 * math/w_sqrt.c: Likewise.
2187 * math/w_sqrtf.c: Likewise.
2188 * math/w_sqrtl.c: Likewise.
2189 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2190 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2191 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2192 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2193 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2194
ebaf36eb
JM
21952012-02-19 Joseph Myers <joseph@codesourcery.com>
2196
2197 [BZ #9739]
2198 * manual/string.texi (strnlen): Use correct parameter name in
2199 equivalent expression.
2200
71c254a6
JM
22012012-02-19 Joseph Myers <joseph@codesourcery.com>
2202
2203 [BZ #11174]
2204 * manual/users.texi (seteuid): Consistently use neweuid for
2205 argument name.
2206
16d2c631
JM
22072012-02-19 Joseph Myers <joseph@codesourcery.com>
2208
2209 [BZ #13704]
2210 * manual/nss.texi (Services in the NSS configuration): Correct
2211 list of services in example configuration file.
2212
cd837b09
NB
22132012-02-19 Nick Bowler <nbowler@draconx.ca>
2214
2215 [BZ #11322]
2216 * manual/arith.texi: Remove statements about negative zero
2217 behaving identically to zero.
2218
02c4bbad
JM
22192012-02-18 Joseph Myers <joseph@codesourcery.com>
2220
2221 [BZ #5993]
2222 * manual/install.texi: Do not document upgrading from libc5.
2223
366842e7
JM
22242012-02-18 Joseph Myers <joseph@codesourcery.com>
2225
2226 [BZ #4596]
2227 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2228
dd54084d
DM
22292012-02-18 David S. Miller <davem@davemloft.net>
2230
2231 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2232 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2233 %o7 across the call.
2234 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2235 instead.
2236 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2237 SETUP_PIC_REG_LEAF.
2238 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2239 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2240 * sysdeps/sparc/crtn.S: Likewise.
2241
2bcc53a3
UD
22422012-02-17 Ulrich Drepper <drepper@gmail.com>
2243
2244 * aout/Makefile: Remove.
2245
09c093b5
RK
22462012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2247
2248 [BZ #13058]
2249 * manual/examples/argp-ex1.c (main): Format definition in GNU
2250 style.
2251 * manual/examples/argp-ex2.c (main): Likewise.
2252 * manual/examples/argp-ex3.c (main): Likewise.
2253 * manual/examples/argp-ex4.c (main): Likewise.
2254 * manual/examples/longopt.c (main): Use new-style prototype
2255 definition.
2256 * manual/examples/strncat.c (main): Specify return type and use
2257 (void) for arguments.
2258 * manual/examples/subopt.c (main): Use char **argv argument.
2259
2ee633a2
JM
22602012-02-17 Joseph Myers <joseph@codesourcery.com>
2261
2262 [BZ #5077]
2263 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2264 rounding modes.
2265
0520adde
FB
22662012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2267
2268 [BZ #6907]
2269 * manual/string.texi (strchr): Change when strchrnul is
2270 recommended.
2271
3f4081cd
DGM
22722012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2273
2274 [BZ #174]
2275 * manual/locale.texi (setlocale): Document LOCPATH.
2276
d1b10e78
JM
22772012-02-17 Joseph Myers <joseph@codesourcery.com>
2278
2279 [BZ #10210]
2280 * manual/process.texi (execle): Move @dots{} before last argument.
2281
79c6869c
PB
22822012-02-17 Paul Bolle <pebolle@tiscali.nl>
2283
2284 [BZ #12047]
2285 * manual/charset.texi (Generic Charset Conversion): Fix typo
2286 (LC_TYPE -> LC_CTYPE).
2287
cc6e48bc
NB
22882012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2289
2290 [BZ #5805]
2291 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2292 (scalbnf): Likewise.
2293 (scalbnl): Likewise.
2294 (scalbln): Likewise.
2295 (scalblnf): Likewise.
2296 (scalblnl): Likewise.
2297 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2298 (vwarnx): Likewise.
2299 (verr): Likewise.
2300 (verrx): Likewise.
2301 * manual/filesys.texi (telldir): Use braces around return type.
2302 * manual/llio.texi (mmap): Add space after comma.
2303 (mmap64): Likewise.
2304 * manual/math.texi (jn): Use @var{} on parameter names.
2305 (jnf): Likewise.
2306 (jnl): Likewise.
2307 (yn): Likewise.
2308 (ynf): Likewise.
2309 (ynl): Likewise.
2310 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2311 line.
2312 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2313 "...".
2314 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2315 (sched_get_priority_max): Likewise.
2316 * manual/signal.texi (sigvec): Add space after comma.
2317 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2318 names.
2319 (if_indextoname): Likewise.
2320 (if_freenameindex): Likewise.
2321 (sendto): Use ',' instead of '.' in prototype.
2322 * manual/startup.texi (syscall): Use @dots{} instead of literal
2323 "...".
2324 * manual/stdio.texi (__fpending): Separate initial words of
2325 paragraph from @deftypefun line.
2326 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2327 "...".
2328 (vsyslog): Use @var{} on parameter names.
2329 * manual/terminal.texi (stty): Use @var{} on parameter names.
2330 * manual/users.texi (getutmp): Use @var{} on parameter names.
2331 (getutmpx): Likewise.
2332
5b23062f
JM
23332012-02-17 Joseph Myers <joseph@codesourcery.com>
2334
2335 [BZ #6884]
2336 * manual/stdio.texi (fopen): Fix typos in description of
2337 ",ccs=STRING".
2338
8dee4833
AJ
23392012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2340
2341 [BZ #4026]
2342 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2343 get clock_id definition.
2344
9078ce93
TS
23452012-02-17 Thomas Schwinge <thomas@schwinge.name>
2346
2347 [BZ #4822]
2348 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2349 (madvise): Cast every argument to void on its own.
2350
3835c55f
JM
23512012-02-17 Joseph Myers <joseph@codesourcery.com>
2352
2353 [BZ #9902]
2354 * manual/startup.texi (Exit Status): Fix typo.
2355
35c47e37
JM
23562012-02-17 Joseph Myers <joseph@codesourcery.com>
2357
2358 [BZ #10140]
2359 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2360 * manual/examples/argp-ex2.c: Likewise.
2361 * manual/examples/argp-ex3.c: Likewise.
2362
e3b69ca7
RH
23632012-02-16 Richard Henderson <rth@redhat.com>
2364
2365 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2366 * sysdeps/s390/s390-32/initfini.c: Remove.
2367 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2368 * sysdeps/s390/s390-64/initfini.c: Remove.
2369
df83af67
KK
23702012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2371
2372 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2373 compiler output for sysdeps/generic/initfini.c.
2374 * sysdeps/sh/elf/initfini.c: Remove file.
2375
f63f3380
DM
23762012-02-16 David S. Miller <davem@davemloft.net>
2377
fb59b3a4
DM
2378 [BZ #11494]
2379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2380
f63f3380
DM
2381 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2382 * sysdeps/sparc/crti.S: New file.
2383 * sysdeps/sparc/crtn.S: New file.
2384 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2385 * sysdeps/sparc/sparc64/Makefile: Likewise.
2386
df6a4a4a
MF
23872012-02-15 Mike Frysinger <vapier@gentoo.org>
2388
6dd8f3dc 2389 [BZ #3335]
df6a4a4a
MF
2390 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2391
1cac7236
RM
23922012-02-15 Roland McGrath <roland@hack.frob.com>
2393
d2c736f8
RM
2394 [BZ #4822]
2395 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2396
1cac7236
RM
2397 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2398 (write, read, close): Likewise.
2399 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2400
8e475601
JM
24012012-02-15 Joseph Myers <joseph@codesourcery.com>
2402
2403 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2404 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2405 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2406 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2407 <bits/signalfd.h>.
2408 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2410 bits/signalfd.h.
2411
ed656b40
MP
24122012-02-14 Marek Polacek <polacek@redhat.com>
2413
2414 * sysdeps/x86_64/crti.S: New file.
2415 * sysdeps/x86_64/crtn.S: New file.
2416 * sysdeps/x86_64/elf/initfini.c: Remove file.
2417
2a979d3a
JM
24182012-02-13 Joseph Myers <joseph@codesourcery.com>
2419
2420 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2421 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2422 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2423 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2424 <bits/inotify.h>.
2425 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2427 bits/inotify.h.
2428
2a418ac3
JM
24292012-02-13 Joseph Myers <joseph@codesourcery.com>
2430
2431 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2432 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2433 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2434 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2435 <bits/eventfd.h>.
2436 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2438 bits/eventfd.h.
2439
fb779be7
TS
24402012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2441
e19e83c5
RM
2442 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2443 __feraiseexcept instead of feraiseexcept.
7c35ffed 2444
fb779be7
TS
2445 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2446 nanosleep invocations.
2447 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2448 strings, and add error checking for a nanosleep invocations.
2449
59ba27a6
PE
24502012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2451
2452 Replace FSF snail mail address with URLs, as per GNU coding standards.
2453 Most of the snail mail addresses were wrong anyway, and omitting
2454 them makes the source code easier to maintain. Almost all of the
2455 changes are to license notices and to locale LC_IDENTIFICATION
2456 addresses, except for this one:
2457 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2458 not its snail mail address.
2459
57b957eb
RH
24602012-02-09 Richard Henderson <rth@twiddle.net>
2461
af850b1c
RH
2462 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2463 of kernel-features.h.
2464
57b957eb
RH
2465 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2466
6b73181a
MP
24672012-02-08 Marek Polacek <polacek@redhat.com>
2468
2469 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2470 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2471 * sysdeps/gnu/_G_config.h: Likewise.
2472 * sysdeps/generic/_G_config.h: Likewise.
2473
26ecc33a
AS
24742012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2475
6c6dbc63
AS
2476 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2477 tests.
2478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2479
e216c012
AS
2480 * sysdeps/powerpc/powerpc32/crti.S: New file.
2481 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2482 * sysdeps/powerpc/powerpc64/crti.S: New file.
2483 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2484
26ecc33a
AS
2485 * Makeconfig (have-initfini): Don't set.
2486 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2487 * configure.in (nopic_initfini): Don't substitute.
2488 * config.h.in (HAVE_INITFINI): Don't #undef.
2489 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2490 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2491
3add8e13
JM
24922012-02-08 Joseph Myers <joseph@codesourcery.com>
2493
2494 Support crti.S and crtn.S provided directly by architectures.
2495 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2496 [crti.S in sysdirs] (omit-deps): Likewise.
2497 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2498 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2499 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2500 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2501 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2502 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2503 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2504 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2505 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2506 compiler output for sysdeps/generic/initfini.c.
2507 * sysdeps/i386/elf/Makefile: Remove file.
2508 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2509
a22f12b4
MP
25102012-02-07 Marek Polacek <polacek@redhat.com>
2511
2512 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2513 * sysdeps/gnu/_G_config.h: Likewise.
2514 * sysdeps/mach/hurd/_G_config.h: Likewise.
2515
148cf100
MP
25162012-02-07 Marek Polacek <polacek@redhat.com>
2517
2518 * math/Makefile (tests): Add tst-CMPLX2.
2519 * math/tst-CMPLX2.c: New file.
2520
cfdc0dd7
AS
25212012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2522
84ba42c4
AS
2523 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2524
cfdc0dd7
AS
2525 * math/libm-test.inc (jn_test): Add missing L suffix.
2526
622c86f4
MP
25272012-02-06 Marek Polacek <polacek@redhat.com>
2528
2529 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2530 * sysdeps/i386/fpu/e_powf.S: Likewise.
2531 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2532 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2533 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2534 * sysdeps/i386/fpu/e_pow.S: Likewise.
2535 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2536 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2537 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2538 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2539 * sysdeps/i386/fpu/e_log2.S: Likewise.
2540 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2541 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2542 * sysdeps/i386/fpu/e_powl.S: Likewise.
2543 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2544 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2545 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2546 * sysdeps/i386/fpu/e_logl.S: Likewise.
2547 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2548 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2549 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2550 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2551 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2552 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2553 * sysdeps/i386/fpu/e_log.S: Likewise.
2554 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2555 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2556 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2557 * sysdeps/i386/fpu/e_logf.S: Likewise.
2558 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2559 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2560 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2561 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2562 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2563 * sysdeps/i386/fpu/e_log10.S: Likewise.
2564 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2565 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2566 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2567 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2568 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2569 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2570 * sysdeps/i386/asm-syntax.h: Likewise.
2571 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2572 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2573 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2574 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2575 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2576 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2577 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2578 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2579 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2580 * sysdeps/powerpc/sysdep.h: Likewise.
2581 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2582 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2583
d4a54ac6
JM
25842012-02-06 Joseph Myers <joseph@codesourcery.com>
2585
2586 [BZ #411]
2587 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2588
314054ea
JM
25892012-02-06 Joseph Myers <joseph@codesourcery.com>
2590
2591 * sysdeps/i386/sysdep.h: Include <features.h>.
2592 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2593 version.
2594
d8e0ca50
JM
25952012-02-05 Joseph Myers <joseph@codesourcery.com>
2596
2597 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2598 Define.
2599 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2600 LOAD_PIC_REG_STR.
2601
b1da7dd9
JM
26022012-02-03 Joseph Myers <joseph@codesourcery.com>
2603
2604 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2605 (SETUP_PIC_REG): Use GET_PC_THUNK.
2606 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2607 macro.
2608
9a1d9254
JM
26092012-02-03 Joseph Myers <joseph@codesourcery.com>
2610
2611 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2612 for non-PIC compilation.
2613 (SETUP_PIC_REG): Add .p2align directive.
2614 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2615 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2616 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2617 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2618 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2619 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2620 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2621 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2622 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2623 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2624 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2625 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2626 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2627 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2628 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2629 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2630 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2631 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2632 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2633 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2634 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2635 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2636 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2637 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2638 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2639 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2640 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2642 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2643 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2644 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2645 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2646 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2647 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2648 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2649 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2650 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2651 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2652 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2653 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2654 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2655
65dc3b75
JM
26562012-02-03 Joseph Myers <joseph@codesourcery.com>
2657
2658 * math/tst-CMPLX.c: Include <stdio.h>.
2659
d55bf177
JM
26602012-01-31 Joseph Myers <joseph@codesourcery.com>
2661
2662 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2663 float.
2664 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2665 * sysdeps/sparc/bits/mathdef.h: Likewise.
2666
69db4f8f
MP
26672012-01-31 Marek Polacek <polacek@redhat.com>
2668
2669 * libio/libio.h: Don't define _PARAMS.
2670 * locale/programs/config.h: Don't define PARAMS.
2671 * stdlib/strtol_l.c: Likewise.
2672 (__strtol_l): Remove PARAMS from the prototype.
2673
41b81892
UD
26742012-01-31 Ulrich Drepper <drepper@gmail.com>
2675
3b49edc0
UD
2676 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2677 names. Just use the correct names. Remove unnecessary wrapper
2678 functions.
2679 * malloc/arena.c: Likewise.
2680 * malloc/hooks.c: Likewise.
2681
41b81892
UD
2682 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2683 ARENA_TEST says not to. Simplify test for creation of a new arena.
2684 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2685
27a25b6e
UD
26862012-01-30 Ulrich Drepper <drepper@gmail.com>
2687
2688 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2689 into tail calls.
2690 (update_get_addr): New function.
2691 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2692 GET_ADDR_MODULE parameter.
2693
c8a89e7d
JM
26942012-01-30 Joseph Myers <joseph@codesourcery.com>
2695
2696 * crypt/cert.c: Remove __STDC__ conditionals.
2697 * crypt/crypt-entry.c: Likewise.
2698 * crypt/crypt_util.c: Likewise.
2699 * libio/filedoalloc.c: Likewise.
2700 * libio/fileops.c: Likewise.
2701 * libio/genops.c: Likewise.
2702 * libio/iofclose.c: Likewise.
2703 * libio/iofdopen.c: Likewise.
2704 * libio/iofopen.c: Likewise.
2705 * libio/iofopen64.c: Likewise.
2706 * libio/iogetdelim.c: Likewise.
2707 * libio/iopopen.c: Likewise.
2708 * libio/obprintf.c: Likewise.
2709 * libio/oldfileops.c: Likewise.
2710 * libio/oldiofclose.c: Likewise.
2711 * libio/oldiofdopen.c: Likewise.
2712 * libio/oldiofopen.c: Likewise.
2713 * libio/oldiopopen.c: Likewise.
2714 * libio/wfiledoalloc.c: Likewise.
2715 * libio/wgenops.c: Likewise.
2716 * locale/programs/xmalloc.c: Likewise.
2717 * misc/syslog.c: Likewise.
2718 * stdio-common/xbug.c: Likewise.
2719 * string/memchr.c: Likewise.
2720 * string/memcmp.c: Likewise.
2721 * string/memrchr.c: Likewise.
2722 * string/rawmemchr.c: Likewise.
2723 * sysdeps/posix/getcwd.c: Likewise.
2724 * time/strftime_l.c: Likewise.
2725
3b100462
JM
27262012-01-30 Joseph Myers <joseph@codesourcery.com>
2727
2728 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
2729 * config.make.in (config-cflags-sse2avx): Define.
2730 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2731 Fix typo.
2732
607998af
CM
27332012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2734
2735 * scripts/config.guess: Update from upstream config git repository.
2736 * scripts/config.sub: Likewise.
2737
3601428f
CM
27382012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2739
3ac8b282
CM
2740 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2741 (EM_NUM): Update.
2742 (R_TILEPRO_*, R_TILEGX_*): New macros.
2743
e034841e
CM
2744 * scripts/firstversions.awk: Fix bug in version range handling.
2745
540d7568
CM
2746 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2747
3601428f
CM
2748 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2749
463de862
CM
2750 * include/sys/epoll.h: New file.
2751 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2752 libc_hidden_def.
2753
73139a76
UD
27542012-01-28 Ulrich Drepper <drepper@gmail.com>
2755
96bc5b45
UD
2756 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2757 Avoid unnecessary __WORDSIZE == 64 test.
2758 (fmaxf): Use VEX format if possible.
2759 (fmax): Likewise.
2760 (fminf): Likewise.
2761 (fmin): Likewise.
2762
56f6f6a2
UD
2763 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2764 * math/math_private.h: Remove libc_fegetround* and
2765 libc_fesetround*.
2766 * sysdeps/i386/configure.in: Check for -msse2avx.
2767 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2768 also if SSE2AVX is defined.
2769 Remove libc_fegetround* and libc_fesetround*.
2770 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2771 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2772 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2773 of HAS_YMM_USABLE.
2774 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2775 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2776 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2777 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2778 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2779
73139a76
UD
2780 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2781
d73f93a4
AZ
27822012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2783
2784 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2785 size is not set.
2786 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2787
6ee65ed6
UD
27882012-01-27 Ulrich Drepper <drepper@gmail.com>
2789
2790 [BZ #13618]
2791 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2792 relocation.
2793 * Makeconfig (libm): Define.
2794 * elf/Makefile: Add rules to build and run tst-relsort1.
2795 * elf/tst-relsort1.c: New file.
2796 * elf/tst-relsort1mod1.c: New file.
2797 * elf/tst-relsort1mod2.c: New file.
2798
8db21882
JM
27992012-01-27 Joseph Myers <joseph@codesourcery.com>
2800
2801 * math/s_ldexp.c: Remove __STDC__ conditionals.
2802 * math/s_ldexpf.c: Likewise.
2803 * math/s_ldexpl.c: Likewise.
2804 * math/s_nextafter.c: Likewise.
2805 * math/s_nexttowardf.c: Likewise.
2806 * math/s_significand.c: Likewise.
2807 * math/s_significandf.c: Likewise.
2808 * math/s_significandl.c: Likewise.
2809 * math/w_jnl.c: Likewise.
2810 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2811 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2812 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2813 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2814 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2817 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2818 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2819 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2820 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2821 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2822 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2823 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2824 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2825 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2826 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2827 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2828 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2829 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2830 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2831 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2832 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2833 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2834 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2835 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2836 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2837 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2838 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2839 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2840 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2841 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2842 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2843 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2844 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2845 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2846 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2847 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2848 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2849 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2850 * sysdeps/ieee754/k_standard.c: Likewise.
2851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2852 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2853 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2854 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2855 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2856 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2857 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2858 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2859 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2860 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2861 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2862 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2863 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2864 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2865 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2867 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2868 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2869 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2870 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2871 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2872 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2873 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2874 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2875 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2876 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2879 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2880 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2881 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2882 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2883 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2884 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2885 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2886 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2887 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2888 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2889 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2890 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2891 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2892 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2893 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2894 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2895 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2896 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2897 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2899 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2900 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2901 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2902 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2903 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2904 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2905 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2906 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2907 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2908 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2909 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2910 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2911 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2912 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2913 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2914 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2915 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2916 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2917 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2919 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2922 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2923 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2924 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2925 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2926 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2927 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2928 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2929 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2930 * sysdeps/ieee754/s_matherr.c: Likewise.
2931 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2932 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2933 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2935
965a54a4
JM
29362012-01-26 Joseph Myers <joseph@codesourcery.com>
2937
2938 * crypt/md5.h: Remove __STDC__ conditionals.
2939 * libio/libioP.h: Likewise.
2940 * locale/programs/config.h: Likewise.
2941 * sysdeps/generic/sysdep.h: Likewise.
2942 * sysdeps/i386/asm-syntax.h: Likewise.
2943 * sysdeps/s390/asm-syntax.h: Likewise.
2944 * sysdeps/unix/sysdep.h: Likewise.
2945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2947
7071ad79
JM
29482012-01-26 Joseph Myers <joseph@codesourcery.com>
2949
2950 * libio/libio.h: Remove __STDC__ conditionals.
2951 * malloc/obstack.h: Likewise.
2952 * math/complex.h: Likewise.
2953 * math/math.h: Likewise.
2954 * sysdeps/generic/_G_config.h: Likewise.
2955 * sysdeps/gnu/_G_config.h: Likewise.
2956 * sysdeps/mach/hurd/_G_config.h: Likewise.
2957 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2958 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2959 * sysdeps/sparc/bits/mathdef.h: Likewise.
2960
afc5ed09
UD
29612012-01-26 Ulrich Drepper <drepper@gmail.com>
2962
2963 [BZ #13583]
2964 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 2965 Clean up HAS_* macros.
afc5ed09 2966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
2967 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2968 possible.
2969 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2970 HAS_AVX.
2971 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2972 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2973 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2974 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2975 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 2976
bdb6de1d
JM
29772012-01-25 Joseph Myers <joseph@codesourcery.com>
2978
2979 * elf/tst-unique3.cc (gets): Remove declaration.
2980 * elf/tst-unique3lib.cc (gets): Likewise.
2981 * elf/tst-unique3lib2.cc (gets): Likewise.
2982 * elf/tst-unique4.cc (gets): Likewise.
2983
b15549e6
UD
29842012-01-24 Ulrich Drepper <drepper@gmail.com>
2985
2986 * include/stdio.h: Add C++ protection. Add gets declarations and
2987 definitions.
2988 * debug/tst-chk1.c: Don't declare gets here.
2989 * stdio-common/tst-gets.c: Likewise.
2990
a037381f
JM
29912012-01-24 Joseph Myers <joseph@codesourcery.com>
2992
2993 * posix/glob: Remove directory.
2994
f1d4aa75
JM
29952012-01-24 Joseph Myers <joseph@codesourcery.com>
2996
2997 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2998
81c0c964
PT
29992012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3000
3001 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3002 of the non-standard EPFNOSUPPORT.
3003
0ea698ae
ST
30042011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3005
3006 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3007 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3008 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3009
d220b117
UD
30102012-01-21 Ulrich Drepper <drepper@gmail.com>
3011
3012 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3013
3e1aa84e
UD
30142012-01-20 Ulrich Drepper <drepper@gmail.com>
3015
3016 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3017 transient errors.
3018 * nscd/grpcache.c (cache_addgr): Likewise.
3019 * nscd/hstcache.c (cache_addhst): Likewise.
3020 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3021 * nscd/pwdcache.c (cache_addpw): Likewise.
3022 * nscd/servicescache.c (cache_addserv): Likewise.
3023
400aa020
UD
30242012-01-16 Ulrich Drepper <drepper@gmail.com>
3025
d77e7869
UD
3026 * malloc/malloc.c: Various cleanups.
3027 * malloc/hooks.c: Likewise.
3028
400aa020
UD
3029 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3030 * stdlib/bug-fmtmsg1.c: New file.
3031
3032 * stdlib/fmtmsg.c (init): Add missing unlock.
3033 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3034
e0a309cf
MP
30352012-01-12 Marek Polacek <polacek@redhat.com>
3036
3037 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3038 and _GNU_SOURCE.
3039
929d11c7
WS
30402012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3041
3042 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3043 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3044 macro to ensure uniqueness of label name.
3045 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3046 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3047
41d0e869
UD
30482012-01-11 Ulrich Drepper <drepper@gmail.com>
3049
0cc5ed3b
UD
3050 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3051
41d0e869
UD
3052 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3053 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3054 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3056
a47a831a
UD
30572012-01-10 Ulrich Drepper <drepper@gmail.com>
3058
daa891c0
UD
3059 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3060
3061 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3062 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3063 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3064
e58ef0f2
UD
3065 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3066
a47a831a 3067 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3068 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3069 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3071
3072 * math/bits/math-finite.h: Add ldexp support.
3073
a0bfc9c7
MP
30742012-01-10 Marek Polacek <polacek@redhat.com>
3075
3076 * locale/programs/localedef.h (show_archive_content): Add noreturn
3077 attribute.
3078
d6e97a1d
UD
30792012-01-09 Ulrich Drepper <drepper@gmail.com>
3080
3081 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3082
d5835c26
UD
30832012-01-08 Ulrich Drepper <drepper@gmail.com>
3084
e5f484c6
UD
3085 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3086
d5835c26
UD
3087 * io/Makefile (headers): Add bits/poll2.h.
3088
d1f741e9
WS
30892011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3090
3091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3092 typo #include statement.
3093
ec09c1c4
UD
30942012-01-08 Ulrich Drepper <drepper@gmail.com>
3095
3096 * include/sys/cdefs.h: Define __attribute_alloc_size.
3097 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3098 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3099 * elf/pldd.c: Likewise.
3100 * iconv/iconv_charmap.c: Likewise.
3101 * iconv/iconvconfig.c: Likewise.
3102 * iconv/strtab.c: Likewise.
3103 * locale/programs/locale.c: Likewise.
3104 * locale/programs/localedef.h: Likewise.
3105 * locale/programs/simple-hash.c: Likewise.
3106 * nscd/nscd.h: Likewise.
3107 * nss/makedb.c: Likewise.
3108 * sysdeps/generic/ldconfig.h: Likewise.
3109 * locale/programs/localedef.c: Remove xmalloc prototype.
3110 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3111
20b38e03
PP
31122012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3113
3114 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3115 appropriate.
3116
a0da5fe1
UD
31172012-01-08 Ulrich Drepper <drepper@gmail.com>
3118
1d5a644a 3119 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3120 * math/tst-CMPLX.c: New file.
1d5a644a 3121
8784a6db
UD
3122 * math/complex.h (CMPLXL): Fix typo.
3123
d9a216c0
UD
3124 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3125 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3126 GLIBC_2.16.
3127 * debug/tst-chk1.c: Add poll and ppoll tests.
3128 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3129 * include/sys/poll.h: Add hidden proto for ppoll.
3130 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3131 * sysdeps/mach/hurd/ppoll.c: Likewise.
3132 * io/ppoll.c: Likewise.
3133 * debug/poll_chk.c: New file.
3134 * debug/ppoll_chk.c: New file.
3135 * include/bits/poll2.h: New file.
3136 * io/bits/poll2.h: New file.
3137
ac097f5c
UD
3138 [BZ #1350]
3139 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3140
2119dcfa
UD
3141 * configure.in: static is always set to yes. Remove.
3142 * config.make.in: Don't set build-static.
3143 * Makeconfig: Remove use of build-static.
3144 * dlfcn/Makefile: Likewise.
3145 * elf/Makefile: Likewise.
3146 * math/Makefile: Likewise.
3147 * misc/Makefile: Likewise.
3148 * nptl/Makefile: Likewise.
3149 * sysdeps/mach/hurd/Makefile: Likewise.
3150
121766a9
UD
3151 * configure.in: PWD_P is not used anymore.
3152 * config.make.in: Remove PWD_P entry.
3153
51a1d39c 3154 * configure.in: Remove last remnants of RANLIB.
8720d066 3155 No need to check for signed size_t anymore.
215f4bdc
UD
3156 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3157 and IA-64.
3857022a 3158 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
3159 * aclocal.m4: Likewise.
3160
d3ed7225
UD
3161 * wcsmbs/mbrtoc16.c: Implement using towc function.
3162 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3163 * wcsmbs/wcsmbsload.c: Likewise.
3164 * iconv/gconv_simple.c: Likewise.
3165 * iconv/gconv_int.h: Likewise.
3166 * iconv/gconv_builtin.h: Likewise.
3167 * iconv/iconv_prog.c: Remove CHAR16 handling.
3168
3169 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3170
3171 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3172
a0da5fe1
UD
3173 * configure.in: Remove --with-elf and --enable-bounded options.
3174 Dont set base_machine for ia64. More non-ELF conditions removed.
3175 Remove testing and setting of leading underscore information.
3176 * config.make.in (build-bounded): Set to no.
3177 * config.h.in: Remove NO_UNDERSCORES entry.
3178 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3179 them.
3180 * csu/start.c: Remove !NO_UNDERSCORE code.
3181 * locale/localeinfo.h: Likewise.
3182 * sysdeps/generic/machine-gmon.h: Likewise.
3183 * sysdeps/generic/sysdep.h: Likewise.
3184 * sysdeps/i386/sysdep.h: Likewise.
3185 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3186 * sysdeps/mach/sysdep.h: Likewise.
3187 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3188 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3189 * sysdeps/sh/sysdep.h: Likewise.
3190 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3191 * sysdeps/unix/i386/sysdep.S: Likewise.
3192 * sysdeps/unix/sparc/start.c: Likewise.
3193 * sysdeps/unix/sparc/sysdep.S: Likewise.
3194 * sysdeps/unix/sparc/sysdep.h: Likewise.
3195 * sysdeps/unix/start.c: Likewise.
3196 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3197 * sysdeps/x86_64/sysdep.h: Likewise.
3198
df78418a
UD
31992012-01-07 Ulrich Drepper <drepper@gmail.com>
3200
a784e502
UD
3201 [BZ #13553]
3202 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3203 for non-gcc.
3204 * argp/argp-fmtstream.h: Use const instead __const.
3205 * argp/argp.h: Likewise.
3206 * assert/assert.h: Likewise.
3207 * bits/fenv.h: Likewise.
3208 * bits/sched.h: Likewise.
3209 * bits/sigset.h: Likewise.
3210 * bits/sigthread.h: Likewise.
3211 * catgets/nl_types.h: Likewise.
3212 * conform/data/pthread.h-data: Likewise.
3213 * crypt/crypt-private.h: Likewise.
3214 * crypt/crypt.h: Likewise.
3215 * crypt/crypt_util.c: Likewise.
3216 * ctype/ctype.h: Likewise.
3217 * debug/execinfo.h: Likewise.
3218 * debug/mbsnrtowcs_chk.c: Likewise.
3219 * debug/mbsrtowcs_chk.c: Likewise.
3220 * debug/wcsnrtombs_chk.c: Likewise.
3221 * debug/wcsrtombs_chk.c: Likewise.
3222 * debug/wcstombs_chk.c: Likewise.
3223 * dirent/dirent.h: Likewise.
3224 * dlfcn/dlfcn.h: Likewise.
3225 * elf/neededtest4.c: Likewise.
3226 * grp/grp.h: Likewise.
3227 * gshadow/gshadow.h: Likewise.
3228 * iconv/gconv.h: Likewise.
3229 * iconv/gconv_int.h: Likewise.
3230 * iconv/gconv_simple.c: Likewise.
3231 * iconv/iconv.h: Likewise.
3232 * iconv/loop.c: Likewise.
3233 * iconv/skeleton.c: Likewise.
3234 * include/aio.h: Likewise.
3235 * include/aliases.h: Likewise.
3236 * include/argz.h: Likewise.
3237 * include/arpa/inet.h: Likewise.
3238 * include/assert.h: Likewise.
3239 * include/dirent.h: Likewise.
3240 * include/dlfcn.h: Likewise.
3241 * include/execinfo.h: Likewise.
3242 * include/fcntl.h: Likewise.
3243 * include/fenv.h: Likewise.
3244 * include/glob.h: Likewise.
3245 * include/grp.h: Likewise.
3246 * include/libintl.h: Likewise.
3247 * include/mntent.h: Likewise.
3248 * include/netdb.h: Likewise.
3249 * include/pwd.h: Likewise.
3250 * include/rpc/netdb.h: Likewise.
3251 * include/sched.h: Likewise.
3252 * include/search.h: Likewise.
3253 * include/shadow.h: Likewise.
3254 * include/signal.h: Likewise.
3255 * include/stdio.h: Likewise.
3256 * include/stdlib.h: Likewise.
3257 * include/string.h: Likewise.
3258 * include/sys/socket.h: Likewise.
3259 * include/sys/stat.h: Likewise.
3260 * include/sys/statfs.h: Likewise.
3261 * include/sys/statvfs.h: Likewise.
3262 * include/sys/syslog.h: Likewise.
3263 * include/sys/time.h: Likewise.
3264 * include/sys/uio.h: Likewise.
3265 * include/time.h: Likewise.
3266 * include/unistd.h: Likewise.
3267 * include/utmp.h: Likewise.
3268 * include/wchar.h: Likewise.
3269 * include/wctype.h: Likewise.
3270 * inet/aliases.h: Likewise.
3271 * inet/arpa/inet.h: Likewise.
3272 * inet/netinet/ether.h: Likewise.
3273 * inet/netinet/in.h: Likewise.
3274 * intl/libintl.h: Likewise.
3275 * io/bits/fcntl2.h: Likewise.
3276 * io/fcntl.h: Likewise.
3277 * io/ftw.h: Likewise.
3278 * io/sys/poll.h: Likewise.
3279 * io/sys/stat.h: Likewise.
3280 * io/sys/statfs.h: Likewise.
3281 * io/sys/statvfs.h: Likewise.
3282 * io/utime.h: Likewise.
3283 * libio/bits/stdio.h: Likewise.
3284 * libio/bits/stdio2.h: Likewise.
3285 * libio/libio.h: Likewise.
3286 * libio/libioP.h: Likewise.
3287 * libio/stdio.h: Likewise.
3288 * locale/lc-ctype.c: Likewise.
3289 * locale/locale.h: Likewise.
3290 * login/utmp.h: Likewise.
3291 * malloc/arena.c: Likewise.
3292 * malloc/malloc.c: Likewise.
3293 * malloc/malloc.h: Likewise.
3294 * malloc/mcheck.c: Likewise.
3295 * malloc/mtrace.c: Likewise.
3296 * math/bits/mathcalls.h: Likewise.
3297 * math/fenv.h: Likewise.
3298 * math/math_private.h: Likewise.
3299 * misc/bits/error.h: Likewise.
3300 * misc/bits/syslog.h: Likewise.
3301 * misc/err.h: Likewise.
3302 * misc/error.h: Likewise.
3303 * misc/fstab.h: Likewise.
3304 * misc/mntent.h: Likewise.
3305 * misc/regexp.h: Likewise.
3306 * misc/search.h: Likewise.
3307 * misc/sgtty.h: Likewise.
3308 * misc/sys/mman.h: Likewise.
3309 * misc/sys/syslog.h: Likewise.
3310 * misc/sys/uio.h: Likewise.
3311 * misc/sys/xattr.h: Likewise.
3312 * misc/ttyent.h: Likewise.
3313 * nis/rpcsvc/ypclnt.h: Likewise.
3314 * nss/nss.h: Likewise.
3315 * posix/bits/unistd.h: Likewise.
3316 * posix/fnmatch.h: Likewise.
3317 * posix/glob.h: Likewise.
3318 * posix/sched.h: Likewise.
3319 * posix/spawn.h: Likewise.
3320 * posix/sys/wait.h: Likewise.
3321 * posix/unistd.h: Likewise.
3322 * posix/wordexp.h: Likewise.
3323 * pwd/pwd.h: Likewise.
3324 * resolv/netdb.h: Likewise.
3325 * resource/sys/resource.h: Likewise.
3326 * rt/aio.h: Likewise.
3327 * rt/bits/mqueue2.h: Likewise.
3328 * rt/mqueue.h: Likewise.
3329 * shadow/shadow.h: Likewise.
3330 * signal/signal.h: Likewise.
3331 * socket/send.c: Likewise.
3332 * socket/sendto.c: Likewise.
3333 * socket/sys/socket.h: Likewise.
3334 * stdio-common/printf.h: Likewise.
3335 * stdlib/bits/stdlib.h: Likewise.
3336 * stdlib/fmtmsg.h: Likewise.
3337 * stdlib/monetary.h: Likewise.
3338 * stdlib/stdlib.h: Likewise.
3339 * stdlib/ucontext.h: Likewise.
3340 * streams/stropts.h: Likewise.
3341 * string/argz.h: Likewise.
3342 * string/bits/string2.h: Likewise.
3343 * string/string.h: Likewise.
3344 * string/strings.h: Likewise.
3345 * sunrpc/rpc/auth.h: Likewise.
3346 * sunrpc/rpc/auth_des.h: Likewise.
3347 * sunrpc/rpc/clnt.h: Likewise.
3348 * sunrpc/rpc/netdb.h: Likewise.
3349 * sunrpc/rpc/pmap_clnt.h: Likewise.
3350 * sunrpc/rpc/xdr.h: Likewise.
3351 * sysdeps/generic/inttypes.h: Likewise.
3352 * sysdeps/generic/net/if.h: Likewise.
3353 * sysdeps/generic/sys/swap.h: Likewise.
3354 * sysdeps/gnu/net/if.h: Likewise.
3355 * sysdeps/gnu/utmpx.h: Likewise.
3356 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3357 * sysdeps/i386/i486/bits/string.h: Likewise.
3358 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3359 * sysdeps/s390/bits/string.h: Likewise.
3360 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3361 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3362 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3363 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3364 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3365 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3366 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3367 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3368 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3369 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3370 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3371 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3372 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3373 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3374 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3375 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3376 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3377 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3378 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3379 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3380 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3381 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3382 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3383 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3384 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3385 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3386 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3387 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3388 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3389 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3390 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3391 * sysvipc/sys/ipc.h: Likewise.
3392 * sysvipc/sys/msg.h: Likewise.
3393 * sysvipc/sys/sem.h: Likewise.
3394 * sysvipc/sys/shm.h: Likewise.
3395 * termios/termios.h: Likewise.
3396 * time/sys/time.h: Likewise.
3397 * time/time.h: Likewise.
3398 * wcsmbs/bits/wchar2.h: Likewise.
3399 * wcsmbs/uchar.h: Likewise.
3400 * wcsmbs/wchar.h: Likewise.
3401 * wctype/wctype.h: Likewise.
3402
0269750c
UD
3403 [BZ #13551]
3404 * Makeconfig: Remove all but ELF support including AIX support.
3405 * Makerules: Likewise.
3406 * config.h.in: Likewise.
3407 * config.make.in: Likewise.
3408 * configure: Likewise.
3409 * configure.in: Likewise.
3410 * csu/Makefile: Likewise.
3411 * csu/version.c: Likewise.
3412 * debug/Makefile: Likewise.
3413 * dlfcn/Makefile: Likewise.
3414 * elf/Makefile: Likewise.
3415 * extra-lib.mk: Likewise.
3416 * iconv/Makefile: Likewise.
3417 * include/libc-symbols.h: Likewise.
3418 * include/shlib-compat.h: Likewise.
3419 * resolv/Makefile: Likewise.
3420 * resolv/res_libc.c: Likewise.
3421 * rt/Makefile: Likewise.
3422 * sysdeps/i386/asm-syntax.h: Likewise.
3423 * sysdeps/i386/sysdep.h: Likewise.
3424 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3425 * sysdeps/mach/sysdep.h: Likewise.
3426 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3427 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3428 * sysdeps/s390/asm-syntax.h: Likewise.
3429 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3430 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3431 * sysdeps/sh/sysdep.h: Likewise.
3432 * sysdeps/unix/sparc/sysdep.h: Likewise.
3433 * sysdeps/wordsize-32/divdi3.c: Likewise.
3434 * sysdeps/x86_64/sysdep.h: Likewise.
3435
00bbd29b
UD
3436 * argp/Versions: Remove _argp_unlock_xxx.
3437
3438 [BZ #13559]
3439 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3440 * abilist/libBrokenLocale.abilist: Likewise.
3441 * abilist/libanl.abilist: Likewise.
3442 * abilist/libc.abilist: Likewise.
3443 * abilist/libcrypt.abilist: Likewise.
3444 * abilist/libdl.abilist: Likewise.
3445 * abilist/libm.abilist: Likewise.
3446 * abilist/libnsl.abilist: Likewise.
3447 * abilist/libpthread.abilist: Likewise.
3448 * abilist/libresolv.abilist: Likewise.
3449 * abilist/librt.abilist: Likewise.
3450 * abilist/libthread_db.abilist: Likewise.
3451 * abilist/libutil.abilist: Likewise.
3452 * abilist/libnss_db.abilist: New file.
3453
3454 * scripts/abilist.awk: Add support for indirect functions.
3455
a2693a0e
UD
3456 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3457
3f05895f
UD
3458 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3459
ecb6fb48
UD
3460 * shlib-versions: Remove entries for ports architectures.
3461
664f8cb9
UD
3462 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3463 files in ports.
3464 * elf/stackguard-macros.h: Remove support for IA-64.
3465 * elf/tst-auditmod1.c: Likewise.
3466 * sysdeps/generic/ldsodefs.h: Likewise.
3467
7ae81d88
UD
3468 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3469 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3470 configure files.
3471
bdeba135
UD
3472 [BZ #13552]
3473 * configure.in: Remove --enable-omitfp support.
3474 * FAQ.in: Adjust.
3475 * config.make.in: Likewise.
3476 * Makeconfig: Likewise.
3477 * manual/install.texi: Likewise.
3478
d75a0a62
UD
3479 In case anyone cares, the IA-64 architecture could move to ports.
3480 * sysdeps/ia64/*: Removed.
3481 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 3482 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 3483
dcc9756b
UD
3484 [BZ #13555]
3485 * configure.in: Remove entries for unsupported architectures.
3486
d3761ebc 3487 [BZ #13533]
9954432e
UD
3488 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3489 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3490 routines.
3491 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3492 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3493 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3494 fall back to using wcrtomb.
3495 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3496 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3497 renaming.
3498 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3499 * wcsmbs/tst-c16c32-1.c: New file.
3500
3501 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3502 local variable.
3503
c3a87236
UD
3504 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3505
28926a1b
UD
3506 * elf/tst-unique3.cc: Add explicit declaration of gets.
3507 * elf/tst-unique3lib.cc: Likewise.
3508 * elf/tst-unique3lib2.cc: Likewise.
3509 * elf/tst-unique4.cc: Likewise.
3510
df78418a
UD
3511 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3512
8ecd6b2a
JM
35132012-01-06 Joseph Myers <joseph@codesourcery.com>
3514
3515 [BZ #13566]
3516 * assert/assert.h (static_assert): Don't define for C++.
3517 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3518 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3519
9f115170
UD
35202012-01-03 Ulrich Drepper <drepper@gmail.com>
3521
5e0d0300
UD
3522 * iconv/loop.c (single loop): Fix assertion in storing of
3523 remaining bytes.
3524
9f115170
UD
3525 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3526
81fb02b0
UD
35272012-01-01 Ulrich Drepper <drepper@gmail.com>
3528
3529 * posix/getconf.c: Update copyright year.
3530 * nss/getent.c: Likewise.
a316c1f6 3531 * nss/makedb.c: Likewise.
81fb02b0
UD
3532 * iconv/iconvconfig.c: Likewise.
3533 * iconv/iconv_prog.c: Likewise.
3534 * elf/ldconfig.c: Likewise.
a316c1f6
UD
3535 * elf/pldd.c: Likewise.
3536 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
3537 * catgets/gencat.c: Likewise.
3538 * csu/version.c: Likewise.
3539 * elf/ldd.bash.in: Likewise.
3540 * elf/sprof.c (print_version): Likewise.
3541 * locale/programs/locale.c: Likewise.
3542 * locale/programs/localedef.c: Likewise.
a316c1f6 3543 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
3544 * nscd/nscd.c (print_version): Likewise.
3545 * debug/xtrace.sh: Likewise.
3546 * malloc/memusage.sh: Likewise.
3547 * malloc/mtrace.pl: Likewise.
3548 * debug/catchsegv.sh: Likewise.
3549
2ba92745
JJ
35502011-12-30 Jakub Jelinek <jakub@redhat.com>
3551
3552 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3553 pure attribute.
3554
dadebdae
UD
35552011-12-24 Ulrich Drepper <drepper@gmail.com>
3556
d3761ebc 3557 [BZ #13533]
db6af3eb
UD
3558 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3559 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3560 transformations.
3561 * iconv/gconv_int.h: Likewise.
3562 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3563 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3564 from libc for GLIBC_2.16.
3565 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3566 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3567 * wcsmbs/uchar.h: Really define mbstate_t.
3568 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3569 * wcsmbs/c16rtomb.c: New file.
3570 * wcsmbs/mbrtoc16.c: New file.
3571 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3572 for C/POSIX locale.
3573 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3574 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3575
dadebdae
UD
3576 * wcsmbs/wchar.h: Add missing __restrict.
3577
67371b56
UD
35782011-12-23 Ulrich Drepper <drepper@gmail.com>
3579
74033a25
UD
3580 [BZ #13532]
3581 * time/Makefile (routines): Add timespec_get.
3582 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3583 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3584 timespec for ISO C11.
3585 * time/timespec_get.c: New file.
3586 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3587 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3588
380d7e87
UD
3589 [BZ #13531]
3590 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3591 * stdlib/stdlib.h: Declare aligned_alloc.
3592 * Versions.def: Add GLIBC_2.16 for libc.
3593 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3594
4e9e7a35
UD
3595 [BZ 13527]
3596 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3597 ISO C11.
3598
380d7e87 3599 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
3600 code.
3601
03a71829
UD
3602 [BZ #13528]
3603 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3604
839e283e
UD
3605 [BZ #13529]
3606 * assert/assert.h (static_assert): Define.
3607
ce5294e2 3608 * version.h: Update for 2.16 development version.
90fa7312 3609
8d44e150 3610 [BZ #13526]
d7809905
UD
3611 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3612 _ISOC11_SOURCE.
3613
c0da14cd
UD
3614 * version.h (RELEASE): Bump for 2.15 release.
3615 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3616
530a3249
MP
3617 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3618 Patch by Marek Polacek <mpolacek@redhat.com>.
3619
67371b56
UD
3620 * bits/byteswap.h: Protect long long constants with __extension__.
3621 * sysdeps/i386/bits/byteswap.h: Likewise.
3622 * sysdeps/ia64/bits/byteswap.h: Likewise.
3623 * sysdeps/s390/bits/byteswap.h: Likewise.
3624 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3625
15db4de1
LD
36262011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3627
3628 [BZ #13540]
bbe315ea
LD
3629 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3630 destination buffer.
15db4de1
LD
3631 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3632
2b2596b1
MP
36332011-12-23 Marek Polacek <polacek@redhat.com>
3634
3635 * elf/dl-addr.c (determine_info): Add inline keyword.
3636 * elf/tst-auditmod4b.c (check_avx): Likewise.
3637 * elf/tst-auditmod6b.c (check_avx): Likewise.
3638 * elf/tst-auditmod6c.c (check_avx): Likewise.
3639 * elf/tst-auditmod7b.c (check_avx): Likewise.
3640
70c6c246
UD
36412011-12-23 Ulrich Drepper <drepper@gmail.com>
3642
3643 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3644 !__SSE_MATH__.
3645
c044cf14
LD
36462011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3647
15db4de1 3648 [BZ #13540]
c044cf14
LD
3649 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3650 processing for last bytes.
3651
6b13d9d9
BH
36522011-08-06 Bruno Haible <bruno@clisp.org>
3653
d455f537
BH
3654 [BZ #13061]
3655 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3656 U+0385, not to U+1FEE.
3657
6b13d9d9
BH
3658 [BZ #13062]
3659 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3660 entry for U+00A5 U+0301.
3661
db910efd
UD
36622011-12-22 Ulrich Drepper <drepper@gmail.com>
3663
27deeafc
UD
3664 [BZ #13166]
3665 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3666 buffer for the output is too small.
3667
aed9d171
UD
3668 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3669 optimization.
3670
db910efd
UD
3671 [BZ #13185]
3672 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3673 SSE flags if possible.
3674
2bd779ae
LD
36752011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3676
e7f9dac3 3677 [BZ #13540]
2bd779ae
LD
3678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3679 processing for last bytes.
3680
154bfc16
JM
36812011-12-22 Joseph Myers <joseph@codesourcery.com>
3682
3683 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3684 (syscall-list-default-options, syscall-list-default-condition)
3685 (syscall-list-includes): Define.
3686 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3687 list of ABIs and options and #if conditions for each ABI. Do not
3688 handle common syscalls between ABIs specially.
3689 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3690 Remove.
3691 (syscall-list-variants, syscall-list-32bit-options)
3692 (syscall-list-32bit-condition, syscall-list-64bit-options)
3693 (syscall-list-64bit-condition): Define.
3694 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3695 (syscall-list-variants, syscall-list-32bit-options)
3696 (syscall-list-32bit-condition, syscall-list-64bit-options)
3697 (syscall-list-64bit-condition): Define.
3698 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3699 Remove.
3700 (syscall-list-variants, syscall-list-32bit-options)
3701 (syscall-list-32bit-condition, syscall-list-64bit-options)
3702 (syscall-list-64bit-condition): Define.
3703 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3704 Remove.
3705 (syscall-list-variants, syscall-list-32bit-options)
3706 (syscall-list-32bit-condition, syscall-list-64bit-options)
3707 (syscall-list-64bit-condition): Define.
3708
21eaf3a5
UD
37092011-12-22 Ulrich Drepper <drepper@gmail.com>
3710
16c6f992
UD
3711 * locale/iso-639.def: Add brx entry.
3712
41043168
UD
3713 [BZ #13328]
3714 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3715 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3716
21eaf3a5
UD
3717 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3718 __feraiseexcept_renamed.
3719
e3a851a2
UD
37202011-12-21 Ulrich Drepper <drepper@gmail.com>
3721
4920765e
UD
3722 [BZ #13538]
3723 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3724 EPOLLET with unsigned values.
3725 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3726 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3727
e3a851a2
UD
3728 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3729 to large cancellation.
3730 * math/s_cacoshf.c: Likewise.
3731 * math/s_cacoshl.c: Likewise.
3732
b27e24b8
RK
37332011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3734
3735 [BZ #13305]
aebefeee 3736 [BZ #12786]
b27e24b8
RK
3737 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3738 * math/s_cacoshf.c: Likewise.
3739 * math/s_cacoshl.c: Likewise.
3740
ee190f67
UD
37412011-12-21 Ulrich Drepper <drepper@gmail.com>
3742
3743 [BZ #13439]
3744 * iconv/gconv.h: Define __GCONV_SWAP.
3745 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3746 * iconvdata/utf-16.c: Likewise.
3747 * iconvdata/utf-32.c: Likewise.
3748
707f25df
AS
37492011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3750
3751 [BZ #13524]
3752 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3753 numerator after shifting it by one limb.
3754
d2daaa1e
RÁE
37552011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3756
3757 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3758 under [__USE_EXTERN_INLINES].
3759
a4647e72
UD
37602011-12-17 Ulrich Drepper <drepper@gmail.com>
3761
3762 [BZ #13446]
3763 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3764
f0b264f1
AZ
37652011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3766
3767 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3768 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3769 optimized code.
3770 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3771 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3772 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3773 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3774 for strncasecmp/strncasecmp_l compilation.
3775 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3776 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3777
8ef4f244
MP
37782011-12-08 Marek Polacek <mpolacek@redhat.com>
3779
3780 [BZ #13484]
3781 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3782 of __asm__.
3783
97ac2654
UD
37842011-12-17 Ulrich Drepper <drepper@gmail.com>
3785
3786 [BZ #13506]
3787 * time/tzfile.c (__tzfile_read): Check values from file header.
3788
91d2a845
WS
37892011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3790
3791 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3792 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3793 * powerpc/powerpc32/dl-start.S: Likewise.
3794 * powerpc/powerpc32/elf/start.S: Likewise.
3795 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3796 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3797 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3798 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3799 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3800 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3801 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3802 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3803 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3804 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3805 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3806 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3807 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3808 * powerpc/powerpc32/memset.S: Likewise.
3809 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3810 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3811 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3812 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3813 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3814 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3815 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3816 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3817 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3818 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3819 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3820 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3821 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3822
a1267ba1
AZ
38232011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3824
3825 * math/libm-test.inc: Added more nearbyint tests.
3826 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3827 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3828 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3829 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3830
ad8ac1bd
RL
38312011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3832
3833 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3834 FD_CLOEXEC.
3835
1d3e4b61
UD
38362011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3837
3838 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3839 Add wcscpy-ssse3 wcscpy-c.
3840 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3841 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3842 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3843 * sysdeps/x86_64/wcschr.S: New file.
3844 * sysdeps/x86_64/wcsrchr.S: New file.
3845 * string/test-strcmp.c: Remove checking of wcscmp function for
3846 wrong alignments.
3847 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3848 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3849 wcsrchr-sse2 wcsrchr-c.
3850 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3851 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3852 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3853 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3854 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3855 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3856 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3857 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3858 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3859 * wcsmbc/wcschr.c (WCSCHR): New macro.
3860
5b330a2d
UD
38612011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3862
3863 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3864 * wcsmbs/test-wcsrchr.c: New file.
3865 * string/test-strrchr.c: Add wcsrchr support.
3866 (WIDE): New macro.
3867 * wcsmbs/test-wcscpy.c: New file.
3868 * string/test-strcpy.c: Add wcscpy support.
3869 (WIDE): New macro.
26428b7c 3870
f039c043
UD
38712011-12-10 Ulrich Drepper <drepper@gmail.com>
3872
3873 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3874 the inner loop.
3875
850fb039
AS
38762011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3877
3878 [BZ #13472]
3879 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3880
4efbd5cb
UD
38812011-12-04 Ulrich Drepper <drepper@gmail.com>
3882
52ff5dd0 3883 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 3884 Minor optimizations.
52ff5dd0 3885
4efbd5cb
UD
3886 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3887 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3888 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3889
8a426e12
UD
38902011-12-03 Ulrich Drepper <drepper@gmail.com>
3891
aff2453d
UD
3892 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3893 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3894 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3895 for gcc to avoid warnings.
3896 * inet/Makefile (tests): Add tst-checks.
3897 * inet/tst-checks.c: New file.
3898
3899 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3900 warning.
3901
3902 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3903 __wmemcmp_sse2.
3904
3905 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3906 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3907
8a426e12
UD
3908 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3909
9bea3473
UD
39102011-12-02 Ulrich Drepper <drepper@gmail.com>
3911
3a965496
UD
3912 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3913 problem.
3914
9bea3473
UD
3915 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3916
f101631b
UD
39172011-11-29 Joseph Myers <joseph@codesourcery.com>
3918
3919 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3920 conditional on GCC version.
3921 (__arch_compare_and_exchange_val_8_acq)
3922 (__arch_compare_and_exchange_val_16_acq)
3923 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3924 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3925 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3926
a98275aa
UD
39272011-12-02 Joseph Myers <joseph@codesourcery.com>
3928
3929 * sysdeps/sh/backtrace.c: New file.
3930
d4cc29a2
AS
39312011-12-02 Andreas Schwab <schwab@redhat.com>
3932
3933 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3934 parenthesis.
3935
6257af2d
AS
39362011-12-01 Andreas Schwab <schwab@redhat.com>
3937
3938 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3939 falling back to utime.
3940
b5f44c1a
AS
39412011-11-30 Andreas Schwab <schwab@redhat.com>
3942
3943 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3944 expectations for float.
3945
f3a6cc0a
AS
39462011-11-29 Andreas Schwab <schwab@redhat.com>
3947
3948 * locale/weight.h (findidx): Add parameter len.
3949 * locale/weightwc.h (findidx): Likewise.
3950 * posix/fnmatch_loop.c (FCT): Adjust caller.
3951 * posix/regcomp.c (build_equiv_class): Likewise.
3952 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3953 * posix/regexec.c (check_node_accept_bytes): Likewise.
3954 * string/strcoll_l.c (STRCOLL): Likewise.
3955 * string/strxfrm_l.c (STRXFRM): Likewise.
3956
9d65ea3a
UD
39572011-11-17 Ulrich Drepper <drepper@gmail.com>
3958
3959 * Makefile.in: Remove CVSOPT handling.
3960 * configure.in: Remove use of AC_REVISION.
3961 * iconvdata/Makefile (distribute): No need to filter out CVS.
3962 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3963 handling.
3964
5583a086
AS
39652011-11-16 Andreas Schwab <schwab@redhat.com>
3966
3967 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3968 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3969 [USE_AS_STRNCASECMP_L]: Likewise.
3970 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3971 NO_TLS_DIRECT_SEG_REFS.
3972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3973 Fix argument offsets for non-PIC.
3974 [USE_AS_STRNCASECMP_L]: Likewise.
3975 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3976 NO_TLS_DIRECT_SEG_REFS.
3977
d62a8200
UD
39782011-11-15 Ulrich Drepper <drepper@gmail.com>
3979
9d65ea3a 3980 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
3981 O_CLOEXEC.
3982 * locale/loadlocale.c (_nl_load_locale): Likewise.
3983
09f93bd3
AS
39842011-11-15 Andreas Schwab <schwab@redhat.com>
3985
446514f9
AS
3986 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3987 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3988 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3989 (SYSCALL_GETTIME): Set errno on error.
3990
09f93bd3
AS
3991 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3992 count references to noai6ai_cached.
3993
312be3f9
UD
39942011-11-15 Ulrich Drepper <drepper@gmail.com>
3995
3996 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3997
3998 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3999 FD_CLOEXEC for /proc/self/maps.
4000
4001 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4002 FD_CLOEXEC for /proc/meminfo.
4003
4004 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4005 gai.conf.
4006
4007 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4008 FD_CLOEXEC for given file.
4009
4010 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4011
4012 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4013 FD_CLOEXEC for /etc/hosts.
4014 (_gethtent): Likewise.
4015
4016 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4017
4018 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4019 cancellation and set FD_CLOEXEC for /etc/netgroup.
4020
4021 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4022 reading /etc/publickey.
4023
4024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4025 allow cancellation when reading /etc/group.
4026
4027 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4028 cancellation.
4029 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4030
4031 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4032 when using data file.
4033
4034 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4035
4036 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4037 (write_nis_obj): Use "c" and "e" in fopen.
4038
4039 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4040
4041 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4042
4043 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4044
4045 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4046
4047 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4048 locale.alias.
4049
4050 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4051
4052 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4053
4054 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4055
4056 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4057 file parsing and set FD_CLOEXEC.
4058
82af0fa8
UD
40592011-11-14 Ulrich Drepper <drepper@gmail.com>
4060
4061 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4062
a5fb313c
AS
40632011-11-14 Andreas Schwab <schwab@redhat.com>
4064
4065 * malloc/arena.c (arena_get2): Don't call reused_arena when
4066 _int_new_arena failed.
4067
6abf3465
UD
40682011-11-14 Ulrich Drepper <drepper@gmail.com>
4069
4070 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4071 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4072 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4073 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4074 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4075 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4076 to compile strcasecmp and strncasecmp.
4077 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4078 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4079
4080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4081
76e3966e
UD
40822011-11-13 Ulrich Drepper <drepper@gmail.com>
4083
4084 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4085 locale-defines.sym to gen-as-const-headers.
4086 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4087 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4089 to compile strcasecmp and strncasecmp.
4090 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4091 strcasecmp_l and strncasecmp_l.
4092 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4093 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4094 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4095 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4096 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4097 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4098 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4099 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4100 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4101 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4102 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4103
ab26144e
UD
41042011-11-12 Ulrich Drepper <drepper@gmail.com>
4105
7edb22ef
UD
4106 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4107 result of SYSDEP_GETTIME_CPU to retval.
4108 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4109 parameter list to macro. Remove trailing semicolon. Adjust users.
4110
9694fc44
UD
4111 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4112 variable.
4113
8ad89ef8
UD
4114 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4115 mantissa words.
4116 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4117
0c822ef9
UD
4118 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4119 from unused variable.
4120
874e0564
UD
4121 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4122 DWARF definitions.
4123 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4124 for assembling.
4125
3a2edc79
UD
4126 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4127 over namespaces.
4128
f3c2577f
UD
4129 * sunrpc/rpc_prot.c (rejected): Fix case value.
4130
294ce126
UD
4131 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4132 unsigned long long int to avoid warnings in shift.
4133
5e2b63c6
UD
4134 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4135 of use of trans.
4136 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4137 variable tmp.
4138
e7f4b08e
UD
4139 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4140 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4141 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4142
ab26144e
UD
4143 * nis/nis_table.c (nis_list): Use variable of correct type for
4144 result of __follow_path call.
4145
8a6d5255
AZ
41462011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4147
4148 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4149 of math functions ceil, trunc, floor, round, and sqrt, when
4150 avaliable on the platform.
4151 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4152 name clash.
4153 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4154 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4155 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4156
aaddc98c
MP
41572011-10-30 Marek Polacek <mpolacek@redhat.com>
4158
4159 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4160 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4161
95b7042b
RM
41622011-11-11 Roland McGrath <roland@hack.frob.com>
4163
4164 * include/unistd.h: Fix __readlink return type.
4165 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4166
57769839
UD
41672011-11-11 Ulrich Drepper <drepper@gmail.com>
4168
4169 * stdlib/ucontext.h: Undo last change for makecontext.
4170
edc5984d
AS
41712011-11-11 Andreas Schwab <schwab@redhat.com>
4172
98591e58
AS
4173 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4174
edc5984d
AS
4175 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4176 * setjmp/setjmp.h: Mark functions as non-leaf.
4177 * setjmp/bits/setjmp2.h: Likewise.
4178 * stdlib/ucontext.h: Likewise.
4179
77cdc054
AS
41802011-11-10 Andreas Schwab <schwab@redhat.com>
4181
4182 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4183 (reused_arena): Don't check arena limit.
4184 (arena_get2): Atomically check arena limit.
4185
fe72eebd
UD
41862011-11-08 Ulrich Drepper <drepper@gmail.com>
4187
5f078c32
UD
4188 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4189 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4190
fe72eebd
UD
4191 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4192 instructions.
4193
ae1bc2fa
AS
41942011-11-07 Andreas Schwab <schwab@redhat.com>
4195
7583a88d
AS
4196 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4197 handler when locking.
4198
ae1bc2fa
AS
4199 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4200 Fix size of allocated buffer.
4201
10fb0bfa
AS
42022011-11-04 Andreas Schwab <schwab@redhat.com>
4203
998832a4
AS
4204 [BZ #10103]
4205 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4206 declarations for long double functions.
4207 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4208
10fb0bfa
AS
4209 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4210
3d7ba52b
AS
42112011-11-03 Andreas Schwab <schwab@redhat.com>
4212
a9ae54a1
AS
4213 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4214 installed.
4215
3d7ba52b
AS
4216 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4217 is disabled.
4218
bc8db248
ST
42192011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4220
4221 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4222
45b96dd6
AS
42232011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4224
647776f6
AS
4225 * include/alloca.h (stackinfo_alloca_round): Define.
4226 (extend_alloca): Use it.
4227 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4228 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4229 here.
4230
d91a8b93
AS
4231 * scripts/check-local-headers.sh: Ignore libaudit.h.
4232
45b96dd6
AS
4233 * nscd/Makefile (extra-objs): Make recursively expanded.
4234
432d41ce
UD
42352011-11-01 Ulrich Drepper <drepper@gmail.com>
4236
34372fc6
UD
4237 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4238 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4239
fadb59f8
UD
4240 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4241 * posix/tst-rfc3484-2.c: Likewise.
4242 * posix/tst-rfc3484-3.c: Likewise.
4243
78239589
UD
4244 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4245 process_vm_writev.
4246 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4247 process_vm_writev.
4248 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4249 process_vm_writev from libc using GLIBC_2.15 version.
4250
432d41ce
UD
4251 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4252
02f9c6cf
PP
42532011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4254
4255 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4256 stack usage.
4257
3a2c0242
UD
42582011-10-31 Ulrich Drepper <drepper@gmail.com>
4259
f4ec4833
UD
4260 [BZ #13367]
4261 * nss/getent.c (initgroups_keys): Show error message in case no group
4262 names are given.
4263
3a2c0242
UD
4264 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4265 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4266 __bump_nl_timestamp.
4267 * nscd/connections (nscd_init): When host database is served open
4268 netlink socket and request notification about configuration changes.
4269 (main_loop_poll): Track netlink file descriptor and bump timestamp
4270 in case data becomes available.
4271 (main_loop_epoll): Likewise.
4272 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4273 (database_pers_head): Add extra_data fileds.
4274 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4275 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4276 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4277 Adjust caller.
4278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4279 in6ai data, call __free_in6ai.
4280 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4281 Add -DHAVE_NETLINK.
4282 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4283 interface information. Reuse previous data if netlink timestamp
4284 is not changed.
4285 (__bump_nl_timestamp): New function.
4286 (__free_in6ai): New function.
4287
636064eb
UD
42882011-10-30 Ulrich Drepper <drepper@gmail.com>
4289
4290 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4291 close_not_cancel_no_status here.
4292 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4293
9beb2334
UD
42942011-10-29 Ulrich Drepper <drepper@gmail.com>
4295
6ef76f3b
UD
4296 [BZ #13276]
4297 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4298 return value.
4299
0ffc4f3e 4300 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
4301 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4302 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4303
cb95113e
UD
43042011-07-03 Andreas Jaeger <aj@suse.de>
4305
4306 [BZ #10709]
4307 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4308 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4309 * math/libm-test.inc (sin_test): Add test case.
4310
a1b560ff
UD
43112011-10-29 Ulrich Drepper <drepper@gmail.com>
4312
c9aaface
UD
4313 [BZ #13337]
4314 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4315 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4316
d272e7f1
UD
4317 * elf/chroot_canon.c (chroot_canon): Cleanups.
4318
1bc33071
UD
4319 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4320
1760874d
TJ
4321 [BZ #13335]
4322 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4323 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4324
51d91b18
UD
4325 * string/test-strchr.c: Make usable for strchrnul testing.
4326 * string/test-strchrnul.c: New file.
4327 * string/Makefile (strop-tests): Add strchrnul.
4328
a1b560ff 4329 * po/it.po: Update from translation team.
b611fb81 4330 * po/es.po: Likewise.
a1b560ff 4331
a5b81e1f
UD
43322011-10-28 Ulrich Drepper <drepper@gmail.com>
4333
fd52bc6d
UD
4334 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4335 the three constants needed as parameters. Drop the others.
4336 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4337 __m128i_strloadu_tolower.
52e4b9eb
UD
4338 Create and initialize variable zero and use it in all the places
4339 where _mm_setzero_si128 was used.
fd52bc6d 4340
a5b81e1f
UD
4341 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4342 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4343 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4344 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4345 anymore.
4346 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4347 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4348 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4349 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4350 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4351 __mpranred, __mptan.
4352 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4353 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4354 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4355 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4356 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4357 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4358 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4359 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4360 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4361
b4343346
AS
43622011-10-28 Andreas Schwab <schwab@redhat.com>
4363
0c92d8a8
AS
4364 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4365 redefine if SHARED.
4366 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4367
b4343346
AS
4368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4369 wide char related routines to wcsmbs subdir.
4370
3871f58f
AS
43712011-10-27 Andreas Schwab <schwab@redhat.com>
4372
4373 [BZ #13344]
4374 * misc/sys/cdefs.h (__THROWNL): Define.
4375 * posix/unistd.h: Use __THREADNL instead of __THREAD
4376 for memory synchronization functions.
4377
94d44d9f
RM
43782011-10-26 Roland McGrath <roland@hack.frob.com>
4379
21b64b15 4380 [BZ #13349]
94d44d9f
RM
4381 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4382 doesn't exist.
4383 * manual/stdio.texi (Obstack Streams): Node removed.
4384
f6ce9294
AS
43852011-10-26 Andreas Schwab <schwab@redhat.com>
4386
80479147
AS
4387 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4388 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4389 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4390
f6ce9294
AS
4391 * math/math_private.h (math_force_eval): Allow non-addressable
4392 arguments.
4393 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4394
618280a1
UD
43952011-10-25 Ulrich Drepper <drepper@gmail.com>
4396
e0016b11
UD
4397 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4398 file is not needed.
4399
4400 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4401 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4402 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4403 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4404 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4405 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4406 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4407 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4408 Add AVX variants.
4409 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4410 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4411 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4412 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4413 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4414 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4415 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4416 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4417 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4418 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4419 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4420 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4421 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4422 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4423 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4424 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4425 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4426 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4427 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4428
4429 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4430 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4431
618280a1
UD
4432 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4433 place. Use VEX encoding when compiling for AVX.
4434
37822576
AS
44352011-10-25 Andreas Schwab <schwab@redhat.com>
4436
1f1e1947
AS
4437 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4438 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4439
37822576
AS
4440 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4441
31ea014d
UD
44422011-10-25 Ulrich Drepper <drepper@gmail.com>
4443
d7826aa1 4444 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 4445 useless if() expression.
d7826aa1
UD
4446 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4447 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4448 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4449 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4450 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4451 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4452 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4453 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4454 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4455 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4456 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4457 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4458 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4459 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4460 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4461 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4462 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4464 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4465
31ea014d
UD
4466 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4467
16437fec
AS
44682011-10-25 Andreas Schwab <schwab@redhat.com>
4469
4470 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4471 condition.
4472 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4473
31d3cc00
UD
44742011-10-25 Ulrich Drepper <drepper@gmail.com>
4475
4476 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4477 .text section. Avoid duplicate constants.
4478 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4480 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4482 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4483 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4484 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4486 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4487 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4488 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4489 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4490 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4491 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4492 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4493 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4494 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4495 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4496 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4497 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4498 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4499 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4500 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4501 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4502 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4503 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4504 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4505 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4506 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4507 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4508 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4509 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4510 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4511 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4512 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4513 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4514 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4515 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4516 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4517 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4518 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4519 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4520 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4521 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4522 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4523
58985aa9
UD
45242011-10-24 Ulrich Drepper <drepper@gmail.com>
4525
202c9deb
UD
4526 * sysdeps/x86_64/dla.h: Move to ...
4527 * sysdeps/x86_64/fpu/dla.h: ...here.
4528 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4529 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 4530
af968f62
UD
4531 * config.make.in: Add have-mfma4 entry.
4532 * configure.in: Substitute libc_cv_cc_fma4.
4533 * math/Makefile (dbl-only-routines): Add sincostab.
4534 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4535 Use __sincostab not sincos.
4536 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4537 name is a macro.
4538 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4539 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4540 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4542 using __copysign.
4543 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4544 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4545 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4546 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4547 and __inv.
4548 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4549 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4550 __copysign.
4551 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4552 define aliases when function name is a macro.
4553 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4554 sysdeps/ieee754/dbl-64/sincos.tbl.
4555 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4556 fma4-enabled routines.
4557 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4558 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4559 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4560 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4561 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4562 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4563 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4564 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4565 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4566 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4567 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4568 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4569 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4570 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4571 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4572 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4573 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4574 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4575 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4576 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4577 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4578 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4579 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4580 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4581 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4582 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4583 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4584 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4585 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4586 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4587
58985aa9
UD
4588 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4589 rename.
4590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4591 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4593 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4595 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4597 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4598
a201fbcf
AS
45992011-10-24 Andreas Schwab <schwab@redhat.com>
4600
4601 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4602
fc2ee42a
LD
46032011-10-23 Ulrich Drepper <drepper@gmail.com>
4604
bb3129bd
UD
4605 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4606
0275fff8
UD
4607 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4608 prediction.
4609 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4610
2fa2ae85
UD
4611 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4612 Remove unused variable magic_bits.
4613 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4614
fc2ee42a
LD
4615 * string/strnlen.c: Define and use STRNLEN macro.
4616 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4617 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4619 * wcsmbs/wcslen.c: Define and use WCSLEN.
4620 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4621 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4622 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4623 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4624 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4625 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4626 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4627
ce7dd29f
LD
46282011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4629
4630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4631 strnlen-sse2-no-bsf.
4632 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4633 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4634 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4635 Add strnlen support.
4636 (USE_AS_STRNLEN): New macro.
4637 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4638 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4639 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4640 * sysdeps/x86_64/wcslen.S: New file.
4641
979c70a3
MZ
46422011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4643
4644 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4645 XMM-moves are used for copying on small sizes.
4646
2d09f82f
LD
46472011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4648
4649 * wcsmbs/Makefile (strop-tests): Add wcschr.
4650 * wcsmbs/test-wcschr.c: New file.
4651 * string/test-strchr.c: Update.
4652 Add wcschr support.
4653 (WIDE): New macro.
4654
619fccca
LD
46552011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4656
2d09f82f 4657 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
4658 * wcsmbs/test-wcslen.c: New file.
4659 * string/test-strlen.c: Update.
4660 Add wcslen support.
4661 (WIDE): New macro.
4662
09f699ea
UD
46632011-10-23 Ulrich Drepper <drepper@gmail.com>
4664
4665 * po/it.po: Update from translation team.
4666
95584d3b
LD
46672011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4668
4669 * sysdeps/x86_64/wcscmp.S: Update.
4670 Fix wrong comparison semantics.
4671 wcscmp shall use signed comparison not unsigned.
4672 Don't use substraction to avoid overflow bug.
4673 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4674 * wcsmbc/wcscmp.c: Likewise.
4675 * string/test-strcmp.c: Likewise.
4676 Add new tests to check cases with negative values.
4677
c8b3296b
UD
46782011-10-23 Ulrich Drepper <drepper@gmail.com>
4679
4680 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4681 * sysdeps/x86_64/dla.h: ...here. New file.
4682 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4683 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4685 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4687 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4688 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4689 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4691
246ad57a
AS
46922011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4693
4694 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4695 __ynl_finite aliases.
4696
a1a87169
UD
46972011-10-22 Ulrich Drepper <drepper@gmail.com>
4698
0d355eb7
UD
4699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4700
a1a87169
UD
4701 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4702 define DLA_FMA.
4703 [DLA_FMA] (EMULV): Use DLA_FMA.
4704 [DLA_FMA] (MUL12): Use EMULV.
4705 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4706 that are not needed.
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/halfulp.c: Likewise.
4712 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4714
ee2aafe0
AS
47152011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4716
4717 * math/s_nan.c: Undef __nan.
4718 * math/s_nanf.c: Undef __nanf.
4719 * math/s_nanl.c: Undef __nanl.
4720 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4721 "math_private.h".
4722
bc62c2fb
UD
47232011-10-22 Ulrich Drepper <drepper@gmail.com>
4724
77425c63
UD
4725 * math/s_catan.c: Add branch predictions.
4726 * math/s_catanf.c: Likewise.
4727 * math/s_catanh.c: Likewise.
4728 * math/s_catanhf.c: Likewise.
4729 * math/s_catanhl.c: Likewise.
4730 * math/s_catanl.c: Likewise.
4731 * math/s_cexp.c: Likewise.
4732 * math/s_cexpf.c: Likewise.
4733 * math/s_cexpl.c: Likewise.
4734 * math/s_clog.c: Likewise.
4735 * math/s_clog10.c: Likewise.
4736 * math/s_clog10f.c: Likewise.
4737 * math/s_clog10l.c: Likewise.
4738 * math/s_clogf.c: Likewise.
4739 * math/s_clogl.c: Likewise.
4740 * math/s_csqrt.c: Likewise.
4741 * math/s_csqrtf.c: Likewise.
4742 * math/s_csqrtl.c: Likewise.
4743 * math/s_ctanf.c: Likewise.
4744 * math/s_ctanh.c: Likewise.
4745 * math/s_ctanhf.c: Likewise.
4746 * math/s_ctanhl.c: Likewise.
4747 * math/s_ctanl.c: Likewise.
4748
bc62c2fb
UD
4749 * math/math_private.h: Define __nan, __nanf, __nanl.
4750 * math/s_cacosh.c: Include <math_private.h>.
4751 * math/s_cacoshl.c: Likewise.
4752 * math/s_casinh.c: Likewise.
4753 * math/s_casinhf.c: Likewise.
4754 * math/s_casinhl.c: Likewise.
4755 * math/s_ccos.c: Rely entire on ccosh.
4756 * math/s_ccosf.c: Rely entire on ccoshf.
4757 * math/s_ccosl.c: Rely entirely on ccoshl.
4758 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4759 Remove tests for FE_INVALID.
4760 * math/s_ccoshf.c: Likewise.
4761 * math/s_ccoshl.c: Likewise.
4762 * math/s_csin.c: Likewise.
4763 * math/s_csinf.c: Likewise.
4764 * math/s_csinh.c Likewise.
4765 * math/s_csinhf.c: Likewise.
4766 * math/s_csinhl.c: Likewise.
4767 * math/s_csinl.c: Likewise.
4768 * math/s_ctan.c: Likewise.
4769 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4770 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4771 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4772
8ec250a4
UD
47732011-10-21 Ulrich Drepper <drepper@gmail.com>
4774
c196fed8
UD
4775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4776 compilation problems.
4777
8ec250a4
UD
4778 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4779 __builtin_expect.
4780
8d4f46c6
UD
47812011-10-20 Ulrich Drepper <drepper@gmail.com>
4782
ed72b654
UD
4783 * sysdeps/i386/configure.in: Test for -mfma4 option.
4784 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4785 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4786 COMMON_CPUID_INDEX_80000001.
4787 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4788 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4789 use it if FMA3 is not supported.
4790 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4791
8d4f46c6
UD
4792 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4793 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4794
d45c60c2
AS
47952011-10-20 Andreas Schwab <schwab@redhat.com>
4796
4797 [BZ #12892]
4798 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4799 it would create a cycle with a link time dependency.
4800
d9a4d2ab
UD
48012011-10-19 Ulrich Drepper <drepper@gmail.com>
4802
855d1560
UD
4803 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4804 instruction.
4805 * string/Makefile (strop-tests): Add rawmemchr.
4806 * string/test-rawmemchr.c: New file.
4807
d9a4d2ab
UD
4808 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4809 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4810 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4811 when compiling str{,n}casecmp and when AVX is available. Hook up
4812 new optimized code in initializers.
4813
8f3b1ffe
AS
48142011-10-19 Andreas Schwab <schwab@redhat.com>
4815
4816 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4817 __feraiseexcept instead of feraiseexcept.
4818
d38f1dba
UD
48192011-10-18 Ulrich Drepper <drepper@gmail.com>
4820
d9a8d0ab
UD
4821 * math/math_private.h: Define defaults for libc_fetestexcept and
4822 libc_feupdateenv.
4823 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4824 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4825 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4826 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4827 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4828 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4829 libc_fetestexcept and libc_feupdateenv.
4830
4855e3dd
UD
4831 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4832 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4833 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4834 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4835 libc_feholdexcept_setround.
4836
581d30e3
UD
4837 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4838 Add s_nearbyint-c and s_nearbyintf-c.
4839 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4840 nearbyintf inlines.
4841 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4842 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4843 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4844 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4845
d38f1dba
UD
4846 * math/math_private.h: Define defaults for libc_fegetround,
4847 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4848 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4849 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4850 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4851 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4852 standard functions.
4853 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4854 Remove comments and hacks for old compiler versions.
4855 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4856 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4857 libc_feholdexceptl.
4858
caa6c9d8
AS
48592011-10-18 Andreas Schwab <schwab@redhat.com>
4860
4861 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
4862 (__feraiseexcept_renamed): Add __NTH.
4863 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
4864 namespace violations.
4865
97c066e6
UD
48662011-10-17 Ulrich Drepper <drepper@gmail.com>
4867
99ce7b04
UD
4868 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4869
1004d182
UD
4870 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4871
228a984d
UD
4872 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4873 recently added interfaces.
4874 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4875
c8553a6a
UD
4876 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4877 about macro parameter expansion.
4878
ed22dcf6
UD
4879 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4880 __NO_MATH_INLINES is defined. Cleanups.
4881
4882 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4883 and __floorf is target has SSE4.1.
4884 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4885 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4886 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4887 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4888
b171c137
UD
4889 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4890 name.
4891 (floorf): Likewise.
4892
97c066e6
UD
4893 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4894
629f62ef
AS
48952011-10-17 Andreas Schwab <schwab@redhat.com>
4896
49a43d80
AS
4897 * misc/sys/cdefs.h: Fix last change.
4898
629f62ef
AS
4899 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4900 database lookup.
4901
e453f6cd
UD
49022011-10-16 Ulrich Drepper <drepper@gmail.com>
4903
aa78043a
UD
4904 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4905
ad0f5cad
UD
4906 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4907 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4908 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4909 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4911 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4912 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4913 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4914 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4915 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4916 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4917 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4918 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4919 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4920 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4921 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4922 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4923 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4924 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4925 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4926 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4927 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4928
4929 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4930 ceil, ceilf, floor, floorf.
4931
4932 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4933 Perform IRELATIVE relocations last.
4934
e453f6cd
UD
4935 * elf/do-rel.h: Add another parameter nrelative, replacing the
4936 local variable with the same name. Change name of the function
4937 to end in Rel or Rela (uppercase).
4938 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4939 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4940 elf_dynamic_do_##reloc function.
4941
fd5bdc09
UD
49422011-10-15 Ulrich Drepper <drepper@gmail.com>
4943
79b195b5
UD
4944 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4945 is sufficient, at least on modern CPUs.
4946
d4a28569
UD
4947 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4948
b61099b5
UD
4949 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4950 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4951
bcf01e6d
UD
4952 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4953 __expl_finite.
4954 * math/bits/math-finite.h: Add entries for exp.
4955 * math/e_expl.c: Add __*_finite alias.
4956 * sysdeps/i386/fpu/e_exp.S: Likewise.
4957 * sysdeps/i386/fpu/e_expf.S: Likewise.
4958 * sysdeps/i386/fpu/e_expl.c: Likewise.
4959 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4960 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4961 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4963 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4964 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4965 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4966
ba1a0d59
UD
4967 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4968 is sufficient, at least on modern CPUs.
4969
fd5bdc09
UD
4970 * ctype/ctype-info.c (__ctype_init): Define.
4971 * include/ctype.h (__ctype_init): Declare.
4972 (__ctype_b_loc): The variable is always initialized.
4973 (__ctype_toupper_loc): Likewise.
4974 (__ctype_tolower_loc): Likewise.
4975 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4976 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4977
7872cfb0
AS
49782011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4979
b468825a
AS
4980 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4981
7872cfb0
AS
4982 * configure.in: Also look in $cxxmachine/include for C++ system
4983 headers.
4984
be13f7bf
LD
49852011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4986
4987 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4988 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4989 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4990 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4991 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4992 (USE_AS_WMEMCMP): New macro.
4993 Fixing indents.
4994 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4995 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4996 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4997 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4999 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5000 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5001 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5002 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5003 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5004 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5005 (USE_AS_WMEMCMP): New macro.
5006 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5007 * sysdeps/string/test-memcmp.c: Update.
5008 Fix simple_wmemcmp.
5009 Add new tests.
5010 * wcsmbs/wmemcmp.c: Update.
5011 (WMEMCMP): New macro.
5012 Fix overflow bug.
5013
556a2007
AJ
50142011-10-12 Andreas Jaeger <aj@suse.de>
5015
5016 [BZ #13268]
5017 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5018
538faaa7
UD
50192011-10-15 Ulrich Drepper <drepper@gmail.com>
5020
ab6737ff
UD
5021 * libio/iofwide.c (do_length): Avoid warning.
5022
538faaa7
UD
5023 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5024
396a21b1
UD
50252011-10-14 Ulrich Drepper <drepper@gmail.com>
5026
cdf2901f
UD
5027 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5028
38ad40ce
UD
5029 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5030 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5031 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5032 * sysdeps/i386/i686/fpu/e_log.S: New file.
5033 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5034 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5035
396a21b1
UD
5036 * ctype/ctype.h: Add support for inlined isXXX functions when
5037 compiling C++ code.
5038
6b1f68c9
AS
50392011-10-14 Andreas Schwab <schwab@redhat.com>
5040
349290c0
AS
5041 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5042
6b1f68c9
AS
5043 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5044
f2282d42
RM
50452011-10-13 Roland McGrath <roland@hack.frob.com>
5046
5047 [BZ #13291]
5048 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5049
5298ffa8
AS
50502011-10-13 Andreas Schwab <schwab@redhat.com>
5051
714fad23
AS
5052 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5053 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5054 feraiseexcept.
5055
81dcc7fb
AS
5056 * sysdeps/x86_64/memrchr.S: Check for zero size.
5057
5298ffa8
AS
5058 * string/stratcliff.c: Add memrchr tests.
5059
951fbcec
LD
50602011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5061
5062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5063 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5064 rawmemchr-sse2 rawmemchr-sse2-bsf.
5065 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5066 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5067 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5068 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5069 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5070 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5071 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5072 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5073 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5074 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5075 * string/memrchr.c (MEMRCHR): New macro.
5076
0ac5ae23
UD
50772011-10-12 Ulrich Drepper <drepper@gmail.com>
5078
5079 Add integration with gcc's -ffinite-math-only and optimize wrapper
5080 functions in libm.
5081 * Versions.def: Define GLIBC_2.15 version for libm.
5082 * math/Makefile (headers): Add bits/math-finite.h.
5083 * math/bits/math-finite.h: New file.
5084 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5085 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5086 * math/e_acoshl.c: Add __*_finite alias.
5087 * math/e_acosl.c: Likewise.
5088 * math/e_asinl.c: Likewise.
5089 * math/e_atan2l.c: Likewise.
5090 * math/e_atanhl.c: Likewise.
5091 * math/e_coshl.c: Likewise.
5092 * math/e_exp10.c: Likewise.
5093 * math/e_exp10f.c: Likewise.
5094 * math/e_exp10l.c: Likewise.
5095 * math/e_exp2l.c: Likewise.
5096 * math/e_fmodl.c: Likewise.
5097 * math/e_gammal_r.c: Likewise.
5098 * math/e_hypotl.c: Likewise.
5099 * math/e_j0l.c: Likewise.
5100 * math/e_j1l.c: Likewise.
5101 * math/e_jnl.c: Likewise.
5102 * math/e_lgammal_r.c: Likewise.
5103 * math/e_log10l.c: Likewise.
5104 * math/e_log2l.c: Likewise.
5105 * math/e_logl.c: Likewise.
5106 * math/e_powl.c: Likewise.
5107 * math/e_sinhl.c: Likewise.
5108 * math/e_sqrtl.c: Likewise.
5109 * math/e_scalb.c: Completely rewritten and optimized.
5110 * math/e_scalbf.c: Likewise.
5111 * math/e_scalbl.c: Likewise.
5112 * math/w_acos.c: Likewise.
5113 * math/w_acosf.c: Likewise.
5114 * math/w_acosl.c: Likewise.
5115 * math/w_acosh.c: Likewise.
5116 * math/w_acoshf.c: Likewise.
5117 * math/w_acoshl.c: Likewise.
5118 * math/w_asin.c: Likewise.
5119 * math/w_asinf.c: Likewise.
5120 * math/w_asinl.c: Likewise.
5121 * math/w_atan2.c: Likewise.
5122 * math/w_atan2f.c: Likewise.
5123 * math/w_atan2l.c: Likewise.
5124 * math/w_atanh.c: Likewise.
5125 * math/w_atanhf.c: Likewise.
5126 * math/w_atanhl.c: Likewise.
5127 * math/w_exp10.c: Likewise.
5128 * math/w_exp10f.c: Likewise.
5129 * math/w_exp10l.c: Likewise.
5130 * math/w_fmod.c: Likewise.
5131 * math/w_fmodf.c: Likewise.
5132 * math/w_fmodl.c: Likewise.
5133 * math/w_j0.c: Likewise.
5134 * math/w_j0f.c: Likewise.
5135 * math/w_j0l.c: Likewise.
5136 * math/w_j1.c: Likewise.
5137 * math/w_j1f.c: Likewise.
5138 * math/w_j1l.c: Likewise.
5139 * math/w_jn.c: Likewise.
5140 * math/w_jnf.c: Likewise.
5141 * math/w_log.c: Likewise.
5142 * math/w_logf.c: Likewise.
5143 * math/w_logl.c: Likewise.
5144 * math/w_log10.c: Likewise.
5145 * math/w_log10f.c: Likewise.
5146 * math/w_log10l.c: Likewise.
5147 * math/w_log2.c: Likewise.
5148 * math/w_log2f.c: Likewise.
5149 * math/w_log2l.c: Likewise.
5150 * math/w_pow.c: Likewise.
5151 * math/w_powf.c: Likewise.
5152 * math/w_powl.c: Likewise.
5153 * math/w_remainder.c: Likewise.
5154 * math/w_remainderf.c: Likewise.
5155 * math/w_remainderl.c: Likewise.
5156 * math/w_scalb.c: Likewise.
5157 * math/w_scalbf.c: Likewise.
5158 * math/w_scalbl.c: Likewise.
5159 * math/w_sqrt.c: Likewise.
5160 * math/w_sqrtf.c: Likewise.
5161 * math/w_sqrtl.c: Likewise.
5162 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5163 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5164 used.
5165 * math/math_private.h: Declare __kernel_standard_f.
5166 * math/w_cosh.c: Remove cruft and optimize a bit.
5167 * math/w_coshf.c: Likewise.
5168 * math/w_coshl.c: Likewise.
5169 * math/w_exp2.c: Likewise.
5170 * math/w_exp2f.c: Likewise.
5171 * math/w_exp2l.c: Likewise.
5172 * math/w_hypot.c: Likewise.
5173 * math/w_hypotf.c: Likewise.
5174 * math/w_hypotl.c: Likewise.
5175 * math/w_lgamma.c: Likewise.
5176 * math/w_lgamma_r.c: Likewise.
5177 * math/w_lgammaf.c: Likewise.
5178 * math/w_lgammaf_r.c: Likewise.
5179 * math/w_lgammal.c: Likewise.
5180 * math/w_lgammal_r.c: Likewise.
5181 * math/w_sinh.c: Likewise.
5182 * math/w_sinhf.c: Likewise.
5183 * math/w_sinhl.c: Likewise.
5184 * math/w_tgamma.c: Likewise.
5185 * math/w_tgammaf.c: Likewise.
5186 * math/w_tgammal.c: Likewise.
5187 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5188 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5189 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5190 Minor optimizations. Pretty printing. Remove cruft.
5191 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5192 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5193 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5194 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5195 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5196 * sysdeps/i386/fpu/e_asin.S: Likewise.
5197 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5198 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5199 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5200 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5201 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5202 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5203 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5204 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5205 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5206 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5207 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5208 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5209 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5210 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5211 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5212 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5213 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5214 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5215 * sysdeps/i386/fpu/e_log.S: Likewise.
5216 * sysdeps/i386/fpu/e_log10.S: Likewise.
5217 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5218 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5219 * sysdeps/i386/fpu/e_log2.S: Likewise.
5220 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5221 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5222 * sysdeps/i386/fpu/e_logf.S: Likewise.
5223 * sysdeps/i386/fpu/e_logl.S: Likewise.
5224 * sysdeps/i386/fpu/e_pow.S: Likewise.
5225 * sysdeps/i386/fpu/e_powf.S: Likewise.
5226 * sysdeps/i386/fpu/e_powl.S: Likewise.
5227 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5228 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5229 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5230 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5231 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5232 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5233 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5234 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5235 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5236 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5237 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5239 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5240 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5241 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5242 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5243 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5244 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5245 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5246 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5247 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5248 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5249 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5250 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5252 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5253 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5254 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5257 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5258 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5259 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5260 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5261 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5262 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5263 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5264 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5265 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5266 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5267 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5268 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5269 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5270 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5271 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5272 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5273 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5274 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5275 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5276 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5277 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5278 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5282 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5284 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5285 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5286 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5287 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5288 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5289 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5290 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5291 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5292 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5293 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5294 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5295 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5296 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5297 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5298 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5299 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5300 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5301 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5302 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5303 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5307 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5308 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5310 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5312 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5313 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5314 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5315 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5316 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5317 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5318 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5319 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5320 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5321 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5322 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5323 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5324 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5325 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5326 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5327 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5328 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5329 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5330 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5331 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5332 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5333 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5334 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5335 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5336 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5337 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5338 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5339 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5340 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5341 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5342 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5343 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5344 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5345 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5346 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5347 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5348 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5349 (__isnanf): Likewise.
5350 (__isinf_ns): Likewise.
5351 (__isinf_nsf): Likewise.
5352 (__finite): Likewise.
5353 (__finitef): Likewise.
5354 (__ieee754_sqrt): Define as macro.
5355 (__ieee754_sqrtf): Define as macro.
5356 (__ieee754_sqrtl): Define as macro.
5357 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5358 inlined copy.
5359 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5360 __FINITE_MATH_ONLY__ consistent.
5361 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5362
12cc2fcd
AS
53632011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5364
a843a204
AS
5365 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5366 of rawmemchr.
5367
12cc2fcd
AS
5368 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5369
c853acd5
UD
53702011-10-09 Ulrich Drepper <drepper@gmail.com>
5371
5372 * po/ja.po: Update from translation team.
5373
c658d255
RM
53742011-10-08 Roland McGrath <roland@hack.frob.com>
5375
110946e4
RM
5376 * locale/programs/locarchive.c (prepare_address_space): New function.
5377 (create_archive, enlarge_archive, open_archive): Use it.
5378
50604220
RM
5379 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5380 inside [SHARED], where it is used.
5381
c658d255
RM
5382 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5383
5384 * nss/getent.c (netgroup_keys): Remove unused variable.
5385 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5386
6a621eb7
UD
53872011-10-08 Ulrich Drepper <drepper@gmail.com>
5388
7edb55ce
UD
5389 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5390 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5392 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5393 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5394 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5395 * math/Makefile (libm-calls): Add s_isinf_ns.
5396 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5397 * math/multc3.c: Likewise.
5398 * math/s_casin.c: Likewise.
5399 * math/s_casinf.c: Likewise.
5400 * math/s_casinl.c: Likewise.
5401 * math/s_ccos.c: Likewise.
5402 * math/s_ccosf.c: Likewise.
5403 * math/s_ccosl.c: Likewise.
5404 * math/s_ctan.c: Likewise.
5405 * math/s_ctanf.c: Likewise.
5406 * math/s_ctanh.c: Likewise.
5407 * math/s_ctanhf.c: Likewise.
5408 * math/s_ctanhl.c: Likewise.
5409 * math/s_ctanl.c: Likewise.
5410 * math/w_fmod.c: Likewise.
5411 * math/w_fmodf.c: Likewise.
5412 * math/w_fmodl.c: Likewise.
5413 * math/w_remainder.c: Likewise.
5414 * math/w_remainderf.c: Likewise.
5415 * math/w_remainderl.c: Likewise.
5416 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5417 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5418 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5419 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5420 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5421 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5422 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5423 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5424
187da0ae
UD
5425 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5426 of the number.
5427 * stdio-common/printf_fphex.c: Likewise.
5428 * stdio-common/printf_size.c: Likewise.
5429
9277c064
UD
5430 * math/e_exp10.c: Include math_private.h using <...> not "...".
5431 * math/e_exp10f.c: Likewise.
5432 * math/e_exp10l.c: Likewise.
5433 * math/e_exp2l.c: Likewise.
5434 * math/e_j0l.c: Likewise.
5435 * math/e_j1l.c: Likewise.
5436 * math/e_jnl.c: Likewise.
5437 * math/e_lgammal_r.c: Likewise.
5438 * math/e_rem_pio2l.c: Likewise.
5439 * math/e_scalb.c: Likewise.
5440 * math/e_scalbf.c: Likewise.
5441 * math/e_scalbl.c: Likewise.
5442 * math/k_cosl.c: Likewise.
5443 * math/k_sinl.c: Likewise.
5444 * math/k_tanl.c: Likewise.
5445 * math/s_cacoshf.c: Likewise.
5446 * math/s_catan.c: Likewise.
5447 * math/s_catanf.c: Likewise.
5448 * math/s_catanh.c: Likewise.
5449 * math/s_catanhf.c: Likewise.
5450 * math/s_catanhl.c: Likewise.
5451 * math/s_catanl.c: Likewise.
5452 * math/s_ccosh.c: Likewise.
5453 * math/s_ccoshf.c: Likewise.
5454 * math/s_ccoshl.c: Likewise.
5455 * math/s_cexp.c: Likewise.
5456 * math/s_cexpf.c: Likewise.
5457 * math/s_cexpl.c: Likewise.
5458 * math/s_clog.c: Likewise.
5459 * math/s_clog10.c: Likewise.
5460 * math/s_clog10f.c: Likewise.
5461 * math/s_clog10l.c: Likewise.
5462 * math/s_clogf.c: Likewise.
5463 * math/s_clogl.c: Likewise.
5464 * math/s_csin.c: Likewise.
5465 * math/s_csinf.c: Likewise.
5466 * math/s_csinh.c: Likewise.
5467 * math/s_csinhf.c: Likewise.
5468 * math/s_csinhl.c: Likewise.
5469 * math/s_csinl.c: Likewise.
5470 * math/s_csqrt.c: Likewise.
5471 * math/s_csqrtf.c: Likewise.
5472 * math/s_csqrtl.c: Likewise.
5473 * math/s_ctan.c: Likewise.
5474 * math/s_ctanf.c: Likewise.
5475 * math/s_ctanh.c: Likewise.
5476 * math/s_ctanhf.c: Likewise.
5477 * math/s_ctanhl.c: Likewise.
5478 * math/s_ctanl.c: Likewise.
5479 * math/s_ldexp.c: Likewise.
5480 * math/s_ldexpf.c: Likewise.
5481 * math/s_ldexpl.c: Likewise.
5482 * math/s_significand.c: Likewise.
5483 * math/s_significandf.c: Likewise.
5484 * math/s_significandl.c: Likewise.
5485 * math/w_acos.c: Likewise.
5486 * math/w_acosf.c: Likewise.
5487 * math/w_acosh.c: Likewise.
5488 * math/w_acoshf.c: Likewise.
5489 * math/w_acoshl.c: Likewise.
5490 * math/w_acosl.c: Likewise.
5491 * math/w_asin.c: Likewise.
5492 * math/w_asinf.c: Likewise.
5493 * math/w_asinl.c: Likewise.
5494 * math/w_atan2.c: Likewise.
5495 * math/w_atan2f.c: Likewise.
5496 * math/w_atan2l.c: Likewise.
5497 * math/w_atanh.c: Likewise.
5498 * math/w_atanhf.c: Likewise.
5499 * math/w_atanhl.c: Likewise.
5500 * math/w_cosh.c: Likewise.
5501 * math/w_coshf.c: Likewise.
5502 * math/w_coshl.c: Likewise.
5503 * math/w_dremf.c: Likewise.
5504 * math/w_exp10.c: Likewise.
5505 * math/w_exp10f.c: Likewise.
5506 * math/w_exp10l.c: Likewise.
5507 * math/w_exp2.c: Likewise.
5508 * math/w_exp2f.c: Likewise.
5509 * math/w_fmod.c: Likewise.
5510 * math/w_fmodf.c: Likewise.
5511 * math/w_fmodl.c: Likewise.
5512 * math/w_hypot.c: Likewise.
5513 * math/w_hypotf.c: Likewise.
5514 * math/w_hypotl.c: Likewise.
5515 * math/w_j0.c: Likewise.
5516 * math/w_j0f.c: Likewise.
5517 * math/w_j0l.c: Likewise.
5518 * math/w_j1.c: Likewise.
5519 * math/w_j1f.c: Likewise.
5520 * math/w_j1l.c: Likewise.
5521 * math/w_jn.c: Likewise.
5522 * math/w_jnf.c: Likewise.
5523 * math/w_jnl.c: Likewise.
5524 * math/w_lgamma.c: Likewise.
5525 * math/w_lgamma_r.c: Likewise.
5526 * math/w_lgammaf.c: Likewise.
5527 * math/w_lgammaf_r.c: Likewise.
5528 * math/w_lgammal.c: Likewise.
5529 * math/w_lgammal_r.c: Likewise.
5530 * math/w_log.c: Likewise.
5531 * math/w_log10.c: Likewise.
5532 * math/w_log10f.c: Likewise.
5533 * math/w_log10l.c: Likewise.
5534 * math/w_log2.c: Likewise.
5535 * math/w_log2f.c: Likewise.
5536 * math/w_log2l.c: Likewise.
5537 * math/w_logf.c: Likewise.
5538 * math/w_logl.c: Likewise.
5539 * math/w_pow.c: Likewise.
5540 * math/w_powf.c: Likewise.
5541 * math/w_powl.c: Likewise.
5542 * math/w_remainder.c: Likewise.
5543 * math/w_remainderf.c: Likewise.
5544 * math/w_remainderl.c: Likewise.
5545 * math/w_scalb.c: Likewise.
5546 * math/w_scalbf.c: Likewise.
5547 * math/w_scalbl.c: Likewise.
5548 * math/w_sinh.c: Likewise.
5549 * math/w_sinhf.c: Likewise.
5550 * math/w_sinhl.c: Likewise.
5551 * math/w_sqrt.c: Likewise.
5552 * math/w_sqrtf.c: Likewise.
5553 * math/w_sqrtl.c: Likewise.
5554 * math/w_tgamma.c: Likewise.
5555 * math/w_tgammaf.c: Likewise.
5556 * math/w_tgammal.c: Likewise.
5557
6a621eb7
UD
5558 * po/ja.po: Update from translation team.
5559
bf582445
AJ
55602011-09-29 Andreas Jaeger <aj@suse.de>
5561
f9efbf3a
AJ
5562 [BZ #13179]
5563 * sunrpc/netname.c (netname2host): Fix logic.
5564
bf582445
AJ
5565 [BZ #6779]
5566 [BZ #6783]
5567 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5568 correctly.
5569 * math/w_remainder.c (__remainder): Likewise.
5570 * math/w_remainderf.c (__remainderf): Likewise.
5571 * math/libm-test.inc (remainder_test): Add test cases.
5572
48693bea
AK
55732011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5574
5575 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5576 sdiv_qrnnd.
5577
42622229
LD
55782011-10-07 Ulrich Drepper <drepper@gmail.com>
5579
5580 * string/test-memcmp.c: Avoid unncessary #defines.
5581 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5582
093ecf92
LD
55832011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5584
5585 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5586 Use new sse2 version for core i3 - i7 as it's faster
5587 than sse42 version.
5588 (bit_Prefer_PMINUB_for_stringop): New.
5589 * sysdeps/x86_64/rawmemchr.S: Update.
5590 Replace with faster SSE2 version.
5591 * sysdeps/x86_64/memrchr.S: New file.
5592 * sysdeps/x86_64/memchr.S: Update.
5593 Replace with faster SSE2 version.
5594
fde56e5c
MP
55952011-09-12 Marek Polacek <mpolacek@redhat.com>
5596
5597 * elf/dl-load.c (lose): Add cast to avoid warning.
5598
21fd49a9
UD
55992011-10-07 Ulrich Drepper <drepper@gmail.com>
5600
5a06e643
UD
5601 * po/ca.po: Update from translation team.
5602
684ae515
UD
5603 * inet/getnetgrent_r.c: Hook up nscd.
5604 * nscd/Makefile (routines): Add nscd_netgroup.
5605 (nscd-modules): Add netgroupcache.
5606 (CFLAGS-netgroupcache.c): Define.
5607 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5608 (cache_search): Add const to second parameter.
5609 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5610 INNETGR.
5611 (dbs): Add netgrdb entry.
5612 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5613 (verify_persistent_db): Handle netgrdb.
5614 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5615 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5616 GETFDNETGR.
5617 (netgroup_response_header): Define.
5618 (innetgroup_response_header): Define.
5619 (datahead): Add netgroup_response_header and innetgroup_response_header
5620 elements.
5621 * nscd/nscd.conf: Add entries for netgroup cache.
5622 * nscd/nscd.h (dbtype): Add netgrdb.
5623 (_PATH_NSCD_NETGROUP_DB): Define.
5624 (netgroup_iov_disabled): Declare.
5625 (xmalloc, xcalloc, xrealloc): Move declarations here.
5626 (cache_search): Adjust prototype.
5627 Add netgroup-related prototypes.
5628 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5629 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5630 (__nscd_innetgr): Declare.
5631 * nscd/selinux.c (perms): Use access_vector_t as element type and
5632 add netgroup-related initializers.
5633 * nscd/netgroupcache.c: New file.
5634 * nscd/nscd_netgroup.c: New file.
5635 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5636 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5637 For four parameters use innetgr.
5638 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5639 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5640 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5641 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5642
21fd49a9
UD
5643 * nscd/connections.c (register_traced_file): Don't register file
5644 for disabled databases.
5645
054c0457
UD
56462011-10-06 Ulrich Drepper <drepper@gmail.com>
5647
32b63198
UD
5648 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5649
054c0457
UD
5650 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5651 from tree and freeing node.
5652
64031225
JO
56532011-09-25 Jiri Olsa <jolsa@redhat.com>
5654
5655 * nss/nsswitch.c (__nss_database_lookup): Handle
5656 nss_parse_service_list out of memory case.
5657
0490345c
JO
56582011-09-15 Jiri Olsa <jolsa@redhat.com>
5659
5660 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5661 out of memory case.
5662
3a62d00d
AS
56632011-10-04 Andreas Schwab <schwab@redhat.com>
5664
5665 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5666 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5667 pass it down.
5668 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5669 elf_machine_rela, elf_machine_lazy_rel.
5670 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5671 (ELF_DYNAMIC_DO_REL): Likewise.
5672 (ELF_DYNAMIC_DO_RELA): Likewise.
5673 (ELF_DYNAMIC_RELOCATE): Likewise.
5674 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5675 to ELF_DYNAMIC_DO_REL.
5676 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5677 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5678 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5679 elf_machine_rela.
5680 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5681 skip_ifunc, don't call ifunc function if non-zero.
5682 (elf_machine_rela): Likewise.
5683 (elf_machine_lazy_rel): Likewise.
5684 (elf_machine_lazy_rela): Likewise.
5685 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5686 (elf_machine_lazy_rel): Likewise.
5687 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5688 Likewise.
5689 (elf_machine_lazy_rel): Likewise.
5690 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5691 Likewise.
5692 (elf_machine_lazy_rel): Likewise.
5693 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5694 (elf_machine_lazy_rel): Likewise.
5695 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5696 (elf_machine_lazy_rel): Likewise.
5697 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5698 (elf_machine_lazy_rel): Likewise.
5699 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5700 (elf_machine_lazy_rel): Likewise.
5701 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5702 (elf_machine_lazy_rel): Likewise.
5703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5704 (elf_machine_lazy_rel): Likewise.
5705
68577918
UD
57062011-09-28 Ulrich Drepper <drepper@gmail.com>
5707
5708 * nss/nss_files/files-init.c (_nss_files_init): Use static
5709 initialization for all the *_traced_file variables.
5710
68822d74
AS
57112011-09-28 Andreas Schwab <schwab@redhat.com>
5712
5713 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5714
2056100b
RM
57152011-09-27 Roland McGrath <roland@hack.frob.com>
5716
5717 [BZ #13226]
5718 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5719
32c76b63
AS
57202011-09-27 Andreas Schwab <schwab@redhat.com>
5721
5722 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5723 Reread the line before reparsing it.
5724
bf972c9d
AS
57252011-09-26 Andreas Schwab <schwab@redhat.com>
5726
5727 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5728
e057a1b5
JM
57292011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5730 Maxim Kuvyrkov <maxim@codesourcery.com>
5731 Joseph Myers <joseph@codesourcery.com>
5732
5733 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5734 if needed for __stack_chk_guard.
5735
bc7e1c36
RM
57362011-09-19 Roland McGrath <roland@hack.frob.com>
5737
ecb1482f
RM
5738 * sysdeps/posix/spawni.c (script_execute): Always define it.
5739 It will be optimized away if unused.
5740 (maybe_script_execute): New function.
5741 (__spawni): Call it.
5742
bc7e1c36
RM
5743 * Makerules: Don't include tls.make.
5744 (config-tls): Always set to thread.
5745 * tls.make.c: File removed.
5746
1c3b002b
MF
57472011-09-19 Mike Frysinger <vapier@gentoo.org>
5748
5749 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5750 * config.make.in (CPPFLAGS-config): New substituted variable.
5751
2840865d
UD
57522011-09-15 Ulrich Drepper <drepper@gmail.com>
5753
88738eb6
UD
5754 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5755
cbf645a6 5756 [BZ #13192]
2840865d
UD
5757 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5758 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5759
b402e91a
RM
57602011-09-15 Roland McGrath <roland@hack.frob.com>
5761
5762 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5763 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5764 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5765 (CALL_FAIL): Likewise.
5766 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5767 (CALL_FAIL): Macro removed.
5768 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5769
4c1a1f71
UD
57702011-09-15 Ulrich Drepper <drepper@gmail.com>
5771
5772 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5773 for __FINITE_MATH_ONLY__ == 1.
5774
edc121be
AS
57752011-09-15 Andreas Schwab <schwab@redhat.com>
5776
5777 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5778 __ieee754_sqrt instead of sqrt.
5779 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5780 __ieee754_sqrtf instead of sqrtf.
5781 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5782 __floorf instead of floorf.
5783 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5784 __floorf, __truncf instead of floorf, truncf.
5785
cd205654
UD
57862011-09-14 Ulrich Drepper <drepper@gmail.com>
5787
ee4d0315
UD
5788 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5789
cd205654
UD
5790 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5791 __extern_always_inline.
5792 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5793 32-bit.
5794
48b67d71
AS
57952011-09-14 Andreas Schwab <schwab@redhat.com>
5796
5797 * elf/rtld.c (dl_main): Also relocate in dependency order when
5798 doing symbol dependency testing.
5799
1ae12c75
AS
58002011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5801
5802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5803 Always define `refsym'.
5804
995a80df
AS
58052011-09-13 Andreas Schwab <schwab@redhat.com>
5806
e529793b
AS
5807 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5808 (__FD_ELT): Renamed from __FDELT.
5809 * misc/bits/select2.h (__FD_ELT): Likewise.
5810 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5811 __FD_MASK instead of __FDELT, __FDMASK.
5812 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5813 Likewise.
5814 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5815 Likewise.
5816
52d4fef8
AS
5817 * elf/Makefile (gen-ldd): Fix pattern.
5818
995a80df
AS
5819 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5820 (init_tls): Likewise.
5821
8682f8b0
UD
58222011-09-12 Ulrich Drepper <drepper@gmail.com>
5823
5824 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5825
de82006d
AS
58262011-09-12 Andreas Schwab <schwab@redhat.com>
5827
a7c8e6a1
AS
5828 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5829 `struct cmsghdr *' instead of `void *'.
5830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5831 Likewise.
5832
0f31fe77
AS
58332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5834
5835 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5836 if non-absolute.
5837 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5838 ldd_rewrite_script.
0f31fe77 5839
32b4c839
UD
58402011-09-11 Ulrich Drepper <drepper@gmail.com>
5841
83cd1420
UD
5842 * configure.in: Remove --with-tls option.
5843 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5844 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5845 out in case it is missing.
5846 * sysdeps/ia64/elf/configure.in: Likewise.
5847 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5848 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5849 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5850 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5851 * sysdeps/sh/elf/configure.in: Likewise.
5852 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5853 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5854 * sysdeps/x86_64/elf/configure.in: Likewise.
5855 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5856 * sysdeps/mach/hurd/tls.h: Likewise.
5857
633f745d
UD
5858 [BZ #13067]
5859 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5860
f318beb8
UD
5861 [BZ #13090]
5862 * configure.in: Fix use of AC_INIT.
5863
32b4c839
UD
5864 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5865
3ce1f295
UD
58662011-09-10 Ulrich Drepper <drepper@gmail.com>
5867
bb016596
UD
5868 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5869 __set_errno.
8e58439c
UD
5870 * malloc/hooks.c: Likewise.
5871
aebae053 5872 [BZ #11929]
02d46fc4
UD
5873 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5874 variables statically.
5875 (narenas): Initialize.
5876 (list_lock): Initialize.
bb016596
UD
5877 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5878 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
5879 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5880 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5881 Add initializers to main_arena and mp_.
5882 (malloc_state): Remove pagesize member. Change all users to use
5883 GLRO(dl_pagesize).
5884
5885 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5886 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5887 is always initialized.
5888
22a89187
UD
5889 * malloc/malloc.c: Removed unused configurations and dead code.
5890 * malloc/arena.c: Likewise.
5891 * malloc/hooks.c: Likewise.
02d46fc4 5892 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 5893
d063d164
UD
5894 * include/tls.h: Removed. USE___THREAD must always be defined.
5895 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5896 * elf/dl-libc.c: Likewise.
5897 * elf/dl-tsd.c: Likewise.
5898 * include/errno.h: Likewise.
5899 * include/netdb.h: Likewise.
5900 * include/resolv.h: Likewise.
5901 * inet/herrno-loc.c: Likewise.
5902 * inet/herrno.c: Likewise.
5903 * malloc/arena.c: Likewise.
5904 * malloc/hooks.c: Likewise.
5905 * malloc/malloc.c: Likewise.
5906 * resolv/res-state.c: Likewise.
5907 * resolv/res_libc.c: Likewise.
5908 * sysdeps/i386/dl-machine.h: Likewise.
5909 * sysdeps/ia64/dl-machine.h: Likewise.
5910 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5911 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5912 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5913 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5914 * sysdeps/sh/dl-machine.h: Likewise.
5915 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5916 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5917 * sysdeps/unix/i386/sysdep.S: Likewise.
5918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5919 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5920 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5921 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5922 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5923 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5924 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5925 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5928 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5929 * sysdeps/x86_64/dl-machine.h: Likewise.
5930 * tls.make.c: Likewise.
5931
3ce1f295
UD
5932 * configure.in: Remove --with-__thread option. Make tests for
5933 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5934 tls_model attribute fail if no support is available. Remove
5935 USE_IN_LIBIO.
5936 * Makeconfig: Adjust for dropped configure option. All features are
5937 now mandatory.
5938 * Makerules: Likewise.
5939 * Versions.def: Likewise.
5940 * argp/argp-fmtstream.c: Likewise.
5941 * argp/argp-fmtstream.h: Likewise.
5942 * argp/argp-help.c: Likewise.
5943 * assert/assert.c: Likewise.
5944 * config.h.in: Likewise.
5945 * config.make.in: Likewise.
5946 * configure: Likewise.
5947 * configure.in: Likewise.
5948 * csu/Versions: Likewise.
5949 * csu/init.c: Likewise.
5950 * elf/tst-audit2.c: Likewise.
5951 * elf/tst-tls10.c: Likewise.
5952 * elf/tst-tls10.h: Likewise.
5953 * elf/tst-tls11.c: Likewise.
5954 * elf/tst-tls12.c: Likewise.
5955 * elf/tst-tls14.c: Likewise.
5956 * elf/tst-tlsmod11.c: Likewise.
5957 * elf/tst-tlsmod12.c: Likewise.
5958 * elf/tst-tlsmod13.c: Likewise.
5959 * elf/tst-tlsmod13a.c: Likewise.
5960 * elf/tst-tlsmod14a.c: Likewise.
5961 * elf/tst-tlsmod15b.c: Likewise.
5962 * elf/tst-tlsmod16a.c: Likewise.
5963 * elf/tst-tlsmod16b.c: Likewise.
5964 * elf/tst-tlsmod7.c: Likewise.
5965 * elf/tst-tlsmod8.c: Likewise.
5966 * elf/tst-tlsmod9.c: Likewise.
5967 * gmon/gmon.c: Likewise.
5968 * grp/fgetgrent_r.c: Likewise.
5969 * grp/putgrent.c: Likewise.
5970 * hurd/fopenport.c: Likewise.
5971 * include/libc-symbols.h: Likewise.
5972 * include/tls.h: Likewise.
5973 * intl/gettextP.h: Likewise.
5974 * intl/loadinfo.h: Likewise.
5975 * locale/global-locale.c: Likewise.
5976 * locale/localeinfo.h: Likewise.
5977 * mach/devstream.c: Likewise.
5978 * malloc/arena.c: Likewise.
5979 * malloc/set-freeres.c: Likewise.
5980 * misc/err.c: Likewise.
5981 * misc/getttyent.c: Likewise.
5982 * misc/mntent_r.c: Likewise.
5983 * posix/getopt.c: Likewise.
5984 * posix/wordexp.c: Likewise.
5985 * pwd/fgetpwent_r.c: Likewise.
5986 * resolv/Versions: Likewise.
5987 * resolv/res_hconf.c: Likewise.
5988 * shadow/fgetspent_r.c: Likewise.
5989 * shadow/putspent.c: Likewise.
5990 * stdio-common/printf_fphex.c: Likewise.
5991 * stdio-common/tmpfile.c: Likewise.
5992 * stdlib/abort.c: Likewise.
5993 * stdlib/fmtmsg.c: Likewise.
5994 * sunrpc/auth_unix.c: Likewise.
5995 * sunrpc/clnt_perr.c: Likewise.
5996 * sunrpc/clnt_tcp.c: Likewise.
5997 * sunrpc/clnt_udp.c: Likewise.
5998 * sunrpc/clnt_unix.c: Likewise.
5999 * sunrpc/openchild.c: Likewise.
6000 * sunrpc/svc_simple.c: Likewise.
6001 * sunrpc/svc_tcp.c: Likewise.
6002 * sunrpc/svc_udp.c: Likewise.
6003 * sunrpc/svc_unix.c: Likewise.
6004 * sunrpc/xdr.c: Likewise.
6005 * sunrpc/xdr_array.c: Likewise.
6006 * sunrpc/xdr_rec.c: Likewise.
6007 * sunrpc/xdr_ref.c: Likewise.
6008 * sunrpc/xdr_stdio.c: Likewise.
6009
1248c1c4
PB
60102011-09-09 Ulrich Drepper <drepper@gmail.com>
6011
6012 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6013
60142011-07-03 Andreas Jaeger <aj@suse.de>
6015
6016 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6017 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6018 regenerate with gen-libm-tests.pl.
6019
60202010-05-12 Petr Baudis <pasky@suse.cz>
6021
6022 [BZ #11589]
6023 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6024 around j0() zero points by switching to j1().
6025 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6026 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6027 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6028 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6029
f22e1074
UD
60302011-09-09 Ulrich Drepper <drepper@gmail.com>
6031
f19009c1
UD
6032 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6033 instead of 0.
6034 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6035 instead of 0. .
6036 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6037 Patch in part by Pavel Roskin <proski@gnu.org>.
6038
3f8cc204
UD
6039 [BZ #13138]
6040 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6041 realloc.
6042 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6043 Free memory block if necessary.
6044
f22e1074
UD
6045 [BZ #12847]
6046 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6047 be NULL. Don't lock in this case.
6048
0a2349f9
RM
60492011-09-09 Roland McGrath <roland@hack.frob.com>
6050
6051 * elf/elf.h (ELFOSABI_GNU): New macro.
6052 (ELFOSABI_LINUX): Define to that.
6053
f3cdd467
DZ
60542011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6055
6056 * string/strncat.c (strncat): Undef the symbol in case it has been
6057 defined in bits/string.h.
6058
74718d13
UD
60592011-09-09 Ulrich Drepper <drepper@gmail.com>
6060
633e9e0f
UD
6061 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6062
0a2349f9 6063 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6064 link map.
6065
f9924780
AJ
60662011-08-17 Andreas Jaeger <aj@suse.de>
6067
6068 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6069
7f5517aa
PP
60702011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6071 Ian Lance Taylor <iant@google.com>
6072
6073 * math/libm-test.inc (lround_test): New testcase.
6074 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6075
762011fe
UD
60762011-09-08 Ulrich Drepper <drepper@gmail.com>
6077
92963737
UD
6078 * Makefile: Remove support for automatic cvs check-ins.
6079 * Makerules: Likewise.
6080 * config.make.in: Likewise.
6081 * configure.in: Likewise.
6082 * intl/Makefile: Likewise.
6083 * locale/Makefile: Likewise.
6084 * po/Makefile: Likewise.
6085 * posix/Makefile: Likewise.
6086 * sysdeps/gnu/Makefile: Likewise.
6087 * sysdeps/mach/hurd/Makefile: Likewise.
6088 * sysdeps/sparc/sparc32/Makefile: Likewise.
6089
b0727fd8
JS
6090 [BZ #13118]
6091 * posix/Makefile (bug-regex32-ENV): Define.
6092 Patch by John Stanley <jpsinthemix@verizon.net>.
6093
a0f33f99
UD
6094 * misc/Makefile (headers): Add bits/select2.h.
6095 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6096 * misc/bits/select2.h: New file.
6097 * include/bits/select2.h: New file.
6098 * debug/Makefile (routines): Add fdelt_chk.
6099 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6100 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6101 FD_ISSET.
6102 * debug/fdelt_chk.c: New file.
6103
762011fe
UD
6104 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6105 * wcsmbs/test-wmemcmp.c: Likewise.
6106 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6107 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6108
61092011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6110
6111 * string/Makefile (strop-tests): Add memcmp.
6112 * string/test-wmemcmp.c: New file.
6113 * string/test-memcmp.c: Add wmemcmp support.
6114
7f513ec8
RM
61152011-09-08 Roland McGrath <roland@hack.frob.com>
6116
0442afb4
RM
6117 [BZ #13153]
6118 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6119 2011-07-19 change.
6120
7f513ec8
RM
6121 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6122 garbage value in a __mach_port_mod_refs call in the cases of the
6123 task-self and thread-self ports.
6124
a12b2239
ST
61252011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6126
6127 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6128
610f9ab4
AS
61292011-09-08 Andreas Schwab <schwab@redhat.com>
6130
7f513ec8 6131 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 6132
48882a1a
LD
61332011-09-07 Ulrich Drepper <drepper@gmail.com>
6134
b49865be
UD
6135 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6136
fdc86bc9
UD
6137 * elf/dl-libc.c (dlerror_run): Pass back error code from
6138 dl_catch_error.
6139
c966526a
UD
6140 [BZ #13123]
6141 * elf/dl-load.c (lose): Free l_origin if it is valid.
6142
48882a1a
LD
6143 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6144 names.
6145 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6146 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6147 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6148 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6149 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6150 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6151
77a2a8b4
AZ
61522011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6153
6154 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6155 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6156 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6157 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6158 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6159 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6160 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6161 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6162 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6163 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6164
24f579d8
AM
61652011-08-15 Alan Modra <amodra@gmail.com>
6166
6167 [BZ #13092]
6168 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6169 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6170 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6171 ppc_mcount to static-only-routines.
6172 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6173 __mcount_internal.
6174 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6175 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6176
3d4837df
UD
61772011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6178
6179 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6180 for finite and infinity parameters.
6181
22700377
WS
61822011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6183
6184 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6185 and add nop instructions for throughput optimization.
6186 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6187
5025581e
WS
61882011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6189
6190 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6191 aligned copy for power7 with vector-scalar instructions.
6192 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6193
08a300c9
L
61942011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6195
6196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6197 AVX check.
6198
59178ef9
AS
61992011-09-07 Andreas Schwab <schwab@redhat.com>
6200
6201 [BZ #13144]
6202 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6203 last change.
6204
e38ba7ab
UD
62052011-09-07 Ulrich Drepper <drepper@gmail.com>
6206
6207 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6208 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6209 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6210 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6211 clock_gettime.
6212
d53a73ac
UD
62132011-09-06 Ulrich Drepper <drepper@gmail.com>
6214
fc8bffcc
UD
6215 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6216 Forgot to demangle the pointer.
6217
ceaa0c5d
UD
6218 * sysdeps/i386/sysdep.h: Define atom_text_section.
6219 * sysdeps/x86_64/sysdep.h: Likewise.
6220 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6221 section with atom_text_section.
6222 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6223 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6224 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6225 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6226 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6227
a77d3c17
UD
6228 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6229 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6230 already be defined. Change to take two parameters and don't assign
6231 result to variable. Adjust all users.
6232 Define INTERNAL_GETTIME if not already defined.
6233 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6234 call.
6235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6236 HAVE_CLOCK_GETTIME_VSYSCALL.
6237 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6238
d53a73ac
UD
6239 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6240 gettimeofday vsyscall, just use time.
6241
a8f84144
AS
62422011-09-06 Andreas Schwab <schwab@redhat.com>
6243
6244 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6245 <errno.h>.
6246
ef606249
UD
62472011-09-06 Ulrich Drepper <drepper@gmail.com>
6248
6249 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6250 syscall on x86-64.
6251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6252 syscall.
6253 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6254 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6255 syscall if possible.
6256
6585cb60
UD
62572011-09-05 Ulrich Drepper <drepper@gmail.com>
6258
6259 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6260 e_ident. Don't pass to find_mapsXX.
6261 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6262
a5f524e4
LD
62632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6264
6265 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6266 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6267 * sysdeps/x86_64/multiarch/strchr.S: Update.
6268 Check bit_slow_BSF bit.
6269 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6270 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6271 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6272
554881ef
UD
62732011-09-05 Ulrich Drepper <drepper@gmail.com>
6274
d96de963
UD
6275 [BZ #13134]
6276 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6277 before glibc 2.15.
6278 (tryshell): Define.
6279 (__spawni): Change last parameter to be flag. Test
6280 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6281 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6282 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6283 * posix/spawni.c: Likewise.
6284 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6285 * posix/spawnp.c: Likewise. Change normal version to use
6286 SPAWN_XFLAGS_USE_PATH.
6287 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6288 SPAWN_XFLAGS_TRY_SHELL.
6289
d48e5868
UD
6290 [BZ #13150]
6291 * posix/glob.h: Remove gcc 1.x support.
6292
554881ef
UD
6293 [BZ #13068]
6294 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6295
693fb948
LD
62962011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6297
6298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6299 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6300 strrchr-sse2-bsf
6301 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6302 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6303 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6304 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6305 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6306 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6307
1b48c537
UD
63082011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6309
49d42c37
UD
6310 * sysdeps/x86_64/wcscmp.S: New file.
6311
1b48c537
UD
6312 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6313 wcscmp-c wcscmp-sse2
6314 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6315 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6316 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6317 * wcsmbs/wcscmp.c: Allow renaming.
6318
15c95c5d
DM
63192011-09-05 David S. Miller <davem@davemloft.net>
6320
6321 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6322 stack slot, rather than the struct return pointer slot.
6323 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6324 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6326 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6327
2f0ad8f3
UD
63282011-09-05 Ulrich Drepper <drepper@gmail.com>
6329
d88ae418
UD
6330 * po/ja.po: Update from translation team.
6331
2f0ad8f3
UD
6332 [BZ #13144]
6333 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6334 kernel in 64-bit binaries.
6335
5f4318d1
DM
63362011-09-01 David S. Miller <davem@davemloft.net>
6337
6338 * elf/elf.h (HWCAP_SPARC_*): Move to..
6339 * sysdeps/sparc/sysdep.h: this new file and add new values.
6340 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6341 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6342 _DL_HWCAP_COUNT to 24.
6343 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6344 entries.
6345 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6346 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6347 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6348 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6349 instead of magic constants.
6350 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6351
3ba57516
DM
63522011-08-31 David S. Miller <davem@davemloft.net>
6353
6354 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6355 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6356 Reimplement to do errno handling inline.
6357 (SYSCALL_ERROR_HANDLER): New macro.
6358 (__SYSCALL_STRING): Do not do errno handling in asm.
6359 (__CLONE_SYSCALL_STRING): Delete.
6360 (__INTERNAL_SYSCALL_STRING): Delete.
6361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6362 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6363 (PSEUDO): Reimplement to do errno handling inline.
6364 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6365 (SYSCALL_ERROR_HANDLER): New macro.
6366 (__SYSCALL_STRING): Do not do errno handling in asm.
6367 (__CLONE_SYSCALL_STRING): Delete.
6368 (__INTERNAL_SYSCALL_STRING): Delete.
6369 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6370 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6371 i386.
6372 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6373 (inline_syscall*): Add 'err' argument.
6374 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6375 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6376 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6377 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6378
6379 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6380 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6381
2bc17433
AS
63822011-08-30 Andreas Schwab <schwab@redhat.com>
6383
6384 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6385
fbeb5f4d
JO
63862011-08-29 Jiri Olsa <jolsa@redhat.com>
6387
6388 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6389 directive.
6390
ad69cc26
DM
63912011-08-24 David S. Miller <davem@davemloft.net>
6392
6393 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6394
39dd69df
AS
63952011-08-24 Andreas Schwab <schwab@redhat.com>
6396
6397 * elf/Makefile: Add rules to build and run unload8 test.
6398 * elf/unload8.c: New file.
6399 * elf/unload8mod1.c: New file.
6400 * elf/unload8mod1x.c: New file.
6401 * elf/unload8mod2.c: New file.
6402 * elf/unload8mod3.c: New file.
6403
6404 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6405 it wasn't used.
6406
2c0b250a
DM
64072011-08-23 David S. Miller <davem@davemloft.net>
6408
6409 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6410 subtract stack bias.
6411 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6412 %sp not %fp in calculations.
6413 (_JMPBUF_UNWINDS_ADJ): Likewise.
6414
22044b48
DM
6415 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6416 (aio_suspend): Call it to force an exception region around the
6417 AIO_MISC_WAIT() invocation.
6418
2cae4995
AS
64192011-08-23 Andreas Schwab <schwab@redhat.com>
6420
6421 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6422 backslash.
6423
873a772e
AJ
64242011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6425
6426 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6427 protection macro.
6428 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6429 and <dl-machine.h>.
6430 (Elf64_FuncDesc): Remove.
6431
25ad0df1
DM
64322011-08-22 David S. Miller <davem@davemloft.net>
6433
6434 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6435 sigaltstack check, add missing cfi directives.
6436 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6437 missing cfi directives, and sigaltstack handling.
6438
e888bcbe
AS
64392011-08-16 Andreas Schwab <schwab@redhat.com>
6440
6441 [BZ #11724]
6442 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6443 object is seen twice.
6444 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6445
6446 * elf/Makefile (distribute): Add tst-initorder2.c.
6447 (tests): Add tst-initorder2.
6448 (modules-names): Add tst-initorder2a tst-initorder2b
6449 tst-initorder2c tst-initorder2d. Add rules to build them.
6450 ($(objpfx)tst-initorder2.out): New rule.
6451 * elf/tst-initorder2.c: New file.
6452 * elf/tst-initorder2.exp: New file.
6453
87162f46
AS
64542011-08-22 Andreas Schwab <schwab@redhat.com>
6455
70538b7f
AS
6456 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6457
f55ffe58
AS
6458 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6459 dependencies back to end of function.
6460
87162f46
AS
6461 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6462 $(elfobjdir)/ld.so.
6463
91b392a4
UD
64642011-08-21 Ulrich Drepper <drepper@gmail.com>
6465
6466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6467 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6468 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6469 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6470 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6471 of __vdso_gettimeofday.
6472 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6473 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6474 attribute_hidden.
6475 (_libc_vdso_platform_setup): Remove initialization of
6476 __vdso_gettimeofday and __vdso_time.
6477
5c43483f
UD
64782011-08-20 Ulrich Drepper <drepper@gmail.com>
6479
775a77e7
UD
6480 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6481 and fgetc_unlocked.
6482 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6483 getc_unlocked.
89f447ed 6484
49c74ba9
UD
6485 * elf/dl-open.c (add_to_global): Report additions to the global scope
6486 for LD_DEBUG=scopes.
6487 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 6488 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 6489
5c43483f
UD
6490 [BZ #13114]
6491 * stdio-common/Makefile (tests): Add bug24.
6492 * stdio-common/bug24.c: New file.
6493
a101b025
AJ
64942011-08-19 Andreas Jaeger <aj@suse.de>
6495
6496 [BZ #13114]
6497 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6498 non-existant file when using close-on-exec mode.
6499
c88f1766
UD
65002011-08-20 Ulrich Drepper <drepper@gmail.com>
6501
0276a718
UD
6502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6503 the very first instruction.
6504
c88f1766
UD
6505 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6506 the CFI state in the end.
6507 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6508 inclusion of dl-trampoline.h.
6509 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6510
51ccffa0
AS
65112011-08-19 Andreas Schwab <schwab@redhat.com>
6512
94d7165f
AS
6513 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6514 expectations for long double.
6515
51ccffa0
AS
6516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6517 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6518
fd708658 65192011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
6520
6521 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6522 artificual limit depends upon the system page size.
6523
44f0a71e
UD
65242011-08-17 Ulrich Drepper <drepper@gmail.com>
6525
6526 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6527 * resolv/Makefile: Define CFLAGS-libresolv.
6528
8de79a24
AS
65292011-08-17 Andreas Schwab <schwab@redhat.com>
6530
6531 * nss/makedb.c (compute_tables): Make variables used in nested
6532 function static.
6533
27724598
UD
65342011-08-17 Ulrich Drepper <drepper@gmail.com>
6535
c5305d88
UD
6536 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6537 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6538 if buffer was too small.
6539
27724598
UD
6540 * elf/pldd.c (main): Attach to all threads in the process.
6541 Rewrite /proc handling to use *at functions.
6542
076fe015
UD
65432011-08-16 Ulrich Drepper <drepper@gmail.com>
6544
174baab3
UD
6545 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6546 specifies first scope to show.
6547 (dl_open_worker): Update callers. Move printing scope of new
6548 object to before the relocation.
44f0a71e 6549 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
6550 * sysdeps/generic/ldsodefs.h: Update declaration.
6551
076fe015
UD
6552 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6553 string for the scope number.
6554
a60df2c3
UD
65552011-08-14 Ulrich Drepper <drepper@gmail.com>
6556
6557 * nscd/servicescache.c (cache_addserv): Make sure written is always
6558 initialized.
6559
5e4287d1
RM
65602011-08-14 Roland McGrath <roland@hack.frob.com>
6561
85ae0589
RM
6562 * sysdeps/i386/i486/bits/atomic.h
6563 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6564 statement expression, so as to suppress "set but not used" warning.
6565 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6566
69f63097
RM
6567 * string/strncat.c (STRNCAT): Use prototype definition.
6568
675456ef
RM
6569 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6570 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6571 -Iprograms here.
6572 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6573 (localedef-modules): Add localedef.
6574 (locale-modules): Add locale.
6575
5e4287d1
RM
6576 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6577 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6578 to avoid a warning.
6579
9c96ff23
DM
65802011-08-14 David S. Miller <davem@davemloft.net>
6581
6582 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6583 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6584
f9ddf089
UD
65852011-08-13 Ulrich Drepper <drepper@gmail.com>
6586
44f0a71e 6587 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
6588 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6589 * elf/rtld.c (dl_main): Set l_name of vDSO.
6590 Call _dl_show_scope when DL_DEBUG_SCOPES.
6591 (process_dl_debug): Recognize scopes flag and also set it for all.
6592 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6593 Declare _dl_show_scope.
6594
1dc27704
UD
6595 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6596 (do_dlopen): Pass caller_dlopen to dl_open.
6597 (__libc_dlopen_mode): Initialize caller_dlopen.
6598
f9ddf089
UD
6599 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6600 of libc. Make tolower call locale-independent. Optimize a bit by
6601 using isdigit instead of isalnum.
6602 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6603
9ac533d3
UD
66042011-08-12 Ulrich Drepper <drepper@gmail.com>
6605
6606 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6607 was a dependency or dynamically loaded.
6608
89edf2e9
UD
66092011-08-11 Ulrich Drepper <drepper@gmail.com>
6610
8e999d29
UD
6611 * intl/l10nflist.c: Allow architecture-specific pop function.
6612 * sysdeps/x86_64/l10nflist.c: New file.
6613
89edf2e9
UD
6614 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6615 classification.
6616
14d96785
AS
66172011-08-10 Andreas Schwab <schwab@redhat.com>
6618
6619 * include/dirent.h: Add libc_hidden_proto for scandirat and
6620 scandirat64. Don't declare __scandirat64.
6621 * dirent/scandirat.c: Add libc_hidden_def.
6622 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6623 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6624
6761ac04
DM
66252011-08-10 David S. Miller <davem@davemloft.net>
6626
6627 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6628 enum.
6629 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6631 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6632
c55fbd1e
UD
66332011-08-09 Ulrich Drepper <drepper@gmail.com>
6634
6635 * Versions.def [libc]: Add GLIBC_2.15.
6636 * dirent/Makefile (routines): Add scandirat and scandirat64.
6637 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6638 GLIBC_2.15.
6639 * dirent/dirent.h: Declare scandirat and scandirat64.
6640 * dirent/scandirat.c: New file.
6641 * dirent/scandirat64.c: New file.
6642 * sysdeps/wordsize-64/scandirat.c: New file.
6643 * sysdeps/wordsize-64/scandirat64.c: New file.
6644 * dirent/opendir.c: Define opendirat.
6645 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6646 using scandirat.
6647 * dirent/scandir64.c: Adjust for scandir.c change.
6648 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6649 __scandirat64, and __scandir_cancel_handler.
6650 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6651 additional parameter and use openat instead of open (outside of ld.so).
6652 Add new __opendir as wrapper around __opendirat.
6653 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6654 here without requiring old scandirat implementation.
6655
879165f2
UD
66562011-08-08 Ulrich Drepper <drepper@gmail.com>
6657
6658 * dirent/scandir.c (cancel_handler): Renamed to
6659 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6660 defined. Adjust users.
6661 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6662 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6663
cb7e923b
UD
66642011-08-04 Ulrich Drepper <drepper@gmail.com>
6665
16292edd
UD
6666 * string/test-string.h (IMPL): Use __STRING to expand name and then
6667 stringify it.
6668
cb7e923b
UD
6669 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6670 of cleanups.
6671
cff82933
LD
66722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6673
6674 * string/Makefile: Update.
6675 (strop-tests): Append strncat.
6676 * string/test-wcscmp.c: New file.
6677 New comprehensive test for wcscmp.
6678 * string/test-strcmp.c: Update.
6679 (WIDE): New define.
6680
9be9bfcc
AS
66812011-07-22 Andreas Schwab <schwab@redhat.com>
6682
6683 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6684 line.
6685
2e96f1c7
AS
66862011-07-26 Andreas Schwab <schwab@redhat.com>
6687
6688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6689 encoding to ACE if AI_IDN.
6690
85188888
JJ
66912011-08-01 Jakub Jelinek <jakub@redhat.com>
6692
6693 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6694 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6695
5fa16e9b
LD
66962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6697
6698 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6699 Fix overflow bug in strncat.
6700 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6701
6702 * string/test-strncat.c: Update.
6703 Add new tests for checking overflow bugs.
6704
67052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6706
6707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6708 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6709 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6710 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6711 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6712 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6713 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6714 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6715 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6716
6717 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6718 (USE_AS_STRCAT): Define.
6719 Add strcat and strncat support.
6720 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6721
8c1a459f
AS
67222011-07-25 Andreas Schwab <schwab@redhat.com>
6723
6724 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6725 __n bigger than INT_MAX+1.
6726 (__strncmp_g): Likewise.
6727
bba33c28
UD
67282011-07-23 Ulrich Drepper <drepper@gmail.com>
6729
798be72d
UD
6730 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6731 * libio/stido.h: Likewise.
6732
8accd4dc
UD
6733 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6734 (AF_NFC): Define.
6735 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6736 (AF_NFC): Define.
6737
cbff0d96
UD
6738 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6739 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6740 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6741 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6743
9191c04a
UD
6744 [BZ #13021]
6745 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6746 installed.
6747
bba33c28
UD
6748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6749 typo.
6750 (_dl_x86_64_save_sse): Likewise.
6751
90f139dd
UD
67522011-07-22 Ulrich Drepper <drepper@gmail.com>
6753
1aae088a
UD
6754 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6755 OSXSAVE.
6756 (_dl_x86_64_save_sse): Likewise.
6757
8e2045f5
UD
6758 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6759
90f139dd
UD
6760 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6761
1d002f25
AS
67622011-07-21 Andreas Schwab <schwab@redhat.com>
6763
6764 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6765 change.
6766 (_dl_x86_64_save_sse): Use correct AVX check.
6767
21137f89
UD
67682011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6769
6770 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6771 bug in strncpy/strncat.
6772 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6773
a65c0b7a
UD
67742011-07-21 Ulrich Drepper <drepper@gmail.com>
6775
6776 * string/tester.c (test_strcat): Add tests for different alignments
6777 of source and destination.
6778 (test_strncat): Likewise.
6779
6986b98a
UD
67802011-07-20 Ulrich Drepper <drepper@gmail.com>
6781
90bb2039
UD
6782 [BZ #12852]
6783 * posix/glob.c (glob): Check passed in values before using them in
6784 expressions to avoid some overflows.
6785 (glob_in_dir): Likewise.
6786
5644ef54
UD
6787 [BZ #13007]
6788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6789 check for AVX enablement so that we don't crash with old kernels and
6790 new hardware.
6791 * elf/tst-audit4.c: Add same checks here.
6792 * elf/tst-audit6.c: Likewise.
6793
6794 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 6795
bfc9dc9b
AS
67962011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6797
6798 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6799
702e64bb
UD
68002011-07-20 Ulrich Drepper <drepper@gmail.com>
6801
6802 * po/cs.po: Update from translation team.
6803 * po/bg.po: Likewise.
6804
295e904f
MP
68052011-07-12 Marek Polacek <mpolacek@redhat.com>
6806
6807 * misc/sys/cdefs.h: Add support for const attribute.
6808 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6809 to gnu_dev_{major,minor,makedev} functions.
6810
3ff94596
MP
68112011-07-20 Marek Polacek <mpolacek@redhat.com>
6812
6813 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6814
28b59fca
AS
68152011-07-20 Andreas Schwab <schwab@redhat.com>
6816
6817 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6818 strlen results.
6819
19df733e
AK
68202011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6821
6822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6823 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6824 register in order to avoid conflicts with the soft frame pointer
6825 being held in r11 when necessary.
6826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6827 (INTERNAL_VSYSCALL_NCS): Likewise.
6828
c8835729
MP
68292011-07-14 Marek Polacek <mpolacek@redhat.com>
6830
6831 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6832 * elf/dl-fini.c (_dl_fini): Adjust caller.
6833 * elf/dl-close.c (_dl_close_worker): Likewise.
6834 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6835
b902330c
MP
68362011-07-15 Marek Polacek <mpolacek@redhat.com>
6837
8991e135
MP
6838 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6839 "aux_cache->nlibs < 0".
6840
b902330c
MP
6841 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6842 in the reload-count case.
6843
99710781
LD
68442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6845
6846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6847 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6848 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6849 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6850 * sysdeps/x86_64/multiarch/strcat.S: New file.
6851 * sysdeps/x86_64/multiarch/strncat.S: New file.
6852 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6853 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6854 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6855 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6856 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6857 (USE_AS_STRCAT): Define.
6858 Add strcat and strncat support.
6859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6860 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6861 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6862 * string/strncat.c: Update.
6863 (USE_AS_STRNCAT): Define.
6864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6865 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6866 and i7.
6867 * sysdeps/x86_64/multiarch/init-arch.h
6868 (bit_Prefer_PMINUB_for_stringop): New.
6869 (index_Prefer_PMINUB_for_stringop): Likewise.
6870 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6871 bit_Prefer_PMINUB_for_stringop.
6872
7dc6bd90
UD
68732011-07-19 Ulrich Drepper <drepper@gmail.com>
6874
6875 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6876 buffer64.
6877 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6878 of casting of buffer.
6879 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6880 buffer32 and buffer64.
6881 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6882 writes instead of casting of buffer.
6883 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6884 buffer32.
6885 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6886 casting of buffer.
6887
e0e72284
AS
68882011-07-19 Andreas Schwab <schwab@redhat.com>
6889
6890 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6891
feb1eb0b
UD
68922011-07-19 Ulrich Drepper <drepper@gmail.com>
6893
6894 * nscd/nscd.c (termination_handler): Don't do anything for a database
6895 if it has not yet been initialized.
6896
298711ff
UD
68972011-07-18 Ulrich Drepper <drepper@gmail.com>
6898
6899 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6900
69012011-07-15 Marek Polacek <mpolacek@redhat.com>
6902
6903 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6904
f9d68389
UD
69052011-07-18 Ulrich Drepper <drepper@gmail.com>
6906
6907 * po/nl.po: Update from translation team.
6908 * po/sv.po: Likewise.
6909
db290cf5
RM
69102011-07-16 Roland McGrath <roland@hack.frob.com>
6911
6912 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6913 now disallowed by GCC.
5c550700 6914
fd5e21c7
RM
6915 * configure.in (use-default-link): Default to yes if a test -shared
6916 link meets our qualifications.
6917 * configure: Regenerated.
6918
5c550700
RM
6919 * config.make.in (output-format): New variable.
6920 * configure.in: Check for ld --print-output-format support.
6921 * configure: Regenerated.
6922 * Makerules ($(common-objpfx)format.lds)
6923 [$(output-format) != unknown]: Just use $(output-format),
6924 instead of the linker-script munging.
6925
9fa2c032
RM
69262011-07-14 Roland McGrath <roland@hack.frob.com>
6927
a6928d51
RM
6928 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6929 of $(common-objpfx)shlib.lds.
6930 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6931
661607b3
RM
6932 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6933 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6934
9fa2c032
RM
6935 * configure.in (-z relro check): Adjust test code to add a large
6936 writable data section after it.
6937 * configure: Regenerated.
6938
defe9061
RM
69392011-07-11 Roland McGrath <roland@hack.frob.com>
6940
6941 * configure.in (-z relro check): Fix test code to make the variable
6942 truly const.
6943 * configure: Regenerated.
6944
319b9ad4
UD
69452011-07-11 Ulrich Drepper <drepper@gmail.com>
6946
6947 * nscd/nscd.h (struct traced_file): Define.
6948 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6949 elements. Add traced_files.
6950 (inotify_fd): Declare.
6951 (register_traced_file): Declare.
6952 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6953 (inotify_fd): Export.
6954 (resolv_conf_descr): Remove.
6955 (nscd_init): Move inotify descriptor creation to main.
6956 Don't register files for notification here.
6957 (register_traced_file): New function.
6958 (invalidate_cache): Don't use reset_res to determine whether to call
6959 res_init, go through the list of registered files.
6960 (main_loop_poll): The inotify descriptors are now stored in the
6961 structures for the traced files.
6962 (main_loop_epoll): Likewise
6963 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6964 to __nss_disable_nscd.
6965 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6966 for a database anymore. Check the records for all the registered
6967 files instead.
6968 * nss/Makefile (libnss_files-routines): Add files-init.
6969 (libnss_db-routines): Add db-init.
6970 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6971 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6972 * nss/nss_db/db-init.c: New file.
6973 * nss/nss_files/files-init.c: New file.
6974 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6975 __nss_lookup_function.
6976 (__nss_lookup_function): Call nss_load_library.
6977 (nss_load_all_libraries): New function.
6978 (__nss_disable_nscd): Take parameter with callback function for files
6979 to register. Set is_nscd. Load all the DSOs for the NSS modules
6980 used for the cached services.
6981 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6982 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6983 options for features to all the files in nscd.
6984
6985 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6986
23bee3e8
RM
69872011-07-10 Roland McGrath <roland@hack.frob.com>
6988
6989 * csu/elf-init.c (__libc_csu_init): Comment typo.
6990
46a5b7f0
UD
69912011-07-09 Ulrich Drepper <drepper@gmail.com>
6992
6993 * po/pl.po: Update from translation team.
6994 * po/ja.po: Likewise.
6995 * po/ru.po: Likewise.
6996 * po/ko.po: Likewise.
6997 * po/fr.po: Likewise.
6998
d30cf5bb
RM
69992011-07-09 Roland McGrath <roland@hack.frob.com>
7000
113ddea4
RM
7001 * configure.in (.ctors/.dtors header and trailer check):
7002 Use an empirical test on a built program.
7003 * configure: Regenerated.
7004
574920b4
RM
7005 * configure.in (-z relro check): Use an empirical test on a built DSO.
7006 Detect, but do not require, on ia64.
7007 * configure: Regenerated.
7008
d30cf5bb
RM
7009 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7010 Update tests that use readelf to use $READELF instead.
7011 * configure: Regenerated.
7012
8538fdb3
UD
70132011-07-08 Ulrich Drepper <drepper@gmail.com>
7014
7015 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7016 if the result is not used.
7017
04d08991
AJ
70182011-07-05 Andreas Jaeger <aj@suse.de>
7019
7020 [BZ#9696]
7021 * stdlib/tst-strtod.c: Add testcase.
7022
de283087
AD
70232011-07-07 Ulrich Drepper <drepper@gmail.com>
7024
4e5f31c8 7025 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7026 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7027 The latter has a higher limit. Take additional parameter to pass to
7028 the new function.
7029 (__pathconf): Pass file to __statfs_link_max.
7030 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7031 __statfs_link_max.
7032 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7033 __statfs_link_max.
7034
de283087
AD
7035 [BZ #12868]
7036 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7038 Handle Lustre.
7039 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7040 (__statfs_filesize_max): Likewise.
7041 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7042
c75fa153
AJ
70432011-07-05 Andreas Jaeger <aj@suse.de>
7044
7045 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7046
1a544854
UD
70472011-07-06 Marek Polacek <mpolacek@redhat.com>
7048
7049 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7050 `status' variable.
7051 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7052 Likewise.
7053
6f0eec67
UD
70542011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7055
7056 * Makefile (strop-tests): Add strncat.
7057 * string/test-strncat.c: New file.
7058
aae30307
UD
70592011-06-30 Marek Polacek <mpolacek@redhat.com>
7060
7061 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7062
c0cfb5eb
UD
70632011-06-21 Andreas Jaeger <aj@suse.de>
7064
7065 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7066 Copy rule from iconvdata/Makefile.
7067
01636b21
UD
70682011-07-06 Ulrich Drepper <drepper@gmail.com>
7069
7070 [BZ #12922]
7071 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7072 but no long options are defined, just return 'W'.
7073
9895c8bc
UD
70742011-06-22 Marek Polacek <mpolacek@redhat.com>
7075
7076 [BZ #9696]
7077 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7078
5d4cf042
UD
70792011-07-06 Ulrich Drepper <drepper@gmail.com>
7080
7081 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7082 netgroups to read.
960e5535 7083 (innetgr): Likewise.
5d4cf042 7084
751eb97e
RM
70852011-07-05 Roland McGrath <roland@hack.frob.com>
7086
7087 * config.make.in (install_root): Default to $(DESTDIR).
7088
f15f1e45
UD
70892011-07-05 Ulrich Drepper <drepper@gmail.com>
7090
7091 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7092
4e34ac6a
RM
70932011-07-02 Roland McGrath <roland@hack.frob.com>
7094
5e9b6af4
RM
7095 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7096
84f9ea0f
RM
7097 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7098 containing directory rather than embedding absolute directory names.
7099
ea5ee9f7
RM
7100 * scripts/check-local-headers.sh: Rewritten using awk.
7101 Match by word, not by line. Print error messages for matches.
7102 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7103
1b74661a
RM
7104 * Makerules [shlib-lds-flags empty]:
7105 ($(common-objpfx)libc_pic.opts): New target.
7106 ($(common-objpfx)libc_pic.os.clean): New target.
7107 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7108
7109 * config.make.in (OBJCOPY): New variable.
7110 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7111 * configure: Regenerated.
7112
f781ef40
RM
7113 * config.make.in (use-default-link): New variable.
7114 * configure.in (use_default_link): Grok --with-default-link to set it.
7115 * configure: Regenerated.
7116 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7117 (shlib-lds, shlib-lds-flags): Define to empty.
7118
2d4fa81e
RM
7119 * Makerules (shlib-lds): New variable.
7120 (shlib-lds-flags): New variable.
7121 (build-shlib, build-moduile, build-module-asneeded): Use it.
7122 ($(common-objpfx)libc.so): Use $(shlib-lds).
7123 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7124 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7125
31fffa6b
RM
7126 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7127 DT_FLAGS/DT_FLAGS_1 with zero flags.
7128
4e34ac6a
RM
7129 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7130 linker script munging.
7131
fcfc776b
UD
71322011-07-02 Ulrich Drepper <drepper@gmail.com>
7133
7134 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7135 as 128-bit value.
7136 * crypt/sha512.c (sha512_process_block): Perform total addition using
7137 128-bit if possible.
7138 (__sha512_finish_ctx): Likewise.
7139 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7140 as 64-bit value.
7141 * crypt/sha256.c (SWAP64): Define.
7142 (sha256_process_block): Perform total addition using 64-bit if
7143 possible.
7144 (__sha256_finish_ctx): Likewise.
7145
99231d9a
UD
71462011-07-01 Ulrich Drepper <drepper@gmail.com>
7147
7148 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7149 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7150 * nscd/hstcache.c (cache_addhst): Likewise.
7151 * nscd/grpcache.c (cache_addgr): Likewise.
7152 * nscd/aicache.c (addhstaiX): Likewise
7153 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7154
445b4a53
TK
71552011-07-01 Thorsten Kukuk <kukuk@suse.de>
7156
7157 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7158 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7159 * nscd/hstcache.c (cache_addhst): Likewise.
7160 * nscd/grpcache.c (cache_addgr): Likewise.
7161 * nscd/aicache.c (addhstaiX): Likewise
7162
6d4d8e8e
AS
71632011-07-01 Andreas Schwab <schwab@redhat.com>
7164
7165 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7166 domain only when needed.
7167
89f654c5
AS
71682011-06-30 Andreas Schwab <schwab@redhat.com>
7169
7170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7171 is always restored.
7172
cf3b23ff
UD
71732011-06-29 Ulrich Drepper <drepper@gmail.com>
7174
7175 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7176 are re-adding the entry.
7177 * nscd/servicescache.c (cache_addserv): Likewise.
7178
751626f9
AJ
71792011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7180
7181 * sysdeps/generic/dl-irel.h: fix protection against multiple
7182 inclusions.
7183 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7184
9113ea1f
UD
71852011-06-28 Ulrich Drepper <drepper@gmail.com>
7186
5c0b8d90
UD
7187 [BZ #12935]
7188 * malloc/memusage.sh: Fix quoting in message.
7189 * debug/xtrace.sh: Likewise.
7190
9113ea1f
UD
7191 * configure.in: Remove support for --experimental-malloc option, make
7192 it the default.
7193 * config.make.in: Likewise.
7194 * malloc/Makefile: Likewise.
7195
a4172181
AS
71962011-06-27 Andreas Schwab <schwab@redhat.com>
7197
7198 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7199 two-byte characters.
7200
78a7eee7
RM
72012011-06-27 Roland McGrath <roland@hack.frob.com>
7202
62bede13
RM
7203 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7204 AC_CACHE_CHECK invocation.
7205 * configure: Regenerated.
7206
78a7eee7
RM
7207 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7208
5ce33a62
UD
72092011-06-27 Ulrich Drepper <drepper@gmail.com>
7210
034807a9
UD
7211 [BZ #12350]
7212 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7213 bit from old_res_options.
7214
4902da17
UD
7215 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7216
5ce33a62
UD
7217 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7218 value type for setfct.
7219
c2344f56
L
72202011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7221
7222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7223 __gettimeofday instead of gettimeofday.
7224
68468076
UD
72252011-06-26 Ulrich Drepper <drepper@gmail.com>
7226
7227 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7228
acb0d739
L
72292011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7230
7231 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7232
7233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7234 info.
7235
8912479f
L
72362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7237
7238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7239 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7240 strcpy-sse2-unaligned strncpy-sse2-unaligned
7241 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7242 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7243 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7244 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7245 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7246 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7247 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7248 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7249 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7250 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7251 (STRCPY): Support SSE2 and SSSE3 versions.
7252
d5495a11
UD
72532011-06-24 Ulrich Drepper <drepper@gmail.com>
7254
7255 [BZ #12874]
7256 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7257 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7258 kernels which artificially limit size of requests.
7259
0b1cbaae
L
72602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7261
7262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7263 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7264 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7265 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7266 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7267 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7268 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7269 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7270 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7271 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7272 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7273 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7274 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7275 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7276 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7278 Enable unaligned load optimization for Intel Core i3, i5 and i7
7279 processors.
7280 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7281 Define.
7282 (index_Fast_Unaligned_Load): Define.
7283 (HAS_FAST_UNALIGNED_LOAD): Define.
7284
07f494a0
MP
72852011-06-23 Marek Polacek <mpolacek@redhat.com>
7286
7287 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7288
fa3fc0fe
UD
72892011-06-22 Ulrich Drepper <drepper@gmail.com>
7290
7291 [BZ #12907]
7292 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7293 until it is clear that the information is realy needed.
7294 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7295
e12df166
AS
72962011-06-22 Andreas Schwab <schwab@redhat.com>
7297
7298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7299
852eb34d
UD
73002011-06-22 Ulrich Drepper <drepper@gmail.com>
7301
84e2a551
UD
7302 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7303 /sys/devices/system/cpu/online if it is usable.
7304
852eb34d
UD
7305 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7306 reading the information from the /proc filesystem to once a second.
7307
6e502e19
UD
73082011-06-21 Andreas Jaeger <aj@suse.de>
7309
7310 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7311 NULL after inclusion of kernel headers.
7312
75d39ff2
UD
73132011-06-21 Ulrich Drepper <drepper@gmail.com>
7314
51f9aa6a
UD
7315 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7316 calls to internal_setent.
7317
c0244a9d
UD
7318 [BZ #12885]
7319 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7320 addresses using gethostbyname4_r ignore IPv4 addresses.
7321
c5e3c2ae
UD
7322 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7323 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7324
75d39ff2
UD
7325 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7326
42675c6f
DM
73272011-06-20 David S. Miller <davem@davemloft.net>
7328
7329 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7330 inclusions.
7331 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7332
7333 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7334 (elf_irel): Use it.
7335 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7336 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7337 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7338 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7339 * sysdeps/x86_64/dl-irel.h: Likewise.
7340
7341 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7342 * elf/dl-sym.c: Likewise.
7343
57912a71
UD
73442011-06-15 Ulrich Drepper <drepper@gmail.com>
7345
7346 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7347 need to dereference resplen2.
7348
ee22793d
AS
73492011-06-14 Andreas Schwab <schwab@redhat.com>
7350
7351 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7352
a9e836b0
UD
73532011-06-15 Ulrich Drepper <drepper@gmail.com>
7354
77fb9117
UD
7355 * Makeconfig: Define vardbdir and inst_vardbdir.
7356 * nss/Makefile: Add rules to install db-Makefile.
7357
40c1b22c
UD
7358 * nss/nss_db/db-XXX.c: Cleanup.
7359
9f2da732
UD
7360 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7361 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7362 GLIBC_PRIVATE.
7363 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7364 * nss/makedb.c: Implement -g option to specify that value strings
7365 are generated and should not be added to table iterated over for
7366 get*ent calls.
7367 * nss/nss_db/db-initgroups.c: New file.
7368
82e9a1f7
UD
7369 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7370 interface.
7371
c41af17e
UD
7372 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7373 (internal_getgrouplist): Adjust to name change.
7374 Update use_initgroups_entry if this is not the first call.
7375 * nss/databases.def: Add initgroups entry.
7376
a9e836b0
UD
7377 * nss/makedb.c (compute_tables): Check result of multiple hash table
7378 sizes to minimize maximum chain length.
7379
2666d441
UD
73802011-06-14 Ulrich Drepper <drepper@gmail.com>
7381
7382 * Versions.def: Add entry for libnss_db.
7383 * shlib-versions: Likewise.
7384 * nss/Makefile: Add rules to build libnss_db.
7385 * nss/Versions: Add libnss_db information. Organize libnss_files
7386 entries better.
7387 * nss/db-Makefile: Add gshadow support. Change rules for the new
7388 makedb progra. Some minor improvements to generate smaller files.
7389 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7390 here from...
7391 * nss/makedb.c: ...here.
7392 Improve database format to be smaller and require less memory at
7393 runtime.
7394 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7395 db anymore.
7396 * nss/nss_db/db-netgrp.c: Likewise.
7397 * nss/nss_db/db-open.c: Likewise.
7398 * nss/nss_files/flies-XXX.x: Adjust comments.
7399 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7400 * nss/nss_files/files-grp.c: Likewise.
7401 * nss/nss_files/files-hosts.c: Likewise.
7402 * nss/nss_files/files-network.c: Likewise.
7403 * nss/nss_files/files-proto.c: Likewise.
7404 * nss/nss_files/files-pwd.c: Likewise.
7405 * nss/nss_files/files-rpc.c: Likewise.
7406 * nss/nss_files/files-service.c: Likewise.
7407 * nss/nss_files/files-sgrp.c: Likewise.
7408 * nss/nss_files/files-spwd.c: Likewise.
7409 * nss/nss_db/db-alias.c: Removed.
7410 * nss/nss_db/dummy-db.h: Removed.
7411
9ee76b5a
UD
74122011-06-02 Ulrich Drepper <drepper@gmail.com>
7413
7414 * nss/makedb.c: Rewritten to not use database library.
7415 * nss/Makefile: Update to build new makedb program.
7416
c71ca1f8
AJ
74172011-06-14 Andreas Jaeger <aj@suse.de>
7418
7419 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7420 memset declaration.
7421
3154bfb8
UD
74222011-06-10 Andreas Schwab <schwab@redhat.com>
7423
7424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7425 tmpbuf.
7426
b350afab
RM
74272011-06-10 Roland McGrath <roland@hack.frob.com>
7428
decd4e50
RM
7429 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7430 * elf/Makefile ($(objpfx)ld.so): Likewise.
7431
5615eaf2
RM
7432 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7433 Don't list ld.so twice in dependencies.
7434
7435 * posix/bug-regex31.c: Include <stdlib.h>.
7436
7437 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7438
7439 * nis/nss_compat/compat-spwd.c
7440 (getspent_next_nss_netgr): Remove unused variable.
7441 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7442
7443 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7444 nonmembers" output to use the right array.
7445
7446 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7447
7448 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7449
7450 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7451 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7452 * catgets/gencat.c (read_input_file): Likewise.
7453 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7454
7455 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7456 variable definition inside #if's controlling its use.
7457
7458 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7459
7460 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7461
7462 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7463
7464 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7465 unreachable code.
7466
7467 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7468
b68e08db
RM
7469 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7470 * configure: Regenerated.
7471
b350afab
RM
7472 * Makerules: Revert last change.
7473 * elf/Makefile: Likewise.
7474
28368601
RM
74752011-06-09 Roland McGrath <roland@hack.frob.com>
7476
7477 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7478 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7479 (reloc-link): Likewise.
7480
11988f8f
UD
74812011-06-09 Ulrich Drepper <drepper@gmail.com>
7482
7483 * elf/Makefile: Add rules to build pldd.
7484 * elf/pldd.c: New file.
7485 * elf/pldd-xx.c: New file.
7486
e80fab37
UD
74872011-06-07 Ulrich Drepper <drepper@gmail.com>
7488
7489 * version.h: Update for 2.15 development version.
7490
9b849836
DM
74912011-06-07 David S. Miller <davem@davemloft.net>
7492
7493 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7494 ifuncs.
7495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7496 elf_machine_lazy_rel): Likewise.
7497 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7498 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7499 elf_machine_lazy_rel): Likewise.
7500 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7501 dl_hwcap via passed in argument.
7502 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7503 Likewise.
7504
5a31b283
AK
75052011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7506
7507 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7508
069e52f8
RM
75092011-06-06 Roland McGrath <roland@hack.frob.com>
7510
7511 [BZ #12849]
7512 * manual/fdl-1.1.texi: New file, verbatim from:
7513 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7514 * manual/lgpl-2.1.texi: New file, verbatim from:
7515 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7516 * manual/Makefile (licenses): New variable, list those new file names.
7517 (texis): Use it.
7518 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7519
7520 * manual/fdl.texi: File removed.
7521 * manual/lesser.texi: File removed.
7522 * manual/libc.texinfo (Copying, Documentation License):
7523 Use new @include file names, put @appendix directive before @include.
7524
f16846a5
JJ
75252011-06-04 Jakub Jelinek <jakub@redhat.com>
7526
7527 [BZ #12841]
7528 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7529 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7530 (mq_open): Add __NTH.
7531
3d29045b
L
75322011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7533
7534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7535 Assume Intel Core i3/i5/i7 processor if AVX is available.
7536
8c297311
UD
75372011-05-31 Ulrich Drepper <drepper@gmail.com>
7538
7539 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7540 typo.
7541
c8fc0c91
UD
75422011-05-31 Andreas Schwab <schwab@redhat.com>
7543
7544 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7545 memory. Use alloca_account. Fix memory leak when retrying.
7546
5b27a807
UD
75472011-05-31 Ulrich Drepper <drepper@gmail.com>
7548
356f8bc6
UD
7549 * version.h (RELEASE): Bump for 2.14 release.
7550 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7551
5b27a807
UD
7552 * config.make.in (RANLIB): Remove entry.
7553
01f16ab0
UD
75542011-05-30 Ulrich Drepper <drepper@gmail.com>
7555
41fce8bd
UD
7556 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7557 (libc.pot): Work around missing support for .ksh extension in xgettext.
7558
4769ae77
UD
7559 [BZ #12684]
7560 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7561 if both request failed.
7562 (send_dg): In case of server errors clear resplen or *resplen2.
7563
6b1e7d19
UD
7564 [BZ #12454]
7565 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7566 when there are multiple maps.
7567 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7568 (_dl_fini): Remove test here.
7569
01f16ab0
UD
7570 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7571
b1ebd700
UD
75722011-05-29 Ulrich Drepper <drepper@gmail.com>
7573
7ae22829
UD
7574 [BZ #12350]
7575 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7576 bit from old_res_options.
7577 (gaih_inet): Likewise.
7578
553149f6 7579 [BZ #11099]
18a84741 7580 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
7581 as signed.
7582
652ffab1
UD
7583 * resolv/res_init.c (res_setoptions): Make the code more compact.
7584
16985fd0
UD
7585 [BZ #11558]
7586 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7587 set RES_USEVC.
7588
0464f746
UD
7589 [BZ #11634]
7590 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7591
7d17596c
UD
7592 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7593
cf6bbbd7
UD
7594 [BZ #11781]
7595 * malloc/malloc.h: Declare malloc hook variables as volatile.
7596
13f1ab36
UD
7597 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7598 in last patch.
7599
b1ebd700
UD
7600 [BZ #11799]
7601 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 7602 raise in the comment.
80e2212d
UD
7603 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7604 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7605 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 7606
ce67228d
UD
76072011-05-28 Ulrich Drepper <drepper@gmail.com>
7608
8887a920
UD
7609 [BZ #12811]
7610 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7611 grow the buffers more if it already has to be sufficient.
7612 (build_wcs_upper_buffer): Likewise.
7613 * posix/regexec.c (check_matching): Likewise.
7614 (clean_state_log_if_needed): Likewise.
7615 (extend_buffers): Don't enlarge buffers beyond size of the input
7616 buffer.
7617 Patches mostly by Emil Wojak <emil@wojak.eu>.
7618 * posix/bug-regex32.c: New file.
7619 * posix/Makefile (tests): Add bug-regex32.
7620
4f031072
UD
7621 * locale/findlocale.c (_nl_find_locale): Return right away if
7622 _nl_explode_name failed.
7623 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7624
d0478f0c
UD
7625 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7626
de81b246
UD
7627 * debug/xtrace.sh: Unify messages.
7628 * malloc/memusage.sh: Likewise.
7629
c738465a
UD
7630 [BZ #12813]
7631 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7632 time symbol from vDSO. Substitute with vsyscall if not available.
7633 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7634 __vdso_time.
7635
f1f929d7
UD
7636 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7637 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7638 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7639 Add sendmmsg and internal_sendmmsg.
7640 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7641 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7642 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7643
ce67228d
UD
7644 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7645 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7646 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7647
e57420c6
UD
76482011-05-27 Ulrich Drepper <drepper@gmail.com>
7649
a8509ca5
UD
7650 [BZ #12813]
7651 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7652 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7653 available.
7654 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7655 __vdso_getcpu.
7656
e57420c6
UD
7657 [BZ #12814]
7658 * iconvdata/Makefile (tests): Add bug-iconv9.
7659 * iconvdata/bug-iconv9.c: New file.
7660
4d07db15
AS
76612011-05-27 Andreas Schwab <schwab@redhat.com>
7662
7663 [BZ #12814]
7664 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7665
ea486f69
JJ
76662011-05-25 Jakub Jelinek <jakub@redhat.com>
7667
7668 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7669 (struct user_regs_struct): Change intcs field back to cs.
7670
6f038433
UD
76712011-05-25 Ulrich Drepper <drepper@gmail.com>
7672
7673 * po/ja.po: Update from translation team.
7674
67f86a25
UD
76752011-05-23 Ulrich Drepper <drepper@gmail.com>
7676
7677 [BZ #12795]
7678 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7679 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7680
def7fbd6
AS
76812011-05-20 Andreas Schwab <schwab@redhat.com>
7682
7683 * stdlib/longlong.h: Update from GCC.
7684
f50ef8f1
AS
76852011-05-23 Andreas Schwab <schwab@redhat.com>
7686
7687 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7688 parameter name.
7689 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7690 Add parameter name.
7691 (__sysconf): Pass it down.
7692
de7ce8f1
UD
76932011-05-22 Ulrich Drepper <drepper@gmail.com>
7694
f2962a71
UD
7695 [BZ #12671]
7696 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7697 some situations.
7698 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7699 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7700 add in in __libc_use_alloca calls. Adjust callers.
7701 (glob): Use malloc in some situations.
7702
de7ce8f1
UD
7703 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7704 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7705 pltexit.
7706
aec84f53
UD
77072011-05-21 Ulrich Drepper <drepper@gmail.com>
7708
05bb4a68
UD
7709 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7710 and CLOCK_BOOTTIME_ALARM.
7711
7ea72f99
UD
7712 [BZ #12782]
7713 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7714 is returned.
7715
7e4afad5
UD
7716 * string/_strerror.c (__strerror_r): Print negative errors as signed
7717 numbers.
7718
8e211fec
UD
7719 [BZ #12777]
7720 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7721 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7722 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7723
f7d82dc9
UD
7724 * configure.in: Fix typo in redirection and correct removal of test
7725 files in two cases.
7726
cc9e536d
UD
7727 [BZ #12788]
7728 * locale/setlocale.c (new_composite_name): Fix test to check for
7729 identical name of all categories.
7730
aec84f53
UD
7731 [BZ #12792]
7732 * libio/filedoalloc.c (local_isatty): New function.
7733 (_IO_file_doallocate): Use local_isatty.
7734 * stdio-common/perror.c (perror): In case a new stream is used
7735 forward the stream error.
7736 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7737 error flag.
7738
78e64fdc
RT
77392011-05-20 Ulrich Drepper <drepper@gmail.com>
7740
34a9094f
UD
7741 [BZ #11869]
7742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7743 alloca.
7744 * include/alloca.h (extend_alloca_account): Define.
7745
78e64fdc
RT
7746 [BZ #11857]
7747 * posix/regex.h: Fix comments with documentation of user-accessible
7748 fields after compilation and describe correct free'ing of pattern
7749 after re_compile_pattern.
7750 Patch by Reuben Thomas <rrt@sc3d.org>.
7751
457bddfc
RA
77522011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7753
7754 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7755 and -mno-altivec to prevent the compiler from using Altivec and/or
7756 VSX instructions when the corresponding registers are not available.
7757
a4527b51
AS
77582011-05-19 Andreas Schwab <schwab@redhat.com>
7759
7760 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7761
ed690b2f
UD
77622011-05-19 Ulrich Drepper <drepper@gmail.com>
7763
7764 * libio/freopen.c (freopen): Use __dup2, not dup2.
7765 * libio/freopen64.c (freopen64): Likewise.
7766
8db73634
L
77672011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7768
7769 [BZ #12775]
7770 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7771 * math/Makefile (tests): Add test-powl.
7772 (CFLAGS-test-powl.c): Define.
7773 * math/test-powl.c: New file.
7774
0a197a9d
L
77752011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7776
7777 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7778
ee30c380
UD
77792011-05-17 Ulrich Drepper <drepper@gmail.com>
7780
7781 [BZ #11837]
7782 * iconvdata/gb18030.c: Update to GB18020-2005.
7783
6ce75379
UD
77842011-05-16 Ulrich Drepper <drepper@gmail.com>
7785
a4b89fd8
AR
7786 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7787 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7788 Patch by Aharon Robbins <arnold@skeeve.com>.
7789
ea389b12
UD
7790 [BZ #11892]
7791 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7792 on the stack.
7793
68a3f91f
UD
7794 [BZ #11895]
7795 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7796 through underflows.
7797
15cc7dd1
UD
7798 [BZ #12766]
7799 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7800 point to strings before performing equality test for error_one_per_line
7801 mode.
7802
f3799213
UD
7803 [BZ #11697]
7804 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7805
d79a9c94
UD
7806 [BZ #11820]
7807 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7808 (struct user_fpregs_struct): Avoid __uint*_t types.
7809
56e5eb46
UD
7810 [BZ #6420]
7811 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7812 symbol info. Use it instead of calling _dl_addr locally.
7813 (lock_and_info): New function.
7814 (tr_freehook): Call lock_and_info and pass symbol info as additional
7815 parameter to tr_where.
7816 (tr_mallochook): Likewise.
7817 (tr_reallochook): Likewise.
7818 (tr_memalignhook): Likewise.
7819
6ce75379
UD
7820 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7821 used and couldn't be at all thread-safe.
7822
f8a3b5bf
UD
78232011-05-15 Ulrich Drepper <drepper@gmail.com>
7824
94b7cc37
UD
7825 * libio/freopen.c (freopen): Don't close old file descriptor
7826 before the new one is opened. Instead dup the new file descriptor
7827 to the old one after the new stream is created.
7828 * libio/freopen64.c (freopen64): Likewise.
7829 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7830 * libio/fileops.c (_IO_new_file_close_it): Handle new
7831 _IO_FLAGS2_NOCLOSE flag.
7832 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7833 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7834 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7835 _IO_FLAGS2_NOCLOSE flag.
7836 * include/unistd.h: Add hidden_proto for dup3.
7837 Define __have_dup3.
7838 * io/dup3.c: Define hidden symbol.
7839 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7840
bd25564e
UD
7841 [BZ #7101]
7842 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7843 when an incomplete long option is used.
7844 * posix/tst-getopt_long1.c: New file.
7845 * posix/Makefile (tests): Add tst-getopt_long1.
7846
c84cfef4
UD
7847 [BZ #10138]
7848 * scripts/config.guess: Update from autoconf-2.68.
7849 * scripts/config.sub: Likewise.
7850
3b85df27
UD
7851 [BZ #10157]
7852 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7853 tests into ...
7854 (has_cpuclock): ...this. New function.
7855 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7856 macro here based on has_cpuclock code.
7857
15a856b1
UD
7858 [BZ #10149]
7859 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7860 First byte (not low byte) is now always NUL.
7861 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7862
05f399e6
UD
7863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7864 Use non-cancelable interfaces.
7865
10a52685 7866 [BZ #9809]
94ecc67d
UD
7867 * locale/iso-639.def: Add entry for Sorani.
7868
f8a3b5bf
UD
7869 [BZ #11901]
7870 * include/stdlib.h: Move include protection to the right place.
7871 Define abort_msg_s. Declare __abort_msg with it.
7872 * stdlib/abort.c (__abort_msg): Adjust type.
7873 * assert/assert.c (__assert_fail_base): New function. Majority
7874 of code from __assert_fail. Allocate memory for __abort_msg with
7875 mmap.
7876 (__assert_fail): Now call __assert_fail_base.
7877 * assert/assert-perr.c: Remove bulk of implementation. Use
7878 __assert_fail_base.
7879 * include/assert.hL Declare __assert_fail_base.
7880 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7881 mmap.
7882 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7883
1af4e298
UD
78842011-05-14 Ulrich Drepper <drepper@gmail.com>
7885
f8a3b5bf 7886 [BZ #11952]
d26dfc60
MG
7887 [BZ #12453]
7888 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7889 until all modules are registered in the DTV.
7890 * elf/Makefile: Add rules to build and run tst-tls19.
7891 * elf/tst-tls19.c: New file.
7892 * elf/tst-tls19mod1.c: New file.
7893 * elf/tst-tls19mod2.c: New file.
7894 * elf/tst-tls19mod3.c: New file.
7895 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7896
2fc54d6f
UD
7897 [BZ #12083]
7898 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7899 correctly.
7900
98d76b46
UD
7901 [BZ #12601]
7902 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7903 two-byte sequence errors.
7904 * iconvdata/Makefile (tests): Add bug-iconv8.
7905 * iconvdata/bug-iconv8.c: New file.
7906
da3c19ef
UD
7907 [BZ #12626]
7908 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7909 buf2 definition.
7910
ca408c15
UD
7911 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7912
d6f67f7d
UD
7913 [BZ #12432]
7914 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7915 (dummy_getcfa): New function.
7916 (init): Get _Unwind_GetCFA address, use dummy if not found.
7917 (backtrace_helper): In recursion check, also check whether CFA changes.
7918 (__backtrace): Completely initialize arg.
7919
1af4e298 7920 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
7921 storing incomplete byte sequence in state object. Avoid testing for
7922 guaranteed too small input if we know there is enough data available.
1af4e298 7923
da62f81b
AS
79242011-05-11 Andreas Schwab <schwab@redhat.com>
7925
7926 * Makeconfig (+link-pie): Indent.
7927 * Rules (binaries-pie): Define if $(have-fpie) and
7928 $(build-shared).
7929 (binaries-shared): Also filter out $(binaries-pie).
7930 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7931 * nscd/Makefile (others-pie): Add nscd.
7932 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7933 ($(objpfx)nscd): Remove command override.
7934 * login/Makefile (others-pie): Add pt_chown.
7935 ($(objpfx)pt_chown): Remove command override.
7936 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7937 remove command overrides.
7938
fcabc0f8
UD
79392011-05-13 Ulrich Drepper <drepper@gmail.com>
7940
20030ae6
UD
7941 * libio/tst_putwc.c: Fix error messages.
7942
fcabc0f8
UD
7943 [BZ #12724]
7944 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7945 currently writing and seek to current position when not.
7946 * libio/Makefile (tests): Add bug-fclose1.
7947 * libio/bug-fclose1.c: New file.
7948
320a5dc0
PB
79492011-05-12 Ulrich Drepper <drepper@gmail.com>
7950
7951 [BZ #12511]
7952 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7953 don't set DF_1_NODELETE here.
7954 (do_lookup_x): When entering new entry test for copy relocation
7955 and if necessary set DF_1_NODELETE flag.
7956 * elf/tst-unique4.cc: New file.
7957 * elf/tst-unique4.h: New file.
7958 * elf/tst-unique4lib.cc: New file.
7959 * elf/Makefile: Add rules to build and run tst-unique4.
7960 Patch by Piotr Bury <pbury@goahead.com>.
7961
22836f52
UD
79622011-05-11 Ulrich Drepper <drepper@gmail.com>
7963
f574184a
UD
7964 [BZ #12052]
7965 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7966
e1fb097f
UD
7967 [BZ #12625]
7968 * misc/mntent_r.c (addmntent): Flush the stream after the output
7969
22836f52
UD
7970 [BZ #12393]
7971 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7972 (is_trusted_path_normalize): Skip initial colon. Append slash
7973 to empty buffer. Duplicate is_trusted_path code but allow
7974 constructed patch to be prefix.
7975 (is_dst): Allow $ORIGIN followed by /.
7976 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7977 Correct testing of result of is_trusted_path_normalize
7978 (decompose_rpath): Fix warning.
7979
7b3b0b2a
UD
79802011-05-10 Ulrich Drepper <drepper@gmail.com>
7981
7982 [BZ #11257]
7983 * grp/initgroups.c (internal_getgrouplist): When we found the service
7984 list through the initgroups entry in nsswitch.conf do not always
7985 continue on a successful lookup. Don't always use the
eac80ce2 7986 __nss_group_database value if it is set.
7b3b0b2a
UD
7987 * nss/nsswitch.conf (initgroups): Change action for successful db
7988 lookup to continue for compatibility.
7989
2a81eaa5
UD
79902011-05-09 Ulrich Drepper <drepper@gmail.com>
7991
be97a69e
UD
7992 [BZ #11532]
7993 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7994 and CP774 modules.
7995 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7996 and CP774 modules.
7997 * iconvdata/tst-tables.sh: Likewise.
7998 * iconvdata/cp770.c: New file.
7999 * iconvdata/cp771.c: New file.
8000 * iconvdata/cp772.c: New file.
8001 * iconvdata/cp773.c: New file.
8002 * iconvdata/cp774.c: New file.
8003 * iconvdata/testdata/CP770: New file.
8004 * iconvdata/testdata/CP770..UTF8: New file.
8005 * iconvdata/testdata/CP771: New file.
8006 * iconvdata/testdata/CP771..UTF8: New file.
8007 * iconvdata/testdata/CP772: New file.
8008 * iconvdata/testdata/CP772..UTF8: New file.
8009 * iconvdata/testdata/CP773: New file.
8010 * iconvdata/testdata/CP773..UTF8: New file.
8011 * iconvdata/testdata/CP774: New file.
8012 * iconvdata/testdata/CP774..UTF8: New file.
8013
8014 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8015 END CHARMAP line.
8016 * iconvdata/gen-8bit-gap.sh: Likewise.
8017 * iconvdata/gen-8bit.sh: Likewise.
8018
c1e9e399
UD
8019 * locale/iso-639.def: Add ary entry.
8020
24c55fb3 8021 [BZ #11258]
96b4b1b0
UD
8022 * locale/C-translit.h.in: Add U20A1 transliteration.
8023
bdc2f971
KB
8024 [BZ #12178]
8025 * locale/iso-639.def: Add wae entry.
8026 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8027
2952b117
UD
8028 [BZ #12545]
8029 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8030 for n.
8031
2a81eaa5
UD
8032 [BZ #12711]
8033 * locale/C-translit.h.in: Add entry for U20B9.
8034 Patch by pravin.d.s@gmail.com.
8035
28377d1b
UD
80362011-05-08 Ulrich Drepper <drepper@gmail.com>
8037
7fb90fb8
UD
8038 [BZ #12713]
8039 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8040 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8041 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8042 in rtld. Use *stat64.
7fb90fb8 8043 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8044 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8045 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8046 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8047 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8048 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8049 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8050 __fstatat64 macros.
7fb90fb8
UD
8051 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8052 * dirent/rewinddir.c: Add libc_hidden_def.
8053 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8054 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8055
28377d1b
UD
8056 * include/dirent.h (__alloc_dir): Add flags parameter.
8057 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8058 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8059 __alloc_dir.
8060 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8061 from fdopendir if O_CLOEXEC is already set.
8062
66bdbaa4
AM
80632011-03-15 Alan Modra <amodra@gmail.com>
8064
8065 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8066 l_tls_firstbyte_offset non-zero. Save padding offset in
8067 l_tls_firstbyte_offset for later use.
8068 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8069 freeing static tls block.
8070
95721191
JN
80712011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8072
8073 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8074 where #ifdef was intended. The intent is to prevent ARG_MAX from
8075 being defined by the kernel headers.
8076
f87dfb1f
UD
80772011-05-07 Ulrich Drepper <drepper@gmail.com>
8078
8079 [BZ #12734]
8080 * resolv/resolv.h: Define RES_NOTLDQUERY.
8081 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8082 no-tld-query and set RES_NOTLDQUERY.
8083 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8084 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8085 modern BIND to search name as TLD unless forbidden.
8086
47c3cd7a
UD
80872011-05-07 Petr Baudis <pasky@suse.cz>
8088 Ulrich Drepper <drepper@gmail.com>
8089
8090 [BZ #12393]
8091 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8092 (is_trusted_path): ...to here.
c1e9ea35 8093 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8094 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8095 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8096
8a35c912
PP
80972011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8098
8099 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8100 __BEGIN/__END_DECLS.
8101
acd41f47
UD
81022011-05-06 Ulrich Drepper <drepper@gmail.com>
8103
8104 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8105 NSS_STATUS_NOTFOUND if no record was found.
8106
597df647
AS
81072011-05-05 Andreas Schwab <schwab@redhat.com>
8108
8109 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8110 (headers-not-in-tirpc): Remove rpc/netdb.h
8111 * resolv/netdb.h: Revert last change.
8112
b9af1301
PP
81132011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8114
8115 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8116 circular dependency between libgcc.a and libc.a.
8117
4e34d5f5
AS
81182011-05-05 Andreas Schwab <schwab@redhat.com>
8119
8120 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8121 * nis/Makefile: Don't install rpcsvc/*.
8122 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8123 instead of <rpc/types.h>.
8124 (MAXHOSTNAMELEN): Define.
8125
00ee369c
AS
81262011-05-03 Andreas Schwab <schwab@redhat.com>
8127
8128 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8129
0b592a30
MB
81302011-04-28 Maciej Babinski <mbabinski@google.com>
8131
8132 [BZ #12714]
8133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8134 gethostbyname4_r when IPv6 results are possible.
8135
6e04cbbe
UD
81362011-05-02 Ulrich Drepper <drepper@gmail.com>
8137
8138 [BZ #12723]
8139 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8140 _PC_PIPE_BUF handling.
8141
e4ecafe0
BH
81422011-04-30 Bruno Haible <bruno@clisp.org>
8143
8144 [BZ #12717]
8145 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8146 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8147 to 'int'.
8148 * inet/getnameinfo.c (getnameinfo): Likewise.
8149
125ee683
UD
81502011-04-29 Ulrich Drepper <drepper@gmail.com>
8151
8152 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8153 to groups setting in database lookup.
8154 * nss/nsswitch.conf: Add initgroups entry.
8155
b722481a
EB
81562011-04-22 Ulrich Drepper <drepper@gmail.com>
8157
8158 [BZ #12685]
8159 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8160 mode string.
8161 Patch by Eric Blake <eblake@redhat.com>.
8162
4df46dbd
L
81632011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8164
8165 * sunrpc/Makefile (need-export-routines): Add svc_run.
8166 (routines): Remove svc_run.
8167 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8168 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8169 * sunrpc/svc_run.c (svc_run): Likewise.
8170 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8171
e84142d2
UD
81722011-04-21 Ulrich Drepper <drepper@gmail.com>
8173
8174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8175 problem in reallocation in last patch.
8176
877175d8
UD
81772011-04-20 Ulrich Drepper <drepper@gmail.com>
8178
8179 * sunrpc/Makefile: Move inclusion of Rules.
8180
ab8eed78
UD
81812011-04-19 Ulrich Drepper <drepper@gmail.com>
8182
8183 * nss/nss_files/files-initgroups.c: New file.
8184 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8185 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8186 _nss_files_initgroups_dyn.
8187
e3d8f584
RS
81882011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8189
8190 * elf/elf.h (R_ARM_IRELATIVE): Define.
8191
af190f45
UD
81922011-04-19 Ulrich Drepper <drepper@gmail.com>
8193
8194 * po/ru.po: Update from translation team.
8195
53cf59ef
UD
81962011-04-17 Ulrich Drepper <drepper@gmail.com>
8197
8198 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8199 dependencies.
8200
4c559bcd
MF
82012011-02-06 Mike Frysinger <vapier@gentoo.org>
8202
8203 [BZ #12653]
8204 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8205 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8206 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8207 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8208 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8209
4420675c
AS
82102011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8211
8212 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8213 differing bytes.
8214 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8215 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8216 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8217
75ea32ab
UD
82182011-04-17 Ulrich Drepper <drepper@gmail.com>
8219
8220 [BZ #12420]
8221 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8222 storing it.
8223 * stdlib/bug-getcontext.c: New file.
8224 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8225
27390476
AK
82262011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8227
8228 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8229 instructions into .machine "z9-109".
8230 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8231 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8232
10442705
AK
82332011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8234
8235 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8236 between environment variables and auxiliary vector.
8237
7b57bfe5
UD
82382011-04-16 Ulrich Drepper <drepper@gmail.com>
8239
8240 * Makefile: Add rules to build linkobj/libc.so.
8241 * include/libc-symbols.h: Define libc_hidden_nolink.
8242 * include/rpc/auth.h: Mark functions which are to be hidden.
8243 * include/rpc/auth_des.h: Likewise.
8244 * include/rpc/auth_unix.h: Likewise.
8245 * include/rpc/clnt.h: Likewise.
8246 * include/rpc/des_crypt.h: Likewise.
8247 * include/rpc/key_prot.h: Likewise.
8248 * include/rpc/pmap_clnt.h: Likewise.
8249 * include/rpc/pmap_prot.h: Likewise.
8250 * include/rpc/pmap_rmt.h: Likewise.
8251 * include/rpc/rpc_msg.h: Likewise.
8252 * include/rpc/svc.h: Likewise.
8253 * include/rpc/svc_auth.h: Likewise.
8254 * include/rpc/xdr.h: Likewise.
8255 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8256 * nss/Makefile: Likewise.
8257 * sunrpc/Makefile: Don't install headers. Build library with normal
8258 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8259 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8260 for the compat linking library. Remove use of INTDEF/INTUSE.
8261 * sunrpc/auth_none.c: Likewise.
8262 * sunrpc/auth_unix.c: Likewise.
8263 * sunrpc/authdes_prot.c: Likewise.
8264 * sunrpc/authuxprot.c: Likewise.
8265 * sunrpc/clnt_gen.c: Likewise.
8266 * sunrpc/clnt_perr.c: Likewise.
8267 * sunrpc/clnt_raw.c: Likewise.
8268 * sunrpc/clnt_simp.c: Likewise.
8269 * sunrpc/clnt_tcp.c: Likewise.
8270 * sunrpc/clnt_udp.c: Likewise.
8271 * sunrpc/clnt_unix.c: Likewise.
8272 * sunrpc/des_crypt.c: Likewise.
8273 * sunrpc/des_soft.c: Likewise.
8274 * sunrpc/get_myaddr.c: Likewise.
8275 * sunrpc/key_call.c: Likewise.
8276 * sunrpc/key_prot.c: Likewise.
8277 * sunrpc/netname.c: Likewise.
8278 * sunrpc/pm_getmaps.c: Likewise.
8279 * sunrpc/pm_getport.c: Likewise.
8280 * sunrpc/pmap_clnt.c: Likewise.
8281 * sunrpc/pmap_prot.c: Likewise.
8282 * sunrpc/pmap_prot2.c: Likewise.
8283 * sunrpc/pmap_rmt.c: Likewise.
8284 * sunrpc/publickey.c: Likewise.
8285 * sunrpc/rpc_cmsg.c: Likewise.
8286 * sunrpc/rpc_common.c: Likewise.
8287 * sunrpc/rpc_dtable.c: Likewise.
8288 * sunrpc/rpc_prot.c: Likewise.
8289 * sunrpc/rpc_thread.c: Likewise.
8290 * sunrpc/rtime.c: Likewise.
8291 * sunrpc/svc.c: Likewise.
8292 * sunrpc/svc_auth.c: Likewise.
8293 * sunrpc/svc_authux.c: Likewise.
8294 * sunrpc/svc_raw.c: Likewise.
8295 * sunrpc/svc_run.c: Likewise.
8296 * sunrpc/svc_simple.c: Likewise.
8297 * sunrpc/svc_tcp.c: Likewise.
8298 * sunrpc/svc_udp.c: Likewise.
8299 * sunrpc/svc_unix.c: Likewise.
8300 * sunrpc/svcauth_des.c: Likewise.
8301 * sunrpc/xcrypt.c: Likewise.
8302 * sunrpc/xdr.c: Likewise.
8303 * sunrpc/xdr_array.c: Likewise.
8304 * sunrpc/xdr_float.c: Likewise.
8305 * sunrpc/xdr_intXX_t.c: Likewise.
8306 * sunrpc/xdr_mem.c: Likewise.
8307 * sunrpc/xdr_rec.c: Likewise.
8308 * sunrpc/xdr_ref.c: Likewise.
8309 * sunrpc/xdr_sizeof.c: Likewise.
8310 * sunrpc/xdr_stdio.c: Likewise.
8311
e6c61494
UD
83122011-04-10 Ulrich Drepper <drepper@gmail.com>
8313
8314 [BZ #12650]
8315 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8316 * sysdeps/ia64/dl-tls.h: Likewise.
8317 * sysdeps/powerpc/dl-tls.h: Likewise.
8318 * sysdeps/s390/dl-tls.h: Likewise.
8319 * sysdeps/sh/dl-tls.h: Likewise.
8320 * sysdeps/sparc/dl-tls.h: Likewise.
8321 * sysdeps/x86_64/dl-tls.h: Likewise.
8322 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8323
34fe483e
AS
83242011-03-14 Andreas Schwab <schwab@redhat.com>
8325
8326 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8327 rpath element also skip the following colon.
8328 (expand_dynamic_string_token): Add is_path parameter and pass
8329 down to DL_DST_REQUIRED and _dl_dst_substitute.
8330 (decompose_rpath): Call expand_dynamic_string_token with
8331 non-zero is_path. Ignore empty rpaths.
8332 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8333 with zero is_path.
8334
f12a32e6
AS
83352011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8336
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8338 Make cancelable.
8339
38a7d692
UD
83402011-04-09 Ulrich Drepper <drepper@gmail.com>
8341
8342 [BZ #12655]
8343 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8344 Patch by Filipe David Manana <fdmanana@apache.org>.
8345
e451d22b
AS
83462011-04-07 Andreas Schwab <schwab@redhat.com>
8347
8348 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8349 Maintain aligned stack.
8350 (CHECK_RSP): Remove unused macro.
8351
dedc7c7b
UD
83522011-04-03 Ulrich Drepper <drepper@gmail.com>
8353
8354 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8356
94521213
UD
83572011-04-02 Ulrich Drepper <drepper@gmail.com>
8358
8359 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8360
8cb700c0 8361 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 8362
0354e355
L
83632011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8364
8365 [BZ #12518]
8366 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8367 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8368 * sysdeps/x86_64/memmove.c: New file.
8369 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8370 (memcpy): Renamed to ...
8371 (__new_memcpy): This.
8372 (memcpy): Provide GLIBC_2_14 memcpy.
8373 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8374 (memcpy): Provide GLIBC_2_2_5 memcpy.
8375
8593482f
UD
83762011-04-01 Ulrich Drepper <drepper@gmail.com>
8377
8378 [BZ #12631]
8379 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8380
81a5726b
AS
83812011-03-30 Andreas Schwab <schwab@redhat.com>
8382
8383 * misc/syncfs.c: New file.
8384 * misc/Makefile (routines): Add syncfs.
8385 * posix/unistd.h: Declare syncfs.
8386 * sysdeps/unix/syscalls.list: Add syncfs.
8387
00e5419f
AS
83882011-04-01 Andreas Schwab <schwab@redhat.com>
8389
8390 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8391 open_by_handle_at.
8392 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8393 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8394 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8395 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8397 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8398 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8399
748876bf
UD
84002011-04-01 Ulrich Drepper <drepper@gmail.com>
8401
658e451d
UD
8402 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8403 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8404 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8405 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8406 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8408 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8409
748876bf
UD
8410 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8411 sync_file_range.c with -fexceptions.
8412 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8413 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8414 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8415 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8416 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8417 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8418 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
8419 sync_file_range as cancellation point
8420 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8421 now a wrapper around __call_sync_file_range with cancellation handling.
8422 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8423 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8424 function name to __call_sync_file_range.
8425 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8426 Add call_sync_file_range.
748876bf 8427
6e63d5e1
AS
84282011-04-01 Andreas Schwab <schwab@redhat.com>
8429
8430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 8431 bits/timex.h.
6e63d5e1 8432
46998f74
UD
84332011-04-01 Ulrich Drepper <drepper@gmail.com>
8434
4c1423ed
UD
8435 * iconv/iconv.h: Fix typo in comment.
8436 * io/fcntl.h: Likewise.
8437 * libio/stdio.h: Likewise.
8438 * posix/spawn.h: Likewise.
8439 * posix/unistd.h: Likewise.
8440 * stdlib/stdlib.h: Likewise.
8441 * time/time.h: Likewise.
8442 * wcsmbs/wchar.h: Likewise.
8443
158648c0
UD
8444 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8445 open_by_handle): Add.
8446 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8447 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8448 Augment a few comments.
8449 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8450 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8451 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8453 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8454 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8455 open_by_handle.
8456
46998f74
UD
8457 * io/fcntl.h (AT_EMPTY_PATH): Define.
8458
83fe108b
UD
84592011-03-30 Ulrich Drepper <drepper@gmail.com>
8460
8461 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8462 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8463 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8464 to...
8465 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
8466 * Versions.def: Add GLIBC_2.14.
8467 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8468 Export.
83fe108b 8469
bb242059
UD
84702011-03-22 Ulrich Drepper <drepper@gmail.com>
8471
8472 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8473 round counter.
8474 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8475
c97a1282
L
84762011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8477
8478 [BZ #12597]
8479 * string/test-strncmp.c (do_page_test): New function.
8480 (check2): Likewise.
8481 (test_main): Call check2.
8482 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8483
2a115601
UD
84842011-03-20 Ulrich Drepper <drepper@gmail.com>
8485
8486 [BZ #12587]
8487 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8488 Handle cache information in CPU leaf 4.
8489 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8490
8126d904
UD
84912011-03-18 Ulrich Drepper <drepper@gmail.com>
8492
042c49c6 8493 [BZ #12583]
8126d904
UD
8494 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8495 character representation.
8496 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8497
ccfe366e
RA
84982011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8499
8500 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8501 END(__isnan) to END(__isnanf) to match function entry point/label
8502 EALIGN(__isnanf,...).
8503
c6e13027
JJ
85042011-03-10 Jakub Jelinek <jakub@redhat.com>
8505
8506 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8507
33f85a3f
UD
85082011-03-10 Ulrich Drepper <drepper@gmail.com>
8509
028478fa
UD
8510 [BZ #12510]
8511 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8512 copy from the symbol referenced in the relocation to initialize the
8513 used variable.
8514 Patch by Piotr Bury <pbury@goahead.com>.
8515 * elf/Makefile: Add rules to build and tst-unique3.
8516 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8517 * elf/tst-unique3.cc: New file.
8518 * elf/tst-unique3.h: New file.
8519 * elf/tst-unique3lib.cc: New file.
8520 * elf/tst-unique3lib2.cc: New file.
8521
33f85a3f
UD
8522 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8523
03592fc7
MF
85242011-03-10 Mike Frysinger <vapier@gentoo.org>
8525
8526 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8527 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8528 to _start.
03592fc7 8529
6a5ee102
UD
85302011-03-06 Ulrich Drepper <drepper@gmail.com>
8531
8532 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8533 to-be-loaded object along a path to loader is ld.so.
8534
7e4ba49c
HJ
85352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8536 Ulrich Drepper <drepper@gmail.com>
8537
8538 * sysdeps/x86_64/memset.S: After aligning destination, code
8539 branches to different locations depending on the value of
8540 misalignment, when multiarch is enabled. Fix this.
8541
85422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8543
8544 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8545 Set _x86_64_preferred_memory_instruction for AMD processsors.
8546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8547 Set bit_Prefer_SSE_for_memop for AMD processors.
8548
13a804de
UD
85492011-03-04 Ulrich Drepper <drepper@gmail.com>
8550
8551 * libio/fmemopen.c (fmemopen): Optimize a bit.
8552
9d25c392
AS
85532011-03-03 Andreas Schwab <schwab@redhat.com>
8554
8555 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8556
a5543c6a
RM
85572011-03-03 Roland McGrath <roland@redhat.com>
8558
8559 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8560
012d35f7
DM
85612011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8562
7e4ba49c 8563 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
8564 __bzero_ultra1 instead of __memset_ultra1.
8565
4bff6e01
AS
85662011-02-23 Andreas Schwab <schwab@redhat.com>
8567 Ulrich Drepper <drepper@gmail.com>
8568
8569 [BZ #12509]
8570 * include/link.h (struct link_map): Add l_orig_initfini.
8571 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8572 returning unsuccessfully.
8573 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8574 close of a file loaded at startup, restore the original l_initfini
8575 list.
8576 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8577 list, store the pointer.
8578 * elf/Makefile ($(objpfx)noload-mem): New rule.
8579 (noload-ENV): Define.
8580 (tests): Add $(objpfx)noload-mem.
8581 * elf/noload.c: Include <memcheck.h>.
8582 (main): Call mtrace. Close all opened handles.
8583
f2092faf
AS
85842011-02-17 Andreas Schwab <schwab@redhat.com>
8585
8586 [BZ #12454]
8587 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8588 dependencies are missing.
8589
6c8a2e88
ST
85902011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8591
f2092faf 8592 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
8593 Hurd needs munmap.
8594 * sysdeps/mach/hurd/ifreq.h: New file.
8595
84a42118
PB
85962011-01-27 Petr Baudis <pasky@suse.cz>
8597 Ulrich Drepper <drepper@gmail.com>
8598
071f805e 8599 [BZ 12445]#
84a42118
PB
8600 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8601 to extend_alloca().
8602 * stdio-common/bug23.c: New file.
8603 * stdio-common/Makefile (tests): Add bug23.
8604
e23fe25b
AS
86052010-09-28 Andreas Schwab <schwab@redhat.com>
8606 Ulrich Drepper <drepper@gmail.com>
8607
8608 [BZ #12489]
8609 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8610 before performing relro protection. At old place add assertion
8611 to make sure nothing changed.
8612
d3f02e10
NS
86132011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8614 Glauber de Oliveira Costa <glommer@gmail.com>
8615
8616 * elf/elf.h: Add new ARM TLS relocs.
8617
d55fd7a5
RA
86182011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8619
8620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8621 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8622 cast from r3.
8623 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8624 'tests' variable.
8625 * sysdeps/wordsize-64/tst-writev.c: New file.
8626
2206397e
RA
86272011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8628
8629 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8630 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8631 insns in _dl_start to prevent a TOC reference before relocs are
8632 resolved.
8633
e9433893
UD
86342011-02-15 Ulrich Drepper <drepper@gmail.com>
8635
8636 [BZ #12469]
8637 * Makeconfig: Remove RANLIB definition.
8638 * Makerules: Don't use RANLIB.
8639 * aclocal.m4: Remove ranlib test.
8640 * configure.in: No need to check for ranlib.
8641 * elf/rtld-Rules: Don't use RANLIB.
8642
f75286c6
ST
86432011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8644
8e31c82d
ST
8645 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8646 protection macro.
8647 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8648 inclusion protection macro.
8649
f75286c6
ST
8650 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8651 SIGRTMIN and SIGRTMAX and print information in that case only when
8652 SIGRTMIN is defined.
8653
c1d0e639
JJ
86542011-02-11 Jakub Jelinek <jakub@redhat.com>
8655
8656 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8657 arginfo fn returning -1.
8658
8659 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8660 and thousands string is zero terminated.
8661
edf9294e
AS
86622011-02-03 Andreas Schwab <schwab@redhat.com>
8663
8664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8665 sysdeps/unix/sysv/linux/bits/socket.h.
8666
2b7e92df
ST
86672011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8668
edf9294e
AS
8669 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8670 (__CPU_COUNT): Remove old macros.
8671 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8672 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8673 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
8674 (__sched_cpualloc, __sched_cpufree): Add declarations.
8675
a4c7ea7b
UD
86762011-02-05 Ulrich Drepper <drepper@gmail.com>
8677
8678 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8679 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8680 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8681 (readdhstai): Return value of addhstaiX call.
8682 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8683 (addgrbyX): Return value returned by cache_addgr.
8684 (readdgrbyname): Return value returned by addgrbyX.
8685 (readdgrbygid): Likewise.
8686 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8687 (addpwbyX): Return value returned by cache_addpw.
8688 (readdpwbyname): Return value returned by addhstbyX.
8689 (readdpwbyuid): Likewise.
8690 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8691 (addservbyX): Return value returned by cache_addserv.
8692 (readdservbyname): Return value returned by addservbyX:
8693 (readdservbyport): Likewise.
8694 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8695 (addhstbyX): Return value returned by cache_addhst.
8696 (readdhstbyname): Return value returned by addhstbyX.
8697 (readdhstbyaddr): Likewise.
8698 (readdhstbynamev6): Likewise.
8699 (readdhstbyaddrv6): Likewise.
8700 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8701 (readdinitgroups): Return value returned by addinitgroupsX.
8702 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8703 (prune_cache): Keep track of timeout value of re-added entries.
8704 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8705 * nscd/nscd.h: Adjust prototypes of readd* functions.
8706
a0bf67cc
RM
87072011-02-04 Roland McGrath <roland@redhat.com>
8708
8709 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8710 (nis_stats): Likewise.
8711 * nis/nis_modify.c (nis_modify): Likewise.
8712 * nis/nis_remove.c (nis_remove): Likewise.
8713 * nis/nis_add.c (nis_add): Likewise.
8714
8715 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8716
8717 * posix/fnmatch_loop.c: Add some consts.
8718
8719 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8720
435b95eb
L
87212011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8722
8723 [BZ #12460]
8724 * config.make.in (config-cflags-novzeroupper): Define.
8725 * configure.in: Substitute libc_cv_cc_novzeroupper.
8726 * elf/Makefile (AVX-CFLAGS): Define.
8727 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8728 (CFLAGS-tst-auditmod4a.c): Likewise.
8729 (CFLAGS-tst-auditmod4b.c): Likewise.
8730 (CFLAGS-tst-auditmod6b.c): Likewise.
8731 (CFLAGS-tst-auditmod6c.c): Likewise.
8732 (CFLAGS-tst-auditmod7b.c): Likewise.
8733 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8734
8517b15e
UD
87352011-02-02 Ulrich Drepper <drepper@gmail.com>
8736
8737 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8738 function to the callback.
8739 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8740
10a656fe
AS
87412011-02-02 Andreas Schwab <schwab@redhat.com>
8742
8743 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8744 of errno.
8745
968dad0a
UD
87462011-01-19 Ulrich Drepper <drepper@gmail.com>
8747
9f94d2ea 8748 [BZ #11724]
968dad0a
UD
8749 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8750 of constructors.
8751 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8752 of destructors.
8753 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8754
8755 [BZ #11724]
8756 * elf/Makefile: Add rules to build and run new test.
8757 * elf/tst-initorder.c: New file.
8758 * elf/tst-initorder.exp: New file.
8759 * elf/tst-initordera1.c: New file.
8760 * elf/tst-initordera2.c: New file.
8761 * elf/tst-initordera3.c: New file.
8762 * elf/tst-initordera4.c: New file.
8763 * elf/tst-initorderb1.c: New file.
8764 * elf/tst-initorderb2.c: New file.
8765 * elf/tst-order-a1.c: New file.
8766 * elf/tst-order-a2.c: New file.
8767 * elf/tst-order-a3.c: New file.
8768 * elf/tst-order-a4.c: New file.
8769 * elf/tst-order-b1.c: New file.
8770 * elf/tst-order-b2.c: New file.
8771 * elf/tst-order-main.c: New file.
8772 New test case by George Gensure <werkt0@gmail.com>.
8773
86e92359
UD
87742010-10-01 Andreas Schwab <schwab@redhat.com>
8775
8776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8777 decoding ACE if AI_CANONIDN.
8778
5d5732b0
UD
87792011-01-18 Ulrich Drepper <drepper@gmail.com>
8780
8781 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8782
a77e8cbc
UD
87832011-01-17 Ulrich Drepper <drepper@gmail.com>
8784
6392473f
UD
8785 * version.h (RELEASE): Bump for 2.13 release.
8786 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8787
620a0529
UD
8788 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8789
18ba70a5
UD
8790 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8791 MADV_NOHUGEPAGE.
32465c3e
UD
8792 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8793 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8794 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8795 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8796 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8797 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8798
c0dafcf1
UD
8799 * posix/getconf.c: Update copyright year.
8800 * catgets/gencat.c: Likewise.
8801 * csu/version.c: Likewise.
8802 * debug/catchsegv.sh: Likewise.
8803 * debug/xtrace.sh: Likewise.
8804 * elf/ldconfig.c: Likewise.
8805 * elf/ldd.bash.in: Likewise.
8806 * elf/sprof.c (print_version): Likewise.
8807 * iconv/iconv_prog.c: Likewise.
8808 * iconv/iconvconfig.c: Likewise.
8809 * locale/programs/locale.c: Likewise.
8810 * locale/programs/localedef.c: Likewise.
8811 * malloc/memusage.sh: Likewise.
8812 * malloc/mtrace.pl: Likewise.
8813 * nscd/nscd.c (print_version): Likewise.
8814 * nss/getent.c: Likewise.
8815
a77e8cbc
UD
8816 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8817 PF_CAIF, and PF_ALG.
8818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8819
77e8bddf
AS
88202011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8821
1f20b93a
AS
8822 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8823 (modules-names): Use them.
8824 (ifunc-test-modules, ifunc-pie-tests): Define.
8825 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8826 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8827 (test-extras): Likewise.
8828 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8829 $(compile-command.c).
8830 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8831 (all-built-dso): Define.
8832 (check-textrel.out, check-execstack.out): Depend on it.
8833
77e8bddf
AS
8834 * configure.in: Don't override --enable-multi-arch.
8835
bc425b33
UD
88362011-01-15 Ulrich Drepper <drepper@gmail.com>
8837
8838 [BZ #6812]
8839 * nscd/hstcache.c (tryagain): Define.
8840 (cache_addhst): Return tryagain not notfound for temporary errors.
8841 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8842 failed.
8843
794c3ad3
UD
88442011-01-14 Ulrich Drepper <drepper@gmail.com>
8845
70181fdd
UD
8846 [BZ #10563]
8847 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8848 to make the syscall.
8849 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8850
794c3ad3
UD
8851 [BZ #12378]
8852 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8853 and fall back to matching as normal character if the string ends before
8854 the matching ']' is found. This is what POSIX requires.
8855 * posix/testfnm.c: Adjust test result.
8856 * posix/globtest.sh: Adjust test result. Add new test.
8857 * posix/tst-fnmatch.input: Likewise.
8858 * posix/tst-fnmatch2.c: Add new test.
8859
68dc9497
AS
88602010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8861
8862 * elf/Makefile (check-execstack): Revert last change. Depend on
8863 check-execstack.h.
8864 (check-execstack.h): New target.
8865 (generated): Add check-execstack.h.
8866 * elf/check-execstack.c: Include "check-execstack.h".
8867 (main): Revert last change.
8868 (handle_file): Return zero if GNU_STACK is absent and
8869 DEFAULT_STACK_PERMS doesn't include PF_X.
8870
451f001b
UD
88712011-01-13 Ulrich Drepper <drepper@gmail.com>
8872
cfa28e56
UD
8873 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8874 in child fails because the descriptor is already closed.
8cf8ce17
UD
8875 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8876 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8877 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 8878
1086d70d
UD
8879 [BZ #12397]
8880 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8881 syscall.
8882
451f001b
UD
8883 [BZ #10484]
8884 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8885 temporary buffer used to handle multi lookups locally.
a85b5cb4 8886 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 8887
08769175
UD
88882011-01-12 Ulrich Drepper <drepper@gmail.com>
8889
8890 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8891 loader is ld.so.
8892
5e49c52e
UD
88932011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8894
8895 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8896 alignment for SSE2.
8897
60522a5f
UD
88982011-01-12 Ulrich Drepper <drepper@gmail.com>
8899
8900 [BZ #12394]
8901 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8902 characters. When rounding increased number of integer digits recompute
8903 number of groups.
8904 * stdio-common/tst-grouping.c: New file.
8905 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8906
f257bbd7
UD
89072011-01-09 Ulrich Drepper <drepper@gmail.com>
8908
8909 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8910 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8911
8912 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8913 void.
8914 * bits/select.h: Likewise.
8915
fa9c15cb
UD
89162011-01-08 Ulrich Drepper <drepper@gmail.com>
8917
8918 * po/ja.po: Update from translation team.
8919
16c2895f
DM
89202011-01-04 David S. Miller <davem@sunset.davemloft.net>
8921
8922 [BZ #11155]
8923 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8924 implementation just like for lxstat, fxstatat, et al.
8925
2543fef2
JM
89262010-12-27 Jim Meyering <meyering@redhat.com>
8927
8928 [BZ #12348]
8929 * posix/regexec.c (build_trtable): Return failure indication upon
8930 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8931
98727dbe
UD
89322010-12-25 Ulrich Drepper <drepper@gmail.com>
8933
5bd6dc5c
UD
8934 [BZ #12201]
8935 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8936 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8937 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8938 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8939
97983464
UD
8940 [BZ #12207]
8941 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8942
98727dbe
UD
8943 [BZ #12204]
8944 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8945 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8946
4a531bb0
L
89472010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8948
8949 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8950 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8951 script has SORT_BY_INIT_PRIORITY.
8952 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8953 NO_CTORS_DTORS_SECTIONS is defined.
8954 * elf/soinit.c: Likewise.
8955 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8956 NO_CTORS_DTORS_SECTIONS is defined.
8957 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8958 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8959 * sysdeps/sh/init-first.c: Likewise.
8960 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8961
07eb4b71
UD
89622010-12-24 Ulrich Drepper <drepper@gmail.com>
8963
8964 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8965 always use the slow path.
8966
30950a5f
RA
89672010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8968
8969 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8970 similar rule which adds the sysdep directories to the header search in
8971 order to pick up the correct platform stackinfo.h.
8972 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8973 perform test if it is, otherwise return successfully without testing.
8974 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8975 DEFAULT_STACK_PERMS define in stackinfo.h.
8976 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8977 defined in stackinfo.h.
8978 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8979 DEFAULT_STACK_PERMS defined in stackinfo.h.
8980 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8981 * sysdeps/ia64/stackinfo.h: Likewise.
8982 * sysdeps/s390/stackinfo.h: Likewise.
8983 * sysdeps/sh/stackinfo.h: Likewise.
8984 * sysdeps/sparc/stackinfo.h: Likewise.
8985 * sysdeps/x86_64/stackinfo.h: Likewise.
8986 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8987 PF_X for powerpc64. Retain PF_X for powerpc32.
8988
db753e2c
UD
89892010-12-19 Ulrich Drepper <drepper@gmail.com>
8990
14b697f7
UD
8991 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8992 accurately.
db753e2c
UD
8993 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8994 GETDENTS_64BIT_ALIGNED.
8995
28300719
UD
89962010-12-14 Ulrich Drepper <dreper@gmail.com>
8997
14b697f7 8998 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 8999
4f197237
AS
90002010-12-10 Andreas Schwab <schwab@redhat.com>
9001
dbb0472f
AS
9002 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9003 _GNU_SOURCE.
9004
4f197237
AS
9005 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9006 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9007 Remove __restrict.
9008 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9009 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9010
fb88ac72
UD
90112010-12-09 Ulrich Drepper <drepper@gmail.com>
9012
9013 [BZ #11655]
9014 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9015 are initialized.
9016
42acbb92
JJ
90172010-12-09 Jakub Jelinek <jakub@redhat.com>
9018
9019 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9020
c038d98d
UD
90212010-12-03 Ulrich Drepper <drepper@gmail.com>
9022
9023 * po/it.po: Update from translation team.
9024
3a4a2499
L
90252010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9026
9027 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9028 unused codes.
9029
1e24cf6e
UD
90302010-11-30 Ulrich Drepper <drepper@gmail.com>
9031
9032 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9033
a7690819
AS
90342010-11-24 Andreas Schwab <schwab@redhat.com>
9035
9036 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9037 specially.
9038 (gaih_getanswer_slice): Likewise.
9039
3bf8d1b1
JJ
90402010-10-20 Jakub Jelinek <jakub@redhat.com>
9041
9042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9043
6db52fbb
PB
90442010-05-31 Petr Baudis <pasky@suse.cz>
9045
9046 [BZ #11149]
9047 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9048 silently even in the chroot mode.
9049
eaca7569
UD
90502010-11-22 Ulrich Drepper <drepper@gmail.com>
9051
9052 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9053 last patch a bit. Pretty printing
9054
3056dcdb
UD
90552010-05-31 Petr Baudis <pasky@suse.cz>
9056
9057 [BZ #10085]
9058 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9059 initialization of skip_initgroups_dyn.
9060
cf7c9078
UD
90612010-11-19 Ulrich Drepper <drepper@gmail.com>
9062
9063 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9064 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9065
a1fb5e3e
UD
90662010-11-16 Ulrich Drepper <drepper@gmail.com>
9067
9068 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9069
3540d66b
AS
90702010-11-11 Andreas Schwab <schwab@redhat.com>
9071
9072 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9073 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9074 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9075 ($(objpfx)tst-fnmatch-mem): New rule.
9076 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9077 * posix/tst-fnmatch.c (main): Call mtrace.
9078
13b69574
L
90792010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9080
9081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9082 Support Intel processor model 6 and model 0x2c.
9083
da93d214
LM
90842010-11-10 Luis Machado <luisgpm@br.ibm.com>
9085
9086 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9087 signed comparison.
9088
8ca52c6e
L
90892010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9090
9091 [BZ #12205]
9092 * string/test-strncasecmp.c (check_result): New function.
9093 (do_one_test): Use it.
9094 (check1): New function.
9095 (test_main): Use it.
9096 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9097 Support strcasecmp and strncasecmp.
9098
69da074d
UD
90992010-11-08 Ulrich Drepper <drepper@gmail.com>
9100
9101 [BZ #12194]
9102 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9103 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9104
ff02d528
L
91052010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9106
9107 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9108 IFUNC support.
9109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9110 memset-x86-64.
9111 * sysdeps/x86_64/multiarch/bzero.S: New file.
9112 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9113 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9114 * sysdeps/x86_64/multiarch/memset.S: New file.
9115 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9117 Set bit_Prefer_SSE_for_memop for Intel processors.
9118 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9119 Define.
9120 (index_Prefer_SSE_for_memop): Define.
9121 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9122
344d0b54
LM
91232010-11-04 Luis Machado <luisgpm@br.ibm.com>
9124
9125 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9126 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9127
c0dde15b
UD
91282010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9129
9130 [BZ #12191]
9131 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9132 (__x86_64_raw_data_cache_size_half): Likewise.
9133 (__x86_64_raw_shared_cache_size): Likewise.
9134 (__x86_64_raw_shared_cache_size_half): Likewise.
9135
9136 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9137 (__x86_64_raw_data_cache_size_half): Likewise.
9138 (__x86_64_raw_shared_cache_size): Likewise.
9139 (__x86_64_raw_shared_cache_size_half): Likewise.
9140 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9141 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9142 and __x86_64_raw_shared_cache_size_half. Round
9143 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9144 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9145 to multiple of 256 bytes.
9146
0e516e0e
MS
91472010-11-03 Ulrich Drepper <drepper@gmail.com>
9148
9149 [BZ #12167]
9150 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9151 of inacessible symlinks. Verify result of symlink before returning it.
9152 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9153 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9154
0e012e87
ER
91552010-10-28 Erich Ritz <erichritz@gmail.com>
9156
9157 * math/math.h (isinf): Fix typo in comment.
9158
de0ff7bc
UD
91592010-11-01 Ulrich Drepper <drepper@gmail.com>
9160
9161 * po/da.po: Update from translation team.
9162
fa41c84d
UD
91632010-10-26 Ulrich Drepper <drepper@gmail.com>
9164
9165 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9166 is added to the list.
9167
f0967738
AK
91682010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9169 Ulrich Drepper <drepper@gmail.com>
9170
9171 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9172 the global list here. Move code to...
9173 (_dl_add_to_namespace_list): ...here. New function.
9174 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9175 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9176 * elf/dl-load.c (lose): Don't remove the element from the list.
9177 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9178 (_dl_map_object): Likewise.
9179
91802010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
9181
9182 [BZ #12159]
9183 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9184 into all bytes of SSE register.
9185 Patch by Richard Li <richardpku@gmail.com>.
9186
f0967738 91872010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
9188
9189 [BZ #12140]
9190 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9191 perturbing.
9192
d0b9e94f
MB
91932010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9194
9195 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9196 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9197 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9198 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9200 submachine.
9201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9202
8e9f92e9
AS
92032010-10-22 Andreas Schwab <schwab@redhat.com>
9204
9205 * include/dlfcn.h (__RTLD_SECURE): Define.
9206 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9207 mode & __RTLD_SECURE instead.
9208 (open_path): Rename preloaded parameter to secure.
9209 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9210 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9211 * elf/dl-deps.c (openaux): Likewise.
9212 * elf/rtld.c (struct map_args): Remove is_preloaded.
9213 (map_doit): Don't use it.
9214 (dl_main): Likewise.
9215 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9216 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9217
bc96fbda
AS
92182010-09-09 Andreas Schwab <schwab@redhat.com>
9219
9220 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9221 (sysd-rules-targets): Remove duplicates.
9222 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9223 rtld-%.$o dependency.
9224
22cd1c9b
AS
92252010-10-18 Andreas Schwab <schwab@redhat.com>
9226
9227 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9228 _dl_map_object do it.
9229
18edac48
UD
92302010-10-19 Ulrich Drepper <drepper@gmail.com>
9231
9232 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9233 fast fma builtins, define the macros in the C99 standard.
9234 (FP_FAST_FMAF): Likewise.
9235 (FP_FAST_FMAL): Likewise.
9236 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9237
9238 * bits/mathdef.h: Update copyright year.
9239 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9240
d2050124
MM
92412010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9242
9243 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9244 builtins, define the macros in the C99 standard.
9245 (FP_FAST_FMAF): Likewise.
9246 (FP_FAST_FMAL): Likewise.
9247 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9248 multiply/add.
9249 (FP_FAST_FMAF): Likewise.
9250
475facd1
JJ
92512010-10-15 Jakub Jelinek <jakub@redhat.com>
9252
9253 [BZ #3268]
9254 * math/libm-test.inc (fma_test): Some new testcases.
9255 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9256 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9257 y and infinite z. Do multiplication by C already in long double.
9258 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9260 y and infinite z. Do bitwise or of inexact bit into u.d.
9261 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9262 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9263 * sysdeps/i386/fpu/s_fma.S: Removed.
9264 * sysdeps/i386/fpu/s_fmal.S: Removed.
9265
7c08a05c
JJ
92662010-10-16 Jakub Jelinek <jakub@redhat.com>
9267
9268 [BZ #3268]
9269 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9271 computation is not scheduled after fetestexcept. Fix value
9272 of minimum denormal long double.
9273
f3f7372d
JJ
92742010-10-14 Jakub Jelinek <jakub@redhat.com>
9275
9276 [BZ #3268]
9277 * math/libm-test.inc (fma_test): Add some more tests.
9278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9279 correctly.
9280
14d43591
AS
92812010-10-15 Andreas Schwab <schwab@redhat.com>
9282
9283 * scripts/data/localplt-s390-linux-gnu.data: New file.
9284 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9285
5e908464
JJ
92862010-10-13 Jakub Jelinek <jakub@redhat.com>
9287
9288 [BZ #3268]
9289 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9290 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9291 instead of dbl-64.
9292 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9293 inlines.
9294 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9296 if one of x and y is very large and the other is subnormal.
9297 * sysdeps/s390/fpu/s_fmaf.c: New file.
9298 * sysdeps/s390/fpu/s_fma.c: New file.
9299 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9300 * sysdeps/powerpc/fpu/s_fma.S: New file.
9301 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9302 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9303 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9304
93052010-10-12 Jakub Jelinek <jakub@redhat.com>
9306
9307 [BZ #3268]
9308 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9309 fma tests.
9310 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9311 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9312 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9313 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9314 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9315 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9316 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9317
b833d51f
UD
93182010-10-12 Ulrich Drepper <drepper@redhat.com>
9319
9320 [BZ #12078]
9321 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9322 * posix/bug-regex31.input: Add test case.
9323
1751705d
UD
93242010-10-11 Ulrich Drepper <drepper@gmail.com>
9325
e9b9cbf5
UD
9326 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9327 * posix/bug-regex31.input: New file.
9328
9329 [BZ #12078]
9330 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9331 (parse_sub_exp): Fix last change, use postorder.
9332
ef06edbe
UD
9333 * posix/bug-regex31.c: New file.
9334 * posix/Makefile: Add rules to build and run bug-regex31.
9335
a129c80d
UD
9336 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9337
9338 [BZ #12078]
9339 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9340
b76b818e
UD
9341 [BZ #12108]
9342 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9343 to have entries in sys_siglist.
9344
1751705d
UD
9345 [BZ #12093]
9346 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9347 be NULL.
9348
9ff8d36f
JJ
93492010-10-07 Jakub Jelinek <jakub@redhat.com>
9350
9351 [BZ #3268]
9352 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9353 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9354 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9355 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9356 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9357 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9358 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9359 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9360 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9361 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9362 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9363 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9364 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9365 * math/ftestexcept.c (fetestexcept): Likewise.
9366 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9367 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9368 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9369 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9370 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9371 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9372 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9373
af325969
UD
93742010-10-11 Ulrich Drepper <drepper@gmail.com>
9375
c579b202 9376 [BZ #12107]
af325969
UD
9377 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9378 newline.
9379
67a67b95
UD
93802010-10-06 Ulrich Drepper <drepper@gmail.com>
9381
9382 * string/bug-strstr1.c: New file.
9383 * string/Makefile: Add rules to build and run bug-strstr1.
9384
5fb308bc
EB
93852010-10-05 Eric Blake <eblake@redhat.com>
9386
9387 [BZ #12092]
9388 * string/str-two-way.h (two_way_long_needle): Always clear memory
9389 when skipping input due to the shift table.
9390
45db99c7
UD
93912010-10-03 Ulrich Drepper <drepper@gmail.com>
9392
3b111893
UD
9393 [BZ #12005]
9394 * malloc/mcheck.c: Handle large requests.
9395
45db99c7
UD
9396 [BZ #12077]
9397 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9398 for strncmp and strncasecmp.
9399 * string/stratcliff.c: Add tests for strcmp and strncmp.
9400 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9401
cf7a1eb8
NI
94022010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9403
9404 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9405 __set_fpscr.
9406
6484ba5e
AJ
94072010-09-30 Andreas Jaeger <aj@suse.de>
9408
9409 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9410 (CGROUP_SUPER_MAGIC): Define.
9411 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9412 Handle btrfs and cgroup file systems.
9413 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9414 Likewise.
9415
91c42559
LM
94162010-09-27 Luis Machado <luisgpm@br.ibm.com>
9417
9418 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9419 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9420
87a97932
AK
94212010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9422
9423 [BZ #12067]
9424 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9425 trying to locate the ELF header.
9426
c21cc9bc
AS
94272010-09-27 Andreas Schwab <schwab@redhat.com>
9428
9429 [BZ #11611]
9430 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9431 Mask out sign-bit copies when constructing f_fsid.
9432
315970f6
PB
94332010-09-24 Petr Baudis <pasky@suse.cz>
9434
9435 * debug/stack_chk_fail_local.c: Add missing licence exception.
9436 * debug/warning-nop.c: Likewise.
9437
1ac7a2c7
JM
94382010-09-15 Joseph Myers <joseph@codesourcery.com>
9439
9440 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9441 implementing getdents64 using getdents syscall, set d_type if
9442 __ASSUME_GETDENTS32_D_TYPE.
9443
56801c50
AS
94442010-09-16 Andreas Schwab <schwab@redhat.com>
9445
9446 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9447 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9448
dda51327
UD
94492010-09-21 Ulrich Drepper <drepper@redhat.com>
9450
9451 [BZ #12037]
9452 * posix/unistd.h: Undo change of feature selection for ftruncate from
9453 2010-01-11.
9454
8ffcee4a
UD
94552010-09-20 Ulrich Drepper <drepper@redhat.com>
9456
a545ecd9 9457 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
9458 detection.
9459
e24f0a8b
AS
94602010-09-20 Andreas Schwab <schwab@redhat.com>
9461
9462 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9463 fanotify_mark.
9464 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9465
7291c56f
AS
94662010-09-14 Andreas Schwab <schwab@redhat.com>
9467
9468 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9469 variables after CHECK_SP call.
9470 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9471
bc5fb037
AS
94722010-09-13 Andreas Schwab <schwab@redhat.com>
9473 Ulrich Drepper <drepper@redhat.com>
9474
9475 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9476 re-relocationg ld.so.
9477 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9478 _dl_init_paths call.
9479 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9480 here anymore.
9481
e66e7419
UD
94822010-09-14 Ulrich Drepper <drepper@redhat.com>
9483
9484 * resolv/res_init.c (__res_vinit): Count the default server we added.
9485
c044aa75
CLT
94862010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9487 Ulrich Drepper <drepper@redhat.com>
9488
9489 [BZ #11968]
9490 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9491 (____longjmp_chk): Use %ebx for saving value across system call.
9492 Add unwind info.
9493
32cf4069
AS
94942010-09-06 Andreas Schwab <schwab@redhat.com>
9495
9496 * manual/Makefile: Don't mix pattern rules with normal rules.
9497
817328ee
AS
94982010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9499
9500 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9501 operation.
9502 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9503 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9504 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9505 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9506 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9507 Likewise.
9508
29fddf61
UD
95092010-09-04 Ulrich Drepper <drepper@redhat.com>
9510
9511 [BZ #11979]
9512 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9513 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9514
0959ffc9
UD
95152010-09-02 Ulrich Drepper <drepper@redhat.com>
9516
9517 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9518 * sysdeps/x86_64/addmul_1.S: Likewise.
9519 * sysdeps/x86_64/lshift.S: Likewise.
9520 * sysdeps/x86_64/mul_1.S: Likewise.
9521 * sysdeps/x86_64/rshift.S: Likewise.
9522 * sysdeps/x86_64/sub_n.S: Likewise.
9523 * sysdeps/x86_64/submul_1.S: Likewise.
9524
ece29840
ST
95252010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9526
0959ffc9
UD
9527 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9528 Define __sched_param instead of SCHED_* and sched_param when
ece29840 9529 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 9530 * bits/sched.h [__need_schedparam]
ece29840 9531 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
9532 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9533 (__defined_schedparam): Define to 1.
ece29840
ST
9534 (__sched_param): New structure, identical to sched_param.
9535 (__need_schedparam): Undefine.
9536
e53a31fe
MF
95372010-08-31 Mike Frysinger <vapier@gentoo.org>
9538
fdc0c10d
MF
9539 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9540 (epoll_create1): Declare.
9541
e53a31fe
MF
9542 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9543
a726d796
AS
95442010-08-31 Andreas Schwab <schwab@redhat.com>
9545
9546 [BZ #7066]
9547 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9548 shifting retval into place.
9549
2f3e3dc7
UD
95502010-09-01 Ulrich Drepper <drepper@redhat.com>
9551
f2933da9
UD
9552 * nis/rpcsvc/nis.h: Update copyright notice.
9553 * nis/rpcsvc/nis.x: Likewise.
9554 * nis/rpcsvc/nis_callback.h: Likewise.
9555 * nis/rpcsvc/nis_callback.x: Likewise.
9556 * nis/rpcsvc/nis_object.x: Likewise.
9557 * nis/rpcsvc/nis_tags.h: Likewise.
9558 * nis/rpcsvc/yp.h: Likewise.
9559 * nis/rpcsvc/yp.x: Likewise.
9560 * nis/rpcsvc/ypupd.h: Likewise.
9561 * nis/yp_xdr.c: Likewise.
9562 * nis/ypupdate_xdr.c: Likewise.
9563
2f3e3dc7
UD
9564 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9565 mainly the body of pmap_getport. Add parameters to specify timeouts.
9566 (pmap_getport): Use __libc_rpc_getport.
9567 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9568 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9569 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9570
f3dcc2f9
AS
95712010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9572
9573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9574 fanotify_mark.
9575
6d34eb5b
RM
95762010-08-27 Roland McGrath <roland@redhat.com>
9577
9578 * sysdeps/i386/i686/multiarch/Makefile
9579 (CFLAGS-varshift.c): New variable.
9580
9ea3de11
UD
95812010-08-27 Ulrich Drepper <drepper@redhat.com>
9582
c96d23fc
UD
9583 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9584 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9585
9ea3de11
UD
9586 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9587
9588 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9589
623aac7f
L
95902010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9591
9592 * sysdeps/x86_64/strlen.S: Unroll the loop.
9593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9594 strlen-sse2 strlen-sse2-bsf.
9595 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9596 __strlen_no_bsf if bit_Slow_BSF is set.
9597 (__strlen_sse42): Removed.
9598 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9599 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9600
8b2b7715
RM
96012010-08-25 Roland McGrath <roland@redhat.com>
9602
9603 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9604 * sysdeps/x86_64/multiarch/varshift.c: New file.
9605 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9606 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9607 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9608 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9609
e73015f2
L
96102010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9611
9612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9613 strlen-sse2 strlen-sse2-bsf.
9614 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9615 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9616 (__strlen_sse2): Removed.
9617 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9620 bit_Slow_BSF for Atom.
9621 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9622 (index_Slow_BSF): Define.
9623 (HAS_SLOW_BSF): Define.
9624
df24a73e
UD
96252010-08-25 Ulrich Drepper <drepper@redhat.com>
9626
9627 [BZ #10851]
9628 * resolv/res_init.c (__res_vinit): When no server address at all
9629 is given default to loopback.
9630
f2ac4868
RM
96312010-08-24 Roland McGrath <roland@redhat.com>
9632
09055553
RM
9633 * configure.in: Remove config-name.h generation.
9634 * configure: Regenerated.
9635 * config-name.in: File removed.
9636 * scripts/config-uname.sh: New file.
9637 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9638 ($(objdir)config-name.h): New target.
9639
f2ac4868
RM
9640 * sunrpc/rpc_parse.h: Avoid nested comment.
9641
73f27d5e
RH
96422010-08-24 Richard Henderson <rth@redhat.com>
9643 Ulrich Drepper <drepper@redhat.com>
9644 H.J. Lu <hongjiu.lu@intel.com>
9645
9646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9648 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9649 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9650 _mm_alignr_epi8 with _mm_loadu_si128.
9651 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9652 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9653 (__m128i_shift_right): Removed.
9654 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9655 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9656 * sysdeps/x86_64/multiarch/varshift.h: New file.
9657 * sysdeps/x86_64/multiarch/varshift.S: New file.
9658
84b9230c
MF
96592010-08-21 Mike Frysinger <vapier@gentoo.org>
9660
9661 * configure.in: Move assembler checks to before sysdep dir checking.
9662
9bbd0ddc
PB
96632010-08-20 Petr Baudis <pasky@suse.cz>
9664
9665 * LICENSES: Sync the sunrpc license.
9666
9da4bb31
UD
96672010-08-19 Ulrich Drepper <drepper@redhat.com>
9668
a7ab6ec8
UD
9669 * sunrpc/auth_des.c: Update copyright notice once again.
9670 * sunrpc/auth_none.c: Likewise.
9671 * sunrpc/auth_unix.c: Likewise.
9672 * sunrpc/authdes_prot.c: Likewise.
9673 * sunrpc/authuxprot.c: Likewise.
9674 * sunrpc/bindrsvprt.c: Likewise.
9675 * sunrpc/clnt_gen.c: Likewise.
9676 * sunrpc/clnt_perr.c: Likewise.
9677 * sunrpc/clnt_raw.c: Likewise.
9678 * sunrpc/clnt_simp.c: Likewise.
9679 * sunrpc/clnt_tcp.c: Likewise.
9680 * sunrpc/clnt_udp.c: Likewise.
9681 * sunrpc/clnt_unix.c: Likewise.
9682 * sunrpc/des_crypt.c: Likewise.
9683 * sunrpc/des_soft.c: Likewise.
9684 * sunrpc/get_myaddr.c: Likewise.
9685 * sunrpc/getrpcport.c: Likewise.
9686 * sunrpc/key_call.c: Likewise.
9687 * sunrpc/key_prot.c: Likewise.
9688 * sunrpc/openchild.c: Likewise.
9689 * sunrpc/pm_getmaps.c: Likewise.
9690 * sunrpc/pm_getport.c: Likewise.
9691 * sunrpc/pmap_clnt.c: Likewise.
9692 * sunrpc/pmap_prot.c: Likewise.
9693 * sunrpc/pmap_prot2.c: Likewise.
9694 * sunrpc/pmap_rmt.c: Likewise.
9695 * sunrpc/rpc/auth.h: Likewise.
9696 * sunrpc/rpc/auth_unix.h: Likewise.
9697 * sunrpc/rpc/clnt.h: Likewise.
9698 * sunrpc/rpc/des_crypt.h: Likewise.
9699 * sunrpc/rpc/key_prot.h: Likewise.
9700 * sunrpc/rpc/netdb.h: Likewise.
9701 * sunrpc/rpc/pmap_clnt.h: Likewise.
9702 * sunrpc/rpc/pmap_prot.h: Likewise.
9703 * sunrpc/rpc/pmap_rmt.h: Likewise.
9704 * sunrpc/rpc/rpc.h: Likewise.
9705 * sunrpc/rpc/rpc_des.h: Likewise.
9706 * sunrpc/rpc/rpc_msg.h: Likewise.
9707 * sunrpc/rpc/svc.h: Likewise.
9708 * sunrpc/rpc/svc_auth.h: Likewise.
9709 * sunrpc/rpc/types.h: Likewise.
9710 * sunrpc/rpc/xdr.h: Likewise.
9711 * sunrpc/rpc_clntout.c: Likewise.
9712 * sunrpc/rpc_cmsg.c: Likewise.
9713 * sunrpc/rpc_common.c: Likewise.
9714 * sunrpc/rpc_cout.c: Likewise.
9715 * sunrpc/rpc_dtable.c: Likewise.
9716 * sunrpc/rpc_hout.c: Likewise.
9717 * sunrpc/rpc_main.c: Likewise.
9718 * sunrpc/rpc_parse.c: Likewise.
9719 * sunrpc/rpc_parse.h: Likewise.
9720 * sunrpc/rpc_prot.c: Likewise.
9721 * sunrpc/rpc_sample.c: Likewise.
9722 * sunrpc/rpc_scan.c: Likewise.
9723 * sunrpc/rpc_scan.h: Likewise.
9724 * sunrpc/rpc_svcout.c: Likewise.
9725 * sunrpc/rpc_tblout.c: Likewise.
9726 * sunrpc/rpc_util.c: Likewise.
9727 * sunrpc/rpc_util.h: Likewise.
9728 * sunrpc/rpcinfo.c: Likewise.
9729 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9730 * sunrpc/rpcsvc/key_prot.x: Likewise.
9731 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9732 * sunrpc/rpcsvc/mount.x: Likewise.
9733 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9734 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9735 * sunrpc/rpcsvc/rex.x: Likewise.
9736 * sunrpc/rpcsvc/rstat.x: Likewise.
9737 * sunrpc/rpcsvc/rusers.x: Likewise.
9738 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9739 * sunrpc/rpcsvc/spray.x: Likewise.
9740 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9741 * sunrpc/rtime.c: Likewise.
9742 * sunrpc/svc.c: Likewise.
9743 * sunrpc/svc_auth.c: Likewise.
9744 * sunrpc/svc_authux.c: Likewise.
9745 * sunrpc/svc_raw.c: Likewise.
9746 * sunrpc/svc_run.c: Likewise.
9747 * sunrpc/svc_simple.c: Likewise.
9748 * sunrpc/svc_tcp.c: Likewise.
9749 * sunrpc/svc_udp.c: Likewise.
9750 * sunrpc/svc_unix.c: Likewise.
9751 * sunrpc/svcauth_des.c: Likewise.
9752 * sunrpc/xcrypt.c: Likewise.
9753 * sunrpc/xdr.c: Likewise.
9754 * sunrpc/xdr_array.c: Likewise.
9755 * sunrpc/xdr_float.c: Likewise.
9756 * sunrpc/xdr_mem.c: Likewise.
9757 * sunrpc/xdr_rec.c: Likewise.
9758 * sunrpc/xdr_ref.c: Likewise.
9759 * sunrpc/xdr_sizeof.c: Likewise.
9760 * sunrpc/xdr_stdio.c: Likewise.
9761
9da4bb31
UD
9762 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9763 handling.
9764
bdaa77bc
AS
97652010-08-19 Andreas Schwab <schwab@redhat.com>
9766
9767 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9768
fe2f79db
LM
97692010-08-19 Luis Machado <luisgpm@br.ibm.com>
9770
9771 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9772 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9773 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9774 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9775 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9776 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9777 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9778 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9779 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9780 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9781 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9782 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9783 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9784 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9785
b9b42ee0
AB
97862010-07-26 Anton Blanchard <anton@samba.org>
9787
9788 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9789 * malloc/arena.c (heap_trim): Likewise.
9790
1c06ba31
UD
97912010-08-16 Ulrich Drepper <drepper@redhat.com>
9792
9793 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9794 here. Not...
9795 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9796 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9797
f8392f40
L
97982010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9799
9800 * sysdeps/i386/elf/Makefile: New file.
9801
3162f12e
AS
98022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9803
9804 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9805 from fanotify_init.
9806 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9807 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9808
28c90b2c
UD
98092010-08-15 Ulrich Drepper <drepper@redhat.com>
9810
9811 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9812 of strncasecmp_l.
1feccb6c 9813 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 9814
ca6bb004
UD
98152010-08-14 Ulrich Drepper <drepper@redhat.com>
9816
e9f82e0d
UD
9817 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9818 strncase_l-nonascii.
9819 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9820 Add strncase_l-ssse3.
9821 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9822 * sysdeps/x86_64/strcmp.S: Likewise.
9823 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9824 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9825 * sysdeps/x86_64/strncase.S: New file.
9826 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9827 * sysdeps/x86_64/strncase_l.S: New file.
9828 * string/Makefile (strop-tests): Add strncasecmp.
9829 * string/test-strncasecmp.c: New file.
9830
9831 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9832 warning.
9833
ca6bb004
UD
9834 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9835 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9836
052fa7b3
AS
98372010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9838
9839 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9840
962dba78
UD
98412010-08-12 Ulrich Drepper <drepper@redhat.com>
9842
9843 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9844 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9845 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9846
bebff237
AM
98472010-05-01 Alan Modra <amodra@gmail.com>
9848
9849 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9850 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9851 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9852 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9853 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9854 tidying. Don't tail-call __sigjmp_save for static lib.
9855 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9856 save location.
9857 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9858 (CALL_MCOUNT): Add eh info, and nop after bl.
9859 (TAIL_CALL_SYSCALL_ERROR): New macro.
9860 (PSEUDO_RET): Use it.
9861 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9862 Correct save location of integer regs and cr.
9863 (_dl_profile_resolve): Correct cr save location. Delete nops
9864 after bl when SHARED. Reduce cfi size a little by better
9865 placement of cfi directives.
9866 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9867 make a stack frame. Instead use parm save area as a temp.
9868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9869 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9871 Don't make a stack frame for parent, use parm save area.
9872 Increase child stack frame to 112 bytes. Don't save unused reg,
9873 and adjust reg usage. Set up cfi on error recovery and
9874 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9876 (__makecontext): Add dummy nop after jump to exit.
9877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9878 Use correct parm save area and cr save, reduce stack frame.
9879 Correct cfi for possible PSEUDO_RET frame setup.
9880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9881 Branch to local label emitted by PSEUDO_RET rather than
9882 __syscall_error.
9883
02637374
AS
98842010-08-12 Andreas Schwab <schwab@redhat.com>
9885
9886 [BZ #11904]
9887 * locale/programs/locale.c (print_assignment): New function.
9888 (show_locale_vars): Use it.
9889
c3e2f19b
UD
98902010-08-11 Ulrich Drepper <drepper@redhat.com>
9891
3cdaa6ad
UD
9892 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9893 field.
9894 (struct statfs64): Likewise.
9895 (_STATFS_F_FLAGS): Define.
9896 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9897 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9898 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9899 (ST_VALID): Define locally.
9900 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9901 __statvfs_getflags, use the provided value.
9902 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9903 __ASSUME_STATFS_F_FLAGS.
9904
754f7da3
UD
9905 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9906
10b3bedc
UD
9907 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9908 Add sys/fanotify.h.
9909 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9910 fanotify_mask for GLIBC_2.13.
9911 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9912 fanotify_init and fanotify_mark.
9913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9914 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9915
c08fb0d7
UD
9916 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9917 Add prlimit.
9918 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9919 prlimit64 for GLIBC_2.13.
9920 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9921 prlimit64.
9922 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9923 syscall.
9924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9925 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9926 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9927 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9928 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9929 add prlimit alias.
9930 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9931
15bac72b
UD
9932 [BZ #11903]
9933 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9934 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9935
c3e2f19b
UD
9936 * nss/Makefile: Add rules to build and run tst-nss-test1.
9937 * shlib-versions: Add entry for libnss_test1.
9938 * nss/nss_test1.c: New file.
9939 * nss/tst-nss-test1.c: New file.
9940
9941 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9942 (__nss_configure_lookup): Set appropriate entry in
9943 __nss_configure_lookup to true.
9944 * nss/nsswitch.h: Define enum with indeces of databases in
9945 databases and __nss_database_custom arrays. Declare
9946 __nss_database_custom.
9947 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9948 to avoid using nscd when custom rules are installed.
9949 * nss/getXXbyYY_r.c: Likewise.
9950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9951
9952 * nss/nss_files/files-parse.c: Whitespace fixes.
9953
f15ce4d8
UD
99542010-08-09 Ulrich Drepper <drepper@redhat.com>
9955
9956 [BZ #11883]
9957 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9958 * posix/fnmatch_loop.c: Likewise.
9959
d22e4cc9
AK
99602010-07-17 Andi Kleen <ak@linux.intel.com>
9961
9962 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9963 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9964 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9965 * Versions.def [GLIBC_2.13]: Add.
9966
805bc17d
UD
99672010-08-06 Ulrich Drepper <drepper@redhat.com>
9968
9969 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9970 Also fail if tpwd after pwuid call is NULL.
9971
5a42321d
ST
99722010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9973
9974 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9975 when converting to ms.
9976
fd3ebeda
ST
99772010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9978
9979 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9980 EOPNOTSUPP errors with ENOTTY.
9981 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9982 EOPNOTSUPP errors with ENOTTY.
9983
73507d3a
UD
99842010-07-31 Ulrich Drepper <drepper@redhat.com>
9985
9986 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9987 Add strcasecmp_l-ssse3.
9988 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9989 strcasecmp.
9990 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9991 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9992 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9993
fe36dd02
UD
99942010-07-30 Ulrich Drepper <drepper@redhat.com>
9995
66f6765a
UD
9996 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9997
42e08a54
UD
9998 * string/Makefile (strop-tests): Add strcasecmp.
9999 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10000 strcasecmp_l-nonascii.
10001 (gen-as-const-headers): Add locale-defines.sym.
10002 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10003 * sysdeps/x86_64/strcasecmp.S: New file.
10004 * sysdeps/x86_64/strcasecmp_l.S: New file.
10005 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10006 * sysdeps/x86_64/locale-defines.sym: New file.
10007 * string/test-strcasecmp.c: New file.
10008
fe36dd02
UD
10009 * string/test-strcasestr.c: Test both ends of the range of characters.
10010 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10011
48cbc0d6
RM
100122010-07-29 Roland McGrath <roland@redhat.com>
10013
76e6d6bc 10014 [BZ #11856]
48cbc0d6
RM
10015 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10016
880113d9
UD
100172010-07-27 Ulrich Drepper <drepper@redhat.com>
10018
10019 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10020 for ld.so.
10021
deb9cabb
AS
100222010-07-27 Andreas Schwab <schwab@redhat.com>
10023
10024 * manual/memory.texi (Malloc Tunable Parameters): Document
10025 M_PERTURB.
10026
1c7570ff
RM
100272010-07-26 Roland McGrath <roland@redhat.com>
10028
10029 [BZ #11840]
10030 * configure.in (-fgnu89-inline check): Set and substitute
10031 gnu89_inline, not libc_cv_gnu89_inline.
10032 * configure: Regenerated.
10033 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10034
24fb0f88
UD
100352010-07-26 Ulrich Drepper <drepper@redhat.com>
10036
10037 * string/test-strnlen.c: New file.
10038 * string/Makefile (strop-tests): Add strnlen.
10039 * string/tester.c (test_strnlen): Add a few more test cases.
10040 * string/tst-strlen.c: Better error reporting.
10041
10042 * sysdeps/x86_64/strnlen.S: New file.
10043
8e96b93a
UD
100442010-07-24 Ulrich Drepper <drepper@redhat.com>
10045
10046 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10047 lower-latency instructions.
10048
dbc676d4
UD
100492010-07-23 Ulrich Drepper <drepper@redhat.com>
10050
10051 * string/test-strcasestr.c: New file.
10052 * string/test-strstr.c: New file.
10053 * string/Makefile (strop-tests): Add strstr and strcasestr.
10054 * string/str-two-way.h: Don't undefine MAX.
10055 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10056
f6a31e0e
AS
100572010-07-21 Andreas Schwab <schwab@redhat.com>
10058
10059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10060 strcasestr-nonascii.
10061 (CFLAGS-strcasestr-nonascii.c): Define.
10062 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10063 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10064 Remove unused attribute.
10065
5dbc3b6c
RM
100662010-07-20 Roland McGrath <roland@redhat.com>
10067
10068 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10069 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10070 ld.so.cache was broken. With it, there is no way to disable dsocaps
10071 like LD_HWCAP_MASK can disable hwcaps.
10072
23d101d8
EPM
100732010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10074
10075 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10076
cc9f2e47
UD
100772010-07-16 Ulrich Drepper <drepper@redhat.com>
10078
10079 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10080 call in strcasestr.
10081 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10082 __strcasestr_sse42_nonascii.
10083 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10084 strcasestr-nonascii.c.
10085 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10086
77c1b069
LM
100872010-06-15 Luis Machado <luisgpm@br.ibm.com>
10088
10089 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10090 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10091 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10092 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10093
440566c3
UD
100942010-07-09 Ulrich Drepper <drepper@redhat.com>
10095
10096 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10097 fcntl.
10098
5be9d05d
AS
100992010-07-06 Andreas Schwab <schwab@redhat.com>
10100
c30b7ee2 10101 [BZ #11577]
5be9d05d
AS
10102 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10103 dl_signal_cerror.
10104
8a492a67
UD
101052010-07-06 Ulrich Drepper <drepper@redhat.com>
10106
10107 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10108 _PC_PIPE_BUF using F_GETPIPE_SZ.
10109
713df3d5
RM
101102010-07-05 Roland McGrath <roland@redhat.com>
10111
10112 * manual/arith.texi (Rounding Functions): Fix rint description
10113 implicit in round description.
10114
702e8f14
UD
101152010-07-02 Ulrich Drepper <drepper@redhat.com>
10116
10117 * elf/Makefile: Fix linking for a few tests to make recent linker
10118 happy.
10119
52ed8be9
AS
101202010-06-30 Andreas Schwab <schwab@redhat.com>
10121
10122 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10123 $(common-objpfx)libc_nonshared.a.
10124
f47c9a11
LM
101252010-06-21 Luis Machado <luisgpm@br.ibm.com>
10126
10127 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10128 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10129 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10130 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10131 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10132 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10133 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10134 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10149 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10150 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10151 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10152 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10153 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10154 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10155 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10156 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10157 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10158 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10159 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10160 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10175
6fb8cbcb
L
101762010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10177
10178 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10179 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10180 * string/memmove.c (memmove): Renamed to ...
10181 (MEMMOVE): ...this. Default to memmove.
10182 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10183 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10184 (END_CHK): Define.
10185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10186 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10187 mempcpy-ssse3-back memmove-ssse3-back.
10188 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10189 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10190 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10191 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10192 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10193 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10194 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10195 * sysdeps/x86_64/multiarch/memmove.c: New file.
10196 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10197 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10198 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10199 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10200 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10201 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10202 Define.
10203 (index_Fast_Copy_Backward): Define.
10204 (HAS_ARCH_FEATURE): Define.
10205 (HAS_FAST_REP_STRING): Define.
10206 (HAS_FAST_COPY_BACKWARD): Define.
10207
4e733bac 102082010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
10209
10210 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10211 Restore proper fallback handling.
10212
63c4ed22
UD
102132010-06-19 Ulrich Drepper <drepper@redhat.com>
10214
ac2b484c
UD
10215 [BZ #11701]
10216 * posix/group_member.c (__group_member): Correct checking loop.
10217
63c4ed22
UD
10218 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10219 OOM in getpwuid_r correctly. Return error number when the caller
10220 should return, otherwise -1.
10221 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10222 call returning > 0 value.
10223 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10224
765ade4b
AS
102252010-06-07 Andreas Schwab <schwab@redhat.com>
10226
10227 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10228 libc_nonshared.a from targets in modules-names.
10229
80da2e09
KS
102302010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10231
10232 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10233 requires it.
10234
158db122
LM
102352010-06-10 Luis Machado <luisgpm@br.ibm.com>
10236
10237 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10238 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10239 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10240 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10241
caa78cf8
AS
102422010-06-02 Andreas Schwab <schwab@redhat.com>
10243
10244 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10245
b2ef2c01
UD
102462010-06-14 Ulrich Drepper <drepper@redhat.com>
10247
10248 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10249 and F_GETPIPE_SZ.
10250 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10254 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10255 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10256
fbd643b6
RM
102572010-06-14 Roland McGrath <roland@redhat.com>
10258
10259 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10260
f32f2869
JJ
102612010-06-07 Jakub Jelinek <jakub@redhat.com>
10262
10263 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10264 __REDIRECT followed by __THROW.
10265 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10266 * posix/getopt.h (getopt): Likewise.
10267
2a50c078
EPM
102682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10269
10270 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10271 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10272 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10273 in AT_FLAGS.
10274 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10275 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10276
eb5ad2eb
LM
102772010-05-28 Luis Machado <luisgpm@br.ibm.com>
10278
10279 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10280
3c88fe1e
L
102812010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10282
10283 [BZ #11640]
10284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10285 Properly check family and model.
10286
d2f73151
TY
102872010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10288
10289 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10290
ebd2e13d
LM
102912010-05-24 Luis Machado <luisgpm@br.ibm.com>
10292
10293 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10294
b32b8b45
UD
102952010-05-21 Ulrich Drepper <drepper@redhat.com>
10296
10297 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10298 symbol reference.
10299
9acbe24d
AS
103002010-05-19 Andreas Schwab <schwab@redhat.com>
10301
10302 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10303 symbol reference.
10304
f0ccf6ea
AS
103052010-05-21 Andreas Schwab <schwab@redhat.com>
10306
3d04ff3a
AS
10307 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10308 and internal_recvmmsg.
10309 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10310 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10311 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10312 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10313
f0ccf6ea
AS
10314 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10315 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10316 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10317
5b08ac57
AS
103182010-05-20 Andreas Schwab <schwab@redhat.com>
10319
10320 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10321
4828935d
LM
103222010-05-17 Luis Machado <luisgpm@br.ibm.com>
10323
10324 POWER7 optimizations.
10325 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10326 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10327
373d545e
UD
103282010-05-19 Ulrich Drepper <drepper@redhat.com>
10329
10330 * version.h: Update for 2.13 development version.
10331
21a2b1ae
AS
103322010-05-12 Andrew Stubbs <ams@codesourcery.com>
10333
10334 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10335 exceptions. Return 0.
10336
3f7dcb2b
RM
103372010-05-07 Roland McGrath <roland@redhat.com>
10338
10339 * elf/ldconfig.c (main): Add a const.
10340
5f24d53a 103412010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 10342
a160f8d8
UD
10343 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10344 (args_options): Add no-idn option.
10345 (ahosts_keys_int): Add idn_flags to ai_flags.
10346 (parse_option): Handle 'i' option to clear idn_flags.
10347
5f24d53a
UD
10348 * malloc/malloc.c (_int_free): Possible race in the most recently
10349 added check. Only act on the data if no current modification
10350 happened.
265bb1ce
UD
10351
10352See ChangeLog.17 for earlier changes.
This page took 1.330609 seconds and 5 git commands to generate.